summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
2020-02-09Merge pull request #2601 from Kenpachi2k13/int_party_c_warningHaru2-208/+305
Fix C4018 compiler warning in src\char\int_party.c.
2020-02-05Added inter_party_del_nonexistent_party() function.Kenpachi Developer2-7/+48
2020-02-05Applied code style to all modified functions in src/char/int_party.c.Kenpachi Developer1-143/+169
2020-02-05Replaced various inter_party_check_lv() calls with inter_party_calc_state() ↵Kenpachi Developer1-27/+8
calls, to ensure that family state gets updated correctly.
2020-02-05Added inter_party_is_family_party() function.Kenpachi Developer2-16/+82
* This should fix the issue where family share don't work if the family members don't occupy the first slots of the party. * Additionally made inter_party_check_exp_share() function also returning true, if party is in family state, since this state wasn't checked anywhere else and thus may caused misbehaviour, too.
2020-02-05Updated inter_party_calc_state() function.Kenpachi Developer1-17/+1
* inter_party_calc_state() function now calls inter_party_check_lv() function, instead of doing the same things on its own.
2020-02-05Updated inter_party_check_lv() function.Kenpachi Developer1-6/+4
* Improved assignment of p->min_lv and p->max_lv. * Removed unnecessary lv variable.
2020-02-05Changed some data types from unsigned to signed.Kenpachi Developer2-6/+7
* Changed all unsigned fields in struct party_data to signed int. * Changed data type of struct party_member->lv to signed int. * Changed parameter lv in inter_party_change_map() function to signed int. * Changed signature of inter_party_change_map() function in HPMHooking files.
2020-01-13Update copyright headers for year 2020Haru42-74/+74
Signed-off-by: Haru <haru@dotalux.com>
2019-10-20Merge pull request #2547 from guilherme-gm/201910-dehardcode-dbHaru4-5/+11
Dehardcode DB files path
2019-10-18Fix an issue that caused the saved character data to retain the old party ID ↵Haru1-3/+4
after leaving or getting kicked Signed-off-by: Haru <haru@dotalux.com>
2019-10-06Updates status changes to also keep their total timeGuilherme Menaldo1-11/+12
- This allows clients to continue the "timer" display after you login again
2019-10-05Dehardcodes db files base path so the db folder can be easily movedGuilherme Menaldo4-5/+11
2019-08-26Remove round-trip to the inter-server for the guild chat messagesHaru4-28/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Remove round-trip to the inter-server for the party messagesHaru4-26/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Remove round-trip to the inter-server for the broadcast messagesHaru3-34/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-08-26Remove round-trip to the inter-server for the whisper-to-gm messagesHaru3-16/+1
Signed-off-by: Haru <haru@dotalux.com>
2019-08-25Remove whisper dispatch code from the inter serverHaru4-214/+1
The code was currently not in use (assuming the only officially supported case of a single-zone server) Signed-off-by: Haru <haru@dotalux.com>
2019-07-12Fix family check and EXP bugEmistry Haoyan1-0/+4
- failsafe function to not execute the query - avoid EXP sharing bug
2019-06-02Use separate field hotkey_rowshift for each hotkeys groupAndrei Karas1-10/+11
2019-06-02Add define MAX_HOTKEYS_DB for max stored hotkeys in dbAndrei Karas1-1/+1
For new RE clients it's double of MAX_HOTKEYS
2019-05-06Merge pull request #2455 from hemagx/hercules_fix_rodexHaru1-2/+0
Fix Item retrieval from rodex
2019-05-05Add char_id into struct guild_expulsionAndrei Karas1-5/+7
Also use char_id in packet ZC_BAN_LIST.
2019-05-05Fix compilation for old packet versions (Fixes #2438)Andrei Karas1-0/+2
2019-05-05Truncate too big time in guild member login time fieldAndrei Karas1-1/+7
2019-05-04Fix inter-server deleting zeny from rodex mails when a player requests to ↵Ibrahim Zidan1-2/+0
take item Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
2019-04-15Improve get items from rodexAndrei Karas4-1/+112
2019-04-15Improve get zeny from rodexAndrei Karas4-2/+46
2019-04-14Add account id and char id into inter server rodex update packetAndrei Karas4-6/+12
2019-04-07Add allow call optionAndrei Karas1-5/+10
2019-02-11Fix buffer size issue in inter server packetsAndrei Karas1-3/+3
Fixes #2369
2019-02-11Extend class and level field in packet 0x3035Andrei Karas2-2/+2
2019-02-11Extend class and level field in packet 0x3080Andrei Karas2-8/+8
2019-02-11Extend class field in packet 0x3880Andrei Karas1-5/+5
2019-02-11Extend class field in packet 0x3835Andrei Karas1-3/+3
2019-02-11Extend class field in packet 0x3898Andrei Karas1-4/+4
2019-02-11Change type for class variables from short to intAndrei Karas10-16/+16
2019-02-05Set inventory size for new chars to FIXED_INVENTORY_SIZEAndrei Karas1-6/+6
Before inventory size was default from sql.
2019-02-05Split function char_send_HC_ACK_CHARINFO_PER_PAGEAndrei Karas2-5/+12
2019-02-01Merge pull request #2151 from dastgirp/login/messageHaru1-6/+16
Updated message on char-server
2019-02-01Updated login-server to give appropriate response code to char-server when ↵Dastgir1-6/+16
IP is not allowed Updated char-server to show proper error message. Fixes #737 Signed-off-by: Haru <haru@dotalux.com>
2019-01-14Disconnect from char server if auth error happend.Andrei Karas1-0/+5
2019-01-14Add missing enum status for function char_creation_failedAndrei Karas1-1/+2
2019-01-14Fix sending last packet HC_ACK_CHARINFO_PER_PAGEAndrei Karas1-2/+2
2018-12-14Add inventory size field into db and using it in server.Andrei Karas1-5/+28
2018-12-12Fix issue with chars list if number of chars is 3*N chars.Andrei Karas4-21/+83
Also introduced header file with HC packet structs.
2018-12-12Add validation for buffer size in char_mmo_char_tobuf.Andrei Karas1-3/+6
And use correct MAX_CHAR_BUF
2018-11-15Merge pull request #2321 from 4144/packetlenHaru2-7/+11
Add complete packet len table
2018-11-14Add send packet validation for connections between server and clients.Andrei Karas1-7/+10
2018-11-14Add interface for packets in common.Andrei Karas1-0/+1
For now supported only packet length fields.