Game Development Community

Setarmthreadplayonce Error help

by Ken Johnston · in Torque Game Engine · 07/25/2007 (7:41 pm) · 3 replies

Ive been spending alot of time trying to correct this error, which occurs after following the simple melee system for tge 1.5.2 .

I have read all the posts on this error and tried the different methods for beating this without success. i integrated all the code with winmerge and checked it several times for correctness,

tried adding a custom look animation with no luck.

so i downloaded torsion and ran the debugger and suddenly it works but only while in debug through torsion. so i thought maybe i hadnt cleared the old dso's after the updates and no luck. I am really stumped on this. the code works in debug but not without it.

anyone have any ideas why this is so?

#1
07/26/2007 (9:35 pm)
So playing with this a bit more i find the melee resource scripts work just fine if running torque debug.exe with torque.exe.

running just torque.exe i get the setarmthreadplayonce error...any ideas?
#2
07/27/2007 (5:10 pm)
If I understand your last post, that torque_demo.exe works but torque.exe doesn't, its because when you compiled the changes to the source code it only created the torque_demo.exe.

the other torque.exe is the original unmodified exe that came with torque.

This all depends on what "Build" you have selected when you compile the engine. If you compile with debug settings, it will produce the torque_debug.exe. If you compile with Release settings, it will produce torque.exe.

Hope this helps!
#3
07/27/2007 (7:53 pm)
Yup that was the problem, it works great now thanks...didnt realize rebuild all only built the debug... thanks again that solved hours of frustration...