Quote:
Originally Posted by Cooley
Here is the new error
hlds_i686: bot.cpp:8088: void BotThink(bot_t *): Assertion `(pEdict->v.ideal_yaw > -181.0) && (pEdict->v.ideal_yaw < 181.0)' failed.
./hlds_run: line 423: 17605 Aborted $HL_CMD
Add "-debug" to the ./hlds_run command line to generate a debug.log to help with solving this problem
|
This is the weirdest error I've ever seen. There is a UTIL_ClampAngle() call on pEdict->v.ideal_yaw just above the failing assert(), and ClampAngle can't let an overflown angle pass, so the assert should NEVER fail, but it does ???
The only reason perhaps is that pEdict points to an invalid entity, and ClampAngle lands in a highly volatile part of the memory. In which case it's a strange behaviour of Linux, because the program should have crashed sooner already.
Try this new library, I've added a check preventing BotThink() to be called when pEdict is invalid (it should never happen but who knows ?)
http://racc.bots-united.com/podbot_mm_i386.so