Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
- Fixes #800, special thanks to kyeme.
- Also replaced some hardcoded numbers with constants.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Libconfig edits for mob_db.conf
|
|
- To be used for regression tests when updating or editing libconfig.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Note: Since '.' (period) is a valid character for key names, it is no
longer a valid path separator for lookups. Please use '/' (forward
slash) or ':' (semicolon) instead.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- sockt->lan_subnet was renamed to sockt->lan_subnets.
- sockt->trusted_ip was renamed to sockt->trusted_ips.
- sockt->allowed_ip was renamed to sockt->allowed_ips.
- Convenience macros for checking IP ranges and subnets are provided
(SUBNET_MATCH, APPLY_MASK).
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Changed the hplugin_data_store's array into a VECTOR.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Several explicit casts are removed, to have a slightly better
type-checking at compile time.
- A destructor function is provided, to remove code duplication.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The issue prevented the creation of multiple commands in the same
subcategory through console->input->addCommand (i.e. "foo:bar:baz"
and "foo:bar:quux" would instead create "foo:bar:baz" and "foo:quux")
Signed-off-by: Haru <haru@dotalux.com>
|
|
Added a 'type' field to describe the command type (function, category)
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
console->input->command_list
Signed-off-by: Haru <haru@dotalux.com>
|
|
HPM->cmdline_load_plugins
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This is a generic vector. It doesn't make use of the VECTOR type
because it needs to outlive the memory manager.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- According to ISO/IEC 9899:1999 ('C99'), all identifiers that begin
with an underscore and either an uppercase letter or another
underscore are always reserved for any use.
Signed-off-by: Haru <haru@dotalux.com>
|
|
signed/unsigned mismatch.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Convert refine_db.txt to refine_db.conf (libconfig)
|
|
Split function set_reg and get_val into functions based on variable types.
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
- As per Malufett/Michieru request, in order to make it possible for a
plugin to obtain information about a packet.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Fixes #757, thanks to kyeme
- Based on Emistry's PR #754 (improved)
Signed-off-by: Haru <haru@dotalux.com>
|
|
SP can be zero. HP probably not, but just in case.
|
|
Thanks for Haru and 4414 for pointing out inefficiency in code, edited
as suggested.
Rework - Changed refine_db.conf format to a more concise one, thanks to Haru for suggesting.
[2/10/15]
Updated with corrections pointed out by Haru.
Updated warning and error messages.
|
|
|
|
|
|
- Follow-up to 7064ec3.
- Fixes a logic issue issue preventing the command's help message to be
shown when no arguments are specified.
- Fixes #759, thanks to theultramage.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Fixes Maelstrom crashing server
|
|
Bug Report: https://github.com/HerculesWS/Hercules/issues/731
|
|
- Both "Normal" and "PK Mode" default zones will now be overwritten (instead of merged) by "GvG", "PvP" and "Battlegrounds" zones.
- Refactored some code to clarify intent.
|
|
Corrected critical bonus display
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This doesn't affect the current unloading function (executed at
shutdown), but it is only related to the (upcoming) manual plugin
unloading.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Was broken in previous commits.
|
|
|