Game time update

Game time update

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Game time update

Post by clericvash »

I noticed this which actually annoyed me
* Show ping in wallclock time instead of game time (ie. scale with speedFactor).
To be honest i like to know how long i have been playing without speed adjustments in mind. Why should the game speed affect game time, answer is it shouldn't, and doesn't, so why speed up the timer?
User avatar
BvDorp
Posts: 439
Joined: 14 Oct 2005, 12:09

Re: Game time update

Post by BvDorp »

clericvash wrote:I noticed this which actually annoyed me
* Show ping in wallclock time instead of game time (ie. scale with speedFactor).
To be honest i like to know how long i have been playing without speed adjustments in mind. Why should the game speed affect game time, answer is it shouldn't, and doesn't, so why speed up the timer?
+1
Torrasque
Posts: 1022
Joined: 05 Oct 2004, 23:55

Post by Torrasque »

I think you shoud read it twice ;)
He doesn't modifiy the game time.
He speak about the ping, wich arificialy became very heigh if you are in +10, or very low, if you are in +0.1 .
Last edited by Torrasque on 16 Aug 2006, 19:50, edited 1 time in total.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

what Torrasque said indeed.

I only fixed a bug in display of ping time, being that it was shown in gametime milliseconds instead of wallclock time milliseconds (which is what you expect for a ping time).

EDIT: so the .clock gametime is not modified at all.

EDIT: e.g. with speed 3 spring showed the ping 3 times too high (shown ping worse then actual), with speed 0.3 spring showed the ping approx. 3 times too low (shown ping better then actual).
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Post by clericvash »

Well the development log wasn't very clear on that :P
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

I meant to patch that a while ago and totally forgort about it, until I read that log entry today...
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

clericvash wrote:Well the development log wasn't very clear on that :P
Well I don't really feel like typing pages of examples in a commit message when the fix is a single changed line.

Also, the log isn't targeted at random enduser public, but rather at ourselves (the developers), to know in the future what changes may have caused which bugs etc.

(The log message already was significantly longer then the fix, let alone this thread...)
Post Reply

Return to “Engine”