![]() |
![]() |
BadLife |
![]()
Post
#1
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 ![]() |
![]() ![]() |
![]() ![]() |
w00tguy123 |
![]() ![]()
Post
#2
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 69 Joined: 9-March 07 Member No.: 1,069 ![]() |
Hi Cheeseh,
I've been trying to get the latest sources (the ones you posted in this thread) working with SC 4.7. The problem I'm having atm is something you've already fixed, which is getting bots to recognize enemies. The source of the problem is in this snippet here from the IsEnemy function: CODE CBaseEntity *pEnt = CBaseEntity::Instance(pEnemypev); // (CBaseEntity*)GET_PRIVATE(pEntity); if ( !pEnt->m_fPlayerAlly ) { int iClass = pEnt->Classify(); ...... m_fPlayerAlly is always true, so IsEnemy never returns true. Even if I force my way into that if-statement the game crashes on calling Classify(). Do you remember what was changed to get this working? Or better yet, do you have the current source for RCBot 4.7? |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 15th June 2025 - 12:59 AM |