summaryrefslogtreecommitdiff
path: root/src/map
AgeCommit message (Collapse)AuthorFilesLines
2017-09-17Split 'View' in two different fields in the item databaseHaru8-73/+102
- The field was used both for sprite view IDs and for weapon or ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are used respectively. Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Reimplement getiteminfo/setiteminfo in a safer and more maintainable wayHaru2-61/+113
Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Add item subtype (weapon/ammunition type) constantsHaru1-0/+37
Signed-off-by: Haru <haru@dotalux.com>
2017-09-05Add missing checks in attaching item to rodex mail.Andrei Karas1-5/+26
Also fix buffer overflow in requesting items from rodex mail.
2017-09-05Adjust rodex packet versions based on tests.Andrei Karas1-1/+1
2017-08-13Save near 200 places in arrays with size SC_MAX.Andrei Karas1-1/+1
SC_X conatants can be with any numbers.
2017-08-13Reported rodex bug fixes.Andrei Karas1-1/+2
2017-08-11Fix some wrong packet versions in rodex code.Andrei Karas1-4/+4
Also replace some numbers to constants.
2017-08-11Whitespace fixesHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2017-08-11Fix various issues detected by coverity in rodex-related codeHaru3-7/+7
Follow-up to 544da439e81ff78ec102b754e16b6cc0a28a6d0a Signed-off-by: Haru <haru@dotalux.com>
2017-08-10Fix possible overflow in npc_parsename.Andrei Karas1-1/+1
2017-07-30Implementation of RoDEXKirieZ20-21/+1954
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas9-15/+15
2017-07-27Move handling unknown sc code from status_change_start into separate function.Andrei Karas2-3/+14
2017-07-27Move adding icon code from status_change_start into separate function.Andrei Karas2-12/+21
2017-07-27Move getting val_flag based on type from status_change_start into separate ↵Andrei Karas2-128/+143
function.
2017-07-27Move set options from status_change_start into separate function.Andrei Karas2-164/+189
2017-07-27Move code for stop actions into separate function from status_change_start.Andrei Karas2-64/+80
2017-07-27Move from status_change_start code for end previous sc to separate function.Andrei Karas2-255/+285
2017-07-27Move some immune/resists checks from status_change_start into separate ↵Andrei Karas2-120/+157
functions.
2017-07-12Merge pull request #1790 from mekolat/channel2Haru1-3/+5
Allow to use channelmes without attached player
2017-07-11merge meko/set-sd2gumi1-4/+5
2017-07-11Added getcalendartime script commandKirieZ3-0/+104
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Added time limit parameter to setquestKirieZ3-14/+19
Signed-off-by: Haru <haru@dotalux.com>
2017-07-11Merge pull request #1788 from mekolat/type2Haru1-0/+64
new buildin: getdatatype()
2017-07-11Removed 'NO MSG' message in clients < 20101123. Follow up ↵Jedzkie1-2/+1
https://github.com/HerculesWS/Hercules/commit/60f9a68f90d495323e9e4533c7a1573ca5d86e71
2017-07-10fix setting pc var on another pcgumi1-4/+5
2017-07-04Merge pull request #1773 from dastgir/bug/item-optionssmokexyz1-6/+6
Item option fixes
2017-07-04Merge pull request #1782 from dastgir/bug/sellitemsmokexyz1-0/+11
Fixes crash with sell shop.
2017-06-28Fix a compile error on ARM (Raspberry Pi 3)Haru2-9/+19
According to the C specifications, va_list isn't necessarily a pointer (it can be an array of pointers, or just about anything). As such, we can't cast NULL to va_list. Fixes #1793 Related to 5fd40de233d3a897284f771338cbf8e657182261 Signed-off-by: Haru <haru@dotalux.com>
2017-06-25Adjust packet version based on client tests.Andrei Karas1-7/+7
Thanks to Asheraf.
2017-06-25fix guild leader change in 2017 clients. Based on rathena commit:Andrei Karas5-14/+31
commit b51617cb730cdc6d91bc03df16c887a060323f3a Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 17:03:56 2017 +0200 Added support for 2017's guild leader change
2017-06-25Add packet 0xabd for send job and base levels to party members.Andrei Karas4-7/+57
Also improve packets send on base level change. Based on commit from rathena: commit 816d8ab2d0934f823a1d26f7fcac244f8245f14b Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon Jun 5 23:07:09 2017 +0200 Fixed party window for 2017 clients Thanks to @mrdiablo for his help again!
2017-06-25Add packet 0xa44 for party info. Based on rathena commit:Andrei Karas1-9/+31
commit 816d8ab2d0934f823a1d26f7fcac244f8245f14b Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon Jun 5 23:07:09 2017 +0200 Fixed party window for 2017 clients Thanks to @mrdiablo for his help again!
2017-06-25Fix style in clif_party_info.Andrei Karas1-15/+16
2017-06-25Add packet 0x0a43 for party member info. Based on rathena commit:Andrei Karas1-11/+25
commit 816d8ab2d0934f823a1d26f7fcac244f8245f14b Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon Jun 5 23:07:09 2017 +0200 Fixed party window for 2017 clients Thanks to @mrdiablo for his help again!
2017-06-25Fix style in clif_party_member_info.Andrei Karas1-13/+14
2017-06-25Add packet 0x0aa5 for 2016 clients for guild members list. Based on rathena ↵Andrei Karas1-15/+27
commit: commit 9412ebb9f7b009e3ae3b69e5eb1ae8a3d341a5f2 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 14:08:06 2017 +0200 Added support for 2016's guild packets Thanks to @mrdiablo for his help.
2017-06-25Fix style in function clif_guild_memberlist.Andrei Karas1-20/+20
2017-06-25Add packet 0x0a84 for guild basic info. Based on rathena commit:Andrei Karas1-4/+15
commit 9412ebb9f7b009e3ae3b69e5eb1ae8a3d341a5f2 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Sat Jun 3 14:08:06 2017 +0200 Added support for 2016's guild packets Thanks to @mrdiablo for his help.
2017-06-25Fix style in function clif_guild_basicinfo.Andrei Karas1-24/+25
2017-06-25Fix vending list packet for 2016 clients. Based on rathena commit:Andrei Karas3-2/+40
commit 9716233c842f731df3fed5281370e324b5f5f024 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon May 8 23:40:05 2017 +0200 Introducing the equip preview window Fixes some bugs for 2016-09-21 onward, where you can preview how a item would like if you put it on. This works on other people's vending and on your own inventory. Thanks to @Rytech2 and @hazimjauhari90
2017-06-25Add packet 0x0a37 ZC_ITEM_PICKUP_ACK_V7 based on rathena commit:Andrei Karas2-2/+14
commit 9716233c842f731df3fed5281370e324b5f5f024 Author: Lemongrass3110 <lemongrass@kstp.at> Date: Mon May 8 23:40:05 2017 +0200 Introducing the equip preview window Fixes some bugs for 2016-09-21 onward, where you can preview how a item would like if you put it on. This works on other people's vending and on your own inventory. Thanks to @Rytech2 and @hazimjauhari90
2017-06-24make buildin_recovery more versatilegumi2-14/+50
2017-06-24Merge pull request #1765 from mekolat/swap2Haru1-4/+7
fix for #1761
2017-06-24Merge pull request #1775 from dastgir/bug/card_removeHaru1-77/+43
Fixes remove card bug
2017-06-24allow removechannelhandler to be called with attached ridgumi1-1/+2
2017-06-24allow addchannelhandler to be called with attached ridgumi1-1/+2
2017-06-24allow channelmes to be called without attached ridgumi1-1/+1
2017-06-21add getdatatype() buildingumi1-0/+64