Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40
- Replaced last leftover numeric sprite ID with the appropriate constant
- Special thanks to Ind
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40
- Replaced numeric IDs in NPC definitions and setnpcdisplay calls with
the appropriate constants
- Made possible thanks to Ind
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- Added support for constants whose name begins with a number.
- Follow-up to 124ab2a1cdb344f24170a4d91f7000ebabf39b40.
- Replaced calls to setnpcdisplay with hardcoded numeric IDs to
constants.
- Thanks to Yommy.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: shennetsind <ind@henn.et>
Conflicts:
conf/messages.conf
src/common/mmo.h
src/map/pc_groups.c
src/map/pc_groups.h
|
|
Adjustments to the team-splitting algorithm
Thanks to Haruna!
Signed-off-by: shennetsind <ind@henn.et>
|
|
Enabled Party/Guild joining methods, Implements first attempt at the splitting algorithm (Thanks to jaBote!)
Checks item 1 on issue #69
Help us test! -- http://hercules.ws/board/topic/1302-bg-queue-debug/
Signed-off-by: shennetsind <ind@henn.et>
|
|
Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>
|
|
- 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>
|
|
- 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>
|
|
Fixed, some issue thanks to Master Ind ;)
Signed-off-by: sevenzz23 <sevenzz23@yahoo.com>
|
|
npcs to use this.
|
|
Minor Hercules divergence.
Thanks to Haruna, Michieru.
Signed-off-by: shennetsind <ind@henn.et>
|
|
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
|
|
As requested by the community in http://hercules.ws/board/topic/1702-implement-rathena-npc/ we're merging in the latest of rAthena's dungeons, this includes the rewriting of all instance dungeons and the addition of 4 dungeons that were not present previously (BakonawaLake, BangungotHospital, BuwayaCave and OldGlastHeim).
Update also includes the ability for instances to reset (or be destroyed if instance files were disabled/removed) upon @reloadscript, instance scripts are able to control to what stage the instances are to be reset via the instance_set_respawn (reload spawn) script command, OnInstanceInit labels are now triggered when the instance starts via instance_init (and upon reload), they may be used alongside instance variables (which are persistent to @reloadscript) to save players' progress.
- NPC Changelog:
-- npc/instances/EndlessTower.txt
--- 2.2 Instance system rewrite. [Euphy]
--- 2.3 Added some missing announcements. [Euphy]
--- 2.4 Added GM management function. [Euphy]
-- npc/instances/NydhoggsNest.txt
--- 1.5 Instance system rewrite. [Euphy]
--- 1.6 Added GM management NPCs. [Euphy]
-- npc/instances/OrcsMemory.txt
--- 1.7 Instance system rewrite. [Euphy]
-- npc/instances/SealedShrine.txt
--- 2.3 Instance system rewrite. [Euphy]
-- npc/other/gm_npcs.txt
--- 1.0 First version. [Euphy]
-- npc/re/instances/BakonawaLake.txt
--- 1.0 First version. [Euphy]
--- 1.1 Added GM management NPC. [Euphy]
-- npc/re/instances/BangungotHospital.txt
--- 1.0 First version. [Euphy]
--- 1.1 Added GM management function. [Euphy]
-- npc/re/instances/BuwayaCave.txt
--- 1.0 First version. [Euphy]
-- npc/re/instances/HazyForest.txt
--- 1.1 Instance system rewrite. [Euphy]
-- npc/re/instances/MalangdoCulvert.txt
--- 1.0b Fixed incorrect use of 'close'. [Joseph]
--- 1.1 Instance system rewrite. [Euphy]
-- npc/re/instances/OctopusCave.txt
--- 1.1 Instance system rewrite. [Euphy]
-- npc/re/instances/OldGlastHeim.txt
--- 1.0 First version. [Euphy]
Special Thanks to Haru, Uziel for their contributions to this update, and ossi0110 for helping us debug it.
Signed-off-by: shennetsind <ind@henn.et>
|
|
Partial Merge of 198dc48 / 48d36c2
Changelog:
- npc/merchants/buying_shops.txt
-- 1.1a Moved Catalog Magician to Renewal path. [Euphy]
- npc/quests/quests_moscovia.txt
-- 2.0b Bug fixes. [Lemongrass]
-- 2.1 Fixed incorrect use of 'close'. [Joseph]
-- 2.2 Updated RE/Pre-RE EXP. [Euphy]
- npc/re/merchants/catalog.txt
-- 1.1 Updated dialogue. [Euphy]
Closes #149
Signed-off-by: shennetsind <ind@henn.et>
|
|
Partial Merge of eeafb5393f09b4fbea6d6f6df20f50fdbb6db432
- Moved "Wincing Old Man" (from quests_veins) to pre-re/re coordinates. [Euphy]
Closes #145
Signed-off-by: shennetsind <ind@henn.et>
|
|
Partial Merge of 0b68607
Quest Changelog:
- 1.2 Replaced with official script. [Euphy]
Closes #177
Closes #178
Signed-off-by: shennetsind <ind@henn.et>
|
|
Changelog:
- dew_dun.txt
-- 1.1 Updated spawn delays. [Euphy]
- dic_dun.txt
-- 1.2 Updated Nightmare spawns and names. [Euphy]
- iz_dun.txt
-- 1.4 Official F6 spawns [Euphy]
- dewata.txt
-- 1.1 Updated spawn delays. [Euphy]
Closes #170
Signed-off-by: shennetsind <ind@henn.et>
|
|
Changelog:
2.1 Added reset option to "Kareka". [Euphy]
2.2 Added Izlude duplicates. [Euphy]
2.3 Added GM management NPCs. [Euphy]
Closes #146
Signed-off-by: shennetsind <ind@henn.et>
|
|
File Changelog:
1.7 Fixed exp, texts, and requirements in pre-renewal [Daegaladh]
1.8 Updated to match the official script. [Euphy]
1.9 Added GM management function. [Euphy]
Closes #176
Signed-off-by: shennetsind <ind@henn.et>
|
|
Mage solution npcs were present twice, in npc/quests and in /npc/pre-re/jobs/1-1/mage I've removed the mage ones are there is no difference between the re and non-re one, warning is gone.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Ensured final end-of-line character in every file.
- Corrected cases of mixed line endings (mostly CR and CRLF within the
same file.)
- Removed extra BOM from some scripts, since it causes a parsing error.
Signed-off-by: Haru <haru@dotalux.com>
|
|
http://hercules.ws/board/tracker/issue-7214-moroccpayon-solution-npcs-missing/?gopid=20262#entry20262
|
|
Thanks to Euphy for bringing this to my attention.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Bug Fix
- http://hercules.ws/board/tracker/issue-7671-warper-npc-bug-for-pre-re/?gopid=20248#entry20248
* For a end, the script will terminate, but returns nothing, because there's nothing else to be returned, as with a close, the script closes and ends the above function.
|
|
- When attempting to use a value greater than INT_MAX or smaller than
INT_MIN (about +/- 2 billions), an error message will be shown and
script execution will be aborted.
- Corrected some scripts that were attempting to use such values.
- Fixed some possible issues when using literal negative values in
scripts.
Thanks to Ind for his help on this issue (figuring it out and fixing it)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixed 'close' issues that causes players to stuck.
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|
|
Cleared 3 out of 5, #69
Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game.
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Enabled Dewata warps.
http://hercules.ws/board/tracker/issue-7510-dewata-legend-quest-incomplete/
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|
|
Also, Fixed Bug#7504 -
http://hercules.ws/board/tracker/issue-7504-missing-monsters/?gopid=1929
1#entry19291
~Merged from rAthena
|
|
Some documentation update on battlegrounds.conf
Fixed Hercules Queue Option constants, they're 1-2-3 not 0-1-2.
Some Bugfixes to the test script, special thanks to ossi0110
http://hercules.ws/board/topic/1302-bg-queue-debug
Signed-off-by: shennetsind <ind@henn.et>
|
|
- Fixed Bug #7469
- Fixed Bug #7468
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|
|
- Corrected the file path for ticket_refiner.txt.
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|
|
|
|
- Fixed Bug #7400
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|