Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server crashes when you kick a NPC on OnPlayerEnterDynamicArea #66

Closed
Vasily-X opened this issue Aug 2, 2015 · 5 comments
Closed

Server crashes when you kick a NPC on OnPlayerEnterDynamicArea #66

Vasily-X opened this issue Aug 2, 2015 · 5 comments

Comments

@Vasily-X
Copy link

Vasily-X commented Aug 2, 2015

Crash info and the code I used here: http://forum.sa-mp.com/showpost.php?p=3540551&postcount=5204

@samp-incognito
Copy link
Owner

Run the server with the CrashDetect plugin.

@Vasily-X
Copy link
Author

Vasily-X commented Aug 2, 2015

[21:49:14] [debug] Server crashed due to an unknown error
[21:49:15] [debug] Native backtrace:
[21:49:15] [debug] #0 6f5b0f97 in ?? () from plugins\streamer.DLL
[21:49:15] [debug] #1 6f5b141b in ?? () from plugins\streamer.DLL
[21:49:15] [debug] #2 6f5c9fd8 in ?? () from plugins\streamer.DLL
[21:49:15] [debug] #3 6f5c9b8a in ?? () from plugins\streamer.DLL
[21:49:15] [debug] #4 00469a66 in ?? () from samp-server.exe
[21:49:15] [debug] #5 0048d4db in ?? () from samp-server.exe
[21:49:15] [debug] #6 0049b4a1 in ?? () from samp-server.exe
[21:49:15] [debug] #7 0049b4b1 in ?? () from samp-server.exe

I tried many times, I got something different on the first line only:
[21:53:15] [debug] #0 6f5b109f in ?? () from plugins\streamer.DLL
[22:12:28] [debug] #0 6f5b0fa3 in ?? () from plugins\streamer.DLL

I tried in a different gamemode (grandlarc) too, this time I kicked the player when he entered the area:

[22:22:45] [debug] Server crashed due to an unknown error
[22:22:45] [debug] Native backtrace:
[22:22:45] [debug] #0 6f5c9cc7 in ?? () from plugins\streamer.DLL
[22:22:45] [debug] #1 6f5c9b8a in ?? () from plugins\streamer.DLL
[22:22:45] [debug] #2 00469a66 in ?? () from samp-server.exe
[22:22:45] [debug] #3 0048d4db in ?? () from samp-server.exe
[22:22:45] [debug] #4 0049b4a1 in ?? () from samp-server.exe
[22:22:45] [debug] #5 0049b4b1 in ?? () from samp-server.exe

@Crayder
Copy link

Crayder commented Aug 2, 2015

Dude. Compile with -d3 (debug mode) then run crashdetect, that makes the output a lot easier to read.

If you're running pawncc directly just append -d3 to the run line (for example, custom IDE's and etc). If you're using pawno use the pawno config file, just put -d3 in it.

EDIT: Well actually it's only a native backtrace so that may not help... Unless you're only showing us part of the output... :3

@Vasily-X
Copy link
Author

Vasily-X commented Aug 2, 2015

I used -d3 there, I showed you everything.

@ghost
Copy link

ghost commented Aug 2, 2015

That won't help anything beacuse crash is in streamer, not in mode. You need to recompile streamer with debug info, that will help a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants