Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Introducing the Hercules Standalone Script Syntax Checker
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
Replaces the previous 'first' flag with a multi-option flag capable of selectively determining calls where the recalculation must not be hold by delayed damage, and therefore must take place immediately.
This fixes issues caused by actions that require immediate recalculation e.g. on-level-up max_hp update, also modified @baselevel where status_calc was being called after the heal and not before, causing it not to be fully healed.
Special Thanks to Haruna! <3
Signed-off-by: shennetsind <ind@henn.et>
|
|
So that HPM plugins are able to override default commands, thanks to Akkarin for bringing it up.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Added script-checker.bat launcher for Windows.
|
|
- Added missing license note and error message to the script-checker
bash script
- Added Script-Checker.applescript. Open in Applescript Editor and save
as .app bundle in order to use it. It's not pretty, but it works.
Signed-off-by: Haru <haru@dotalux.com>
|
|
partial usage of ea:15242 (ai4rei) -- will revisit the remaining.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Added a command line argument '--script-check' to check a script's
syntax without running the server (and without requiring a SQL
connection). Usage: ./map-server --script-check /path/to/the/script.txt
- For convenience, a script-checker bash script is provided, to set the
path correctly when called from a different directory. Usage:
/path/to/Hercules/script-checker /path/to/the/script/to/check.txt
- While the script checker will supposedly work under windows as well,
no convenience scripts are currently provided for platforms other than
UNIX (feel free to open a pull request with a .bat launcher or
whatever you like)
- Integration with IDEs or text editors is possible. In fact, I already
have a fully functional plugin for vim (through vim-syntastic), and if
there's enough interest, I'll publish it. - screenshot: http://d.pr/i/NOBD
- If you want an online checker, http://haru.ws/scriptchecker/ is
running this code, without modifications and will be kept up to date
(without any warranty though.)
- Special thanks to Ind, Yommy, Streusel, who helped making this
possible, in a way or another.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
The last file without a interface is now no more (date.h doesn't count :P).
Modified the way permissions are stored in order to enable plugins to be able to create permissions ( pcg->add_permission("name") [returns permission key] ).
Special Thanks to Haruna!
Closes #121
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Changed a few leftover NPC IDs to constants
- Note: we're still missing support for mob sprite constants, so the
NPCs using mob sprites are still not converted.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Changed <? ?> to <" "> after some further brainstorming. Special
thanks to Yommy.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- For better machine-parsing of such messages (i.e. in IDEs)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Refine rates above +10 are updated with the official values obtained
from Aegis. Note: There are no safe refines above +10 anymore.
- Corrected the above +10 refine NPC to decrease the refine level by 3
in case of failure, according to what observed in Aegis.
- Special thanks to malufett, Ind.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Thanks to Haruna.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- The --disable-packetver-re (or --enable-packetver-re=no) flag
prevents the definition of PACKETVER_RE (without editing mmo.h)
- The --with-key1=, --with-key2=, --with-key3= flags override the
encryption key defined by the current packetver. All three flags are
required if at least one is used, or they'll be ignored.
- These options are mostly useful for buildbots, developers who often
use git bisect, or users who want to minimize their diffs and still
want to override those settings.
- (unrelated minor tweak) Silenced an unnecessarily verbose STDERR
message caused by the $CC shipped with clang-5 during the MinGW check.
|
|
- If this doesn't make any sense right now, fear not. It'll make sense
in an upcoming update.
- Special thanks to Yommy, Ind.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Warps don't require a facing, so their duplicates shouldn't either.
- Credits to jaBote.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Small tweaks to the command, fixed merge conflicts
Signed-off-by: Haru <haru@dotalux.com>
|
|
Magicmushroom poison now properly cancels skills being cast upon activating one of its own, also modified unit_skillcastcancel's error message upon timer deletion failure so that it becomes easier to debug in the future.
http://hercules.ws/board/tracker/issue-7621-erro-map-server-waraitake/
Thanks to Beret
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
@speed no longer screws up on map change, modified @speed feedback so its clear whether the permanent speed flag is gone, enhanced @speed by making it capable of bypassing battle_config.max_walk_speed, made status_calc_speed rely on MIN_WALK_SPEED instead of the hardcoded 0, modified MIN_WALK_SPEED from 0 to 20 (it 1) wasnt being respected and 2) less than 20 clips).
@speed is now capable of moving the character faster, prior to this commit @speed 0 was equivalent to @speed 50 of this new version, @speed 20 for example is now the new maximum (and moves much faster).
http://hercules.ws/board/tracker/issue-7786-speed-bug-when-changing-maps/
Thanks to Mumbles for all the info
Signed-off-by: shennetsind <ind@henn.et>
|
|
package parser will now throw an error when using a invalid random: field, also fixed another error message (was missing a double %)
http://hercules.ws/board/tracker/issue-7793-item-packages-crash/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Item in shadow slots are now able to give bonuses properly, thanks to rosfus for pointing it out!
Also added the missing constants for script handling.
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
NPC Constants
|
|
|
|
Fonts are now relog-persistent.
Font items are now toggle-on/off, they no longer go away on use, they go away when their rental duration is over (and the font effect goes back to original).
Special Thanks to Yommy for all the data!
Signed-off-by: shennetsind <ind@henn.et>
|
|
Corrected some leftover 32bit typecasts. Special thanks to Ind.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- Corrected an issue with ammunitions not being detected correctly,
making all ammo-dependent skills fail.
- Credits to Ind, special thanks to Yommy
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- Corrected an issue with items showing up as Unknown on certain systems
due to structure size mismatch.
- Special thanks to ossi0110.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Modified Storage packet so that the size of the packet is no longer a problem; splitting now in chunks of 500, made possible thanks to Yommy!
http://hercules.ws/board/tracker/issue-7788-storage-problem/
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
http://hercules.ws/board/tracker/issue-7788-storage-problem/
Credits to Haruna!
Signed-off-by: shennetsind <ind@henn.et>
|
|
|
|
npcs to use this.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
Item rentals now take place after status changes arrive, guaranteeing that items that expired cancel their effects properly.
Thanks to kyeme, malufett.
http://hercules.ws/board/tracker/issue-7418-setmount-boarding-hatler/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Since cooldowns are now persistent to logout, the meaning of the setting has changed (see description within changeset).
http://hercules.ws/board/tracker/issue-7784-guild-skill-relog-delay/
Signed-off-by: shennetsind <ind@henn.et>
|
|
query_sql will now halt the script execution when a invalid query is used.
Signed-off-by: shennetsind <ind@henn.et>
|
|
The movement of invisible units is no longer sent to the game clients of foes, therefore cheat tools that'd display hidden units, without requiring maya p, will no longer function.
Special Thanks to hemagx, Haruna.
Signed-off-by: shennetsind <ind@henn.et>
|
|
whenever a character's hp was modified (e.g. damage/heal), clif_hpmeter would look for nearby characters with the PC_PERM_VIEW_HPMETER permission (foreachinarea operation), and since most of the time there isn't such a char nearby it would needlessly consume processing power, now hpmeter is only triggered when there are actual need (when a character with such capabilities is within the map). as little as this may look like, its a mega boost for damage-intensive areas e.g. woe, whereas a single AoE damaging 10 people would, without this, trigger foreachinarea 10 times one very hit.
Signed-off-by: shennetsind <ind@henn.et>
|
|
counter val could go off making the empty timer not to be run.
Signed-off-by: shennetsind <ind@henn.et>
|