summaryrefslogtreecommitdiff
path: root/src/char/char.c
AgeCommit message (Collapse)AuthorFilesLines
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-05Fix compilation for old packet versions (Fixes #2438)Andrei Karas1-0/+2
2019-04-07Add allow call optionAndrei Karas1-5/+10
2019-02-11Change type for class variables from short to intAndrei Karas1-3/+3
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 Karas1-5/+11
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 Karas1-18/+35
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/packetlenHaru1-7/+10
Add complete packet len table
2018-11-14Add send packet validation for connections between server and clients.Andrei Karas1-7/+10
2018-11-13Add the available information to the charlog when selecting a characterHaru1-2/+13
All the necessary information was already available (the full character data is loaded by `char_parse_char_select()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Add the available information to the charlog when renaming a characterHaru1-3/+14
All the necessary information was already available (charlog fields are part of the shortdata, which is already loaded by `char_rename_char_sql()`), but it wasn't used by the charlog insert query. Signed-off-by: Haru <haru@dotalux.com>
2018-11-13Merge pull request #2310 from 4144/updatepacketsHaru1-14/+13
Update packets and messages up to 2018-11-07
2018-11-07Improve packet version check for packet 0x82d.Andrei Karas1-14/+13
2018-10-22add an option to prevent from renaming a character if they are in a guild or ↵gumi1-0/+10
party closes #1805
2018-07-24Implemented Title System.Dastgir1-4/+9
2018-07-24Implementation of the official Achievement System.smokexyz1-2/+12
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-17Replace item id shorts to int in char server.Andrei Karas1-17/+17
2018-07-12Remove useless code from char_send_map_info.Andrei Karas1-3/+1
2018-07-01Change functions to static where possible (Part 3 - char)Haru1-214/+233
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the inter/char ↵Haru1-29/+66
interfaces Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru1-1/+1
inter_homunculus interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru1-2/+2
inter_guild interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functions from the mapif interface to the ↵Haru1-1/+1
inter_elemental interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from char.c to mapif.cHaru1-149/+0
Signed-off-by: Haru <haru@dotalux.com>
2018-06-29Add new field into packet char_send_map_info.Andrei Karas1-2/+11
But unused for now.
2018-06-13Fix job field size in function char_parse_char_create_new_char.Andrei Karas1-1/+1
2018-04-22Remove the stat-reporting mechanismHaru1-45/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-04-22Merge pull request #2007 from Jedzkie/PincodeUpdateHaru1-1/+3
Pincode Update
2018-04-07Implementation of Attendance systemAsheraf1-4/+7
2018-04-06Add support for packet 0xaf7 in zero clients.Andrei Karas1-1/+1
2018-04-02Pincode UpdateJedzkie1-1/+3
- Added blacklist feature - Added official message when successfully create a pincode / successfully change a pincode
2018-03-29Simplify version checks with new packet version defines.Andrei Karas1-1/+1
2018-03-11Fix packet character name request reply for 20180221 clients.Andrei Karas1-0/+5
2018-02-10Clean up trailing whitespace and non-indent tabsHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares1-4/+9
All official features work including the autokick for inactive members And the system is completely customizable.
2017-11-25correct wrong conf file path in showerrorAsheraf1-1/+1
2017-11-18Pass the correct types and sizes to the StmtBind functionsHaru1-147/+152
Fixes #1531 (and other similar issues) Signed-off-by: Haru <haru@dotalux.com>
2017-11-05Reduce confusion between skill IDs and skill DB indexes (part 2)Haru1-5/+5
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum skill ID. Signed-off-by: Haru <haru@dotalux.com>
2017-09-21Change char server packets for 20170830 and newer clients.Andrei Karas1-7/+20
2017-09-19remove trailing whitespaces from sourcegumi1-1/+1
2017-09-17Move other view-related variables to `sd->status.look`Haru1-17/+17
The following variables are now moved to `sd->status.look` (from `sd->status`): `head_top`, `head_mid`, `head_bottom`, `robe` Signed-off-by: Haru <haru@dotalux.com>