Topic: [HELP] is teeworlds healthy?
wtf is going up today? i am searching a server click it on and BAM..wait no BAM just nothing ~~ have to close... try to open again again same thing ~~
a teefriend had same problem like me... wth had happend?
You are not logged in. Please login or register.
Teeworlds Forum → Support → [HELP] is teeworlds healthy?
wtf is going up today? i am searching a server click it on and BAM..wait no BAM just nothing ~~ have to close... try to open again again same thing ~~
a teefriend had same problem like me... wth had happend?
There is a tee out there who got evil and decided to close the game.
FreshCola, use Sushis Clientpack or the refractor version, that fixes the problem.
easy fix:
Index: src/engine/client/ec_client.c
===================================================================
--- src/engine/client/ec_client.c (revision 2337)
+++ src/engine/client/ec_client.c (working copy)
@@ -956,6 +956,11 @@
info.progression = atol(unpacker_get_string(&up));
info.num_players = atol(unpacker_get_string(&up));
info.max_players = atol(unpacker_get_string(&up));
+
+ // don't add invalid info to the server browser list
+ if(info.num_players > MAX_CLIENTS || info.max_players > MAX_CLIENTS)
+ return;
+
str_format(info.address, sizeof(info.address), "%d.%d.%d.%d:%d",
packet->address.ip[0], packet->address.ip[1], packet->address.ip[2],
packet->address.ip[3], packet->address.port);
its actually just copied from the refactor branche but this will fix the error in 0.5
easy fix:
Index: src/engine/client/ec_client.c =================================================================== --- src/engine/client/ec_client.c (revision 2337) +++ src/engine/client/ec_client.c (working copy) @@ -956,6 +956,11 @@ info.progression = atol(unpacker_get_string(&up)); info.num_players = atol(unpacker_get_string(&up)); info.max_players = atol(unpacker_get_string(&up)); + + // don't add invalid info to the server browser list + if(info.num_players > MAX_CLIENTS || info.max_players > MAX_CLIENTS) + return; + str_format(info.address, sizeof(info.address), "%d.%d.%d.%d:%d", packet->address.ip[0], packet->address.ip[1], packet->address.ip[2], packet->address.ip[3], packet->address.port);
its actually just copied from the refactor branche but this will fix the error in 0.5
The attacker can use -1/-1 players. This will even cause the revision 2337 to crash.
Teeworlds Forum → Support → [HELP] is teeworlds healthy?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.