Jump to content

utofaery

Members
  • Posts

    228
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by utofaery

  1. 1. Have you updated your rathena installation? getmapxy(.@event_map$, .@x, .@y, UNITTYPE_ << this was found inside script with several others If true then you need change to getmapxy(.@event_map$, .@x, .@y, BL_ 2. SCRIPT_MAX_ARRAYSIZE Descript what you doing...lol a picture of error leaves ...more guessing.
  2. 1. How many arguements can we pass into function? like the maximum getarg(max) can get??? 2. Can we getarraysize that is define in the npc without cloning the array inside the function? example function has : .@i = getarraysize(getarg(0)); return .@i; example npc 1 array .@narray , 1, 2, 3; example in npc 2 : callfunc ("F_arraysize", getvariableofnpc(.@narray, npc 1); will this turn out or return the arraysize correctly? or do we need to clone /duplicate the array inside the function to make getarraysize to work correctly?
  3. It's a diff / patch file first of Google is your friend https://www.google.com/search?q=rathena.org+install+diff+patch&amp;oq=rathena.org+install+diff+patch+&amp;aqs=chrome..69i57.6584j0j1&amp;sourceid=chrome&amp;ie=UTF-8 Second Rathena Wiki search: http://rathena.org/wiki/Diff Third Rathena Forum Search: https://rathena.org/board/search/?q=rathena diff patch in this sequence because rathena forum did not actually has related topic group'ed or somehow and google did better in this regard though
  4. A test that run on december version of rathena shows that you haven't updated your rathena installation at all if you gotten that type of error! that means getmapxy update is not included and the format has changed. But of course if you don't want to update then change every BL_NPC back to UNITTYPE_NPC
  5. I did answer your question in another topic by giving you suggestion already, This is the two line in the script to change item id and item chances if you need further help post here. setarray .itemId , 502, 678, 607 ,608 ,2101 ,1505 ,609;// Item List setarray .iRates, 15, 16, 17, 18, 19, 20, 21; // seperated item rates or chances to get which item is higher than other item in the array
  6. I did mention: Disregard then...I am not near any where to test or with fast internet to load anything lol...
  7. *doevent "<NPC object name>::<event label>"; << Line 6424 *donpcevent "<NPC object name>::<event label>"; << Line 6449 have the command script got updated again??? assuming your are saying L6456 is *donpcevent "<NPC object name>::<event label>"; It can run even without npc name? not near anywhere to do any testing currently..
  8. So why don't you go and remake the formula and prove this "admin" your formula works better than what rathena currently has??? It's never the how turn down people, it's the why... if the why is not stronger than how ... sad...
  9. 1 Why you flooding the topic with all your code?? USE CODE BOX / or worst like me SPOILER 2. You should have ask this kind of requesting questions in SCRIPT REQUEST 3. if this is support then here's a clue: *vip_status(<type>,{"<character name>"}) *vip_time <time>,{"<character name>"}; *getgmlevel({<char_id>}) *getgroupid({<char_id>})
  10. I wonder there is a line of this: donpcevent "::OnSetup"; could it actually meant this??? donpcevent "vend_slot::OnSetup";
  11. 2 truthfully yes meant to be created as custom vip item so one can use it with autoloot 100 in instance where monster's are filled with lots of drop. so easier maintaining inventory... 3 so what do I make to fix that loop hole??? 4. it's like unpopulated place there... well I will correct and stop this error in the future of posting there and here...
  12. if for this you need sql and set every last map to new_1-1 and the (last_x, last_y) and reset everything ...inventory, cart, storage, statpoint, item, skill, baselevel, joblevel, zeny, in SQL basically a full server wipe except keeping the created character and account only. unless you prefer to use script to do so ( more automated way to do it )
  13. 1 does they appear as apple ingame??? if yes, Update your kro installation. (error of missing sprite) 2. because default kro installation has no folder which you mention'ed and those folder only be required in data folder if you patch your client on nemo with the option of "Read data folder first"
  14. No. I think not a test with client dated 20180621 did not pass the test of item id bigger than 65535 @item 65536 returns as dispbottom @item failed
  15. For the topic starter script why don't you make it automated give all castle that are owned and then mes all the castle with what was given??? say if in high rate server or highly cooperative guild may be has 7 castle then the guild master would have to talk seven times to that npc to collect all the chest drop??? so why not automate it ? On one of the web links contained: wahahaha .... seriously ... nowadays people make overly complicated scripts then why not simplified the process and automate it by talking once and collect all castle's chest drop?
  16. A suggestion if you will make your box into seperate box like grade A grade B grade C.... then put your item into this script if you want
  17. 352 Delete# 427 Create# 3341 Cancel reservation# ragnarok/data/msgstringtable.txt may require nemo to patch read msgstringtable.txt
  18. Question to this topic questions: 1. Is this show case??? without any details or anything? 2. I wonder if you can type any word on the description on your topic at any how?? 3. Is this a guessing game where we guess what you problems is and you give the winner cash prizes ??
  19. Hope you guys don't hate me for using spoiler the code box is slow to loading on a slow internet speed. credit to nott: I only restructured the script based on (Checking all array values).
  20. Or you could use sql (check online player) + script to warp/call all player to new_1-1 and disable all warps on that map and set noteleport nowarpto mapflag and use of flywing butterflywing without using kickall and etc or loadmapflag event
  21. prontera,141,226,4 script Maquina de Promoções 2_DROP_MACHINE,{ //debugonly dispbottom ( "debug :: .len_i " + .len_i + ".itm_a " + .itm_a + ".itm_p " + .itm_p + " ." ) ; mes .npc_n$; mes "It only cost " + .itm_a + " " + getitemname(.itm_p) + "to use this machine!"; mes "Would you like to use it?"; next; if(select("^0084ff[ • ]^000000 Yes:^CD3278[ • ]^000000 No:^0084ff[ • ]^000000 What can I earn??")&2) { if(@menu-2) { .@mes$ = "You can get: "; for( .@a = 1; .@a <=.len_i; .@a++ ) { .@itm$ = getitemname(.itm_l[(.@a-1)]); if(.@a%10&&.@a<=.len_i&&.@a!=.len_i) { .@mes$ = .@mes$+((!((.@a%10)-9)&&.@a<=.len_i)?"and "+.@itm$+".":.@itm$+", "); } else { mes .npc_n$; if(.@a<.len_i) { mes .@mes$; .@mes$ = "You can also get : "+.@itm$+", "; next; if(select("Continue:Cancel")&2) close; } else { mes .@mes$+"and "+.@itm$+"."; close; } } } } else close; } if (countitem(.itm_p) < .itm_a) { mes .npc_n$; mes "You do not have "+.itm_a+" "+getitemname(.itm_p); close; } .@rand = rand(.totalchance); .@i = 0; while ( ( .@rand -= .it_rates[.@i] ) >= 0 ) .@i++; mes .npc_n$; mes "Here it is!"; delitem .itm_p,.itm_a; getitem .itm_l[.@i], 1; .@gitem$ = getitemname(.itm_l[.@i]); // dispbottom ("debug :: .@gitem$ " + .@gitem$ + " .itm_l[.@i]" + .itm_l[.@i] ); announce strnpcinfo(0)+": "+strcharinfo(0)+" won ["+.@gitem$+"] da Máquina de Promoções!",bc_all|bc_yellow; //debugonly dispbottom ( " debug :: .it_rates " + .it_rates + " .totalchance :: " + .totalchance + " .@rand :: " + .@rand) ; close; OnInit: .npc_n$ = "[^ 4B0082 Promotion Kit ^ 000000]"; // NPC Name. setarray .itm_l , 502, 678, 607 ,608 ,2101 ,1505 ,609;// Item List setarray .it_rates, 15, 16, 17, 18, 19, 20, 21; // ?item?rates? .len_i = getarraysize(.itm_l); //item id array size .itm_a = 1; //per draw Item cost .itm_p = 512; //per draw item ID .@i = 0; while ( .itm_l[.@i] ) { .totalchance += .it_rates[.@i]; .@i++; } } /*choosing rates... prontera,157,180,5 script test item_reward#3 100,{ .@rand = rand(.totalchance); .@i = 0; while ( ( .@rand -= .itemchance[.@i] ) >= 0 ) .@i++; getitem .itemid[.@i], 1; end; OnInit: setarray .itemid, 501,502,503,504,505,506,507,508,509; setarray .itemchance, 10,10,10,10,3,10,10,10,10; .@i = 0; while ( .itemid[.@i] ) { .totalchance += .itemchance[.@i]; .@i++; } end; } */ Tidy up Updated per request.
  22. 1. Heal <<== should be instant increase agility << == should always has cast time unless pre-re instant cast dex >= 150 2. unless you want to change "increase agility" to have no cast time in Renewal you gonna have to look into these files: "skill_cast_db" "skill_castnodex_db" and etc file inside db folder start with filename "skill"
  23. custom skill? casted by this "1872"? 1. Try disguise 1872 or 1874 again to confirm it's not sprite related. 2. open mob_skill_db or any monster skill db when in there open your server and run your client inside your client use @skill SKILLID where SKILLID is all the skill of that 1872 and 1874 monster if you don't understand this procedure ask someone to explain to you, because I can't explain in other way than this. 3. If it is custom skill you need to fix that yourself unless you post what your code or changes for your custom skill here to let people inspect on it.
  24. https://github.com/rathena/rathena/wiki/Custom-Items yes do create sprite folder within your data folder then pack up your custom content with any grf editor ( important : if you have not patch with read data folder first )
  25. https://github.com/rathena/rathena/commit/2e668ea25a1c2e6005815cb5f8dedba0c31dd2a0 why is this kind of treasure scatter all around? not combined into main?? really ... can't be reason with??
×
×
  • Create New...