It is currently Thu Mar 28, 2024 4:28 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
Offline
 Post subject: KGS app bug with clock
Post #1 Posted: Thu Sep 05, 2013 4:19 am 
Lives with ko

Posts: 130
Liked others: 16
Was liked: 25
Rank: KGS 5 kyu
GD Posts: 442
KGS: alejo
I just played a nightmare game through the KGS app.

Every once in a while during my opponents turn his time went by. But then, when he played, the time switched back as if I has been thinking that amount of time.

Example :

We both have 15 minutes left. My opponents turn. He strangely uses one minute for an obvious move. Then is my turn but, at the beginning of my turn, the clock shows 14:55 for him and 14:00 for me.

Actually I think that my opponent played within the first ten seconds but I didn't get the move till a minute later. During this time, the server assumed the clock was running for me. This server bug (a sort of unilateral lag) forced me to resign the game since I would lose on time eventually. We were around move 120 and I had only 2 minutes left form the initial 15.

I was playing through a 3G connection and webpages loaded fine... So it's not the ISP or my phone...

_________________
My blog about Go and Boardgames: Alejo's Tenuki

Top
 Profile  
 
Offline
 Post subject: Re: KGS app bug with clock
Post #2 Posted: Thu Sep 05, 2013 5:41 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
It's quite likely a connectivity problem. The fact that webpages load fast does not mean that KGS is loading fast, or that KGS messages are arriving fast. This happens when there is a more-than-significant lag in the connection.

In fact, it may be that your ISP has a caching server between connections and the real world: the pages you were browsing were "popular" pages? (like newspapers, news sites, etc)

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: KGS app bug with clock
Post #3 Posted: Thu Sep 05, 2013 8:21 am 
Lives with ko

Posts: 130
Liked others: 16
Was liked: 25
Rank: KGS 5 kyu
GD Posts: 442
KGS: alejo
The site I tried was, indeed, a news site. I was playing on my cell phone so I just checked that the connection worked fine. I didn't think about the caching server.

So... Once we know this issue exists isn't it possible to solve it from the server side?

One solution would be to send a "I've received your move" pingback when the cell phone receives the move. This would actually set the initial time for the turn...

_________________
My blog about Go and Boardgames: Alejo's Tenuki

Top
 Profile  
 
Offline
 Post subject: Re: KGS app bug with clock
Post #4 Posted: Thu Sep 05, 2013 11:37 am 
Gosei
User avatar

Posts: 1585
Location: Barcelona, Spain (GMT+1)
Liked others: 577
Was liked: 298
Rank: KGS 5k
KGS: RBerenguel
Tygem: rberenguel
Wbaduk: JohnKeats
Kaya handle: RBerenguel
Online playing schedule: KGS on Saturday I use to be online, but I can be if needed from 20-23 GMT+1
I'm pretty sure there's some reason why this is not already implemented, after all it would make disconnections far easier to manage (last Saturday I lost 3 minutes of game time and 10 minutes of real time because I had been disconnected, and wondering why my opponent was taking so long.) I can't be sure why, though, it depends on how KGS is engineered, and I have no idea how the clock is working.

_________________
Geek of all trades, master of none: the motto for my blog mostlymaths.net

Top
 Profile  
 
Offline
 Post subject: Re: KGS app bug with clock
Post #5 Posted: Thu Sep 05, 2013 6:51 pm 
Lives in sente

Posts: 852
Location: Central Coast
Liked others: 201
Was liked: 333
Rank: KGS [-]
GD Posts: 428
I agree that this sounds like it was a lag issue. Unfortunately, there is no way to solve this problem unless you are willing to trust the client computer clock (which opens all sorts of doors for cheating). There have been chess servers that try to solve it (on computers) using a local native timing program...but even that got broken into...

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group