summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-04-17Merge pull request #2428 from hemagx/hercules_pet_fixesHaru1-0/+15
Automatically migrate pets to the new system that keeps hatched eggs in the inventory
2019-04-15Update HPMAndrei Karas8-16/+283
2019-04-15Improve get items from rodexAndrei Karas9-34/+169
2019-04-15Improve get zeny from rodexAndrei Karas8-12/+83
2019-04-14Disable chatroom creation if cell_chknochatEmistry Haoyan1-0/+8
- doesn't allow chatroom creation/switch if the coordinated cell are set with cell_chknochat. - chatroom will be auto deleted.
2019-04-14Add account id and char id into inter server rodex update packetAndrei Karas7-18/+29
2019-04-11Added NULL unit data validation for NPC.Emistry Haoyan1-46/+62
- script command `npcspeed`, `npcwalkto`, `npcstop`, `unitwalk`, `unitwarp`, `unitstop` are not applicable for floating npc (without coordinate/location). - Fix map-crash due to unit_data `NULL`.
2019-04-11Standardize to "all" in script commandsAnnieRuru1-2/+8
2019-04-11Add 3 pc variables just for the input limit ...AnnieRuru3-6/+21
sd->npc_amount_min and sd->npc_amount_max to limit input range and sd->npc_input_capped_range because the documentation ask for it
2019-04-11Modernize coding styleAnnieRuru1-23/+21
2019-04-10Fix direct calls to clif_send in clif.cIbrahim Zidan1-5/+3
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-10Addition of missing nullpo check in clif_send and an assertion check forIbrahim Zidan1-6/+6
zero/negatvie length values Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-10Rewrite clif_storageItemsIbrahim Zidan2-24/+23
- The maximum packetsize is now decided during compile time depending on client version which fixes an issue started with clients supporting int32 as itemid where packet size would underflow - The function now have a single loop that is easier to read and understand Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-09Automatically migrate pets to the new system that keeps hatched eggs in the ↵Ibrahim Zidan1-0/+15
inventory - The pet evolution update caused all already hatched eggs to get lost cause the previous system would actually remove the egg unlike the new one, this code will ensure the return of it.
2019-04-10Expand *getinventorylist() script commandEmistry Haoyan1-25/+32
- return an array `@inventorylist_favorite` - indicate whether an item in the inventory are located inside favorite tab or not.
2019-04-08Fix an issue with named/brewed/forged items getting saved with the wrong ↵Ibrahim Zidan2-9/+9
character id The isue was triggered by the refactoring of old undocumented code that relied on the overflow behavior during assignment from int32 to int16 and from uint16 to int16, and by a subsequent clamping to SMALLINT range operated by the SQL server. Credits: Haru <haru@dotalux.com> Fixes #2409 Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-07Merge pull request #2415 from AnnieRuru/76-showscriptHaru5-18/+18
Add optional parameter for *showscript to send target to SELF only
2019-04-07HPM Hooks UpdateHercules.ws4-0/+33
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2019-04-07Merge pull request #2402 from AnnieRuru/71-bodystyle_crashHaru1-1/+9
Fix @bodystyle crash client
2019-04-07Merge pull request #2367 from AnnieRuru/54-MAX_ITEM_IDHaru1-0/+1
Add new server define constant MAX_ITEM_ID
2019-04-07HPM Hooks UpdateHaru2-8/+8
Signed-off-by: Haru <haru@dotalux.com>
2019-04-07Add packet CZ_STYLE_CLOSEAndrei Karas4-0/+17
2019-04-07Update HPMAndrei Karas4-15/+188
2019-04-07Rename clif_charnameack into clif_blname_ackAndrei Karas10-26/+26
2019-04-07Open macro ui in client by requestAndrei Karas1-0/+12
2019-04-07Add allow call optionAndrei Karas4-7/+18
2019-04-07Add chat command /resetcooltimeAndrei Karas4-0/+22
Add packet CZ_COOLDOWN_RESET.
2019-04-07Add ZC_PING and CZ_PING packetsAndrei Karas8-2/+84
For supported packet version, from now server send ping packets to client.
2019-04-07Fix possible null pointersAndrei Karas2-6/+16
2019-04-07Add missing enum value for clif_feel_reqAndrei Karas1-0/+1
2019-04-07Update messages up to 2019-04-03Andrei Karas3-5/+224
2019-04-07Update shuffle packets up to 2019-04-03Andrei Karas3-6/+18
2019-04-07Update keys up to 2019-04-03Andrei Karas2-4/+12
2019-04-07Upda packets table up to 2019-04-03Andrei Karas3-19/+62
2019-04-07Merge pull request #2416 from louisplag/patch-2Haru1-1/+3
update db2sql
2019-04-07Merge pull request #2417 from AnnieRuru/77-feature_enable_pet_autofeedHaru1-1/+1
fix pet autofeed feature
2019-04-07Merge pull request #2398 from AnnieRuru/69-getpetinfoHaru2-22/+96
Deprecate *petstat and add CONSTANTS to *getpetinfo
2019-04-07Merge pull request #2408 from AnnieRuru/73-UDT_LEVELHaru1-0/+2
Fix UDT_LEVEL when show_mob_info level display is on
2019-04-07Merge pull request #2403 from AnnieRuru/72-randHaru1-4/+5
Fix rand() not support on certain compiler
2019-04-07Merge pull request #2388 from AnnieRuru/61-gettimestrHaru1-10/+22
Add optional parameter for *gettimestr
2019-04-07Merge pull request #2401 from dastgirp/feature/getinventorylistHaru1-0/+1
Expanded getinventorylist:
2019-04-07Added configuration to enable/disable achievement systemDastgir3-0/+9
2019-03-31fix pet autofeed featureAnnieRuru1-1/+1
2019-03-30update db2sqllouisplag1-1/+3
fixed bug load mob_skill_db.sql https://github.com/HerculesWS/Hercules/pull/2407#issuecomment-475771443
2019-03-30Add optional parameter for *showscript to send target to SELF onlyAnnieRuru3-10/+10
- also remove the useless script_pushint
2019-03-23white space editAnnieRuru1-8/+8
2019-03-23Add optional parameter for *gettimestrAnnieRuru1-2/+14
2019-03-23Suppress ShowWarning for certain mapflags when @reloadscriptAnnieRuru1-4/+5
2019-03-20Fix UDT_LEVEL when show_mob_info level display is onAnnieRuru1-0/+2
2019-03-12Fix rand() not support on certain compilerAnnieRuru1-4/+5