summaryrefslogtreecommitdiff
path: root/src/char
AgeCommit message (Collapse)AuthorFilesLines
2014-11-15Move global variable into interface in int_pet.cAndrei Karas2-38/+39
2014-11-15Move global variable into interface in int_party.cAndrei Karas2-15/+17
2014-11-15Move global variable into interface in int_guild.cAndrei Karas2-22/+23
2014-11-15Move auction_db_ into interface in int_auction.c.Andrei Karas2-13/+14
2014-11-15Move global variable into interface in char.cAndrei Karas4-185/+189
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 Karas5-29/+90
2014-11-15Add most functions from inter.c to interfaces.Andrei Karas6-139/+238
2014-11-15Add most functions from int_storage.c to interfaces.Andrei Karas6-27/+77
2014-11-15Add most functions from int_quest.c to interfaces.Andrei Karas6-18/+68
2014-11-15Add most functions from int_pet.c to interfaces.Andrei Karas6-46/+117
2014-11-15Add most functions from int_party.c to interfaces.Andrei Karas6-101/+184
2014-11-15Add most functions from int_mercenary.c to interfaces.Andrei Karas6-33/+83
2014-11-15Add most functions from int_mail.c to interfaces.Andrei Karas7-54/+121
2014-11-15Add most functions from int_homun.c to interfaces.Andrei Karas6-38/+94
2014-11-15Add most functions from int_guild.c to interfaces.Andrei Karas6-167/+316
2014-11-15Add most functions from int_elemental.c to interfaces.Andrei Karas6-27/+77
2014-11-15Add most functions from int_auction.c to interfaces.Andrei Karas6-55/+118
2014-11-15Add most functions from char.c to interfaces.Andrei Karas13-421/+868
Introduced interfaces: chr, mapif, loginif.
2014-11-15Split functions in inter.c.Andrei Karas1-16/+11
2014-11-15Split functions in int_quest.c.Andrei Karas1-15/+24
2014-11-15Split functions in char.c.Andrei Karas1-1543/+1974
2014-11-15Split functions in int_mail.c.Andrei Karas1-40/+49
2014-11-15Add prefix pincode_ to global variables in pincode.cAndrei Karas1-20/+21
2014-11-15Add prefix inter_ to most functions in inter.cAndrei Karas1-57/+57
2014-11-15Add prefix inter_storage_ to most functions in int_storage.cAndrei Karas3-12/+12
2014-11-15Add prefix inter_party_ to most functions in int_party.cAndrei Karas1-21/+21
2014-11-15Add prefix inter_mercenary_ to most functions in int_mercenary.cAndrei Karas3-9/+9
2014-11-15Add prefix inter_mail_ to most functions in int_mail.cAndrei Karas3-24/+24
2014-11-15Add prefix inter_guild_ to most functions in int_guild.cAndrei Karas1-30/+30
2014-11-15Add prefix inter_auction_ to most functions in int_auction.cAndrei Karas1-18/+18
2014-11-15Add prefix char_ to most functions in char.cAndrei Karas5-200/+199
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/Herculesshennetsind5-9/+112
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-31Merge pull request #378 from HerculesWS/hpmupdatesHaruna4-8/+111
Char and login server preliminary support for the HPM system
2014-10-30Merge pull request #369 from 4144/sqlpasswordsizeHaruna1-1/+1
Increase sql password field size from 32 to 100 chars.
2014-10-28Added preliminary support for login and char server in the HPMDataCheckHaru4-8/+111
- Special thanks to Ind Signed-off-by: Haru <haru@dotalux.com>
2014-10-25Added some missing variable initializationsHaru4-3/+13
- 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-10-23In configure add option --enable-staticAndrei Karas1-1/+1
This option enable static build for server binaries and map cache. For plugins this option enable static linking with gcc.
2014-10-23Added some validation checks in the geoip parse functionHaru1-9/+14
This fixes the warning on some compilers, about the fread return value being ignored. Signed-off-by: Haru <haru@dotalux.com>
2014-10-18Increase sql password field size from 32 to 100 chars.Andrei Karas1-1/+1
32 chars is very small for password.
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-16"Fixes char server crash when saving ##variables while login server is ↵Michieru1-5/+12
offline, thanks to Ancyker" Fix made by Ind :)
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-07Fixed some MSVC incompatibilitiesHaru2-0/+2
- Resolves bugreport:8289 http://hercules.ws/board/tracker/issue-8289-compile-error-vs-2013/ - Disables some winsock-related deprecation warnings. Signed-off-by: Haru <haru@dotalux.com>
2014-08-07Corrected several format-string errors through the codeHaru6-37/+32
- 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-07-11Fixed reserved __identifier violationsHaru13-39/+39
- Complies with CERT DCL37-C - Fixes issue #293 (special thanks to elfring) Signed-off-by: Haru <haru@dotalux.com>