Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. @Cephaler: No, that's not how you do it. Find and replace "qshop" with a different shop name for all duplicated scripts (I've lost count how many times I've posted this... x_X).
  2. http://rathena.org/board/topic/71609-client-version-date/
  3. if (Class == Job_Ninja && BaseLevel == 99 && JobLevel == 70 && countitem(7588)) { delitem 7588,1; jobchange roclass(eaclass()|EAJL_2_1); } end;
  4. // Use: Cm(number) function Cm { set .@str$, getarg(0); for(set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3) set .@str$, insertchar(.@str$,",",.@i); return .@str$; } (credits to Joseph)
  5. @unplugged: It already refines all armor. o.o
  6. We aren't here to guess what "event points" are. Cashshop: map,x,y,dir cashshop NPC Name spr,id:price{,id:price,...} Custom variable: http://rathena.org/board/topic/68468-utility-multi-currency-shop/ http://pastebin.com/raw.php?i=YftccqDs https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/quests/quest_shop.txt
  7. These are standard menu options and labels, so you can add conditions directly to the label. S1: if (countitem(512) < 10) { message strcharinfo(0),"You need 10 apples to warp here."; close; } else { delitem 512,10; Go("auction_01",22,68); }
  8. Delete #Mission_Count for the character, or run a database cleaning script: http://www.eathena.ws/board/index.php?showtopic=219109 (not entirely sure if this will still work)
  9. It is, so long as your result is greater than zero. You just need to be careful with your order of operations, making sure no result ever hits 0 or an unwanted decimal.
  10. Why parentheses? Scripts don't support decimals. .price_R*.desc/100
  11. http://rathena.org/wiki/Basic_Scripting#NPC
  12. http://www.eathena.ws/board/ReleaseEvent-Warper-NPC-t204556.html
  13. Your server or your client? If your server crashed, help us by posting an error log or crash dump in the Bug Tracker. :3
  14. @uDe: To disable the script for normal players, add at the beginning of the script: function Get_Platinum; function Equip_Menu; if (!getgmlevel()) { message strcharinfo(0),"Only GMs can access this NPC."; end; } // Add To disable anything, edit the .MenuOption array at the bottom. As for the WOE Controller error, you are probably using an old revision of rAthena with my updated script (or a new rAthena with my old script).
  15. It may be an MVP Tombstone error - if you are very behind in updates, you won't have the sprites for it. Try disabling the setting, and try again: // Whether or not to spawn the mvp tomb. // See http://irowiki.org/wiki/MVP#Gravestone mvp_tomb_enabled: yes trunk/conf/battle/monster.conf
  16. Set a variable to determine what part of the quest a player is on. http://rathena.org/wiki/Basic_Scripting#Conditions.2C_Variables.2C_and_Set
  17. BaseClass should be used for checking Ninja/Kagerou/Oboro: if (BaseClass == Job_Ninja) {}
  18. The Arch Bishop quest has a few bugs and we don't have the Guillotine Cross quest yet. The rest work properly. Use the Bug Tracker to report any issues.
  19. Euphy

    Race Event

    You're not updated. They were merged in r16597.
  20. Two ways to move an NPC: Use movenpc to warp an NPC around. *movenpc "<NPC name>",<x>,<y>{,<dir>}; Create 3 different NPCs and use hideonnpc/hideoffnpc or enablenpc/disablenpc.
  21. Use the 'getitem2' command (works like @item2):
  22. @emo182: Please don't delete your posts, in case others also have the same questions. Thanks!
×
×
  • Create New...