Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
- As of 4ea6d474 (almost 7 years ago!) the correct check is bioeth==13,
rather than MISC_QUEST&64. Special thanks to ossi0110.
- Minor tweaks to the script to match Hercules standards.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Improved legibility (renamed variables, replaced numbers with
constants.
- Changed syntax to match Hercules standards.
- Fixed status point exploit upon Baby Novice job change.
- Special thanks to bgamez23.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixed files with mixed character set or invalid CP949 characters.
- Uncommented '#music' script in the_sign_quest.txt (now the
soundeffect filename should be fixed).
- Added a note to the header of CP949 files not to read or save them as
UTF8, since it'd break their encoding. It should be safe enough to
read them as EUC-KR if your text editor doesn't offer CP949 as an
option.
- Added FIXME notes about untranslated strings in assassin_skills.txt
and WolfchevLaboratory.txt.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- All text files should end with an EOL. Period.
- See http://robots.thoughtbot.com/no-newline-at-end-of-file for info
on how to configure the most common text editors to do it
automatically for you.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
- Parallelized pre-re and re tests
- Added mapserver and script engine tests: this means that travis will
detect parse errors in scripts as well as the source now)
Signed-off-by: Haru <haru@dotalux.com>
|
|
script, if
a dialog window is open it'll also CLOSE it.
Corrected Zeny formula in THQS
|
|
Added npc_market_data_db to inter-server.conf
Added shop message to messages.conf
Fixed small typo in clif_GM_kickack
|
|
- Moved tests into a function, so that they can be easily called by
external scripts. Ensured that the tests are only executed once.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Update many items scripts to official
|
|
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.
|
|
Fix hunting mission not able to take mission after a character has deleted
http://hercules.ws/board/tracker/issue-8104-hunting-missiontxt-delete-character/
Clarify Weight and MaxWeight unit as in 0.1
http://hercules.ws/board/tracker/issue-7836-weight-and-maxweight/
|
|
- Moved npc/custom/test.txt to npc/dev/test.txt
- Special thanks to AnnieRuru for the idea.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The script command pcre_match and the operator ~= will return the
number of regular expression matches in a given string (roughly
equivalent to the php function preg_match or the perl operator =~)
- The operator ~! is the opposite of ~= (roughly equivalent to the perl
operator !~)
- See script_commands and npc/custom/test.txt for more information.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Fix bug 8077
http://hercules.ws/board/tracker/issue-8077-woese-flag-emblems-gives-warning/
|
|
- Fixes bugreport:8074, thanks to ahmadshidqi
http://hercules.ws/board/tracker/issue-8074-help-crash/
- Also fixed some DBMap allocation mistakes introduced in 4f3156b.
- Added testcases to the self-test script.
- Made possible thanks to Ind.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Also includes testcases for the recent ref fixes/changes.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Update Hunting_Mission.txt to the new SQL dbs
|
|
- Fixes issue 7968, thanks to Moguri
http://hercules.ws/board/tracker/issue-7968-trader-npc-not-working/
- Corrected sprite name for KO_KAGE to match latest kRO info (previouly
KO_ZANZOU, conflicting with a Kagerou/Oboro skill identifier)
- Updated self-test script to include checks for constants and for setd
and getd.
- Made possible thanks to Ind.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Info:
http://hercules.ws/board/topic/3614-christmas-patch-gifto/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Some_Of_Report item.
Update malaya quest, added item Lost_Belongings to Tiyanak mob & fix wrong item id and change headers to Masao original.
|
|
Fixed error when unbinding items, removed /* */
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- http://hercules.ws/board/tracker/issue-7841-endless-tower-part-2/
- Thanks to Haru for the getarg suggestion
Signed-off-by: Patskie <escalona3413@gmail.com>
|
|
|
|
- Fixes bugreport:7860, thanks to SSky
http://hercules.ws/board/tracker/issue-7860-eden-mission-board-npc-name/
- Follow-up to 6309eba
Signed-off-by: Haru <haru@dotalux.com>
|
|
Cleaned up Zeny manipulation in scripts.
- It is now finally safe to re-commit.
- Removed some unwanted parts of the original commit, that broke the
character set in some scripts. [Haru]
- Corrected spacing in some edited lines. [Haru]
|
|
- Assignment operators would not work correctly, or at all, when
followed by an expression (as opposed as a value).
- Fixes bugreport:7864, thanks to Lelouch, Ind.
- Added associativity tests for those operators to the self-test script.
- Added total error count to the self-test script (thanks to Lighta.)
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replace incorrect end commands with close
- Update variable syntax
Signed-off-by: Patskie <escalona3413@gmail.com>
Fix variables and character stuck at healing
Signed-off-by: Patskie <escalona3413@gmail.com>
|
|
- Most of the checks for the GUSLI accessory were completely
ineffective, and could be bypassed by wearing any accessory.
- Replaced numeric item ID with the item DB constant.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- [ This commit is part of a larger script engine related update ]
- Adjacent string literals are now automatically concatenated into one
string upon parsing.
- Adjacent string literals are string literals (i.e. "such as this",
with only whitespace (including line breaks and/or comments) between
them. For example, the lines:
mes "this will be concatenated " /* skipping this
comment */ " into one string"; // at parse time
will produce an output of "this will be concatenated into one string".
- The feature brings parity with other languages (i.e. C), and makes it
easier to split long strings in multiple lines, without having to
resort to a, slower, run-time string concatenation operator ('+')
- Special thanks to Trojal for the idea.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- [ This commit is part of a larger script engine related update ]
- Operator precedence rules now closely follow those of languages such
as C and derivates/related (C++, Java, PHP, etc.)
- Please note that if you had custom scripts with non parenthesized
expressions containing bitwise |, &, ^ operators, they may behave
incorrectly now (or perhaps they were already behaving incorrectly,
since the previous behavior was undocumented).
- Added an up to date operator precedence/associativity table in the
script documentation.
- Added an operator/keyword self-test script in the npc/custom folder,
in case if may be of some use for future regression-testing.
|
|
Reverted due to a serious regression.
I'll commit this again once I fixed the issue in the script engine.
Sorry for the inconvenience.
This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
- Replaced some leftover numeric IDs
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Consolidated case in remaining variables, labels, constants.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Consolidated case in variables, labels, constants.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Added a note about variables and command scripts case sensitivity.
Even though the engine still accepts variable, function and command
names in a case insensitive way, it is discouraged to rely on such
behavior. Please update your custom scripts as soon as possible.
Signed-off-by: Haru <haru@dotalux.com>
|