1

Topic: Paradox or im noob? xD

Ok, i used

 
m_TimeAT = Server()->TickSpeed()*2.5f;
//m_TimeAT - float

But! On linux it rly 2.5 secs, but on windows its over 10 secs.
WTF?

Tell me where im wrong, please:)

2

Re: Paradox or im noob? xD

Oh, did you read what you wrote?

Try to explain better what you want, what you need, what you did, and what you don't understand.

3 (edited by 2014-02-22 11:05:55)

Re: Paradox or im noob? xD

I declared a variable in character.h
...
In CCharacter::Tick()

m_TimeAT--;
if(m_TimeAT <= 0)
{
//The action
m_TimeAT = Server()->TickSpeed()*2.5f;
}

On linux machine "The action" executes every 2.5 secs (as i want)
On windows (win7) machine "The action" executes every 10 (or more) secs (WTF?)

Im sry im bad at Eng :[

I solved it.
Please close this topic, im noob.