SA-MP Forums Archive
Timeout-ing Need Really fast help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Timeout-ing Need Really fast help! (/showthread.php?tid=156355)



Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Ok so today i was in my server and in some places the players crashed here is the code what was happing

Код:
[13:00:30] [part] Bianco_Nero has left the server (6:0)
[13:00:52] [part] nonamesleft has left the server (11:0)
[13:01:11] Incoming connection: 94.79.66.142:2820
[13:01:11] [join] nonamesleft has joined the server (6:94.79.66.142)
[13:01:22] [chat] [nonamesleft]: :/ crashed
[13:01:27] [chat] [[SF]Mat101]: Wtf!? Why all are crashing
[13:01:40] [chat] [nonamesleft]: those opcode things
[13:01:41] Incoming connection: 195.158.95.93:59482
[13:01:44] [join] Bianco_Nero has joined the server (8:195.158.95.93)
[13:01:46] [chat] [[SF]Mat101]: I have to figure out this problem
[13:02:00] [chat] [[SF]Mat101]: where are ya crashing?
[13:02:14] [part] maor has left the server (10:0)
[13:02:24] [part] nonamesleft has left the server (6:0)
[13:02:36] Incoming connection: 85.250.90.58:50361
[13:02:36] [join] maor has joined the server (6:85.250.90.58)
[13:02:46] Incoming connection: 94.79.66.142:2821
[13:02:46] [join] nonamesleft has joined the server (10:94.79.66.142)
[13:02:48] [chat] [Bianco_Nero]: sesso maniaco
[13:02:52] [chat] [nonamesleft]: again
[13:02:53] [chat] [Bianco_Nero]: fjn int?
[13:02:54] [death] Ngrex_07 died 255
[13:02:57] [chat] [maor]: CRASH!!!!!!!!!!!!!!!!!
[13:03:05] [chat] [nonamesleft]: weird
[13:03:23] [chat] [nonamesleft]: ok
[13:03:26] [chat] [maor]: OK
[13:04:19] [part] Bianco_Nero has left the server (8:0)
[13:04:35] [part] nonamesleft has left the server (10:0)
[13:04:50] Incoming connection: 94.79.66.142:2822
[13:04:50] [join] nonamesleft has joined the server (8:94.79.66.142)
Can someone tell me what did i do wrong please?!


Re: Timeout-ing Need Really fast help! - playbox12 - 22.06.2010

Probaly bad objects causing it, as far as I know there was no code to directly crash someone?


Re: Timeout-ing Need Really fast help! - Cameltoe - 22.06.2010

in 0.1-0.2 admin of the server or a player with the given rights could crash a player, but in 0.3 this is removed i think.


Re: Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Quote:
Originally Posted by playbox12
Probaly bad objects causing it, as far as I know there was no code to directly crash someone?
What do you mean bad objects?


Re: Timeout-ing Need Really fast help! - Cameltoe - 22.06.2010

if you have CreateObject in onplayerconnect each player will be spammed with objects and will cause timeouts i guess.


Re: Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Quote:
Originally Posted by Cameltoe
if you have CreateObject in onplayerconnect each player will be spammed with objects and will cause timeouts i guess.
No i don't have any objects onplayerconnect


Re: Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Sorry for DP but does this can be caused by NPC'S?


Re: Timeout-ing Need Really fast help! - playbox12 - 22.06.2010

No I don't think so, also "bad objects" some object ID's cause crashing, only problem is they are really REALLY hard to find. So what I suggest, is paste all your objects in notepad save it, delete the objects from the GM, and look if the crash still occurs, if yes then it are not the objects, if no. Then it are the objects then you have to find what object causes the crashes.

TIP: If it still crashes try to think which objects you've added the last time, and when the crashes started to happen you can easily find out what is going wrong then.

TIP: What I do is I add the objects like this:

// Los Santos Police Department add-on 22/2/2010
CreateObject......
CreateObject......
Etc
Erc

This way I always when I added which objects easier to remember.

I wouldnt do it this way

// 22/2/2010
CreateObject
// 22/2/2010 10:10
CreateObject
CreateObject
// 22/2/2011
CreateObject


Re: Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Quote:
Originally Posted by playbox12
No I don't think so, also "bad objects" some object ID's cause crashing, only problem is they are really REALLY hard to find. So what I suggest, is paste all your objects in notepad save it, delete the objects from the GM, and look if the crash still occurs, if yes then it are not the objects, if no. Then it are the objects then you have to find what object causes the crashes.

TIP: If it still crashes try to think which objects you've added the last time, and when the crashes started to happen you can easily find out what is going wrong then.

TIP: What I do is I add the objects like this:

// Los Santos Police Department add-on 22/2/2010
CreateObject......
CreateObject......
Etc
Erc

This way I always when I added which objects easier to remember.

I wouldnt do it this way

// 22/2/2010
CreateObject
// 22/2/2010 10:10
CreateObject
CreateObject
// 22/2/2011
CreateObject
Ok i will try... And i do the same example : //AA airport obejcts at the end = //End of aa objects

Anyway thanks for posting.


Re: Timeout-ing Need Really fast help! - matthewdriftking - 22.06.2010

Edit: Yes i think the problem is with the objects, So what i have to do now?