Comments (12)
Haven't had time yet but if ever this is still an issue I will post here.
Thank you,
rt-2
from nex-ac.
So, throughout this whole time, I still have no ideas about the cause of this... If you have any additional information (e.g. logs in "-d3" mode), then please let me know.
from nex-ac.
Ok I have recompiled with the -d3 option, I will give you more information when this occurs again.
It happens quite often so probably during the week-end I will update this.
Thank you,
rt-2
from nex-ac.
I have got this today:
[30/07/2017 11:42:59] [debug] Run time error 4: "Array index out of bounds"
[30/07/2017 11:42:59] [debug] AMX backtrace:
[30/07/2017 11:42:59] [debug] #0 00088954 in public ac_Timer (playerid=3) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:6587
So here https://github.com/NexiusTailer/Nex-AC/blob/master/src/v1.9/v1.9.26/r2/nex-ac.inc#L6587
from nex-ac.
Still can't reproduce at all. Has crashdetect wrote at least once, what value out of bounds of the array and what was the size of this array?
from nex-ac.
I actually got this since:
[02/08/2017 16:48:11] [debug] Run time error 4: "Array index out of bounds"
[02/08/2017 16:48:11] [debug] AMX backtrace:
[02/08/2017 16:48:11] [debug] #0 0006683c in ?? (playerid=1, ... <1073741822 arguments>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:3549
[02/08/2017 16:48:11] [debug] #1 0002ac90 in public FIXES_OnPlayerUpdate (... <1 argument>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:32
[02/08/2017 16:48:11] [debug] #2 00007d08 in public OnPlayerUpdate (playerid=1) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\fixes.inc:5600
[02/08/2017 16:48:12] [debug] Run time error 4: "Array index out of bounds"
[02/08/2017 16:48:12] [debug] AMX backtrace:
[02/08/2017 16:48:12] [debug] #0 00088954 in public ac_Timer (playerid=1) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:6587
[07/08/2017 09:11:07] [debug] Run time error 4: "Array index out of bounds"
[07/08/2017 09:11:07] [debug] AMX backtrace:
[07/08/2017 09:11:07] [debug] #0 0006683c in ?? (playerid=0, ... <1073741822 arguments>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:3549
[07/08/2017 09:11:07] [debug] #1 0002ac90 in public FIXES_OnPlayerUpdate (... <1 argument>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:32
[07/08/2017 09:11:07] [debug] #2 00007d08 in public OnPlayerUpdate (playerid=0) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\fixes.inc:5600
[07/08/2017 09:11:08] [debug] Run time error 4: "Array index out of bounds"
[07/08/2017 09:11:08] [debug] AMX backtrace:
[07/08/2017 09:11:08] [debug] #0 00088954 in public ac_Timer (playerid=0) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:6587
Thank you,
rt-2
from nex-ac.
@rt-2 Did you modify the anti cheat file? If so, it might have been possible to shift some rows with errors, because on one of them (3563) there is no array, but the error is in any case associated with it
from nex-ac.
Yes sorry I did modify the file to add some testing functions, first time I posted here I corrected with the good lines, I forgot on the last time, the real line is 3549 not 3563.
I just corrected it now.
Thank you,
rt-2
from nex-ac.
I think this is related:
[16/08/2017 18:32:49] [SERVER]: TCMD->[CA]James_Cole(4)->"/take".
[16/08/2017 18:32:49] [SERVER]: result(1)->James_Cole(4)->"/take".
[16/08/2017 18:32:49] [inv]: INV_PLYR_AllowedMoreObject(playerid:4) returning 22.
[16/08/2017 18:32:50] [debug] Run time error 4: "Array index out of bounds"
[16/08/2017 18:32:50] [debug] AMX backtrace:
[16/08/2017 18:32:50] [debug] #0 0006683c in ?? (playerid=4, ... <1073741822 arguments>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:3549
[16/08/2017 18:32:50] [debug] #1 0002ac90 in public FIXES_OnPlayerUpdate (... <1 argument>) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\YSI\..\YSI_Data\..\YSI_Coding\..\YSI_Internal\y_cgen.inc:32
[16/08/2017 18:32:50] [debug] #2 00007d08 in public OnPlayerUpdate (playerid=4) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\fixes.inc:5600
[16/08/2017 18:32:51] [debug] Run time error 4: "Array index out of bounds"
[16/08/2017 18:32:51] [debug] AMX backtrace:
[16/08/2017 18:32:51] [debug] #0 00088954 in public ac_Timer (playerid=4) at C:\Users\rt-2\Desktop\SAARP\SAMP\pawno\include\nex-ac.inc:6587
This happened today. Basically both lines (6587 and 3549) contains information like 'acLastPickup' for the ACInfo array.
This player James_Cole just did /take, he was over an object with a pickup, when he did /take the pickup that he was on top of got destroyed. I think this caused the bug!
Thank you,
rt-2
from nex-ac.
I'm forced again to ask you to double-check this on the latest version, because I completely rewrote the anticheat system for pickups that using streamer plugin.
from nex-ac.
Yes thank you I will do that next week after my Thursday restart.
I'll post the result here.
Thank you,
rt-2
from nex-ac.
After some time letting the server run, there seem to not be any of those since 1.9.27,
There was not a lot of players so I cannot be sure, but to me it's gone,
If I see some again I will repost here...
Thank you,
rt-2
from nex-ac.
Related Issues (20)
- Updating from 1.9.61 to 6.2 [literal array/string passed to a non-const parameter] HOT 1
- Help with interference with native SA-MP functions HOT 3
- On-foot speed hack (code #9) triggers when jumping over walls HOT 1
- Nex-ac错误 HOT 1
- nex-ac error HOT 5
- nex-ac warning HOT 1
- Server crashed: Attempted to read/write array element at negative index -1 on OnIncomingRPC HOT 1
- error qawno build HOT 1
- Server Crashing [ SAMP ] HOT 8
- (i need help) HOT 1
- Bug Kick players HOT 1
- RemovePlayerFromVehicle compatibility with open.mp HOT 3
- Deprecated console variable on open.mp HOT 2
- Error in OPEN.MP HOT 1
- PLEASE COMPLETE WITH CONST NXT TYM HOT 1
- Multiple warnings HOT 2
- Adjust Sensitivity of Anti Cheat HOT 1
- incompatiblity with open.mp-stdlib HOT 9
- Ghost Hack cant detect HOT 4
- Use Nex-AC with open.mp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nex-ac.