Age | Commit message (Collapse) | Author | Files | Lines |
|
always set the type to C_NAME when adding variables through script->add_str
|
|
|
|
|
|
Fixes #1837
Signed-off-by: Haru <haru@dotalux.com>
|
|
Added missing parameter to init_unit_layout_unknown
|
|
|
|
|
|
|
|
|
|
|
|
This fixes issues with plugins defining symbols with the same names
Signed-off-by: Haru <haru@dotalux.com>
|
|
Fix novending cause player gets stuck
|
|
|
|
Plugin function ReturnType fix
|
|
|
|
skill_check_condition_castend is terminated if returntype is true
|
|
Fixes a regression in 2b4bfa5d08931530d5c9b30af10dd58c1af14883
Signed-off-by: Haru <haru@dotalux.com>
|
|
Improve msgstring table usage
|
|
|
|
Also add packet version checks for used messages.
|
|
Also use official constant names with custom prefix in clif_messages enum.
|
|
- Use `DEFAULT_MOB_NAME` instead of a literal "--en--"
- Use `DEFAULT_MOB_JNAME` instead of a literal "--ja--"
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The displayed name was " --ja--" due to an extra space inside a string.
- Error introduced in 2012, commit d9d3adf3fd4795bf2483ec8549ddc30e01629db
Signed-off-by: Haru <haru@dotalux.com>
|
|
Allow guild skills cooldown to continue when logged out
|
|
|
|
Fixes #1875
Signed-off-by: Haru <haru@dotalux.com>
|
|
All official features work including the autokick for inactive members
And the system is completely customizable.
|
|
Add support for new drop packet 0xadd for zero clients
|
|
|
|
|
|
This restores the behavior that was broken in 2b4bfa5d0.
Fixes #1911
Signed-off-by: Haru <haru@dotalux.com>
|
|
This suppresses an assertion in the skill DB accessors when called with
`skill_id = 0` (such as during normal attacks). In such case, they'll
now return an appropriate zero value, as it happened before 2b4bfa5d0.
Fixes #1909
Signed-off-by: Haru <haru@dotalux.com>
|
|
Implement skill scale packet for client versions >= 20151223.
|
|
|
|
Most relevantly, `skill_lv%11 - 1` is not a valid skill item
requirement index, since it can return -1 depending on the skill_lv. It
was replaced with `(skill_lv - 1) % MAX_SKILL_ITEM_REQUIRE`, which
always returns a value in the 0 ~ MAX_SKILL_ITEM_REQUIRE range.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Remove MAX_SKILL in favor of MAX_SKILL_DB, when referring to the
maximum skill DB index. This is opposed to MAX_SKILL_ID, the maximum
skill ID.
Signed-off-by: Haru <haru@dotalux.com>
|
|
This includes some renamed local variables, in order to minimize the
cases of unsafe variable reuse.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Rewrite skill DB accessors to clarify the difference between IDs and
indexes, and to report a backtrace to the console when an invalid ID is
passed.
The type of the skill_id and skill_lv arguments has been changed to int.
Signed-off-by: Haru <haru@dotalux.com>
|
|
The incorrect handling of the overflowed values would cause certain
skill unit entries to get stuck and never get deleted correctly.
A possible symptom of the issue are monsters that become immune to
certain AoE spells having the UF_NOOVERLAP flag (Storm Gust, Lord of
Vermillion, etc).
Signed-off-by: Haru <haru@dotalux.com>
|
|
Change skill_init_unit_layout to report skill id instead of index
|
|
Also update some functions for support 64 bit exp calculation.
|
|
|
|
This mainly need for base and job exp, because now they using int64 type.
|
|
|
|
`sd->status.shield` is renamed to `sd->status.look.shield` and only
holds ViewSprite IDs. Its previous other meaning is now transferred to
`sd->has_shield`, of boolean type (to detect the presence of a shield)
Signed-off-by: Haru <haru@dotalux.com>
|
|
`sd->status.weapon` is renamed to `sd->status.look.weapon` and only
holds ViewSprite IDs. Its previous other meaning is now transferred to
`sd->weapontype` (holding the currently equipped weapon type,
considering both hands at once)
Signed-off-by: Haru <haru@dotalux.com>
|
|
- The field was used both for sprite view IDs and for weapon or
ammunition subtypes. Now the fields 'ViewSprite' and 'Subtype' are
used respectively.
Signed-off-by: Haru <haru@dotalux.com>
|
|
Fixed Chain Lighting animation was sent in wrong flow.
|
|
Fixes #1676
|
|
Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941553&curpage=1
Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941565&curpage=1
Event Normal Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941558&curpage=1
Event Enriched Ores: http://ro.gnjoy.com/news/probability/View.asp?category=4&seq=1941567&curpage=1
|