Game Development Community

Time Error

by Timothy Castagna · in Torque Game Engine Advanced · 08/25/2008 (5:15 pm) · 2 replies

So i upgraded my computer with a new mother board, more ram, and a new video card and now when i run the engine in debug mode i get the following error

EventQueue::process: cannot advance to time in the past.

anyone have any ideas whats going on here? i did a recompile and that didnt help. I deleted the DSO files too and that didnt work. Any ideas would be great. Thanks

#1
08/25/2008 (6:03 pm)
Some motherboards have problems with timers when processes/threads move to other cores. You can see if this is your problem by forcing your app to run on a single core in task manager (go to processes, find your process, right click and set Affinity). If that works, then you a) need to install updated drivers, or b) cure it forever by forcing your app to run on a single core. You can do this by going to WinTimer.cpp, and in the constructor, adding this line:

SetThreadAffinityMask(GetCurrentThread(),1);
#2
08/26/2008 (6:35 am)
Thanks very much, ill try this when i get home