Page 1 of 2

How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 11:47 am
by deen
How to give away your tee using timeout codes
written by deen

Player 1 (P1) wants to offer their tee to Player 2 (P2). It does not matter whether these players are in a team or in team 0. This is especially useful in team 0 in long runs when P1 has to leave, but P2 could take over.

PW is a secret text that P1 has to communicate to P2 and no one else. Here's what they have to do:
  1. P1 writes /timeout PW
  2. P1 writes /w P2 My timeout code is PW
  3. P1 disconnects their internet connection, for example by pulling the network cable or disconnecting wifi. "Connection Problems" should appear in the client. Alternatively you can also hard-kill the client but I don't know how to do that in Windows (but Task Manager might have it, kill -9 on Linux)
  4. P1 quits the client.
  5. After 100 second the tee of P1 will become available for timeout protection
  6. P2 writes /timeout PW and gets the original tee of player P1
If P1 is using DDNet client after step 4 they can come back immediately with a newly opened client, which will use a different port and thus be assigned a new tee. If P1 is using Vanilla client they should rather wait until P2 has taken the tee over, after step 6.

Note about 2: If P2's name contains spaces, for example "Mister 2" and there is another player with the name "Mister", then the whisper with /w Mister 2 My timeout code is PW will arrive at player Mister. If you instead want to write to "Mister 2" you have to do /w "Mister 2" My timeout code is PW.

The proposal on GitHub is that instead P1 should just be able to say /swap P2 PW and P2 can confirm by saying /swap P1 PW and then these players will swap their tees: https://github.com/ddnet/ddnet/issues/1103

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 12:00 pm
by Im 'corneum
heh. ive tried this once but it didnt work. maybe bcs my name has letters.
also i think this is considered cheating by some mods or admins

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 12:20 pm
by Lumpy ◐ω◑
I think there is a command to reduce 100 sec in step 5. Or am I wrong?

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 1:11 pm
by stompie
deen wrote: Thu Apr 12, 2018 11:47 am The proposal on GitHub is that instead Player A should just be able to say /swap A PW and Player B can confirm by saying /swap B PW and then these players will swap their tees:
I remember we had this function on our wage servers from a few years back it worked out well

ps. i have wanted this explenation for a long time noone i asked knew how to claim a timed out tee Thanks :D

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 1:27 pm
by deen
Lumpy ◐ω◑ wrote: Thu Apr 12, 2018 12:20 pm I think there is a command to reduce 100 sec in step 5. Or am I wrong?
Nope, you can reduce the time in your client with conn_timeout, but that won't affect the server.

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 1:54 pm
by Lumpy ◐ω◑
deen wrote: Thu Apr 12, 2018 1:27 pm Nope, you can reduce the time in your client with conn_timeout, but that won't affect the server.
Oh, ok, good to know.
Nice tutorial btw

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 2:13 pm
by Ravie
I'm against finishing maps/parts for others, and I thought DDNet was as well. Shouldn't this method be considered exploiting the client/server's features and be fixed instead of being made public?

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 2:17 pm
by Konsti
Step 2 is wrong, P1 whisper the timeout code to p2
Btw yes killing by task manager works
Alternative way to get timeout is also shutting down the pc without closing client before or just put off charged/accumulator

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 2:19 pm
by Konsti
Ravie wrote: Thu Apr 12, 2018 2:13 pm I'm against finishing maps/parts for others, and I thought DDNet was as well. Shouldn't this method be considered exploiting the client/server's features and be fixed instead of being made public?
Its a common used exploit. I think its nonsense to have no way to stay in the game after 500 minutes in team 0 when u dont have time to continue the race.
Also uncool for the other player+s) which might be fail then

Re: How to give away your tee using timeout codes

Posted: Thu Apr 12, 2018 2:21 pm
by Ravie
If you intend to continue playing another time, just play in a team. If one player failed and you feel so bad for him just restart the map.