Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. It's a file encoding error, since you're inserting non-English characters. You have to delete the garbage characters at the front of the file (which aren't displayed in most text editors).
  2. There's a copy already in the repository: npc/custom/woe_controller.txt Just enable it in npc/scripts_custom.conf and you're set.
  3. The '38' is just a standard variable value; different quests have different values when they are complete. There's no other way of doing this - the way you're going about this is correct.
  4. eAthena has different (and incorrect) behavior regarding restricted items. On rAthena and official servers, adding an item_noequip entry disables the script of an item, not equipping the item itself. On eAthena, you'll have to write in the restrictions, as @BuLaLaKaW posted.
  5. Implemented in de46393.
  6. [paste=7bx60thvenno]
  7. This isn't any better than a typical anti-bot attempt, and will likely just annoy your other users (or amuse them?). It's a single entry in an exclude list for botters not to attack the monster - in fact, this would probably make it easier for botters to get away with it. If you want to do this, though, you'll need to install the mob controller system that was removed a while back.
  8. Here is our mission statement: rAthena Goals In short, we focus on Renewal development but still preserve the option to run a fully Pre-Renewal server; the "RENEWAL" option can be switched on or off in the core configuration files. To get started, check out the guides on our Wiki. Our users will gladly help if you run into any problems.
  9. First off, you've written your condition as "getgmlevel() <= 80", which would include normal players as well. Not sure if that's what you intended... If OnPCLoadMapEvent triggers on a map, 'mf_loadevent' must have been set on that map (you can type @mapinfo to confirm this). You might have another mapflag script running (security scripts often do this); if you remove all the 'mapflag' lines from this script, for instance, does the label still get triggered? A workaround is to run a map name check on the label, although you should really see if you can resolve the larger issue first. if (!compare("abbey02|ra_san05|thor_v03|lhz_dun01|lhz_dun02|lhz_dun03|payg_cas04|abbey03|thana_boss", strcharinfo(3)) end;
  10. Consider taking a look at db/re/item_package.txt, a relatively new database that should suit your purpose. There's documentation for it in doc/item_group.txt.
  11. I asked the question in this topic: http://rathena.org/board/topic/74682-regentype-argument-in-mob-spawn/ It's a mystery. It's also probably safe to ignore, for now.
  12. Lemongrass implemented this in 27cbc7f.
  13. This was a bug with our implementation of "fake" instances, seems like no one's fixed it yet. x.x
  14. It's just an 'and' (&&) operator. if (checkquest(80001,HUNTING) == 2 && checkquest(81001,HUNTING) == 2) {}
  15. The normal, official Battlegrounds scripts come enabled, so you don't need to make any changes. They're located in npc/battleground/. There are different types of matches, which you can read about on iRO Wiki. The "custom" battlegrounds have been moved into npc/custom/battleground/unofficial/ as of 163a98c to avoid confusion. As stated in npc/scripts_custom.conf, they are custom implementations of the official scripts which were written before the Aegis conversion (i.e. the accurate, official scripts currently in npc/battleground/). As such, they shouldn't be used, and are still there largely for history; however, if you prefer them to the official scripts, comment out the official scripts and uncomment the custom ones (since they have identical names).
  16. It's not implemented yet. It's very unlikely that we'll have any scripts from new episodes before iRO implements them (since they do most of the translating from kRO), so chances are it'll be a while before you see anything related to Dali.
  17. It's easiest (and more efficient) if you just add multiple quests instead, and check if all are completed. That's how official servers always handle multiple-objective quests.
  18. [info=Development Update][/info]Major custom folder update: 163a98c New scripts: npc/custom/battleground/bg_emp.txt npc/custom/battleground/bg_pvp.txt npc/custom/card_seller.txt npc/custom/etc/autopot.txt npc/custom/etc/mvp_room.txt npc/custom/events/devil_square.txt npc/custom/events/mvp_ladder.txt Be sure to thank @AnnieRuru if you use any of her scripts!
  19. Do you think it'd be more useful to have an array sorting command instead? I imagine most applications of a search being repeated multiple times, so it'd be more effective to search through sorted arrays. Opinions?
  20. Ah, it won't for users with PCRE disabled. I'll add a placeholder command later to prevent console errors. EDIT: 007b88f
  21. That label doesn't exist. I think you mean OnNPCKillEvent - see doc/script_commands.txt for details.
  22. Please read this topic: Officially supported client versions Instead of supporting bits and pieces from every client, we've decided to support three main, stable clients. Until we officially shift into newer clients, packet updates like these aren't high priority for us.
  23. preg_match(<regex pattern>,<string>{,<offset>}) commit: 957f495 Searches a string for a match to the regular expression provided. The offset parameter indicates the index of the string to start searching. Returns offsets to captured substrings, or 0 if no match is found. This command is only available if the server is compiled with the regular expressions library enabled.For some examples, read the "F_GetArticle" function in 957f495#diff-1.
  24. Euphy

    Warp to the GM

    Can't you just use @hidenpc and @shownpc for that?
×
×
  • Create New...