Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Itemdb AegisName fixes
|
|
The apostrophe (`'`) is no longer an allowed symbol in libconfig key
names. It is no longer necessary since it is no longer allowed in
constant names.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Supporting apostrophes (`'`) inside constants or variables is no longer
necessary thanks to the more strict AegisName ruleset we're using now.
Signed-off-by: Haru <haru@dotalux.com>
|
|
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 removes some unsupported symbols (despite they being official names) in
AegisNames. The replacement rules used are:
- 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 removes special symbols (spaces, dashes, parentheses) from various custom
AegisNames for which we don't have the official value available. Where
possible, the appropriate name was guessed (based on similar existing items).
Signed-off-by: Haru <haru@dotalux.com>
|
|
They are whips, not musical instruments.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Some missing items were copied to the pre-renewal database. In general,
when an item ID is hardcoded in source, it's preferable that the item
exists in both databases.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Mostly whitespace, with the exception of the 'Wurst' item rename (was
previously incorrectly named Brusti)
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>
|
|
The values are based on Divine-Pride.
This also fixes several unusable AegisName constants containing spaces
or special characters.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Libconfig quickupdate
|
|
For the time being, test_libconfig only (test_spinlock is very time
consuming)
|
|
The config_t objects need to be initialized through libconfig->init()
before use (except when loaded through libconfig->load_file(), which
initializes the object).
Signed-off-by: Haru <haru@dotalux.com>
|
|
This also fixed a typo (misplaced parentheses around LIBCONFIG_OBJ) in
the *_DEPENDS variable of makefiles
Signed-off-by: Haru <haru@dotalux.com>
|
|
The library common.a depends on common_sql.a.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
As we use int64 (instead of long long int) through the code, it's
preferable if our libconfig interface does the same, avoiding us to
create temporary interchange variables for that purpose.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
The version of flex used here includes a workaround for
https://github.com/westes/flex/issues/113 (since it's otherwise
not-compilable)
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <dev@herc.ws>
|
|
Fixed incorrect item type for weapons and armor
|
|
The issue was caused by an evident patch mishap in commit
5e04f472e1ef618d9201fd22e382dca829992b3b. The misplaced piece of code
has now been moved to the most likely place it was supposed to be in.
This commit also removes an extra 'break' introduced by accident in
commit f4e8189545642ee0bf87f3da546bddc918682935 (which caused no harm).
Related: http://herc.ws/board/topic/13672-heaven-driver/
Signed-off-by: Haru <haru@dotalux.com>
|
|
Add some new packets and fix packet versions
|
|
|
|
|
|
|
|
into packets.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|