summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2018-11-14Clarify the code around the def/flee reduction for multiple attackersHaru1-31/+35
This is just a clarification/sanitization, no functional changes intended. Signed-off-by: Haru <haru@dotalux.com>
2018-08-04Fixed defense overflow exploitDastgir2-1/+2
* The defense penalty for being attacked by many enemies at the same time can no longer make DEF go negative * Fixed two potential overflow exploits When being hit by a lot of monsters, your DEF will become negative and then eventually overflow, making you almost invincible. On official servers the simultaneous attacker count is limited to 22. So at max, your def is reduced by ((22-2)*5%) = 100%. So it should neither be able to make your DEF negative nor cause an overflow. Merge from https://github.com/rathena/rathena/commit/590f42cd15c58de78cff8be6053109852375bce1#diff-d96b6365b4bdad78139e676d6e7e3295R4589
2018-07-29Merge pull request #2159 from 4144/initblHaru2-1/+9
Set all fields to 0 in fake bl's.
2018-07-29Merge pull request #2158 from mekolat/getdHaru1-1/+13
fix getd not setting the type to C_NAME for new variables
2018-07-29Merge pull request #2161 from dastgirp/fix/coverityHaru1-5/+2
Fix achievement issues
2018-07-29Merge pull request #2157 from Asheraf/achsellHaru1-2/+3
correct sell item achievement being validated after item is deleted
2018-07-29Fix issues reported by coverity scanDastgir1-5/+2
2018-07-29Set all fields to 0 in fake bl's.Andrei Karas2-1/+9
2018-07-28fix getd not setting the type to C_NAME for new variablesgumi1-1/+13
2018-07-28correct sell item achievement being validated after item is deletedAsheraf1-2/+3
2018-07-28Merge pull request #2155 from Asheraf/stydoramHaru2-0/+7
Add support for doram restriction in stylist shop
2018-07-28Merge pull request #2148 from MishimaHaruna/splasher-double-gemstoneHaru1-0/+5
Fix Venom Splasher consuming its gemstome requirement twice
2018-07-28Fix values in enum private_airship.Andrei Karas1-2/+2
2018-07-28Update packet CZ_NPC_MARKET_PURCHASE.Andrei Karas1-0/+4
2018-07-28Add packet ZC_GROUP_ISALIVE.Andrei Karas4-1/+31
2018-07-28Add missing field into packet ZC_NPCACK_SERVERMOVE.Andrei Karas3-4/+13
2018-07-28Fix check for packet 0xa43 and related packets.Andrei Karas2-9/+6
2018-07-28Update struct for packet CZ_REQ_OPEN_MAIL.Andrei Karas2-3/+4
2018-07-28Update packet ZC_WARPLIST.Andrei Karas3-16/+55
2018-07-28Fix packet version for packets 0xacb and 0xacc.Andrei Karas1-6/+5
2018-07-28Add support for chat commands /changedress and /nocosplay for remove costumesAndrei Karas4-2/+24
Also add at command for remove costumes @changedress and @nocosplay. Thanks @Lemongrass3110 and @Everade.
2018-07-28Add over weight packet.Andrei Karas4-0/+21
Thanks @functor-x
2018-07-28Update packets and keys up to 2018-07-25.Andrei Karas6-11/+23
2018-07-28Update messages table up to 2018-07-25.Andrei Karas3-10611/+10662
Also change latest version from numeric to word "latest" to reduce git history changes in future updates.
2018-07-28Merge pull request #2147 from MishimaHaruna/fixcooldownHaru1-10/+4
Fix an issue that causes skill cooldowns to get stuck indefinitely
2018-07-28Merge pull request #2067 from dastgirp/1-achievementHaru23-73/+2941
Implemented Achievement System and Title System
2018-07-27Add support for doram restriction in stylist shopAsheraf2-0/+7
2018-07-26Fix Venom Splasher consuming its gemstome requirement twiceHaru1-0/+5
Fixes #1837 Signed-off-by: Haru <haru@dotalux.com>
2018-07-26Fix an issue that causes skill cooldowns to get stuck indefinitelyHaru1-10/+4
A cooldown timer could expire before the associated character's data gets added to the ID/PC DB, causing skill_blockpc_end() to be unable to find and clear the cooldown data. This commit moves the cooldown loading function to a safe place, after the character data is initialized and added to the DB. Fixes #1535 Signed-off-by: Haru <haru@dotalux.com>
2018-07-26Merge pull request #2143 from dastgirp/plugin/unit_layoutHaru2-3/+3
Added missing parameter to init_unit_layout_unknown
2018-07-25Merge pull request #2093 from AnnieRuru/47-MAX_ARRAYSIZEHaru2-3/+3
Fix SCRIPT_MAX_ARRAYSIZE
2018-07-25Merge pull request #2138 from Asheraf/stylistupdateHaru5-5/+25
Add support for bodystyle in stylist shop ui
2018-07-24Implemented Title System.Dastgir9-95/+263
2018-07-24Implementation of the official Achievement System.smokexyz20-8/+545
Source: http://ro.gnjoy.com/news/update/View.asp?seq=163&curpage=1 Script Commands - ``` achievement_progress(<ach_id>,<obj_idx>,<progress>,<incremental?>{,<char_id>}); ``` Includes an achievement_db.conf generator that reads from the item_db, mob_db (server side) and achievement_list.lub files to determine valid achievement entries based on item/monster availability. Achievements containing unsupported entries are commented out. This feature, although renewal-only in official servers, is capable of being used in pre-renewal mode on Hercules. Does not include the title system yet. A big thanks to - @MishimaHaruna for constantly reviewing. @4144 for all the support. @Asheraf for a lot of official information. Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-24Add achievement source files.smokexyz3-2/+2165
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-24add support for PACKETVER >= 20180704 pet evolutionAsheraf2-1/+8
2018-07-24Correct wrong attribute used for pet evolution egg hidingAsheraf4-3/+16
2018-07-24Added missing parameter to init_unit_layout_unknownDastgir2-3/+3
2018-07-24Merge pull request #2107 from Asheraf/questinfo_vecHaru9-94/+513
Questinfo System overhaul
2018-07-24Questinfo System overhaulAsheraf9-71/+497
2018-07-24Merge pull request #2130 from mekolat/reloadconstHaru2-15/+13
reload the const db on script reload
2018-07-24Convert questinfo data into a vectorAsheraf5-34/+27
2018-07-24Merge pull request #2088 from guilherme-gm/fix-ghostmonstersHaru5-2/+17
Fixed monsters not disappearing from some clients upon death
2018-07-23Merge pull request #2127 from sctnightcore/FixDateHaru1-1/+1
Fix date
2018-07-19Fixing detecting item id or item name in string.Andrei Karas3-7/+7
2018-07-19Add new constant MAX_ITEM_ID for maximum allowed item id.Andrei Karas4-24/+117
For clients older than 2018-07-04 Re maximum supported and enabled id is 65535 (0xffff). For newer clients miximum id is 2147483648. Enabled by default 131072 (0x20000)
2018-07-19Dont show non existing item id=0 errors in rodex.Andrei Karas1-3/+5
2018-07-19Changed MAX_ITEMDB to 0xFFFF.Andrei Karas1-1/+11
Also add ifndef to other defines near it.
2018-07-19Replace item id shorts to int in map server.Andrei Karas26-149/+162
2018-07-19Add support for bodystyle in stylist shop uiAsheraf5-5/+25