Giter VIP home page Giter VIP logo

Comments (12)

rt-2 avatar rt-2 commented on July 22, 2024 1

Haven't had time yet but if ever this is still an issue I will post here.
Thank you,
rt-2

from nex-ac.

NexiusTailer avatar NexiusTailer commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

NexiusTailer avatar NexiusTailer commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

NexiusTailer avatar NexiusTailer commented on July 22, 2024

@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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

NexiusTailer avatar NexiusTailer commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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.

rt-2 avatar rt-2 commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.