Age | Commit message (Collapse) | Author | Files | Lines |
|
Mob DB support for the db2sql plugin
|
|
Enable pcre by default in configure and show error if pcre missing.
|
|
This fixes several rounding errors happening in various places (i.e.
the base exp for HORONG being calculated as 819 instead of 820 when the
server rates are set to 1x)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- To be used by the constdb2doc plugin
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- This is necessary for upcoming improvements
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
implementation
As per ultramage's suggestion in #926
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced safe casts (bl type already checked)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Also added new map->id2XX convenience functions for the other bl
types.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced casts in foreach callbacks.
- Added assertions and nullpo checks where applicable.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Replaced the map-iterator related casts.
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>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- extremely useful when writing algorithm functions
Closes #1012 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Follow-up to 5020a123570a7b263f6b742df5891a36434473a0
Signed-off-by: Haru <haru@dotalux.com>
|
|
Closes #974 as merged
|
|
Monster Transform Update:
|
|
|
|
- Negative refine value isn't allowed.
|
|
- MOBID_ constant names now follow the Mob DB spritenames.
- The following names were changed:
* MOBID_EMPERIUM => MOBID_EMPELIUM
* MOBID_TREAS01 => MOBID_TREASURE_BOX1
* MOBID_TREAS40 => MOBID_TREASURE_BOX40
* MOBID_BARRICADE1 => MOBID_BARRICADE
* MOBID_BARRICADE2 => MOBID_BARRICADE_
* MOBID_GUARIDAN_STONE1 => MOBID_S_EMPEL_1
* MOBID_GUARIDAN_STONE2 => MOBID_S_EMPEL_2
* MOBID_FOOD_STOR => MOBID_OBJ_A
* MOBID_BLUE_CRYST => MOBID_OBJ_A2
* MOBID_PINK_CRYST => MOBID_OBJ_B2
* MOBID_TREAS41 => MOBID_TREASURE_BOX41
* MOBID_TREAS49 => MOBID_TREASURE_BOX49
- Added several missing items
Signed-off-by: Haru <haru@dotalux.com>
|
|
Useful for scripts that temporary adjust the group id of players.
|
|
Closes #868 as merged
|
|
(http://herc.ws/board/topic/10020-official-mapflag-to-disable-viewid/)
Closes #926 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
Closes #858 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
http://herc.ws/board/topic/7489-explode-to-push-arraysize/
Closes #700 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Minor refactoring
Signed-off-by: Haru <haru@dotalux.com>
|
|
-> it uses the dirties method to search for player
-> seriously ? why have to search account_id AND char_id ?
-> if the char_id gone big enough, it can reach to account_id
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- *getcharid and *getmapxy is exempted to check the condition
Signed-off-by: Haru <haru@dotalux.com>
|
|
- *charid2rid is exempted to check the condition
Signed-off-by: Haru <haru@dotalux.com>
|
|
- these 4 commands are exempted, because they are meant to check the
condition: *playerattached, *attachrid, *isloggedin, *sleep2
Signed-off-by: Haru <haru@dotalux.com>
|
|
- included script->charid2sd and script->nick2sd
|
|
- unlike rathena, hercules' getunittype use the value from getmapxy
- getmapxy now can search object position using GID
Closes #871 as merged
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- While they don't really cause an overflow (in C), there's no point in
initializing strings to "\0".
- Original commit message was:
Found some static-assignment overflows -> fixed.
Signed-off-by: Haru <haru@dotalux.com>
|
|
|
|
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
|
|
|