Posts: 298
Threads: 25
Joined: Apr 2012
Reputation:
0
Ok so I was on my server today, and me and the other owner have received opcodes, my most recent one is:0x00756B89 at base 0x03FA0000. We both use unmodded clients and there are no issues reported by crashdetect, nor are there any invalid objects in the maps. Also, when I timedout due to this issue, the other owner's money was set to 49 for no reason, any ideas for what might be causing this? Thanks.
Oh and PS: It randomly sets admin levels of accounts to 48 too.
Posts: 1,241
Threads: 67
Joined: Dec 2013
What admin FS are you using ?
Posts: 298
Threads: 25
Joined: Apr 2012
Reputation:
0
My own one, which only modifies admin levels when /makeadmin is used, which I haven't used but the levels have been modified.
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
In each time you give/take money from an account save it immediately to avoid any cash loss when crashing..
Posts: 298
Threads: 25
Joined: Apr 2012
Reputation:
0
What happened in-game though was not an issue with my saving or loading system, it gave the player admin level 48 while they were signed in in-game and gave my owner $49 as well. Thanks for your help @Clad and @Stanford though.
Posts: 983
Threads: 98
Joined: Feb 2012
Reputation:
0
Can you show me OnPlayerConnect or the callback when the player logs in / maybe search using CTRL + F and put "48" inside the blank
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Thats odd. Are you able to run a test server so that I can see the issue? Feel free to PM me the IP if you're able to.
EDIT: Just a thought... Is it possible it's inside one of your includes? Not sure if you checked those, would be curious to know.
Posts: 298
Threads: 25
Joined: Apr 2012
Reputation:
0
Unable to run a test server right now, i can give out the actual IP of the server that the script is running on though if you want that, and the only includes i use are the following:
#include <a_samp>
#include <YSI\y_ini>
#include <sscanf2>
#include <zcmd>
#include <streamer>
Weirdly, it doesn't happen to my account though, only happens to others now.