Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. http://www.eathena.w...er&showbug=2761 (contains a patch, but I'm not sure if this will still work)
  2. http://rathena.org/board/topic/63858-script-request/#entry102504
  3. Storing a permanent global list of IPs is a terrible idea, despite appearing otherwise, for reasons Annie stated here: http://www.eathena.ws/board/index.php?showtopic=181741&view=findpost&p=1478950 A separate SQL table must be used for things like this. As for a non-IP-based script, there are literally dozens floating around, please use the search button.
  4. You should add your script to the OnKill event label of the monsters you want, not as an NPCKillEvent. OnNPCKillEvent will go and loop through every monster killed, which (of course) is highly, highly inefficient.
  5. @Lelouch: Good question~ The way I wrote the script, WOE must start and end on the same day, as to only use 2 variables storing time (start, end). Since 00:00 is a new day, the last WOE session must end at 23:00, and since WOE can't start and end at the same time, the last start time must be 22:00. Sorry if it conflicts with what you want. x.x
  6. @Ownedly: You're not using rAthena, then. I posted an eA-compatible script on eA.
  7. @Cuspid: That's not anything he asked for, don't copy/paste irrelevant code without reading it. The event "OnPCBaseLvUpEvent" triggers each time a player levels up. Also, never put a semicolon after a conditional (if, while, for). - script NPC -1,{ OnPCBaseLvUpEvent: if(BaseLevel == 16) { mes "You've reached level 16."; close; } end; }
  8. callsub OnBuyItem,5,"S.@points",5474,1; It should be clear that "S.@points" is an incorrect argument (whatever it is). Lunar's quest shop doesn't support variables, so use mine instead.
  9. Add an OnKill event to Naght Seiger that queries the party name/party member IDs into a database (a separate one would be best if you're expecting many values).
  10. @zeek: That would be a core bug, not a bug with this script. :3 (In other words, I can't help with that, sorry!)
  11. Can you add this to the SVN? ;D
  12. Then you edited something wrong (or you aren't using rAthena, in which case we can't help you~).
  13. Euphy

    npc

    npc\quests\quests_13_1.txt
  14. @xtianresente: Both my Multi-Currency and Quest Shop can do that.
  15. Run sql-files\upgrade_svn16517.sql.
  16. And a big welcome to Streusel, who has joined our ranks against Mysterious and other evils!
  17. Euphy

    TCG exchanger

    No, just delete the line: 13973,475,100 // Poison Bottle Box Anything not defined in that file will default to having full permissions.
  18. The error is in plain English. You're missing a right curly, so add it where it says so.
  19. Euphy

    TCG exchanger

    https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/item_trade.txt
  20. Fix the fonts - tbh, I don't think a single one of them fits your overall theme. The second slider image and second news image are way overused. The black borders/backgrounds can also be redesigned.
  21. npc\re\jobs\3-1 and 3-2: Find and replace all instances of BaseLevel == 99 with BaseLevel >= 99.
  22. Delete: if (!getcharid(2)) { if (getcastledata("prtg_cas01",1)) { // script } } Add: if (getcharid(2) == .@GID) { // script }
  23. You should read more about arrays first: http://rathena.org/wiki/Variables#Array_Variables The problem should be clear: .RewardList[.Reward] Where .Reward is never defined, defaulting to "0". To loop through an entire array, you'd use, well, a loop: for(set .@i,0; .@i<getarraysize(.RewardList); set .@i,.@i+1) getitem .RewardList[.@i],.RewardAmount[.@i];
  24. Flag is a yes/no value, so it either enables or disables a setting.
×
×
  • Create New...