Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
total_secs: strange behaviour #283737
08/09/09 18:49
08/09/09 18:49
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I've got a strange behaviour of the total_secs var.

Sometimes it counts up several seconds within one second (it seems that this happens after a level_load).

I found the following in my log file:

[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 40
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 41
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 42
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 43
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 44
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 45
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 46
[20:05:34] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 47
[20:05:35] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 48
[20:05:36] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 49
[20:05:37] INFO [void speak_fct(ENTITY* ent, STRING* str, int r, int g, int b)]: total_secs: 50

As you can see it counts up from 40 to 47 within one second and then everything works fine from 48 upwards.

Is it a bug or maybe some kind of synch after level_load?

Regards,
Pegamode.

Re: total_secs: strange behaviour [Re: pegamode] #284209
08/12/09 08:05
08/12/09 08:05
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
The latter.

Re: total_secs: strange behaviour [Re: jcl] #284330
08/12/09 20:15
08/12/09 20:15
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Ok. Then I have to use a workaround with a wait(-1) function for my usage.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1