-
Posts
2997 -
Joined
-
Last visited
-
Days Won
72
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Euphy
-
-
You can just use rAthena and disable Renewal.
-
They're the same programs, just renamed.
-
It's been in our repository for almost two and a half years.
-
Nope, works fine.
-
There's currently no script command to spawn a boss monster with a tomb. (It wouldn't be a bad idea to create one, though...)hey! Script work perfect! Just one last question. The tombs of MVP not appear in this script mode.
-
-
The basic idea is:
- Block equipment changing (disable_items) -- very important!
- Store all the equipment data you want to keep for the gear to enchant (i.e. location, item ID, cards, refines...).
- Find a free card slot for the enchantment.
- Generate a random item ID for the enchantment.
- Delete the old gear (delequip), then use getitem2 to create a new piece of equipment slotted with the enchantment.
- 1
-
The limit is set so that the server doesn't waste memory (as with most of the MAX_* defines).Did you get this to work? and is there a reason why the max is set to 61?
-
It might be easier to debug if you wrote a function/label instead of copying the same code 200 times...
-
They're differences between (presumably) the source files and the modified version. If you're running Linux, you can use the 'patch' command; else there are plenty of tools available online to patch for you (try running a search online). Or you can just copy the lines manually -- lines marked with "-" are deleted, and lines with "+" are added.
-
-
These are custom to iRO, and were removed on other servers in an update iRO didn't adopt. You can check the file history to get the older version of the script with those NPCs.
- 2
-
Are you running it outside of the instance...?
-
As Emistry wrote, if you intend these commands to be as expressive as SQL, they'll get very complicated. Then users would have to learn both SQL and your commands.
And if anything, this seems like it would be even slower than direct queries...
- 1
-
- script ::atcmd_refresh -1,{
You can easily add conditions to any atcommand via script by this method.OnInit:
bindatcmd "refresh",strnpcinfo(3)+"::OnAtcommand";
end;
OnAtcommand:
if (strcharinfo(3) == "map")
atcommand "@refresh";
end;
}
- 1
-
That's actually correct -- see the documentation. Quests can either have an 'active' or 'inactive' state, but it's started regardless. A newer (and less confusing) command is 'isbegin_quest'.3. what does this suppose to mean?
if (checkquest(20000) == 0 || checkquest(20000) == 1) { //Active.
-
That's a bug in the script (I wonder why no one reported it). Fixed in 1d21607.
- 1
-
NPC headers require tabs, not spaces.
-
Update to the latest version (v1.4). It includes a deleted character check.
-
-
-
The approach with NPC variables will work, but just make the variable name unique (probably using 'setd'/'getd'). For example, as long as the NPC's hidden name doesn't have spaces in it (ex. "Fishing#01"), you can do:
setd ".using"+strnpcinfo(2), x; getd(".using"+strnpcinfo(2))
-
-
It might be an incorrect 'class' field. For example, you'll want '63' to include all third classes, whereas you probably had a Pre-Renewal value of '7'.
Toggle for loot search type: closest vs 'random'
in Implemented
Posted
I agree, a config seems like a good idea.