Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
|
|
|
|
::script_queues
Signed-off-by: Haru <haru@dotalux.com>
|
|
::entries
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The commands queueadd, queueremove, queueopt, queuedel and qiclear
now all return true (success) or false (failure). - Taken/extended
from AnnieRuru's PR #847.
- The constants HQO_OnDeath, HQO_OnLogOut, HQO_OnMapChange were renamed
to QUEUEOPT_DEATH, QUEUEOPT_LOGOUT, QUEUEOPT_MAPCHANGE respectively.
- The name of the variable @QMapChangeTo$ used during the
QUEUEOPT_MAPCHANGE event has been renamed to @Queue_Destination_Map$.
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Corrected return value in bool functions (true always means success,
false means failure, some were inverted). The script command return
values are left unchanged for backwards compatibility.
- Added some missing script_pushint to commands that are expected to
return a value (on failure).
- Cleaned up and optimized various functions.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Follow-up to 918b1123963ac2f91a4d074b092ceef1db71b4e8, a9042bf0bee2d2453058b22973bea8f335c5a201
- Thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
|
|
Updated script_commands.txt
|
|
|
|
|
|
Corrected sleep/sleep2 parameter list.
Changed bg_join_team return values.
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
Was broken in previous commits.
|
|
|
|
|
|
Signed-off-by: Haru <haru@dotalux.com>
|
|
While this doesn't change anything in the way those assignments work,
it clarifies that they're intended to be side-effect assignments and
not typos (to both human readers and static analyzers)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- Special thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
|
|
error: ‘for’ loop initial declarations are only allowed in C99 mode
|
|
This reverts commit c3ce0fb9b04d4c51d632c21f24f7a348c2681bf2.
|
|
This reverts commit 1bd8e9d50ed6de9433c3d6ccb842491cdafcd0a1.
|
|
type 0 - return number of users in the waiting room and account_id list
stored in $@chatmembers[]
type 34 - Minimum Base Level to enter waiting room.
type 35 - Maximum Base Level to enter waiting room.
type 36 - Minimum Zeny to enter waiting room.
|
|
The command will display the message on the NPC that name specified in
the parameter.
Useful in quest script that required a lot of different NPC to talk at
the same time.
Especially instances script.
|