.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Releases, Installers, Docs & Coding
Releases, Installers, Docs & Coding Where the official development happens

Closed Thread
 
Thread Tools
Re: POD-bot back into shape.
Old
  (#31)
DreamLord34
Member
 
Status: Offline
Posts: 415
Join Date: Jan 2004
Default Re: POD-bot back into shape. - 24-02-2004

Ok gimme a few & I will get back to you.
  
Re: POD-bot back into shape.
Old
  (#32)
V or 'Tex
Member
 
Status: Offline
Posts: 121
Join Date: Feb 2004
Default Re: POD-bot back into shape. - 24-02-2004

Having the bots buy equipment might be a bonus.
  
Re: POD-bot back into shape.
Old
  (#33)
DreamLord34
Member
 
Status: Offline
Posts: 415
Join Date: Jan 2004
Default Re: POD-bot back into shape. - 24-02-2004

Ok they still don't like realbot as they caused hlds to crash within less then one minute, it was the realbot_mm.dll that crashed after adding podbots.
Server runs at a higher fps then with RB.....
Ok they still don't join at map change, Pierre.
The dll unloads at mapchange but fails to reload & sits as open when I do meta list.

Last edited by DreamLord34; 24-02-2004 at 04:40..
  
Re: POD-bot back into shape.
Old
  (#34)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: POD-bot back into shape. - 24-02-2004

about the door: IMO it's because bots just consider being stuck when they're passing through a door.

This works very well on my machine:
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;
 			m_vecEntity = VecBModelOrigin(tr.pHit);
 			// If the door is near enough...
 			if (Length2(m_vecEntity - pev->origin) < 2500)
 			{
 			   m_flNoCollTime = gpGlobals->time + 0.5; // don't consider being stuck
 			   if (RANDOM_LONG(1, 100) < 50)
 				  MDLL_Use(tr.pHit, edict()); // Also 'use' the door randomly
 			}
 		 }
 	  }
    }
 
    ChooseAimDirection();
    FacePosition(m_vecLookAt);
Also the BotRateGroundWeapon function doesn't always return positive.
  
Re: POD-bot back into shape.
Old
  (#35)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 24-02-2004

@Vor'Tex: they don't ? ???

@DreamLord: if it crashed in realbot_mm.dll it's RealBot's fault, we'll have to wait for Stefan. Additionally I know that he had the exact same problem of DLL not reloading after map change with RealBot and so I'd like to know what he did about it to get it fixed.

I will make the bots use the buy menu shortcuts in CS 1.6 and not browse through the normal buy menus, that might help them buying stuff.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Re: POD-bot back into shape.
Old
  (#36)
V or 'Tex
Member
 
Status: Offline
Posts: 121
Join Date: Feb 2004
Default Re: POD-bot back into shape. - 24-02-2004

They only buy on first round, and with $800 thats not much.

After that, if I drop something they may pick it up, but thats it.
  
Re: POD-bot back into shape.
Old
  (#37)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: POD-bot back into shape. - 24-02-2004

@Whistler: it's not necessarily a good idea to make bots look at the door's origin. The origin of a door entity behaves VERY strangely in the game. When the door has never been opened yet, the origin of its bounding box is normal (in the middle of the door), but once the door becomes pushed only once, its origin jumps 200 ft further although the model stays here!!! And this no matter if you read v.origin or go with VecBModelOrigin. Try it if you don't believe me, it's hallucinating

Anyway that's why I prefer the bot to look at the waypoint that's behind the door.

P.S: calling MDLL_Use() is cheating, you know that right ? You should consider doing pEdict->v.button |= IN_USE rather...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Re: POD-bot back into shape.
Old
  (#38)
DreamLord34
Member
 
Status: Offline
Posts: 415
Join Date: Jan 2004
Default Re: POD-bot back into shape. - 24-02-2004

Pierre, when I said that the podbot_mm.dll was sitting as open, RB wasn't loaded at the time as I disabled it. Just so you know. Haven't tried it since.
  
Re: POD-bot back into shape.
Old
  (#39)
DreamLord34
Member
 
Status: Offline
Posts: 415
Join Date: Jan 2004
Default Re: POD-bot back into shape. - 24-02-2004

Ok now this is strange..... I tried meta reload podbot & this is what I get;

L 02/24/2004 - 00:34:15: [META] ERROR: dll: Not unloading plugin 'POD-Bot'; already unloaded (status=opened)
L 02/24/2004 - 00:34:15: [META] ERROR: dll: Failed to unload plugin 'POD-Bot' for reloading
Reload failed for plugin 'POD-Bot'
If it's already unloaded, why won't mmeta rerload reload the dll?
  
Re: POD-bot back into shape.
Old
  (#40)
Pancak3
Guest
 
Status:
Posts: n/a
Default Re: POD-bot back into shape. - 24-02-2004

which is better ivpbot or pb podbots version?
cuz i need a bot to teach my realbots. Ivpbot works well with realbot. i c that u guys have problems works realbot and pb podbots together. so which is better??
  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com