-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OnPlayerEnterDynamicArea invalid ids + false calls #149
Comments
See #141. Your script is causing this. |
How can i locate the problem? |
As I said in the other issue:
It could be something else, but that's the most common cause of the problem. There's no easy way of debugging it apart from investigating what functions were running in your script prior to this happening. Start logging everything. Make sure none of your arrays are going out of bounds as well. |
Crash detect plugin is not detecting false access to arrays, but i'll try to locate functions which are called prior to this issue. It's happening just after server fresh start (not after gmx). |
Things like new string[ 4 ];
format( string, 128, "sdjadhaldakdla;sdkadsadgdsagdahdahasd" ); could lead to invalid memory access which causes this kind of problems and which aren't detected by crashdetect. Also strcat and other string functions. |
@IstuntmanI checked everything. [08.11.2016][13:00:03] [debug] Server crashed due to an unknown error |
I can't really do anything with that. You'll need to compile the debug version and run the server in GDB if you want to produce more meaningful output. However, it still just looks like a scripting issue to me. |
I was forced to remove streamer zone system for entrances/exits and to create it pawn side, it's not fast as it was with plugin, but at least it works fine, without crashes or other problems (false calls)... I'm still using small amount of streamer zones for other things, and they are working perfectly fine. I don't know what caused previous problems, but not that sure that it was script related... So, unfortunately i'm unable to do further tests.. |
Reopen if you have any new information then. |
It happened few days ago, and today again, just few minutes after i started the server. In ~2 seconds streamer called OnPlayerEnterDynamicArea 33530 times with invalid playerids, and i don't know how many times with right ids. Invalid id's are not the problem, it's my fault that i haven't checked is those id's are valid or not, but false calls for right id's and that amount of spam is an issue.
fulllog.txt
Usage of streamer:
The text was updated successfully, but these errors were encountered: