summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
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.
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-09-02Fixes #2173Dastgir1-1/+3
Fixes crash when character is removed from `char` table but not from guild_member.
2018-07-24Implemented Title System.Dastgir1-4/+9
2018-07-24Implementation of the official Achievement System.smokexyz7-4/+146
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-24Add achievement source files.smokexyz3-4/+309
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
2018-07-23Merge pull request #2127 from sctnightcore/FixDateHaru2-2/+2
Fix date
2018-07-19Replace item id shorts to int in map server.Andrei Karas2-3/+12
2018-07-17Replace item id shorts to int in char server.Andrei Karas5-26/+26
2018-07-12Fix dateUnknown2-2/+2
2018-07-12Remove useless code from char_send_map_info.Andrei Karas1-3/+1
2018-07-06Fix a regression in inter_guild_add_memberHaru3-8/+9
Fixes #2122 Regression introduced in 735e2e8340c9522ee5a9afdcad29d191da29c8d4, #2108 Signed-off-by: Haru <haru@dotalux.com>
2018-07-01Change functions to static where possible (Part 3 - char)Haru18-636/+674
This fixes issues with plugins defining symbols with the same names Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from inter.c to mapif.cHaru2-321/+299
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the inter/char ↵Haru6-80/+145
interfaces Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_storage.c to mapif.cHaru2-224/+208
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru4-34/+40
inter_storage interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_rodex.c to mapif.c and fix some return typesHaru3-189/+181
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru2-6/+19
inter_rodex interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_quest.c to mapif.cHaru2-77/+75
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru4-35/+44
inter_quest interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_pet.c to mapif.cHaru2-150/+140
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the inter_pet ↵Haru4-26/+40
interface Signed-off-by: Haru <haru@dotalux.com>