Any one have the current source? |
Any one have the current source? |
BadLife |
Dec 29 2008, 05:50 PM
Post
#1
|
RCBot Fan Group: Waypointers Posts: 144 Joined: 15-November 03 Member No.: 111 |
I can't seem to find a link to the current source. I know it's probably right out in the open but I sure don't see it.
|
w00tguy123 |
Jun 26 2013, 11:01 AM
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: 19th April 2024 - 06:21 PM |