SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/09/2011, 06:02 PM   #1
wouter0100
Big Clucker
 
wouter0100's Avatar
 
Join Date: Aug 2010
Posts: 164
Reputation: 0
Default Invalid memory access

Yo.

I was looking in my crashdetect file, and i saw lots of times this:
Quote:
gamemodes\RRP.amx: During execution of OnPlayerUpdate:
gamemodes\RRP.amx: Run time error 5: "Invalid memory access".
gamemodes\RRP.amx: During execution of OnPlayerStateChange:
gamemodes\RRP.amx: Run time error 5: "Invalid memory access".
Whats wrong?
I thing there is something wrong with my mysql? (Its not my RAM. 8gb ram ;O)

//edit:
It's isnt mysql_store_result, i have everywhere free'ed it.
Thanks.
Wouter
wouter0100 is offline   Reply With Quote
Old 17/09/2011, 06:10 PM   #2
BlackBank
Gangsta
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 525
Reputation: 437
Default Re: Invalid memory access

Which version you are testing the server on?
If you have 0.3d RC1, then you can get it. Because not all the plugins are updated yet, to the new version.
BlackBank is offline   Reply With Quote
Old 17/09/2011, 06:11 PM   #3
wouter0100
Big Clucker
 
wouter0100's Avatar
 
Join Date: Aug 2010
Posts: 164
Reputation: 0
Default Re: Invalid memory access

Nope, 0.3c.
wouter0100 is offline   Reply With Quote
Old 17/09/2011, 06:51 PM   #4
Fat
Big Clucker
 
Join Date: Sep 2011
Posts: 84
Reputation: 2
Default Re: Invalid memory access

Check OnPlayerStateChange callback.
Fat is offline   Reply With Quote
Old 18/09/2011, 12:28 AM   #5
wouter0100
Big Clucker
 
wouter0100's Avatar
 
Join Date: Aug 2010
Posts: 164
Reputation: 0
Default Re: Invalid memory access

pawn Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}


public OnPlayerSpawn(playerid)
{
    return 1;
}
wouter0100 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access sa-mp.com Mujib General 11 08/12/2013 03:45 PM
The instruction at "0x031ff6b5" referenced memory at "0x44ad1147". The memory could not be "read". linuxthefish Client Support 2 29/08/2011 10:51 AM
SSH Access gragoolon Help Archive 2 21/08/2011 01:04 AM
Access Memory Adresses with a Filterscript? [GPM]Flavio Help Archive 0 19/03/2010 07:10 PM
Invalid memory access BeCometA Help Archive 2 21/02/2010 08:54 AM


All times are GMT. The time now is 01:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.