Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-18 | Command line arguments handling overhaul | Haru | 3 | -29/+68 | |
- login_server, char_server, map_server as well as the tools (mapcache) now have a common command line arguments handling mechanism. - All of them now accept `--help` (`-h`), `--version` (`-v`) and `--load-plugin`. - login_server now accepts `--login-config` and `--lan-config` instead of relying on positional arguments to override those files. The old syntax will no longer work, please update your custom startup scripts. - char_server now accepts `--char-config`, `--inter-config`, `--lan-config` instead of relying on positional arguments. The old syntax will no longer work, please update your custom startup scripts. - mapcache now accepts `--grf-list`, `--map-list`, `--map-cache`, `--rebuild` in place of, respectively, `-grf`, `-list`, `-cache`, `-rebuild`. - A new macro `CMDLINEARG()` is provided, to help defining new command line argument handlers (i.e. in plugins). the `addArg()` call is still required, but its syntax has changed. The `help` argument is now of type `const char *` rather than a function pointer, and it is supposed to contain the message to show in the `--help` screen. Pass `NULL` if no help message is desired. Signed-off-by: Haru <haru@dotalux.com> | |||||
2015-01-18 | Replacing rand leftovers with the mt19937ar | shennetsind | 1 | -1/+1 | |
Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-18 | Merge branch 'master' of github.com:HerculesWS/Hercules | shennetsind | 2 | -2/+3 | |
2015-01-18 | Fixing 38 issues | shennetsind | 1 | -2/+2 | |
Addressing out of bounds read/write, pointless null checks on already deferenced variables, dead code. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-17 | Merge pull request #444 from 4144/coverity | shennetsind | 2 | -2/+3 | |
some fixes for different issues | |||||
2015-01-18 | Add some fixes to char server. | Andrei Karas | 2 | -2/+3 | |
Found by coverity scan. | |||||
2015-01-17 | 27 Fixes | shennetsind | 1 | -21/+15 | |
Addressing out of bounds read/write, pointless null checks on already deferenced variables. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-17 | Another ~10 Fixes | shennetsind | 1 | -2/+2 | |
Addressing out of bounds read/write. Special Thanks to 4144 and Haruna! Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-17 | 10 Distinct fixes | shennetsind | 1 | -5/+5 | |
Addressing out of bounds read-write. Special Thanks to 4144, Haruna! Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-17 | Stat server submission logic update | shennetsind | 1 | -1/+12 | |
to ensure report is submit in full. Signed-off-by: shennetsind <ind@henn.et> | |||||
2015-01-12 | Fixed some -Wformat-security warnings | Haru | 5 | -18/+14 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2015-01-12 | Blocked compilation of plugins that use unavailable functions | Haru | 17 | -0/+36 | |
- Rather than failing at runtime, plugins that try to access non-interfaced, unavailable functions or variables, will now show an error at compile-time. Signed-off-by: Haru <haru@dotalux.com> | |||||
2015-01-07 | Fixed char-server crash for clients >= 20141022, Thanks to Yommy and Ind | dastgirpojee | 1 | -5/+4 | |
2014-12-31 | Fix wrong useless cycle added in commit ↵ | Andrei Karas | 1 | -1/+1 | |
c47d8e4b8f9d63ab6b4e7e286e91cd50a5bdd151. | |||||
2014-12-31 | fix typo in inter.c in initerface initialisation. | Andrei Karas | 1 | -1/+1 | |
2014-12-31 | Add some missing null pointer checks after automatic checks. | Andrei Karas | 1 | -2/+1 | |
2014-12-26 | Save char sex in db. | Andrei Karas | 1 | -3/+19 | |
2014-12-06 | Merge pull request #403 from 4144/mapext | Haruna | 1 | -6/+7 | |
into mapindex add variable with default map and position. | |||||
2014-12-06 | Replaced pincode_enabled to pincode->enabled | Poison | 1 | -2/+2 | |
2014-12-06 | share mapindex in char server. | Andrei Karas | 1 | -0/+1 | |
2014-12-06 | into mapindex add variable with default map and position. | Andrei Karas | 1 | -6/+6 | |
2014-11-17 | Fixed char.c compilation error in MSVC <= 2012 | TungSinpei | 1 | -17/+26 | |
Signed-off-by: TungSinpei <TungSinpei@hotmail.com> | |||||
2014-11-16 | Whitespace cleanup (no code changes) | Haru | 25 | -765/+755 | |
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-16 | Moved mapif_s into mapif.c | Haru | 2 | -169/+171 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2014-11-16 | Moved pincode settings into the interface | Haru | 3 | -42/+39 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2014-11-16 | Moved loginif-related functions to loginif.c | Haru | 4 | -300/+308 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2014-11-16 | Moved geoip-related functions to geoip.c | Haru | 3 | -175/+171 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2014-11-15 | In char server move config options handling by plugins into ↵ | Andrei Karas | 1 | -2/+2 | |
char_config_dispatch. | |||||
2014-11-15 | Add support for plugin options in char server config (inter-server.conf). | Andrei Karas | 1 | -1/+2 | |
2014-11-15 | Add support for plugin options in char server config. | Andrei Karas | 1 | -0/+2 | |
2014-11-15 | Add missing interface initialisations in char server. | Andrei Karas | 2 | -0/+3 | |
2014-11-15 | Fix mapif interface. | Andrei Karas | 1 | -1/+1 | |
2014-11-15 | Allow use all char server interfaces from plugins. | Andrei Karas | 1 | -1/+17 | |
2014-11-15 | Allow generate HPM hooks for all interfaces in char server. | Andrei Karas | 16 | -4/+48 | |
2014-11-15 | Move global variable into interface in inter.c | Andrei Karas | 13 | -836/+834 | |
2014-11-15 | Move global variable into interface in int_pet.c | Andrei Karas | 2 | -38/+39 | |
2014-11-15 | Move global variable into interface in int_party.c | Andrei Karas | 2 | -15/+17 | |
2014-11-15 | Move global variable into interface in int_guild.c | Andrei Karas | 2 | -22/+23 | |
2014-11-15 | Move auction_db_ into interface in int_auction.c. | Andrei Karas | 2 | -13/+14 | |
2014-11-15 | Move global variable into interface in char.c | Andrei Karas | 4 | -185/+189 | |
Other variables better move to future char_config. | |||||
2014-11-15 | Add missing interface methods initialisation in char.c. | Andrei Karas | 1 | -0/+7 | |
2014-11-15 | Create geoip interface. | Andrei Karas | 5 | -29/+90 | |
2014-11-15 | Add most functions from inter.c to interfaces. | Andrei Karas | 6 | -139/+238 | |
2014-11-15 | Add most functions from int_storage.c to interfaces. | Andrei Karas | 6 | -27/+77 | |
2014-11-15 | Add most functions from int_quest.c to interfaces. | Andrei Karas | 6 | -18/+68 | |
2014-11-15 | Add most functions from int_pet.c to interfaces. | Andrei Karas | 6 | -46/+117 | |
2014-11-15 | Add most functions from int_party.c to interfaces. | Andrei Karas | 6 | -101/+184 | |
2014-11-15 | Add most functions from int_mercenary.c to interfaces. | Andrei Karas | 6 | -33/+83 | |
2014-11-15 | Add most functions from int_mail.c to interfaces. | Andrei Karas | 7 | -54/+121 | |
2014-11-15 | Add most functions from int_homun.c to interfaces. | Andrei Karas | 6 | -38/+94 | |