Server crashes and send some strange [debug]-s when player is connecting
#1

I need immidiate help, this is happening since this morning, I have not added anything special, only usual things, this is happening everytime somebody connects:
Код:
[20:11:52] [debug] AMX backtrace:
[20:11:52] [debug] #0 004dba50 in public FIXES_OnPlayerSpawn (playerid=9) at C:\Users\Jurcomm\Desktop\LK MAIN\gamemodes\lkrpg.pwn:12076
[20:11:52] [debug] #1 native CallLocalFunction () in samp03svr
[20:11:52] [debug] #2 00068e84 in ?? (9) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\fixes.inc:1921
[20:11:52] [debug] #3 0003de58 in public ac_OnPlayerSpawn (playerid=9) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\YSI\y_hooks/impl.inc:725
[20:11:52] [debug] #4 0000fd30 in public OnPlayerSpawn (playerid=9) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\StefkeAc.inc:3063
And this happens after the server is working for few minutes:
Код:
[20:12:00] [debug] Server crashed while executing lkrpg.amx
[20:12:00] [debug] AMX backtrace:
[20:12:00] [debug] #0 00000032 in INI_AddToBuffer (INI:file=49, name[]=@00000039 !"n", data[]=@024ab86c "-0000001759582519") at <unknown file>:0
[20:12:00] [debug] #1 00048924 in ?? (49, 57, 0, 0, 38451400, 5079348, 4, 10, 38451420, 450800, ... <3 more arguments>) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\YSI\y_ini.inc:1073
[20:12:00] [debug] #2 00000032 in public FIXES_OnPlayerDisconnect () at <unknown file>:0
[20:12:00] [debug] #3 native CallLocalFunction () in samp03svr
[20:12:00] [debug] #4 000685f8 in public Itter_OnPlayerDisconnect (playerid=10, reason=1) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\fixes.inc:1705
[20:12:00] [debug] #5 00058870 in ?? (10, 1) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\YSI\y_iterate.inc:909
[20:12:00] [debug] #6 0003dccc in public ac_OnPlayerDisconnect (playerid=10, reason=1) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\YSI\y_hooks/impl.inc:682
[20:12:00] [debug] #7 0000e2d0 in public OnPlayerDisconnect (playerid=10, reason=1) at C:\Users\Jurcomm\Desktop\LK MAIN\pawno\include\StefkeAc.inc:2950
Here server crashes after just 5minutes of working... I have not any idea why is this happening, maybe someone is Ddosing, because one guy said he will do it. If you can help me rep+ bcz I need this to fix fast, my server will not work until I fix it. And Iam using crashdetect so I have all these infos
Reply
#2

Not to be uneducated but you people should AT LEAST try to read what error log says.

Your problem is not when someone connects, but when they spawn and disconnect. (As log refers to OnPlayerSpawn and OnPlayerDisonnect).

Also that INI_AddToBuffer seems you're passing something to an invalid file. So, show us OnPlayerSpawn, OnPlayerDisconnect and this INI_AddToBuffer.

Server doesn't crash for no reason at all, if it were ddossing in your console log you would see many connections from same IP. (And about this, i suggest you to use max_ips.pwn which you can find it on the main server package).

And about the guy who said he will ddos you, just ignore him and ban his IP. Don't feed the troll.

Are you also using the fixes.inc?
Reply
#3

Quote:
Originally Posted by SymonClash
Посмотреть сообщение
Not to be uneducated but you people should AT LEAST try to read what error log says.

Your problem is not when someone connects, but when they spawn and disconnect. (As log refers to OnPlayerSpawn and OnPlayerDisonnect).

Also that INI_AddToBuffer seems you're passing something to an invalid file. So, show us OnPlayerSpawn, OnPlayerDisconnect and this INI_AddToBuffer.

Server doesn't crash for no reason at all, if it were ddossing in your console log you would see many connections from same IP. (And about this, i suggest you to use max_ips.pwn which you can find it on the main server package).

And about the guy who said he will ddos you, just ignore him and ban his IP. Don't feed the troll.

Are you also using the fixes.inc?
Thanks but yes I have read errors, and I can't see anything that would do this in OnPlayerSpawn and Discconect. I have fixes.inc from the old scripter of my server and I don't know what it is used for. And INI_AddToBuffer, where is that located in main gamemode or include?
Reply
#4

How we can know where INI_AddToBuffer is located? It's your script not ours....

INI_AddToBuffer as far i know, is a part of Y_INI.

And without code we can't help you. You think the server can crash only when someone connects? Ok then, i don't understand why you asked help if you're so convinced.

I repeat, without code we can't help you. We're not wizards with the crystal ball...

And the fixes.inc aims to fix almost any Sa-Mp bugs. More info here: https://github.com/Open-GTO/sa-mp-fixes
Reply
#5

Deleted**
Reply
#6

I guess that "protect" is for SB? Why setting a timer of 5 ms everytime a player spawns? Also you're not even repeating it. What "protect" does? How it's structured? More info please...

Also you code is so messed. There is no need to put 50+ lines to show a textdraw, make a loop instead.

And if you want to set a timer (and not repeating it), just to check something when someone spawns, better use functions. Something like AntiSB(playerid), since as i could understand, you're running the timer once. No need imho. You can delete it and place that timer code in a function.
Reply
#7

Quote:
Originally Posted by SymonClash
Посмотреть сообщение
I guess that "protect" is for SB? Why setting a timer of 5 ms everytime a player spawns? Also you're not even repeating it. What "protect" does? How it's structured? More info please...
That's not important right now because it is marked with /* for comment I don't use it any more.
Reply
#8

Excuse me.

Quote:

crashdetect shows error at line on top that I marked with comment

Are you referring to SetTimer lines? And now you said:

Quote:

That's not important right now because it is marked with /* for comment I don't use it any more

Read my edited post.
Reply
#9

Quote:
Originally Posted by SymonClash
Посмотреть сообщение
Excuse me.



Are you referring to SetTimer lines? And now you said:



Read my edited post.
No no just ignore that before: crashdetect is showing line with thextdraw a little down from that timer:
Код:
PlayerTextDrawHide(playerid, ImeTD[playerid]);
Reply
#10

Doesn't make sense to me. Do a test: Try to remove fixes include, then wait the usual time and see if something has changed or not.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)