You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client will crash at the moment when the vehicle get in the visible range.
If I reload the client and reenter the game, I will be restored in the exact point where the client crashed, but everything will work just fine. So I think it's related to the first vehicle load on the map.
PS. This happened with the patch posted below applied, and it happened almost like every time I tried the scenario above. However it won't happen if the player is saved in the visible range of the vehicle at the first login.
I have a patch which will fix some of the crashes, due to vehicles trying to board dead passenger.
However this will not fix all issues!:
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 9d72290..7033680 100644
--- a/src/game/Spell.cpp+++ b/src/game/Spell.cpp@@ -5876,6 +5876,12 @@ SpellCastResult Spell::CheckCast(bool strict)
}
case SPELL_AURA_CONTROL_VEHICLE:
{
+ if (!m_caster->isAlive())+ return SPELL_FAILED_CASTER_DEAD;++ if (!expectedTarget->isAlive())+ return SPELL_FAILED_TARGETS_DEAD;+
if (m_caster->HasAuraType(SPELL_AURA_MOUNTED))
return SPELL_FAILED_NOT_MOUNTED;
Any feedback is appreciated.
The text was updated successfully, but these errors were encountered:
It appears it is possible for the client freezes if movement of stunned mobs is sent (combined flags of SPLINE_ENABLED and SPLINE_ROOTED).
This fix cannot be considered proper, but there should be no sideeffects.
HUGE thanks for kid10 figuring the source of some of these freezes by manually testing individual commits.
Unexpected source(*) is [12225] (ec67729)
(*) Well, the thing that made these freezes visual... - I consider these source to be older and much better hidden!
During the scripting process of Pit of Saron, (see latest commits on SD: https://github.com/scriptdev2/scriptdev2/commits/master), I encountered many client crashes which were happening because of vehicles.
How to reproduce:
.gm fly on
,.modify aspeed 10
PS. This happened with the patch posted below applied, and it happened almost like every time I tried the scenario above. However it won't happen if the player is saved in the visible range of the vehicle at the first login.
I have a patch which will fix some of the crashes, due to vehicles trying to board dead passenger.
However this will not fix all issues!:
Any feedback is appreciated.
The text was updated successfully, but these errors were encountered: