summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21ItemDB SQL SyncHercules.ws2-1279/+1284
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-11-21Merge pull request #1514 from HerculesWS/itemdb-fixesAndrei Karas92-2482/+2604
Itemdb AegisName fixes
2016-11-20Removed support for apostrophes in libconfig key namesHaru3-82/+90
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>
2016-11-20Removed support for apostrophes in constantsHaru1-1/+1
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>
2016-11-20Added validation for the AegisName while parsing the item dbHaru2-2/+26
Signed-off-by: Haru <haru@dotalux.com>
2016-11-20Replaced some unsupported symbols in AegisNames (step 2)Haru78-1084/+1084
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>
2016-11-20Replaced some unsupported symbols in AegisNames (step 1)Haru5-21/+21
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>
2016-11-20Fixed various broken AegisNamesHaru1-8/+8
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>
2016-11-20Corrected item type for Gymnastics_Ribbon and Floral_Mic_Of_IguHaru1-2/+2
They are whips, not musical instruments. Signed-off-by: Haru <haru@dotalux.com>
2016-11-20Synchronized the AegisNames to the in-source ITEMID_ constantsHaru4-34/+124
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>
2016-11-20Synchronized the AegisName between re and pre-re item databasesHaru4-24/+24
Signed-off-by: Haru <haru@dotalux.com>
2016-11-20Fixed various minor issues in the item DBHaru2-9/+8
- Mostly whitespace, with the exception of the 'Wurst' item rename (was previously incorrectly named Brusti) Signed-off-by: Haru <haru@dotalux.com>
2016-11-20Propageted the AegisName fix to scripts and pre-re databaseHaru16-294/+295
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>
2016-11-20Fixed several broken or incorrect AegisName valuesHaru1-932/+932
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>
2016-11-20Merge pull request #1517 from HerculesWS/libconfig-quickupdateAndrei Karas20-926/+852
Libconfig quickupdate
2016-11-19Let the CI test suite also run the testsHaru1-0/+22
For the time being, test_libconfig only (test_spinlock is very time consuming)
2016-11-19Fix various uninitialized objects in the test_libconfig suiteHaru1-0/+31
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>
2016-11-19Extend the previous linker library order fix to other makefilesHaru4-11/+11
This also fixed a typo (misplaced parentheses around LIBCONFIG_OBJ) in the *_DEPENDS variable of makefiles Signed-off-by: Haru <haru@dotalux.com>
2016-11-19Fix a 'make test' failure caused by a wrong linker library orderHaru1-2/+2
The library common.a depends on common_sql.a. Signed-off-by: Haru <haru@dotalux.com>
2016-11-19HPM Hooks UpdateHaru4-72/+72
2016-11-19Add fixed-size versions of the _int64 libconfig getters/settersHaru4-17/+91
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>
2016-11-19Fix a compilation warning in test_spinlockHaru1-5/+7
2016-11-19Fix a compiler warning from libconfig on gcc-6 and -O3Haru2-0/+24
Signed-off-by: Haru <haru@dotalux.com>
2016-11-19Re-generate libconfig with Flex 2.6.2-1 (still using Bison 3.0.4)Haru2-214/+171
The version of flex used here includes a workaround for https://github.com/westes/flex/issues/113 (since it's otherwise not-compilable)
2016-11-19Re-generate libconfig with Bison 3.0.4 (still using Flex 2.6.0)Haru3-606/+422
Signed-off-by: Haru <haru@dotalux.com>
2016-11-08ItemDB SQL SyncHercules.ws1-40/+40
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2016-11-08Merge pull request #1502 from Angelmelody/correct_weapon_item_typeDastgir1-40/+40
Fixed incorrect item type for weapons and armor
2016-11-07Corrected an issue causing WZ_HEAVENDRIVE to be ineffectiveHaru1-4/+4
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>
2016-11-03Merge pull request #1504 from 4144/packetsHaru2-75/+210
Add some new packets and fix packet versions
2016-11-03Fix version for packet 0x08d6 ZC_CLEAR_DIALOG.Andrei Karas2-2/+12
2016-11-03Add packet 0x08d3 ZC_SE_CASHSHOP_UPDATE into packets.hAndrei Karas1-0/+7
2016-11-03Fix version for packet 0x08d2 ZC_FASTMOVE.Andrei Karas2-3/+2
2016-11-03Add packets 0x08d0 ZC_REQ_WEAR_EQUIP_ACK2, 0x08d1 ZC_REQ_TAKEOFF_EQUIP_ACK2 ↵Andrei Karas1-0/+2
into packets.h
2016-11-03Fix version for packet 0x08cf ZC_SPIRITS_ATTRIBUTE.Andrei Karas2-3/+9
2016-11-03Add packet 0x09dc into packets.hAndrei Karas1-0/+7
2016-11-03Add packet 0x08cb ZC_PERSONAL_INFOMATION into packets.hAndrei Karas1-0/+8
2016-11-03Fix version for packet 0x08ca ZC_ACK_SCHEDULER_CASHITEM.Andrei Karas2-1/+5
2016-11-03Fix version for packet 0x08c9.Andrei Karas1-1/+1
2016-11-03Add packet 0x08c8 ZC_NOTIFY_ACT3 into packets.hAndrei Karas1-0/+7
2016-11-03Add packet 0x08c7 ZC_SKILL_ENTRY3 into packets.hAndrei Karas1-0/+7
2016-11-03Add packets 0x08c1, 0x08c2 into packets.hAndrei Karas1-0/+2
2016-11-03Fix version for packet 0x08c0 ZC_ACK_SE_CASH_ITEM_LIST2.Andrei Karas2-2/+14
2016-11-03Add packets 0x2f3-0x2f6 into packets.hAndrei Karas1-0/+10
2016-11-03Add packets 0x08b4, 0x08b5, 0x08b6 into packets.hAndrei Karas1-0/+9
2016-11-03Fix version for packet 0x08b3 ZC_SHOWSCRIPTAndrei Karas2-0/+9
2016-11-03Add packet 0x08b1 ZC_MCSTORE_NOTMOVEITEM_LIST int packets.hAndrei Karas1-0/+7
2016-11-03Fix version for packet 0x08e2 ZC_NAVIGATION_ACTIVE.Andrei Karas2-3/+6
2016-11-03Fix version for packet 0x097e ZC_UPDATE_RANKING_POINT.Andrei Karas2-4/+7
2016-11-03Add packet size 0x097d ZC_ACK_RANKING into packets.hAndrei Karas2-2/+11
2016-11-03Fix version for packet 0x0a28 ZC_ACK_OPENSTORE2Andrei Karas2-3/+10