themoonisacheese / 2bored2wait

(archived) A proxy to wait out 2b2t.org's way too long queue. Includes a small webserver and a REST-like API for external control
GNU General Public License v3.0
426 stars 102 forks source link

If the player doesn't connect to the proxy by the end of the queue, start over. #5

Closed dawid2193487 closed 5 years ago

dawid2193487 commented 5 years ago

I would like to be able to run this on my Raspberry Pi at all times, so that when I want to join 2b2t I've already made some progress in the queue

This way, the moment I decide to join 2b2t I'll probably have already made some progress in the queue.

themoonisacheese commented 5 years ago

A version that stores packets you missed and sends them back when you connect is already in the works, but i've got exams at the moment.

Le jeu. 28 mars 2019 à 20:39, Dawid Pietrzak notifications@github.com a écrit :

I would like to be able to run this on my Raspberry Pi at all times, so that when I want to join 2b2t I've already made some progress in the queue

  • Track position in queue
  • If the position in queue is 1 and player hasn't connected yet, disconnect and reconnect again.

This way, the moment I decide to join 2b2t I'll probably have already made some progress in the queue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/themoonisacheese/2bored2wait/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AOzsQTmW-CP_wag7h8j83YU72UTwu_3tks5vbRpugaJpZM4cQ_Mo .

dawid2193487 commented 5 years ago

cool, but it's not what my feature has in mind. I don't want to be able to join after passing the queue, I want to stay in the queue but not join so the moment I do join I am somewhere in the 100s, not back at the end.

Also, rebroadcasting all packets might DoS the client if the player took a long time to join since you will send them all at once

themoonisacheese commented 5 years ago

added this in 925cb0ed80dde6280df988b4f0a3f59acfd08717 note that I didn't test it because the queue is 10h long, but it should work. please reopen if it doesn't work.