User:Ccw: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New crash information)
(Unhandled exception at 0x006096ac)
Line 4: Line 4:
== ==
== ==
=Unresolved crashes - 26 July 2008=
=Unresolved crashes - 26 July 2008=
==Invalid pointer CClientPed::StreamedInPulse==
==Unhandled exception==
===m_pCurrentContactEntity is non NULL, but invalid===
===Unhandled exception at 0x006096ac in gta_sa.exe: 0xC0000005: Access violation reading location 0xf5f7fd51===


<br>
Called from CPlayerPedSA::SetMoveAnim( 0xf8 )
''MTA10\mods\shared_logic\CClientPed.cpp  Line:2344''
<syntaxhighlight lang="lua">
--          // 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;
            }
</syntaxhighlight>
<br>
Maybe m_pCurrentContactEntity is being deleted, without the ref being removing here.


Happened to me on two different servers, both shortly after connection, at around the time I would expect my player to 'spawn'.


<br>
== ==
== ==
=Proposed Lua additions - 20 June 2008=
=Proposed Lua additions - 20 June 2008=

Revision as of 05:57, 7 August 2009

Coder.gif This user is an MTA developer

Unresolved crashes - 26 July 2008

Unhandled exception

Unhandled exception at 0x006096ac in gta_sa.exe: 0xC0000005: Access violation reading location 0xf5f7fd51

Called from CPlayerPedSA::SetMoveAnim( 0xf8 )

Happened to me on two different servers, both shortly after connection, at around the time I would expect my player to 'spawn'.


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.