Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
New script command: setnpcdistance N
Where N is distance in tiles from where npc can be clicked.
Add setnpcdistance into docs.
|
|
A few additional commands, with an edit to *getinventorylist;
|
|
|
|
Modified the corresponding documentation to match source code.
|
|
- Follow-up to 3ad4a9d
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to 8bb0078
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to bcf7a77
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
- Note: The commands will be completely removed after about a month.
Custom, third party scripts will require updates, in case they were
using these commands. Please see the commands documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Note: The command will be completely removed after about a month.
Custom, third party scripts will require updates, in case they were
using this command. Please see the 'cmdothernpc' documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Note: The command will be completely removed after about a month.
Custom, third party scripts will require updates, in case they were
using this command. Please see the 'save' documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Special thanks to Streusel, Xgear
Signed-off-by: Haru <haru@dotalux.com>
|
|
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Replaced their use in scripts with checkmount and setmount,
respectively.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Use questprogress instead.
- Note: The command will be completely removed after about a month.
Custom, third party scripts will require updates, in case they were
using this command. It is recommended to use questprogress instead.
Please see the checkquest documentation for more information.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The command should be replaced by petskillsupport in any custom
scripts.
- Updated the custom SOHEE pet skill script to use petskillsupport with
level 10 AL_HEAL.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Added prefixed version for internal use.
- Note: The command will be completely removed after about a month.
Custom, third party scripts will require updates, in case they were
using this command. Please see the jump_zero documentation.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Some Quality of Life Changes
- setdragon, setmadogear and setriding deprecated; use setmount instead.
- checkdragon, checkmadogear, checkriding deprecated; use checkmount
instead.
Signed-off-by: Haru <haru@dotalux.com>
|
|
To avoid ambiguity:
- The script command ismounting is now hascashmount
- The script command setmounting is now setcashmount
- The at-command @mount2 is now @cashmount
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Added the questactive script command.
- While this information may not be needed by official scripts, it was
offered by the now deprecated checkquest, and as such it is made
available again.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Some Quality of Life Changes
- checkquest deprecated; Use questprogress instead for a more logical
quest log checking command.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Some Quality of Life Changes
- getbrokencount command added to get amount of broken equipment.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Parameters passed to bindatcmd-invoked labels are now properly
space-delimited.
- This is in order to support strings containing multiple spaces or
containing a trailing space. Previously it was impossible to create a
bindatcmd command that could accept a player name such as
'This name has two spaces' or 'Sir Trailingspace '.
- Added documentation and usage examples, especially wrt space handling.
See doc/script_commands.txt for details.
- NOTE: Your custom atcommand labels may need edits, as we're no longer
trimming multiple sequantial spaces or trailing spaces, in order to
gain more flexibility. It is your care to do that.
- Special thanks to Dastgir, jaBote.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This reverts commit 4ac673941714032ada6d26fb60936ec510bbe496.
- The commit breaks some legacy code. It'll be pushed again once some
things are fixed.
Signed-off-by: Haru <haru@dotalux.com>
|
|
checkquest deprecated; Use questprogress instead for a more logical
quest log checking command.
getbrokencount command added to get amount of broken equipment.
setdragon and setmadogear deprecated; use setriding instead.
setriding now handles all combat mounts.
|
|
- Please use the values from enum scstart_flag when calling
status_change_start or related functions.
- This also applies to the sc_start script commands.
Signed-off-by: Haru <haru@dotalux.com>
|
|
its so frustrating that rathena already having this for month, but we don't have =/
https://github.com/rathena/rathena/commit/eba1539
|
|
MAX_REFINE has different value for renewal(20) and non-renewal(10)
and some server even adjust this value
so its better to add this constant so there's no need to add a configuration when making custom refiner scripts
|
|
https://github.com/HerculesWS/Hercules/commit/a06e53479131c25ce2343c431c688c57b3bfa2c0
to mimic the *sc_start documentation to rathena
and fixed return 0; into return true;
thx to Litro for bringing up
http://hercules.ws/board/topic/6997-debug-whats-wrong/
|
|
Updated script command 'sc_start' to allow for more variables and options rAthena 17326 (bug:8217)
Fix Cart Tornado damage to official
elemental crashing/memory error (thanks to Ind)
|
|
http://hercules.ws/board/index.php?app=tracker&showissue=8247
Corrected *getexp documentation
Documented and changed pc_gainexp type
|
|
Updated *strcharinfo documentation in order to follow 1a477c4a628decb330b8083bbd4625ffae26c709
|
|
Just reflecting correct behavior of addtimercount script command, which expects the parameters in the reverse order the documentation formerly said.
|
|
Fixed documentation errors:
-> Strings are always delimited by double quotes ("), not single qotes(');
-> Errors on optional parameters of monster and areamonster script commands;
-> Also fixed curlies for optional parameters in sprintf and sscanf.
|
|
http://hercules.ws/board/tracker/issue-8182-cloaking-on-ice-wall/
Fixed minor typo on script_commands
|
|
- Updated examples to a more modern syntax
- Corrected examples using the wrong case for script commands (fixes
bugreport:8192 thanks to jaBote)
http://hercules.ws/board/tracker/issue-8192-camelcase-in-scripting-documentation/
- Reworded or rewritten some misleading/no longer correct notes to match
the current script engine behavior.
- Marked some commands as deprecated and suggested alternatives, to
discourage their use in new scripts (set, goto, jump_zero, menu)
- Changed use of temporary character variables into scope variables in
examples, where appropriate.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Compartmentalized npc file processing
Corrected event initalisation order in npc_reload
Changed loading order, now item db constants are loaded before npc processing in order to avoid
labels overwriting constants values, like Aegis Names
Added information regarding reloading scripts in /doc/script_commands.txt
|
|
Added enumered returns to npc_cashshop_buy and to npc_cashshop_buylist
|
|
*http://hercules.ws/board/tracker/issue-8175-missing-delequip/
*Documentation wrote by @emistry
#Added return values for *delequip
|
|
#Fixed issue where a corrupted map cache would lead to a crash
*Moved Big-endian compatibility functions to common/utils.h
#Fixed issue 8162
*http://hercules.ws/board/tracker/issue-8162-loadnpc-doesnt-trigger-oninit-of-duplicate-npcs/
*Added options to npc_parse_duplicate
#Fixed issue 8169
*http://hercules.ws/board/tracker/issue-8169-script-command-guildskill-skill-idlevel-not-working-as-intended/
*Changed *guildskill behavior, now it behaves exactly as depicted in the documentation
*Updated *guildskill documentation
#Added missing GBI types to mapif_parse_GuildBasicInfoChange now it's possible to change guild exp, lv, skill point and skill information
#GeoIP revamp
*GeoIP module was partially rewritten
*Added several data checks to prevent corruption and crashes
*Updated GeoIP database
*See https://github.com/maxmind/geoip-api-c/blob/master/libGeoIP/GeoIP.c for more information
#Added packetver checks regarding NST_MARKET
*Now *tradertype warns if user is trying to use this feature with older clients
|
|
|
|
http://hercules.ws/board/tracker/issue-8140-toucan-npc-error-message/
That error usually happens when the player clicked on a NPC that has the view id
of a mob, to activate this kind of npc it's needed to be in a 2,2 range
from it. If the OnTouch area of a npc, coincides with the 2,2 range of
another it's expected that the OnTouch event be put first in stack, because
unit_walktoxy_timer is executed before any other function in this case.
So it's best practice to put an 'end;' before OnTouch events in npcs that
have view ids of mobs to avoid this kind of error.
Also updated script_commands.txt to add this recomendation.
|