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? |
Cheeseh |
Jun 26 2013, 12:09 PM
Post
#3
|
Admin Group: Admin Posts: 3,056 Joined: 11-September 03 From: uk Member No.: 1 |
The basemonster/baseentity classes were changed by svencoop, they gave me the version they were using at about version 4.0 or 4.5 (i forgot). But any way I'm using their classify now, but it's still using the !playher_ally thing, so I'll remove that and try it out
|
Lo-Fi Version | Time is now: 17th April 2024 - 09:22 PM |