summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2019-05-06Merge pull request #2453 from Emistry/scriptcommand_unitwarpHaru1-1/+1
Update unitwarp script command.
2019-05-06Merge pull request #2455 from hemagx/hercules_fix_rodexHaru1-2/+0
Fix Item retrieval from rodex
2019-05-06Merge pull request #2232 from guilherme-gm/201810-trap-visibilityHaru5-15/+44
Added option to make hunter traps invisible
2019-05-06Merge pull request #2447 from hemagx/hpm_private_hooksHaru2-0/+33
Restore the ability for HPM Hooks to hook to private interfaces
2019-05-06HPM Hooks UpdateHercules.ws2-72/+72
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2019-05-06Change return type of attack related functions from unsigned int to intAndrei Karas2-40/+40
2019-05-06Fix warnings after last changesAndrei Karas1-6/+10
2019-05-06Add configurable limits for attack related functionsAndrei Karas3-32/+61
2019-05-06Change attack related status functions to return int variableAndrei Karas2-51/+55
2019-05-06Change most field sizes from short to int in status_data struct.Andrei Karas1-8/+6
2019-05-05HPM Hooks updateIbrahim Zidan8-119/+755
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Implement Refine success/failure announcement featureIbrahim Zidan5-0/+69
Currently as far as we know kRO only sends this on success in refining an item through the refinery ui, from level 10 all the way to 20. Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix serval variable scopes in refine.c to reduce scope as much asIbrahim Zidan1-11/+8
possible Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Implement Refinery UIIbrahim Zidan15-7/+719
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Move refine database from refine public interface to private interfaceIbrahim Zidan3-22/+23
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Remove all direct access to refine database from status.c and replace it ↵Ibrahim Zidan1-6/+6
with new refine interface functions Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Implement functions to returns refine database values to be used instead of ↵Ibrahim Zidan2-1/+37
direct access to database structure * refine->get_bonus to retrive the refine bonus * refine->get_randombonus_max to retrive maximum refine random bonus NOTE: all functions expects the actual refine level and not the index of it unlike the previous code which used indexes Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Fix variables shadowing refine interface variable map-server sourceIbrahim Zidan6-26/+26
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05Removal of refine database code from status.c and moving it respectfully to ↵Ibrahim Zidan12-238/+417
its own files Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-05-05HPM Hooks UpdateHercules.ws5-0/+598
Signed-off-by: HerculesWSAPI <dev@herc.ws>
2019-05-05Disable packet validation in socket_datasyncAndrei Karas1-2/+2
2019-05-05Add some missing trading flag checksAndrei Karas1-4/+7
2019-05-05Add missing checks for prevend flagAndrei Karas8-22/+25
2019-05-05Move packet ZC_SE_PC_BUY_CASHITEM_RESULT into separate function and convert ↵Andrei Karas3-8/+27
to struct
2019-05-05Add missing value into enum CASH_SHOP_BUY_RESULTAndrei Karas1-0/+1
2019-05-05Convert packet ZC_MERGE_ITEM_OPEN into struct and fix packet datesAndrei Karas2-15/+32
2019-05-05Convert packeet ZC_ACK_MERGE_ITEM into structureAndrei Karas2-6/+17
2019-05-05Move sending packet from clif_ackmergeitems into separate functionAndrei Karas2-35/+29
2019-05-05Add script function for close roulette windowAndrei Karas1-0/+12
New script function: closeroulette()
2019-05-05Add packet ZC_ACK_CLOSE_ROULETTEAndrei Karas3-0/+23
2019-05-05Add char_id into struct guild_expulsionAndrei Karas3-6/+10
Also use char_id in packet ZC_BAN_LIST.
2019-05-05Update packet ZC_BAN_LISTAndrei Karas2-22/+67
2019-05-05Fix getting allow_party flag from clientAndrei Karas1-1/+1
2019-05-05Force saving party allow flag on each packet changeAndrei Karas1-1/+8
Also add configuration bit in save_settings flag for control it.
2019-05-05Remove fixme comment for reduce spam from lgtm ont githubAndrei Karas1-1/+1
2019-05-05Add option for drop connection on disconnect packet from clientAndrei Karas3-2/+6
New configuration option drop_connection_on_quit.
2019-05-05Dont allow invite players, who refused party invitesAndrei Karas1-0/+6
2019-05-05Imporve packet ZC_ROLE_CHANGE usageAndrei Karas3-11/+23
2019-05-05Update packet ZC_PARTY_CONFIGAndrei Karas2-4/+15
2019-05-05Fix compilation for old packet versions (Fixes #2438)Andrei Karas1-0/+2
2019-05-05Use new name packet for monsters tooAndrei Karas2-19/+84
2019-05-05Move UDT_* constants from constants.conf into script.cAndrei Karas1-0/+60
2019-05-05Add commands getunittitle and setunittitleAndrei Karas1-0/+42
This commands get/set title for non players bl
2019-05-05Extend setinitdata and getunitdata with UDT_GROUP flagAndrei Karas2-0/+24
2019-05-05Add into unit_data groupId and titleAndrei Karas2-0/+44
Send this fields in packet ZC_ACK_REQNAME_TITLE.
2019-05-05Add packet ZC_ACK_REQNAME_TITLEAndrei Karas2-29/+39
2019-05-05Update HPMAndrei Karas1-1/+1
2019-05-05Send old name packet for players if fake name or disquise usedAndrei Karas1-2/+2
2019-05-05Rename packet_reqnameall_ack into PACKET_ZC_ACK_REQNAMEALLAndrei Karas2-24/+30
2019-05-05Fix packet version for pc name packet with titleAndrei Karas2-5/+5