Player is crashing server.......
#1

Hi guys, for the past couple of days I was getting some out of the ordinary server crashes. Through some investigation I was able to find out that it was being caused by a player going by the name of "con" I traced all the ip's he was using back to Brazil :S (if people want the ip's pm me I suggest you range ban them to help prevent this from happening to you) but after looking at the crash log I was able to see he was crashing the server the same way EVERY TIME. I have no idea what this memory address leads too but I am sure the dev's do.

So I need to know what can I do to prevent this crash from happening, also I had removed the invalid vehicle component filter script as I was under the assumption that in 0.3 this was taking care of. Then again who knows but I think this will determine the cause of these crashes.

Код:
Exception At Address: 0x004033BF

Registers:
EAX: 0x00000013	EBX: 0x0000000F	ECX: 0x0012F604	EDX: 0x00000008
ESI: 0x00000008	EDI: 0x0012F628	EBP: 0x0012F628	ESP: 0x0012F5A8

EFLAGS: 0x00010206

Stack:
+0000: 0x00AEB8E0  0x00000008  0x0000000F  0x00460461
+0010: 0x0012F628  0x00000008  0x00000000  0x0000000F
+0020: 0x00AEB8E0  0x0012F604  0x00000053  0x00AEB8E0
+0030: 0x00000008  0x00AEB8E0  0x0012F608  0x0012F610
+0040: 0x0012F628  0x00000000  0x00000000  0x00BC4328
+0050: 0x0012F850  0x00AEB8E0  0x00000008  0x00000001
+0060: 0x0047D9C6  0x0047BF94  0x00000008  0x00000053
+0070: 0x0012F85C  0x006FACE0  0xDEB04901  0x0012F80E
+0080: 0x68616C62  0x616C6220  0x6C622068  0x00006861
+0090: 0x00000000  0x00000000  0x00000000  0x00000000
+00A0: 0x00000000  0x00000000  0x00000000  0x00000000
+00B0: 0x00000000  0x00000000  0x00000000  0x00000000
+00C0: 0x00000000  0x00000000  0x00000000  0x00000000
+00D0: 0x00000000  0x00000000  0x00000000  0x00000000
+00E0: 0x00000000  0x00000000  0x00000000  0x00000000
+00F0: 0x00000000  0x00000000  0x00000000  0x00000000
+0100: 0x00000000  0x00000000  0x00000000  0x00000000
+0110: 0x00000000  0x00000000  0x00000000  0x00000000
+0120: 0x00000000  0x00000000  0x00000000  0x00000000
+0130: 0x00000000  0x00000000  0x00000000  0x00000000
Actually in the past few day I was able to count 11 times he crashed the server, but on further inspection I was able to see 34 times in my crash log that this method has been used, so what can I do to prevent this?
Reply
#2

What does make you think it's right that player who's causing the server crashes?
Reply
#3

Quote:
Originally Posted by niCe
What does make you think it's right that player who's causing the server crashes?
I had that problem aswell once a way back ..
So useless posts like that wont help anyone.

Ontopic :
I would just use this :
pawn Код:
GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
if(strcmp(playername,"con",true) == 0)
{
    Ban(playerid);
    return 1;
}
Hope that helped you a little .

/Artix
Reply
#4

It was not useless post at all, consider your words next time, please. I believe many server owners, including me, would like to know what does make him think so.

By the way, banning a name is absolutely no solution.
Reply
#5

I know by investigating, looking at the logs at the time of crashes seeing one player trying to join and then the server becomes unresponsive and nothing to the log is written (or nothing happens on the server) till I do a restart. At that point things are fine till again I see the same thing. I count 11 times this happened. Then I checked the server crash log and seen the output for that error. I looked back in previous logs and it was always the same thing.

It was obvious.


After talking with dugi (lol I should have search that memory address ) he shown me a post made a while back with the same exception. It comes from invalid characters be sent in an input dialog.
Reply
#6

Quote:
Originally Posted by niCe
It was not useless post at all, consider your words next time, please. I believe many server owners, including me, would like to know what does make him think so.

By the way, banning a name is absolutely no solution.
Yes it is cause its the name that crashes the server not the player.
If you dont believe me go ask someone else then.
So if you ban the name then everything is okay .
I had the same problem so i know what im talkin about.

/Artix
Reply
#7

A player can just change there name that's hardly a solution.
Reply
#8

Quote:
Originally Posted by cyber_punk
A player can just change there name that's hardly a solution.
Did you READ the post ? its not the player its the name -_-;.
con,com1,com2,aux.. all those names can crash a server.
So it has nothing to do with the player changing name or not.

/Artix
Reply
#9

Quote:
Originally Posted by [๔เгty๔ยtςђ
คгtix ]
Quote:
Originally Posted by cyber_punk
A player can just change there name that's hardly a solution.
Did you READ the post ? its not the player its the name -_-;.
con,com1,com2,aux.. all those names can crash a server.
So it has nothing to do with the player changing name or not.

/Artix
Players just joining with those names do not cause the crash, its the scripts that create account files with those names, which do. And it isn't that issue in this case.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)