Age | Commit message (Collapse) | Author | Files | Lines |
|
Replacements are as follows:
0 => ITEMINFO_BUYPRICE
1 => ITEMINFO_SELLPRICE
2 => ITEMINFO_TYPE
3 => ITEMINFO_MAXCHANCE
4 => ITEMINFO_SEX
5 => ITEMINFO_LOC
6 => ITEMINFO_WEIGHT
7 => ITEMINFO_ATK
8 => ITEMINFO_DEF
9 => ITEMINFO_RANGE
10 => ITEMINFO_SLOTS
11 (Subtype, for weapons and ammunitions) => ITEMINFO_SUBTYPE
11 (ViewSprite, for other item types) => ITEMINFO_VIEWSPRITE (NOT AVAILABLE YET)
12 => ITEMINFO_ELV
13 => ITEMINFO_WLV
14 => ITEMINFO_VIEWID
15 => ITEMINFO_MATK (NOT AVAILABLE YET - this was documented but never implemented)
Calls to getiteminfo() and setiteminfo() have been replaced with the
newly introduced constants. Other constants (such as W_ weapon subtypes)
in related code have been replaced as well, to improve code readability.
This fixes an issue in the Eden Tutorial script "Tutorial Goal", where
ITEMINFO_ATK was accidentally used instead of ITEMINFO_WEIGHT.
Note: calls to getiteminfo or setiteminfo with numeric type arguments in
third party scripts must be replaced with the respective constants. The
use of numeric literals is no longer recommended, and those values may
change in the future without notice. See the getiteminfo documentation
for details.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This removes the remaining unsupported symbols (despite they being
official names) in AegisNames: The apostrophe (`'`) sign is suppressed.
The full replacement rules (cumulative with the step 1 commit) are thus:
- Any apostrophe is suppressed.
- Any non-`[A-Za-z0-9_]` character is replaced with an underscore (`_`).
- If the replaced symbol is at a word boundary (beginning or end of the
string, or next to another underscore), it is suppressed instead.
- If the replacement causes an AegisName conflict, underscores are
appended appropriately.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This commit just propagates the AegisName changes to the pre-re database
and to the (re) scripts.
Two issues are fixed as a side-effect:
- The ghost_palace script was referring the non-existing constant(s):
Thanatos_Two-Handed_Staff == (Thanatos_Two) - (Handed_Staff) == 0.
Paired with the script engine's inability to differentiate between
constants and player variables, that produced a very subtle issue.
- The item RAG203 is sold by a NPC (Rebellion Weapon Vending). Due to a
pair of swapped AegisName constants (RAG203 and RAG203_), the slotted
version was sold by the NPC instead of hte non-slotted one (the issue
was actually fixed in the previous commit, although the description of
the fix is here - these two commits are only split for legibility
purposes but they're to be considered indivisible).
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
- Now including GPL-compliant license/copyright info
- Restored some missing copyrights
- Merchants scripts folders
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
rate of success. Bug Report#8511
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
npcs to use this.
|
|
Fix some typos
change sc_bleeding to -> sc_blooding
Updated RE EXP for quests_brasilis.txt
|
|
- Fixed Bug #7400
Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
|
|
- Follow up to 80510a0 { Corrected name placeholders }
- Vas cleanup on name placeholders
- Small change in /doc/permissions.txt
|
|
* Added some Malangdo coin exchange NPCs, more will come later.
* Updated Malangdo warp portals.
* Fixed item ID 12220 and clarified documentation of 'getiteminfo' types 11 and 14 (bugreport:7256).
* Minor Renewal item database update.
* Applied changes from r17171 to SQL databases.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17172 54d463be-8e91-2dee-dedb-b68131a5f0ec
|
|
-Added coin_exchange.txt Credits to EUphy & Lemongrass
|