Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. Read: Basic_Scripting#Conditions.2C_Variables.2C_and_Set You're using an account-based variable instead of a character-based one.
  2. Cydh fixed the errors in r17398. We apologize for the inconvenience.
  3. Euphy

    +1 refiner

    trunk/npc/re/merchants/ticket_refiner.txt (disabled by default; you have to enable it manually)
  4. It was recently renamed to 'job_exp.txt' to match the naming pattern of the other job-related files. Update your SVN again and resolve any conflicts (it should work now, though there are still a couple of errors that need to be taken care of).
  5. Euphy

    +1 refiner

    set .@ticket, ITEM_ID; if (!countitem(.@ticket)) { mes "[Premium Refiner]"; mes "You need a Premium Ticket to continue."; close; } mes "[Premium Refiner]"; mes "Is there anything you want to refine?"; next; // Create equip menu. setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for(set .@i,1; .@i<=10; set .@i,.@i+1) { if (getequipisequiped(.@i)) set .@menu$, .@menu$+.@position$[.@i]+" ~ "+getequipname(.@i); set .@menu$, .@menu$+":"; } set .@part, select(.@menu$); // Check if the item is refinable (delete this section if you don't need it). if (!getequipisenableref(.@part)) { mes "[Premium Refiner]"; mes "This item is not refinable."; close; } // Check if the item is over the max refine (+20). if (getequiprefinerycnt(.@part) > 20) { mes "[Premium Refiner]"; mes "I can't refine this item any higher!"; close; } mes "[Premium Refiner]"; mes "Are you sure you want to refine "+getequipname(.@part)+"?"; next; if(select("Yes, go on.:Wait a second...") == 2) close; mes "[Premium Refiner]"; mes "All done! Enjoy!"; delitem .@ticket,1; successrefitem .@part; close; It's pretty basic; refer to the documentation (trunk/doc/script_commands.txt) if you have questions about any of the commands.
  6. Euphy

    @command

    Read: Bindatcmd
  7. Yes, that query is valid. Alternately, you could just use the return value of Query_sql (or the array size, doesn't make much of a difference). He's referring to the SQL data.
  8. You shouldn't need any higher than 10 for MAX_EVENTQUEUE; as Mr BrycE posted, make sure to recompile. MAX_EVENTTIMER isn't related to your error. On a side note, though, you really shouldn't run that many OnNPCKillEvent triggers... You know you can combine the actions into a single label, right?
  9. Simply amazing. I'm sure a lot of users will find the decryption feature especially useful. ^^
  10. Functionality for maps not using the "1@instance" structure was not implemented until the rewrite. I'd really just suggest updating your SVN. ^^
  11. Read: r17386: Instance System Rewrite!
  12. That's how it is on official servers. You can remove the playtime check, if you'd prefer.
  13. http://rathena.org/board/topic/66834-antibot-botkiller-6/ http://lmgtfy.com/?q=rathena+antibot
  14. It's not *that* hard to write scripts for this... /hides But on a serious note, I support this too. References: Orcao's setcashpoints: [xantara] [orcao] Ind's custom cash shop: [rathena] [eathena]
  15. Documentation: trunk/doc/woe_time_explanation.txt WOE FE: trunk/npc/guild/agit_controller.txt WOE SE: trunk/npc/guild2/agit_start_se.txt Alternately, you can use a custom controller: trunk/npc/custom/woe_controller.txt
  16. Or if you still wanted to restrict account creation, it'd be far easier to do it via a Control Panel than modifying the actual source code.
  17. Add/change this in the "Keeper" function: if (getarg(0) == 4) set .@j,1; for(set .@i,1+.@j; .@i<9; set .@i,.@i+1) set .@menu$, .@menu$+"Arena "+.@i+" ["+getmapusers("pvp_n_"+.@i+"-"+getarg(0))+"/20]:"; set .@i, select(.@menu$)+.@j;
  18. It's not in the databases: trunk/src/map/skill.c Search "WZ_STORMGUST".
  19. trunk/npc/merchants/refine.txt
  20. If it's not already in your data folder, you have to extract it from data.grf, then put it into the folder to be read. Most clients will have the "Read Data Folder First" diff enabled by default when hexing.
  21. It's located in your "data" folder. You can extract it from your main GRFs using a program like this.
  22. Are you referring to trunk/npc/custom/etc/mvp_arena.txt? // Commenting this line disables the NPC. //quiz_00,60,31,4 script Theta MVP 774,{ callfunc "Keeper",4; }
  23. Make the shop invisible (no coordinates), then call it with a script. Read: Callshop
  24. @windston: Great suggestion! Added in r17387. set .Reset,-1; // Reset options: -1 (abandoning mission sets delay time), 0 (no delay time), [Zeny] (cost to abandon mission, no delay time) trunk/npc/custom/quests/hunting_missions.txt
  25. Add the code below "OnMenu:", ex.: OnMenu: message strcharinfo(0),"Please enter the password."; input .@password$; if (.@password$ != "your_password") { mes "[Quest Shop]"; mes "Password invalid."; close; } ...
×
×
  • Create New...