User:Ccw: Difference between revisions
Jump to navigation
Jump to search
(New crash information) |
(New crash information) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{MTA Developer}} | {{MTA Developer}} | ||
== == | == == | ||
=Unresolved crashes= | =Unresolved crashes - 26 July 2008= | ||
==Invalid pointer CClientPed::StreamedInPulse== | ==Invalid pointer CClientPed::StreamedInPulse== | ||
===m_pCurrentContactEntity is non NULL, but invalid=== | ===m_pCurrentContactEntity is non NULL, but invalid=== | ||
Line 31: | Line 19: | ||
<br> | <br> | ||
Maybe m_pCurrentContactEntity is being deleted, without the ref being removing here. | Maybe m_pCurrentContactEntity is being deleted, without the ref being removing here. | ||
== == | |||
=Proposed Lua additions - 20 June 2008= | |||
==Client and server function== | |||
===setElementFrozen ( element, bool )=== | |||
To work with vehicles, peds and dynamic objects like barrels and what not. | |||
==Server event== | |||
===onSettingChange ( name, oldValue, newValue )=== | |||
So the resource can take action if one of its settings get changed. Could even cancel the change I suppose. | |||
== == | == == |
Revision as of 04:56, 26 July 2009
Unresolved crashes - 26 July 2008
Invalid pointer CClientPed::StreamedInPulse
m_pCurrentContactEntity is non NULL, but invalid
MTA10\mods\shared_logic\CClientPed.cpp Line:2344
-- // Remove any contact entity we have saved (we won't have one in a vehicle) if ( m_pCurrentContactEntity ) { >> m_pCurrentContactEntity->RemoveContact ( this ); m_pCurrentContactEntity = NULL; }
Maybe m_pCurrentContactEntity is being deleted, without the ref being removing here.
Proposed Lua additions - 20 June 2008
Client and server function
setElementFrozen ( element, bool )
To work with vehicles, peds and dynamic objects like barrels and what not.
Server event
onSettingChange ( name, oldValue, newValue )
So the resource can take action if one of its settings get changed. Could even cancel the change I suppose.