Help on Cafe Timer Software Concept

Everything else that doesn't fall into one of the other PB categories.
astonfr
New User
New User
Posts: 5
Joined: Sun Aug 03, 2008 8:04 am

Help on Cafe Timer Software Concept

Post by astonfr »

Anyone has any idea how do cafe timers work?

How does the server get synced with the client?
Do the client also runs his own timer and only updates when a new time was sent by the server? Or the server constantly sends time info to the client like pinging it?

What is the best solution to keep the server/client synced in their time information and even if the server gets down the client still runs the timer?

THanks for all the Help
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

The server will just send updates to the client if only needed.
In my timer, the server will sync every minute to the client pc. It will send how much time is used, the cost of the usage, and also send a request about the program they are using.

If the server is disconnected, the client will run its own timer until the server send an update.

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
astonfr
New User
New User
Posts: 5
Joined: Sun Aug 03, 2008 8:04 am

Post by astonfr »

many thanks

OOT
I found this language because of you
jcv rotools
ka
rocp
JCV
Enthusiast
Enthusiast
Posts: 580
Joined: Fri Jun 30, 2006 4:30 pm
Location: Philippines

Post by JCV »

Ah. Now you know how amazing PB can do.
Im already out of the game hacking scene. :)
Good luck on your system. :wink:

[Registered PB User since 2006]
[PureBasic 6.20][SpiderBasic 2.2]
[RP4 x64][Win 11 x64][Ubuntu x64]
Post Reply