summaryrefslogtreecommitdiff
path: root/src/char/char.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-07Fixed char-server crash for clients >= 20141022, Thanks to Yommy and Inddastgirpojee1-5/+4
2014-12-31Fix wrong useless cycle added in commit ↵Andrei Karas1-1/+1
c47d8e4b8f9d63ab6b4e7e286e91cd50a5bdd151.
2014-12-31Add some missing null pointer checks after automatic checks.Andrei Karas1-2/+1
2014-12-26Save char sex in db.Andrei Karas1-3/+19
2014-12-06share mapindex in char server.Andrei Karas1-0/+1
2014-12-06into mapindex add variable with default map and position.Andrei Karas1-6/+6
2014-11-17Fixed char.c compilation error in MSVC <= 2012TungSinpei1-17/+26
Signed-off-by: TungSinpei <TungSinpei@hotmail.com>
2014-11-16Whitespace cleanup (no code changes)Haru1-526/+519
This includes, and is not limited to: mixed or wrong indentation, excess whitespace (horizontal and vertical), misalignment, trailing spaces. Signed-off-by: Haru <haru@dotalux.com>
2014-11-16Moved pincode settings into the interfaceHaru1-3/+3
Signed-off-by: Haru <haru@dotalux.com>
2014-11-16Moved loginif-related functions to loginif.cHaru1-273/+125
Signed-off-by: Haru <haru@dotalux.com>
2014-11-15In char server move config options handling by plugins into ↵Andrei Karas1-2/+2
char_config_dispatch.
2014-11-15Add support for plugin options in char server config (inter-server.conf).Andrei Karas1-1/+2
2014-11-15Add support for plugin options in char server config.Andrei Karas1-0/+2
2014-11-15Allow use all char server interfaces from plugins.Andrei Karas1-1/+17
2014-11-15Move global variable into interface in inter.cAndrei Karas1-280/+280
2014-11-15Move global variable into interface in char.cAndrei Karas1-170/+172
Other variables better move to future char_config.
2014-11-15Add missing interface methods initialisation in char.c.Andrei Karas1-0/+7
2014-11-15Create geoip interface.Andrei Karas1-0/+2
2014-11-15Add most functions from inter.c to interfaces.Andrei Karas1-12/+13
2014-11-15Add most functions from int_storage.c to interfaces.Andrei Karas1-1/+2
2014-11-15Add most functions from int_quest.c to interfaces.Andrei Karas1-0/+2
2014-11-15Add most functions from int_pet.c to interfaces.Andrei Karas1-0/+2
2014-11-15Add most functions from int_party.c to interfaces.Andrei Karas1-1/+2
2014-11-15Add most functions from int_mercenary.c to interfaces.Andrei Karas1-3/+4
2014-11-15Add most functions from int_mail.c to interfaces.Andrei Karas1-0/+2
2014-11-15Add most functions from int_homun.c to interfaces.Andrei Karas1-1/+2
2014-11-15Add most functions from int_guild.c to interfaces.Andrei Karas1-7/+8
2014-11-15Add most functions from int_elemental.c to interfaces.Andrei Karas1-1/+2
2014-11-15Add most functions from int_auction.c to interfaces.Andrei Karas1-0/+2
2014-11-15Add most functions from char.c to interfaces.Andrei Karas1-359/+493
Introduced interfaces: chr, mapif, loginif.
2014-11-15Split functions in char.c.Andrei Karas1-1543/+1974
2014-11-15Add prefix inter_storage_ to most functions in int_storage.cAndrei Karas1-1/+1
2014-11-15Add prefix inter_mercenary_ to most functions in int_mercenary.cAndrei Karas1-3/+3
2014-11-15Add prefix char_ to most functions in char.cAndrei Karas1-180/+179
2014-11-03Fixed mmo_char_tobuf for < 20141022shennetsind1-1/+1
Follow up 239d480487e24294975f35ed55f210837ad1088e Special Thanks to Valo! Signed-off-by: shennetsind <ind@henn.et>
2014-11-03Merge branch 'master' of github.com:HerculesWS/Herculesshennetsind1-2/+31
Signed-off-by: shennetsind <ind@henn.et> Conflicts: src/map/battle.c
2014-11-03Introducing 2014-10-22, Roulette and Per-Char Gender!shennetsind1-10/+58
Details in http://hercules.ws/board/topic/7618-2014-10-22-roulette-and-per-char-gender/ Special Thanks to the all-mighty Yommy, Ziu and Haruna! Signed-off-by: shennetsind <ind@henn.et>
2014-10-28Added preliminary support for login and char server in the HPMDataCheckHaru1-2/+31
- Special thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
2014-10-25Added some missing variable initializationsHaru1-1/+9
- The issue was caused by memcmp failing because of garbage in structs padding. - Fixes bugreport:8410, special thanks (and credits for the fix) to Garr http://hercules.ws/board/tracker/issue-8410-autotradeat-issue/ - Also reduced scope of some variables, where appropriate. - Thanks to Ind. Signed-off-by: Haru <haru@dotalux.com>
2014-09-21Fixed Bug 8171shennetsind1-3/+3
Char server could crash if attempting to log-in a character while map server hasn't completed the char >- <- map handshake Special Thanks to memoryss http://hercules.ws/board/tracker/issue-8171-char-server-crash-oninterifinitoninterifinitonce/ Signed-off-by: shennetsind <ind@henn.et>
2014-09-20Merge pull request #332 from 4144/missing_rfifoskipshennetsind1-0/+1
Add missing RFIFOSKIP in packet 0x68 and 0x1fb. Fixes Bug 8317 http://hercules.ws/board/tracker/issue-8317-missing-rfifoskip-in-packet-0x68-and-0x1fb/
2014-09-05Improved some FIFOSD checks in char_parse.Andrei Karas1-11/+9
Signed-off-by: Haru <haru@dotalux.com>
2014-08-31Add missing RFIFOSKIP in packet 0x68 and 0x1fb.Andrei Karas1-0/+1
2014-08-07Corrected several format-string errors through the codeHaru1-6/+5
- Functions that expect a printf-style format string are now marked as such, so that gcc/clang will emit a warning warn you if you mismatch format string and arguments. Signed-off-by: Haru <haru@dotalux.com>
2014-05-30Fixed typos inside src/Shido1-25/+25
2014-05-17Renamed incuvate of Pet System.Shido1-1/+1
2014-05-13Removed trailing whitespace (sources)Haru1-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2014-05-10Re-commit of "Fixed order of includes in all source files"Haru1-20/+24
This reverts commit 94657284973f4037596bae468ebfbee5c217e02b.
2014-05-10Revert "Fixed order of includes in all source files"panikon1-24/+20
This reverts commit b6b3f58795288701d0e162d43fa6f0a47af913b3. Fixes issue 8184 http://hercules.ws/board/tracker/issue-8184-cart-related/
2014-05-09Fixed order of includes in all source filesHaru1-20/+24
- Changed order according to the (upcoming) code style guidelines. - Fixes several issues caused by missing headers when their include order is changed or in plugins. Signed-off-by: Haru <haru@dotalux.com>