summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-06-30Move mapif functions from int_party.c to mapif.cHaru2-251/+228
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru2-47/+118
inter_party interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_mercenary.c to mapif.cHaru2-66/+60
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru4-20/+19
inter_mercenary interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_mail.c to mapif.cHaru2-166/+155
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the inter_mail ↵Haru4-71/+117
interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_homunculus.c to mapif.cHaru2-107/+93
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru5-26/+24
inter_homunculus interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_guild.c to mapif.cHaru2-446/+412
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functionality from the mapif interface to the ↵Haru5-137/+245
inter_guild interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_elemental.c to mapif.cHaru2-61/+60
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move some non-mapif functions from the mapif interface to the ↵Haru5-21/+22
inter_elemental interface Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_clan.c to mapif.cHaru2-28/+26
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from int_auction.c to mapif.cHaru2-246/+227
Signed-off-by: Haru <haru@dotalux.com>
2018-06-30Move mapif functions from char.c to mapif.cHaru2-160/+152
Signed-off-by: Haru <haru@dotalux.com>
2018-06-29Add new field into packet char_send_map_info.Andrei Karas2-3/+12
But unused for now.
2018-06-29Add packet 0xae5 for send pincode login state.Andrei Karas2-0/+37
2018-06-29Merge pull request #2100 from Jedzkie/PincodeFixHaru1-4/+5
Fix pincode bug
2018-06-25Implemented Pet AutofeedingDastgir1-7/+8
2018-06-21Fix pincode bugJedzkie1-4/+5