SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 06/04/2019, 06:48 PM   #1
lacosta175
Little Clucker
 
Join Date: Sep 2018
Posts: 19
Reputation: 1
Default Server Crash Problem

In my server, players having crash issues. I don't know the reason of this crashes. I don't know what triggers it. We tried to remove maps, nothing worked. We also don't receive any messages/warning codes for that crashes. Whenever me, or other players enters game, gtaa stops working. So, there isn't any crash messages or warning codes.

I just want help. Please tell me how to fix the problem, or tell me what triggers that.

Note: Also, the crash usually happens when we teleport to someone.
lacosta175 is offline   Reply With Quote
Old 06/04/2019, 06:56 PM   #2
MicroKyrr
Huge Clucker
 
MicroKyrr's Avatar
 
Join Date: Sep 2015
Location: Philippines
Posts: 252
Reputation: 24
Default Re: Server Crash Problem

Use crashdetect plugin so you can show us the error messages.
__________________
MicroKyrr is offline   Reply With Quote
Old 06/04/2019, 07:10 PM   #3
lacosta175
Little Clucker
 
Join Date: Sep 2018
Posts: 19
Reputation: 1
Default Re: Server Crash Problem

Quote:
Originally Posted by MicroKyrr View Post
Use crashdetect plugin so you can show us the error messages.
It's the players that receive crash issues, not my server.
lacosta175 is offline   Reply With Quote
Old 06/04/2019, 11:20 PM   #4
Markski
Big Clucker
 
Markski's Avatar
 
Join Date: Apr 2015
Location: La Plata, Argentina
Posts: 118
Reputation: 37
Default Re: Server Crash Problem

Is this 0.3.7 or 0.3DL?

Has any of your players provided you with the crash messages?

I have a feeling these could be people using illegit clients to send invalid actions to the server and crash your users. You should try to install an anticheat include and/or tell your players to install the latest 0.3.7-R3 as it seems to solve some of the errors crashers exploit.
Markski is offline   Reply With Quote
Old 06/04/2019, 11:34 PM   #5
Variable™
Gangsta
 
Join Date: Jul 2015
Posts: 792
Reputation: 179
Default Re: Server Crash Problem

Tell your players to give you the crash address(es) so that you can understand where the issue comes from.

When you get the crash address, simple search for it here: https://forum.sa-mp.com/showthread.php?t=339691
Search for familiar addresses to the one(s) your players send you, as it may have a difference in the last two digits but still mean the same.

You might also want to create a file named "pawn.cfg" and write "-d3" in it, and include crashdetect. Don't forget to run the plugin as well, you can get it from here https://github.com/Zeex/samp-plugin-crashdetect

Compile your script and start, it should report any problems in your code.

There may be two common factors of crash if your players don't crash when doing specific stuff but just randomly:

1. You are exceeding the maximum objects displayed in one place (1000 for 0.3.7) and (2000 for 0.3.DL), if you do, and players reach that place, they'll crash.

2. You are creating an invalid object ID, that will make players crash at that object's coordinates (when streamed).

3. You mentioned the problem happens when you teleport to someone, it can be the client crashing due to loading too many objects having the ones in the older position still streamed.

If the problem happens when you do some stuff, debug them and you'll reach the problem easily. You should have a test server to try and debug the problem with someone else.
Variable™ is offline   Reply With Quote
Old 07/04/2019, 12:57 AM   #6
lacosta175
Little Clucker
 
Join Date: Sep 2018
Posts: 19
Reputation: 1
Default Re: Server Crash Problem

Thank you for answers,

All my maps that we use, is in a filterscript. I have removed the filterscript and restarted my server but same problems happens again. My server is using crashdetect but i dont get any warning or error. When the problem happens, i get only gta stopped working screen nothing more.
lacosta175 is offline   Reply With Quote
Old 07/04/2019, 01:00 AM   #7
Markski
Big Clucker
 
Markski's Avatar
 
Join Date: Apr 2015
Location: La Plata, Argentina
Posts: 118
Reputation: 37
Default Re: Server Crash Problem

Can you please answer any of the questions I made.

Crashdetect won't help you with client-side crashes.
Markski is offline   Reply With Quote
Old 07/04/2019, 01:00 AM   #8
lacosta175
Little Clucker
 
Join Date: Sep 2018
Posts: 19
Reputation: 1
Default Re: Server Crash Problem

Quote:
Originally Posted by Markski View Post
Is this 0.3.7 or 0.3DL?

Has any of your players provided you with the crash messages?

I have a feeling these could be people using illegit clients to send invalid actions to the server and crash your users. You should try to install an anticheat include and/or tell your players to install the latest 0.3.7-R3 as it seems to solve some of the errors crashers exploit.

Server version is 0.3DL, after crash we dont get any error code.
lacosta175 is offline   Reply With Quote
Old 07/04/2019, 01:48 PM   #9
lacosta175
Little Clucker
 
Join Date: Sep 2018
Posts: 19
Reputation: 1
Default Re: Server Crash Problem

Is there any way to detect from what players crashing? Because we get only "GTA didnt respond" screen.
lacosta175 is offline   Reply With Quote
Old 07/04/2019, 02:07 PM   #10
v1k1nG
Huge Clucker
 
v1k1nG's Avatar
 
Join Date: Feb 2018
Posts: 435
Reputation: 31
Default Re: Server Crash Problem

Does that happen on other servers too? If not then maybe it's some model causing the client to crash.
v1k1nG is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem crash my server Colossuslc Scripting Help 1 07/08/2015 08:25 PM
Crash problem at my server! Rockyyy Server Support 10 19/01/2015 09:14 PM
Server crash problem iThePunisher Scripting Help 10 23/11/2014 12:11 PM
Server Crash problem. Walkie Scripting Help 6 29/12/2013 10:28 PM
Server Crash Problem! rouzbeh Scripting Help 1 13/08/2013 11:38 AM


All times are GMT. The time now is 10:19 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.