Age | Commit message (Collapse) | Author | Files | Lines |
|
plugins into scripts
- Fixed Possible Crash when null parse function pointer passed to HPMi->addConf
- Now it's possible to use same parse function for all config entries
- Now Battle Config entries must have a return function
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to 300668d, thanks to AnnieRuru
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
- Fixes #903 and other similar problems
Signed-off-by: Haru <haru@dotalux.com>
|
|
- According to https://msdn.microsoft.com/en-us/library/windows/desktop/ms740476(v=vs.85).aspx
setsockopt() for SO_RCVTIMEO/SO_SNDTIMEO require a DWORD argument,
unlike their POSIX equivalent, requiring a struct timeval.
- Always keep in mind: When you see a Microsoft API function that looks
like a duck, swims like a duck, quacks like a duck, it most certainly
is not a duck.
- Thanks to ultramage.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Fixed Quest Log Packet for 2014-10-22 + Clients
|
|
Squashed commits:
[18d0374] Fixed Quest Log Packet for 2014-10-22 + Clients
Added log Folder to be able to capture Map Server Logs see map-server.conf for it
Added save folder to be able to dump unknown packets
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to 54d1c8b93adbeee5838b8dadabeb789b9fa6c511
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Libconfig edits for mob_db.conf
|
|
- 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>
|
|
|
|
- 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.
|
|
- Fixes #757, thanks to kyeme
- Based on Emistry's PR #754 (improved)
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>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
- Special thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
|
|
|