summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
2018-06-13Fix job field size in function char_parse_char_create_new_char.Andrei Karas1-1/+1
2018-05-312012-2018 !Maytichai Saowa30-30/+30
2018-05-04Fix sending correct packets in pincode_makestate and pincode_editstate.Andrei Karas1-2/+2
2018-05-04Fix pincode check. Was broken in commit ↵Andrei Karas1-0/+1
2a05dbfc2f62c6bbac7983dcec120502914567f1.
2018-04-22Remove the stat-reporting mechanismHaru3-49/+3
Signed-off-by: Haru <haru@dotalux.com>
2018-04-22Merge pull request #2007 from Jedzkie/PincodeUpdateHaru3-64/+263
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-03Merge pull request #1995 from guilherme-gm/rodex-expireHaru1-4/+4
Fixed wrong rodex loading when mail expire date was manually changed
2018-04-03Merge pull request #1986 from Megasantos/login_date_guildHaru1-4/+7
Implemented login date for guild members.
2018-04-02Whitespace fixesJedzkie1-21/+25
2018-04-02Pincode UpdateJedzkie3-45/+240
- 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-20Fixed wrong rodex loading when mail expire date was manually changedGuilherme G. Menaldo1-4/+4
2018-03-14- Implemented login date for guild members.Jônatas Andreta1-4/+7
Signed-off-by: Megasantos <jonataandretta@hotmail.com>
2018-03-11Merge pull request #1987 from guilherme-gm/rodexfixesHaru3-27/+39
Some rodex fixes
2018-03-11Fix packet character name request reply for 20180221 clients.Andrei Karas1-0/+5
2018-03-08Fixed a nullpo error when user tried to do an action in an unloaded mail in ↵Guilherme G. Menaldo3-8/+10
rodex
2018-03-08Fixed RoDEX mail return not working correctlyGuilherme G. Menaldo1-19/+29
2018-03-08Add missing checks into pincode packets.Andrei Karas1-0/+6
2018-03-08Disconnect player from server after he enter too many wrong pincodes.Andrei Karas1-1/+3
2018-02-27Ignore invalid pincode.Andrei Karas1-2/+5
2018-02-20Dont show password and pincode in @accinfo gm command.Andrei Karas1-0/+3
This need for better security.
2018-02-10Clean up trailing whitespace and non-indent tabsHaru2-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2018-02-10Fix some minor issues in the clan system, as reported by coverityHaru1-4/+4
Signed-off-by: Haru <haru@dotalux.com>
2018-01-25Implementation of Official Clan SystemMurilo Pereti Tavares8-7/+244
All official features work including the autokick for inactive members And the system is completely customizable.
2017-12-28Fixed rodex loading mails when it requires multiple packets.Guilherme Guiguer Menaldo1-8/+12
2017-12-10Merge pull request #1913 from Asheraf/errorHaru1-1/+1
correct wrong conf file path in showerror
2017-12-08Merge pull request #1898 from Asheraf/homunafHaru1-6/+7
implement homunculus autofeeding for 2017 clients
2017-11-27Fix an item loading failure in RODEXHaru1-22/+24
Caused by a wrong ordering of SQL operations (StmtExecute after StmtBindColumn) introduced in e5a63561bba9d09e5a88636f4982cdb2cf57a569. Fixes #1912 Signed-off-by: Haru <haru@dotalux.com>
2017-11-25correct wrong conf file path in showerrorAsheraf1-1/+1
2017-11-18Implement Homunculus autofeedingAsheraf1-6/+7
2017-11-18Correct an issue in the RODEX when MAX_SLOTS or MAX_ITEM_OPTIONS have custom ↵Haru1-68/+80
values
2017-11-18Pass the correct types and sizes to the StmtBind functionsHaru5-208/+216
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-10-21Add rodex 2017 packets.Andrei Karas1-0/+24
2017-09-21Change char server packets for 20170830 and newer clients.Andrei Karas1-7/+20
2017-09-19remove trailing whitespaces from sourcegumi4-9/+9
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>
2017-09-17Differentiate variables that hold a ViewSprite and a Subtype (part 2)Haru1-5/+5
`sd->status.shield` is renamed to `sd->status.look.shield` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->has_shield`, of boolean type (to detect the presence of a shield) Signed-off-by: Haru <haru@dotalux.com>
2017-09-17Differentiate variables that hold a ViewSprite and a weapon SubtypeHaru1-5/+5
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only holds ViewSprite IDs. Its previous other meaning is now transferred to `sd->weapontype` (holding the currently equipped weapon type, considering both hands at once) Signed-off-by: Haru <haru@dotalux.com>
2017-09-12Fix several typos and grammar mistakesHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2017-08-08Fix hpm issues after rodex commit.Andrei Karas3-3/+3
2017-07-30Implementation of RoDEXKirieZ9-3/+627
2017-07-27Fix possible buffer overflows with snprintf.Andrei Karas1-1/+1
2017-07-17Merge pull request #1760 from Smokexyz/memitemtosql-fixHaru3-225/+243
Optimisation of char_memitemdata_to_sql()
2017-07-05Optimisation of char_memitemdata_to_sql()smokexyz3-225/+243
Implements the storage saving algorithm for inventory, cart and guild storage tables. Total queries to a table in any call would be no more than 4 per call, replacing the original algorithm that could make a lot more through single update queries per call. This significantly reduces the run time speed for saving/loading of item data from the game server.
2017-06-03Add packet 0xac5 for clients >= 20170329.Andrei Karas1-7/+14
2017-06-02Fix replace statement formatting in storage save function.smokexyz1-3/+3
2017-05-31Fix a race condition when saving the storage on logoutHaru3-82/+18
The storage data is no longer cached in the char server. This removal doesn't cause any performance loss, since the cached data was refreshed (loaded from the database) after every save operation. This commit moves the load at the beginning of the save rather than at the end, and discars the cached copy after the save is completed. Related to #1754 Signed-off-by: Haru <haru@dotalux.com>