Thread: badf error
View Single Post
Re: badf error
Old
  (#4)
Whitey
Member
 
Status: Offline
Posts: 19
Join Date: May 2006
Default Re: badf error - 16-05-2006

Ok, I realised I need HLDK and metamod source (duh)... I tried recompiling after setting the paths in makefile correctly and made again...



Code:
bot.cpp:7544: error: `EF_NODRAW' undeclared (first use this function)
bot.cpp:7548: error: `FL_CLIENT' undeclared (first use this function)
bot.cpp:7551: error: `UTIL_GetTeam' cannot be used as a function
bot.cpp:7552: error: `IsAlive' cannot be used as a function
bot.cpp:7565: error: `FInViewCone' cannot be used as a function
bot.cpp:7694: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7697: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7702: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7702: error: `ignore_glass' undeclared (first use this function)
bot.cpp:7702: error: `UTIL_TraceLine' undeclared (first use this function)
bot.cpp:7708: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7737: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7738: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7750: error: `Vector2D' undeclared (first use this function)
bot.cpp:7750: error: expected `;' before "vec2DirToPoint"
bot.cpp:7751: error: expected `;' before "vec2RightSide"
bot.cpp:7756: error: `vec2DirToPoint' undeclared (first use this function)
bot.cpp:7756: error: 'struct bot_t' has no member named 'dest_origin'
bot.cpp:7757: error: `vec2RightSide' undeclared (first use this function)
bot.cpp:7768: error: `DotProduct' undeclared (first use this function)
bot.cpp:7897: error: 'struct bot_t' has no member named 'pBotEnemy'
bot.cpp:7902: error: 'struct bot_t' has no member named 'pBotPickupItem'
bot.cpp:7903: error: 'struct bot_t' has no member named 'pItemIgnore'
bot.cpp:7903: error: 'struct bot_t' has no member named 'pBotPickupItem'
bot.cpp:7905: error: 'struct bot_t' has no member named 'pBotPickupItem'
bot.cpp:7908: error: 'struct bot_t' has no member named 'pShootBreakable'
bot.cpp:7928: error: `IN_MOVELEFT' undeclared (first use this function)
bot.cpp:7928: error: `IN_MOVERIGHT' undeclared (first use this function)
bot.cpp:7942: error: `UTIL_ClampVector' cannot be used as a function
bot.cpp:7943: error: `UTIL_ClampVector' cannot be used as a function
bot.cpp: In function `bool BotHasHostage(bot_t*)':
bot.cpp:7962: error: 'struct bot_t' has no member named 'pHostages'
bot.cpp:7962: error: `FNullEnt' undeclared (first use this function)
bot.cpp:7963: error: `TRUE' undeclared (first use this function)
bot.cpp:7965: error: `FALSE' undeclared (first use this function)
bot.cpp: At global scope:
bot.cpp:7978: error: `Vector' has not been declared
bot.cpp:7979: error: ISO C++ forbids declaration of `vecTargetPos' with no type
bot.cpp: In function `bool IsDeadlyDrop(bot_t*, int)':
bot.cpp:7982: error: `edict_t' undeclared (first use this function)
bot.cpp:7982: error: `pEdict' undeclared (first use this function)
bot.cpp:7982: error: 'struct bot_t' has no member named 'pEdict'
bot.cpp:7983: error: `Vector' undeclared (first use this function)
bot.cpp:7983: error: expected `;' before "vecBot"
bot.cpp:7984: error: `TraceResult' undeclared (first use this function)
bot.cpp:7984: error: expected `;' before "tr"
bot.cpp:7987: error: expected `;' before "vecMove"
That's a smidgon of all the errors...


EDIT:

Just saw your post KWo, I'll try that now .



/Whitey
  
Reply With Quote