Jump to content

Joseph

Members
  • Posts

    341
  • Joined

  • Last visited

Everything posted by Joseph

  1. rAthena using getgroupid() instead of getgmlevel().
  2. 2580
  3. So it works? LOL. No prob.
  4. Probably its a NPC sprite problem? Try disabling all the NPCs.
  5. Hello Mia Potter! The small font thingy works, it makes people to put extra effort reading every single word.
  6. 2578
  7. I guess something like this will work. Actually, I thought of rates/total_rates*100 to get the percentage, but the emulator failed to calculate decimals. I know there are other ways to get the decimals, but will not be as efficient as the below one? O_O setarray .@array, <item_id>,<rates>{...}; for ( set .@i, 0; .@i < getarraysize(.@array); set .@i, .@i + 2 ) .@t, .@t + .@array[.@i+1]; if ( .@t <= 0 || .@t >= 2147483647 ) // I think you won't go that high... { debugmes "O_O You really go that high..."; end; } set .@rnd, rand(1,.@t); for ( set .@i, 0; .@i < getarraysize(.@array); set .@i, .@i + 2 ) { .@sr, .@sr + .@array[.@i+1]; if ( .@sr >= .@rnd ) { //GetItem } }
  8. 2576
  9. Warp when a party exists: if ( getcharid(1) == 0 ) end; mes "You have a party"; close2; warpparty "prontera",0,0,getcharid(1); end; Warp when the party has a certain number of members: getpartymember(getcharid(1)); if ( $@partymembercount >= 5 ) { mes "Your party have 5 or more members."; close2; warpparty "prontera",0,0,getcharid(1); end; } mes "Only party with at least 5 members are allowed to enter."; close;
  10. 2574
  11. Find that line and change it.
  12. 2569
  13. Okay, try this.. http://upaste.me/ba32483511c125e
  14. Try this. http://upaste.me/e55f482aba4da50
  15. It pauses the script for 5 seconds.
  16. The Billion Banker A simple banker where you can store and withdraw large amount of Zeny without doing small transactions again, again and again... Compatibility: rAthena SVN, r15039+ Changelogs: 1.0 - Released! 2.0 - Fixed string variable issue. Files: billion_banker_v1.1.txt billion_banker_v1.0.txt Post any bugs, comments, suggestions and criticisms.
  17. Issue ID #002564
  18. Why not you show us the script with the error attached.
  19. Lets say %Y gives 2012 (4 digits), so your max length must be higher than 4. You can put 5 or even 100, as long the max length value is always higher.
  20. Modify the script as what Emistry suggested.
  21. Let me give you an example of what Euphy said. case 1: setarray .@GuardianType$[0],"Sniper Guardian","2730","1","5"; break; ... ... monster "pvp_n_1-1",0,0,.@GuardianType$[0],atoi(.@GuardianType$[1]),atoi(.@GuardianType$[2]),$KRVictors,"Guardian::OnHWGuardianKill";
  22. You have misplaced it. It should be .@GuardianType$[0].
  23. 2372
  24. 2370
×
×
  • Create New...