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:)
You are not logged in. Please login or register.
Teeworlds Forum → Modifications → 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:)
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.
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.
Teeworlds Forum → Modifications → Paradox or im noob? xD
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.