IPB

Welcome Guest ( Log In | Register )

> Any one have the current source?
BadLife
post Dec 29 2008, 05:50 PM
Post #1


RCBot Fan
****

Group: Waypointers
Posts: 144
Joined: 15-November 03
Member No.: 111



blink.gif 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. unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
madmax2
post Feb 12 2013, 08:51 PM
Post #2


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Hey Cheeseh,

Yuraj, over at the svencoop site has offered to try & fix the friendly breakables issue w00tguy123 outlines in first post, third paragraph, here: http://rcbot.bots-united.com/forums/index....p;hl=breakables.

I'm not a coder, but I assume he would need the sources for rcbot_mm_SC46_debug.zip, that works with sc4.7/4.6? Or would the rcbot source for sc4.5 above work for him unsure.gif ? As I recall, the rcbot dll for sc4.5 didn't work right in sc4.6.

The new map quarter that was released with sc4.7 has this problem with rcbot, They shoot the friendly defend signs when they see them, instead of the enemies nearby. Apparently, there are other maps with the problem too, but I don't know which ones?

Could you possibly make the rcbot sc4.6/4.7 debug sources available to him? Here is the SC thread link he offered in... http://forums.svencoop.com/showthread.php?t=39937&page=3
[edit] w00tguy123, as well as Yaruj has offered to help with this too smile.gif [edit]

What I have seen in a couple other maps that is slightly different, is bots shooting objects that can't be broken with weapons fire, but only broken with melee such as crowbar. Examples would be the box at the end of the first vent in royals1 and the vent covers in the library in infested1. If bots get in the vents first they block the player from reaching the breakables with a crowbar sad.gif . [edit] To be honest, i'm not even sure this could be considered a bot problem? Why would a wood box or vent cover be only breakable with a crowbar, but not a gun blink.gif ? hmmm... doesn't make sense, seems like a map problem since it is the same for the player, it's just the bots can't figure it out... [edit]

BTW, awesome news on dod:s support in rcbot2. Genmac is going to have all the maps waypointed before I get it installed, great job guys biggrin.gif . My nephew bought me the game on steam, but I need to drag my desktop over to a friend's place to download on his broadband (i'm dialup). Hopefully in the next couple weeks i'll get it installed rolleyes.gif ? Can't wait to try rcbot2 out...

Later,
madmax2
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post Feb 14 2013, 01:20 AM
Post #3


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



Finally I've had the time to have a look at this, I've edited the code in my source (I finally found it) and am going to download SC4.7 to try it out

the edit should be simple like this,
CODE

