.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Releases, Installers, Docs & Coding (http://forums.bots-united.com/forumdisplay.php?f=48)
-   -   POD-bot back into shape. (http://forums.bots-united.com/showthread.php?t=833)

DreamLord34 25-02-2004 04:13

Re: POD-bot back into shape.
 
Ok I'm still not getting anything even with that config file.
My ivpbot folder is at D:\hlserver2\cstrike\ivpbot.
As far as I can thell, that is right but never loads.

Whistler 25-02-2004 05:08

Re: POD-bot back into shape.
 
Thanks again PM. Now this may be nice...
Code:

    if (m_iAimFlags < AIM_LASTENEMY)
    {
          // check if we're going through a door...
          UTIL_TraceLine(pev->origin, m_vecDestOrigin, ignore_monsters, edict(), &tr);
 
          if (tr.flFraction < 1.0 && !FNullEnt(tr.pHit))
          {
                  if (FClassnameIs(tr.pHit, "func_door") ||
                        FClassnameIs(tr.pHit, "func_door_rotating"))
                  {
                        // Always face the door when going through it
                        m_iAimFlags |= AIM_ENTITY;
                        // PMB: don't use the origin of the door
                        m_vecEntity = m_vecDestOrigin;
                        // If the door is near enough...
                        if (Length2(VecBModelOrigin(tr.pHit) - pev->origin) < 2500)
                        {
                            m_flNoCollTime = gpGlobals->time + 0.5; // don't consider being stuck
                            if (RANDOM_LONG(1, 100) < 50)
                                  pev->buttons |= IN_USE; // Also 'use' the door randomly
                        }
                  }
          }
    }


Pierre-Marie Baty 25-02-2004 06:57

Re: POD-bot back into shape.
 
Okay lads, fixed a shitload of bugs again. It appears that I had *REALLY* rushed this version. Now that I have finally succeeded in running Steam on my machine I could test the bot and fix a few bugs. Here's the new changelog
Quote:

+ (some time later) GEEZ, looks like I had rushed this version. Back to it
again, and VERY ANGRY!!!
+ Rewrote the messy CS buy routines in a clean way at last
+ Fixed Count Floyd's experimental A* pathfinder. He was using no heuristic!!!
+ Fixed bots too shy, was linked to the absence of heuristic function. I wrote
a square distance heuristic (no sqrt involved. Fast and efficient)
+ Because of an important change in the way the pathfinder behaves, you should
delete all your .pxp files again, or use untouched .pxp files from PB 2.5
+ Fixed bots don't buy in CS 1.6 after the first round.
+ Fixed BotSpawnInit() calls zapping the bot's brains several times in a row
+ Fixed bots trying to pick up a new weapon without discarding the shield
+ Fixed VERY COMMON crash bugs in bot chat functions (ThreatTab index > 31)
+ Fixed yet another whole shitload of crash bugs on bad entities (w/ FNullEnt)
+ Got rid of the unused MOTD message catching
+ Bots now know when icons are blinking on their HUD: bomb, defuser, buy zone
+ Delayed bots buying so that they don't buy all in the same frame (lag issue)
+ Fixed bots having trouble at doors. Bot navigate doors perfectly now.
+ Bots pay much more attention to the mission goals now. They don't mess
around anymore doing idle stuff, they deploy and go to the goal.
+ Fixed bots getting stuck on ladders where a func_breakable would block them
+ Now using ServerActivate() instead of StartFrame() to catch map changes
+ The A* pathfinder should be faster now
+ Took the buying code out of the message queue. WTF was it doing there ???
+ Rewrote team/class selection function: 3 times shorter, twice as efficient.
+ Now the bot is pretty much more stable.
Get the new one at the same URL:
http://racc.bots-united.com/releases/podbot.zip

Sorry for all the fuss. I guess I should better go to bed now :)

Pancak3 25-02-2004 07:00

Re: POD-bot back into shape.
 
did u take out the +localinfo ivpbot/ivpbot.dll in your command line?

DreamLord34 25-02-2004 07:06

Re: POD-bot back into shape.
 
Ok I changed the dll for mEAN & I assume IVPBot is loading via that configs.ini file as I now have RB learning from IVPBot.
With this new podbot.dll, will it & RB play nicely?

[+Duracell-] 25-02-2004 07:07

Re: POD-bot back into shape.
 
Quote:

Originally Posted by Pierre-Marie Baty
*snip*

So will this alleviate the Realbot/Podbot crashing when loaded at the same time, or is this a Realbot problem that stefan has to fix?

DreamLord34 25-02-2004 07:12

Re: POD-bot back into shape.
 
Can someone test it to see if it still crashes?
I'm running IVP with RB at the moment reteaching RB.
Anyone have more waypoints for IVP I could use besides the default?

Pierre-Marie Baty 25-02-2004 07:19

Re: POD-bot back into shape.
 
I believe it's a RealBot problem... the test is simple: if it crashes in module podbot_mm.dll, it's a problem with the podbot code, but if it crashes in module realbot_mm.dll it's a RealBot problem and it's up to Stefan.

I'd be interested to know the results of this test :)

[+Duracell-] 25-02-2004 07:21

Re: POD-bot back into shape.
 
Quote:

Originally Posted by Pierre-Marie Baty
I believe it's a RealBot problem... the test is simple: if it crashes in module podbot_mm.dll, it's a problem with the podbot code, but if it crashes in module realbot_mm.dll it's a RealBot problem and it's up to Stefan.

I'd be interested to know the results of this test :)

You are correct...the Realbot dll is causing the crash, if I remember looking right

@Dreamlord, how are you getting Ivp and RB to run at the same time?

DreamLord34 25-02-2004 07:24

Re: POD-bot back into shape.
 
Using a configs.ini in my metamod folder & also using mEAN. It wouldn't load before but since I changed the mean.dll to the mean_cs16.dll, they're working fine now.


All times are GMT +2. The time now is 10:55.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.