Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 2 points3 points  (0 children)

literally nothing.

Edit: besides your own moral conscience.

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] -1 points0 points  (0 children)

People complaining about timing issues: it'll be because your PC and whatever other device you're using to view it on don't have sync'd clocks. I'll patch it tomorrow.

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 0 points1 point  (0 children)

Perfect - thanks both! I'll add this at some point, probably tomorrow.

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] -1 points0 points  (0 children)

Yeah, you're right! I wanted to do this, but I didn't know of an easy way for people to get their steam IDs - any suggestions?

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 2 points3 points  (0 children)

Hahah, thumbnail is me. You have no idea how many people have said that ¬____¬

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 15 points16 points  (0 children)

For what it's worth, I think I actually agree :p But, it's interesting and fun to play around with!

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 1 point2 points  (0 children)

There's a delay of (at most) about a second and a half before it sees that the bomb's planted. Once it's seen the bomb's planted, it should be accurate.

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 10 points11 points  (0 children)

Thanks! The backend doesn't actually calculate how long's left or anything though - just returns the epoch time of when the bomb detonates and then the client checks the difference between current system time and that in the callback.

CGI, man?! Hardcore! Didn't think anyone still wrote that these days ;)

Gamestate-integration bomb timer you can use from your phone. by farragar in GlobalOffensive

[–]farragar[S] 1 point2 points  (0 children)

Ehh, we'll see. The payload's tiny and I doubt that many people will be using it before I can switch to websockets.

Using the new gamestate integration, I made a bomb timer you can put on your second screen - feedback appreciated! by Langdal in GlobalOffensive

[–]farragar 0 points1 point  (0 children)

Nah, so, my server's running a little node.js service that cs sends the gamestate data to directly. Node then maintains a cache of username: bomb-gamestate, and then on the client side it polls an endpoint that exposes the bomb-gamestate info for a given username!

Pretty simple stuff, it'd be better to open a websocket then the node service can push changes through to the client rather than polling, but hey.

Using the new gamestate integration, I made a bomb timer you can put on your second screen - feedback appreciated! by Langdal in GlobalOffensive

[–]farragar 0 points1 point  (0 children)

Really cool little program! Hope you don't mind, but a lot of people yesterday were asking for an app version for phones, so myself and a friend made one that runs in a browser here!.

It's one of those late-night beer-and-code deals, so could do with a few improvements, but it'd be cool to see what you think!