• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Urgent] A question About TFS 0.2

Exmerus

New Member
Joined
Jan 14, 2008
Messages
306
Reaction score
3
Today i arrived from school and my ot was restating then i log on it and a damn noob message me GIVE MEITEMS if u want i stop crashing and i told him Prove it and he crashed... i cheked all commands.. The admin.xml all.. and i banned he IP and he still crashed the ot. I need to fix it because this is a dedicated server and people who donates with 100+ players online. Please help me elf or taratulen
 
Today i arrived from school and my ot was restating then i log on it and a damn noob message me GIVE MEITEMS if u want i stop crashing and i told him Prove it and he crashed... i cheked all commands.. The admin.xml all.. and i banned he IP and he still crashed the ot. I need to fix it because this is a dedicated server and people who donates with 100+ players online. Please help me elf or taratulen

Are you using the latest Patch Level (currently Patch Level 18)?
 
Yes i just updated 2 days ago before he start crashing it.
Maybe should i Update my server to 0.3? Or just w8 the final relase of TFS 0.3 comes because i can just set "stop" to my dedicated and the days won't be consumed but i preffer to keep it online if you can help me i will be very happy.
 
Are you using the latest Patch Level (currently Patch Level 18)?

You should use what talaturen said to you indeed, but TFS should be pretty stable against crash-attacks, or if he's DDoS attacking you? If you'd have telling more specific about the case, I could have answered your question. :<
 
It is like the server is running already for 3 month but this guy log on server and message me. He just tell me look how i crash your ot server. 5 secs later (without any lag) server crashed. Then he logged in and he told me items now and i banned his ip. And 10 secs later my server crashed and he logged again and continue asking for items. He told me he is a "hacker" and he has a program. Idk Whats happenning.
 
btw check out guildsystem the !promote thingy might crash your serv.
 
I experienced this as well.

I run Arya, a 250+ player stable realmap OT.

Today people went and crashed it all day to dupe items.

I reverted back to revision 12.

Just so you know this is not an isolated incident.

And yes, I had just updated to revision 18.
 
Very Strange...
Try using a tracer as Ryan said, or, try to get a Linux dedicated and install gdb (thanks to Elf :))
Why don't your try to check what he's position is (if he's not right in front of you), it might be a problem with a script or in the map...
Anyways, good luck.

Yours, Tprocheira
 
Crash is why have bug in site, one people create character with sex 5 or more, and TFS don't accept and crash.
 
Potential fix:

Go to tools.cpp->
Code:
uint32_t adlerChecksum(uint8_t *data, size_t length)
{
	[b]if(length > 30000)
		return 0;[/b] //won't let players spoof 30000+ bytes in a packet
	const uint16_t adler = 65521;
	uint32_t a = 1, b = 0;
	while (length > 0)
	{
		size_t tmp = length > 5552 ? 5552 : length;
		length -= tmp;
		do
		{
			a += *data++;
			b += a;
		}
		while(--tmp);

		a %= adler;
		b %= adler;
	}
	return (b << 16) | a;
}

Going to test it in a bit, but yea. Credits to a player who reported it to me. Note, this bug is in all 8.31 OTS, so if this is indeed the cause, then I would put it in SVN immediately so most OT owners are not vulnerable to this now public bug.
 
Yea! It works for me! Great job codemaster2!
 
Back
Top