home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


sauerteig masterserver

by hungerburg on 05/15/2007 20:39, 3 messages, last message: 09/21/2007 09:08, 883 views, last view: 04/07/2024 21:24

hello!

being a bit homebound due to a broken foot (not leg), and since being innocent owner of a capable graphics card for a few weeks now that did wonders with sauerbraten :) and the topic keeping coming up on the forum - I decided to continue the work on the free masterserver code. for your reading pleasure visit http://www.myzel.net/hungerburg/sauerteig - its just a proof of concept; yet, somebody may have a use for it.

peter

   Board Index   

#1: Small problem

by SleepwalkR on 05/16/2007 09:44

I think there is a problem in that code. You send the current timestamp (in ms) to the servers, but I think that this will overflow. If I remember correctly, this number will not fit in the ints that you can send to or receive from the servers, and thus, your ping time will be wrong.

I usually just send the ms since the master started to the servers, this number is sufficently small enough for quite a while =).

reply to this message

#2: Re: Small problem

by hungerburg on 05/16/2007 12:40, refers to #1

Thank you SleepwalkR!

I corrected the bug :) The script now gives reasonable ping times on localhost - I really thought, the perl interpreter was sucking up that much time!

Yours
peter

reply to this message

#3: bump

by ATIRULE on 09/21/2007 09:08

Bumpy

hope its helps someone

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53863767 visitors requested 71638882 pages
page created in 0.022 seconds using 10 queries
hosted by Boost Digital