BOOL BotFunc_BreakableIsEnemy ( edict_t *pBreakable, edict_t *pEdict )
{
    entvars_t *pEnemypev = &pBreakable->v;
    // i. explosives required to blow breakable
    // ii. OR is not a world brush (non breakable) and can be broken by shooting
    if ( !(pEnemypev->flags & FL_WORLDBRUSH) && !(pEnemypev->spawnflags & SF_BREAK_TRIGGER_ONLY) )
    {
        //return ( !(pEnemypev->effects & EF_NODRAW) || (pEnemypev->target && *STRING(pEnemypev->target)) );
        CBaseEntity *pEnt =  CBaseEntity::Instance(pEnemypev);// (CBaseEntity*)GET_PRIVATE(pEntity);
                
        int iClass = pEnt->Classify();

        // w00tguy
        if ( (iClass == -1) || (iClass == 1) || (iClass == 2) || (iClass == 3) || (iClass == 10) )
            return FALSE; // not an enemy

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic
BadLife   Any one have the current source?   Dec 29 2008, 05:50 PM
Cheeseh   :blink: I can't seem to find a link to the cu...   Dec 30 2008, 01:10 PM
Poka   This is an old topic but I'd be really interes...   Jan 26 2013, 09:04 AM
Cheeseh   This is an old topic but I'd be really intere...   Feb 10 2013, 12:47 PM
madmax2   Hey Cheeseh, Yuraj, over at the svencoop site has...   Feb 12 2013, 08:51 PM
Cheeseh   Finally I've had the time to have a look at th...   Feb 14 2013, 01:20 AM
Cheeseh   Finally I've had the time to have a look at t...   Feb 14 2013, 03:20 AM
madmax2   Wow :lol: that was fast.... thanks Cheeseh, I did...   Feb 14 2013, 04:03 AM
w00tguy123   Cheeseh comes to the rescue! I just started th...   Feb 14 2013, 05:04 AM
madmax2   Man, that was a late night waypoint session in qua...   Feb 14 2013, 09:14 PM
madmax2   Just some feedback on the new release.... I need ...   Feb 16 2013, 06:29 PM
w00tguy123   Hi Cheeseh, I've been trying to get the lates...   Jun 26 2013, 11:01 AM
Cheeseh   The basemonster/baseentity classes were changed by...   Jun 26 2013, 12:09 PM
Cheeseh   The basemonster/baseentity classes were changed b...   Jun 26 2013, 04:41 PM
w00tguy123   I made the suggestion above by removing that line...   Jun 26 2013, 09:36 PM
madmax2   Thanks Cheeseh, Just had a late breakfast, turned ...   Jun 26 2013, 06:47 PM
madmax2   Ok, I tested the dll on crystal/steampipeHL. The f...   Jun 26 2013, 08:24 PM
madmax2   Just had to jump in and clarify this, sorry... Y...   Jun 26 2013, 10:29 PM
Cheeseh   oops I forgot to say that the dll version I post...   Jun 26 2013, 10:34 PM
Cheeseh   oops I forgot to say that the dll version I poste...   Jun 26 2013, 10:46 PM
w00tguy123   oops I forgot to say that the dll version I poste...   Jun 26 2013, 10:58 PM
Cheeseh   Oh, nice! That cvar will come in handy. I can...   Jun 26 2013, 11:03 PM
Cheeseh   hmm. setting sc_breakable_classes_ally to "...   Jun 26 2013, 11:16 PM
w00tguy123   maybe I shouldve been a bit clearer with the comm...   Jun 26 2013, 11:22 PM
Cheeseh   I was using a test map for this, but quarter.bsp ...   Jun 26 2013, 11:31 PM
madmax2   okay seemed to be a bug with that code. you can...   Jun 27 2013, 12:03 AM
w00tguy123   this new link doesn't seem to work for me. di...   Jun 27 2013, 12:04 AM
madmax2   Change the extension from .zip to .7z in the link...   Jun 27 2013, 12:15 AM
w00tguy123   hmmm, I still only get 298 bytes. i tried .7z ...   Jun 27 2013, 12:18 AM
madmax2   @cheeseh Ok, will try this out today, thanks... :...   Jun 26 2013, 10:45 PM
madmax2   @cheeseh Oh, what do you think about a grapple wp...   Jun 26 2013, 10:51 PM
Cheeseh   @cheeseh Oh, what do you think about a grapple w...   Jun 26 2013, 10:52 PM
madmax2   yeah sounds like an idea, I'll have a look wh...   Jun 26 2013, 10:58 PM
w00tguy123   I tried "" both in console and in the ma...   Jun 26 2013, 11:07 PM
w00tguy123   That new version is mostly working. They will atta...   Jun 27 2013, 12:00 AM
madmax2   Never mind... heh heh :) ... got it to work... ...   Jun 27 2013, 12:20 AM
madmax2   Bots are still having problems shooting at inactiv...   Jun 27 2013, 03:22 AM
w00tguy123   They don't shoot inactive turrets in my map, b...   Jun 27 2013, 03:59 AM
madmax2   Hey w00tguy123, Sounds like you found the problem...   Jun 27 2013, 05:13 AM
madmax2   I got the mini-turrets to deactivate in murks (sc4...   Jul 1 2013, 10:42 PM
w00tguy123   Have you found any more maps with inactive/deactiv...   Jul 2 2013, 04:57 AM
RoboCop   Does anyone have the source code for RCBot v1.5 (o...   Dec 23 2015, 10:29 PM
madmax2   Hey RoboCop, I could be wrong, but I don't th...   Dec 24 2015, 06:58 PM
RoboCop   Hey RoboCop, I could be wrong, but I don't t...   Dec 26 2015, 12:42 PM


Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 05:35 PM