Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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.
|
|
|
|
|
|
Academy Fixes
|
|
- 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
|
|
Fixed merge behaviour of map zones. Fixes #572
|
|
Bug Report: https://github.com/HerculesWS/Hercules/issues/731
|
|
Fixed typo in pet_db.txt header, `Fullness` description
|
|
- 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 sleep/sleep2 parameter list.
Changed bg_join_team return values.
|
|
|
|
Fixed a bug in Lv4 Weapon Quest dialog
|
|
Fix quests/first_class/tu_merchant.txt
|
|
Fix quest log linking in first_class/tu_sword.txt
|
|
Corrected critical bonus display
|
|
Dialog with rolled rock/paper/scissors didn't appear because of variable typo.
An ancient one. Discovered by Aafemt.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
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>
|
|
Fix script command checkcell without player attached.
|
|
Was broken in previous commits.
|
|
Add bl parameter to getcell functions.
|