You just forget to disable Renewal mechanics in src/config/renewal.h
Just comment the line to disable it, recompile, and it will change your novice map to a correct one
Not Telling
Khazou hasn't added any friends yet.
27 April 2017 - 06:46 AM
You just forget to disable Renewal mechanics in src/config/renewal.h
Just comment the line to disable it, recompile, and it will change your novice map to a correct one
26 April 2017 - 06:43 AM
^^
If you're trying to add addrid you should read this http://herc.ws/board...command-addrid/
And the cons about using such a command ![]()
Will provide sexual favours to the person who can get this working for latest herc. Can pay money too.
This kind of addrid was rejected from Hercules too. Because this can be dangerous. It can have unexpected behavior when the player is attached to other npc and you call addrid, either that script would stop executing(think doing some quest, the variables changed but you didn't got reward), or the script with addrid would behave oddly(rid not attached but script continued to run)
More info: https://github.com/H...rcules/pull/211
25 April 2017 - 07:37 AM
You can use this ![]()
*getunits(<type>, <variable>, <limit>, "<map>"{, <x1>, <y1>, <x2>, <y2>})
This function searches a whole map or area for units and adds their GID to
the provided <variable> array. It filters units by <type> and stops searching
after <limit> units have been found. Set <limit> to false (0) if you wish to
disable the limit altogether.
Type is the type of unit to search for:
BL_PC - Character object
BL_MOB - Monster object
BL_PET - Pet object
BL_HOM - Homunculus object
BL_MER - Mercenary object
BL_IEM - Item object (item drops)
BL_SKILL - Skill object (skill fx & sfx)
BL_NPC - NPC object
BL_CHAT - Chat object
BL_ELEM - Elemental object
BL_CHAR - Shorthand for (BL_PC|BL_MOB|BL_HOM|BL_MER|BL_ELEM)
BL_ALL - Any kind of object
** Do NOT use UNITTYPE_ constants here, they have different values.
Example:
.@count = getunits((BL_PC | BL_NPC), .@units, false, "prontera");
The above example would search the map "prontera" for all PC and NPC units and
add them to the .@units array, while setting .@count to the amount of units
added to the array (useful in for() loops).
27 January 2017 - 11:36 AM
Sound cool ![]()
23 January 2017 - 02:37 AM
Would be really cool ![]()

Find content