.:: 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 > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Reply
 
Thread Tools
Latest test version
Old
  (#1)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Latest test version - 02-04-2006

I have to upload it here because I cannot seem to be able to access the SourceForge.net CVS...
http://yapb.bots-united.com/src.arj

Changes including support of AMX weapon restriction (Thanks to KWo) and using TeamInfo message to detect teams. Note that this is not tested at all so don't be surprised if it's not working (but please tell me about it).

EDIT: made the changes suggested by THE_STORM, but it's still not tested. And I guess someone should really take over this job now...

Last edited by Whistler; 03-04-2006 at 11:34..
  
Reply With Quote
Re: Latest test version
Old
  (#2)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Latest test version - 02-04-2006

Oops so I made a linux build before a minute for nothing.

EDIT: Ok I just tested it. Team detection work good but sometimes the bots get confused and watch the enemy some time before to start to shoot it, maybe is because you use strange way for storing the teams information.
It is much better to get the teams for the real clients and bots both. This you can do if you put
Code:
if (msg_type == message_TeamInfo)
    botMsgFunction = BotClient_CS_TeamInfo
in this parts of the code
Code:
else if (msg_dest == MSG_ALL)
{
  // some code...
}
In This way you will get the teams for all the players in the server and you can store the teams in ThreatTab[].iTeam. Then you can use something like pBot->iTeam to get the bots teams. i.e
pBot->iTeam = Util_GetTeam(pBot->pEdict); and to update it on every 2 seconds or maybe 1.
Tell me if you don't think that this is good method.

Last edited by The Storm; 02-04-2006 at 19:50..
  
Reply With Quote
Re: Latest test version
Old
  (#3)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Latest test version - 03-04-2006

Thanks, I have made the changes.
  
Reply With Quote
Re: Latest test version
Old
  (#4)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Latest test version - 03-04-2006

Quote:
Originally Posted by Whistler
Thanks, I have made the changes.
Ok I just tested it. Works perfect. but why you again compile it with the metamod 1.17 sources? Take the 1.19p28 ones(metamod-p.sf.net). They don't need change sinse the coder made it complitable with MSVC.
Quote:
Originally Posted by Whistler
And I guess someone should really take over this job now...
Are you stoping to develop YaPB? What happened with the Gina bot teamplate? You left undone work man.
  
Reply With Quote
Re: Latest test version
Old
  (#5)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Latest test version - 03-04-2006

Quote:
Originally Posted by THE_STORM
What happened with the Gina bot teamplate? You left undone work man.
well I actually haven't touched that stuff for almost 10 months, maybe I just created a vaporware, wow but if someone is interested in that I will be glad to hear.
  
Reply With Quote
Re: Latest test version
Old
  (#6)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,618
Join Date: Jul 2004
Location: Bulgaria
Default Re: Latest test version - 03-04-2006

Ok then make some final step. Update the sources of YaPB to use metamod 1.19 and publish it in to the YaPB web site as new version then if you want you can left it.
  
Reply With Quote
Re: Latest test version
Old
  (#7)
visualtim
CS Bot Newbie
 
visualtim's Avatar
 
Status: Offline
Posts: 16
Join Date: Jan 2006
Location: Aridzona
Default Re: Latest test version - 04-05-2006

I've been using the new test version for a while now and it causes my dedicated server to crash every two hours, give or take a minute or two.

I've debugged by eliminating possibilities such as my AMX plugins and the maps that are in the mapcycle.txt, but as it turns out, I've gotten it to run to three hours now after disabling YaPB.

I'm using MetaMod 1.18 and AMX Mod X version 1.6 .


--Tim¤
  
Reply With Quote
Re: Latest test version
Old
  (#8)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Latest test version - 04-05-2006

try Metamod 1.17 instead as my version is compiled with Metamod 1.17. Or build yourself a Metamod 1.18 version.
  
Reply With Quote
Re: Latest test version
Old
  (#9)
visualtim
CS Bot Newbie
 
visualtim's Avatar
 
Status: Offline
Posts: 16
Join Date: Jan 2006
Location: Aridzona
Default Re: Latest test version - 04-05-2006

I tried Metamod's version 1.17 and AMX wouldn't even start up. I downloaded the new 1.19 and that works with AMX perfectly, but again, YaPB doesn't work with 1.19 at all. I like the suggestion by The Storm to have YaPB compatable with the new 1.19 and I'll just wait until the final version comes out.


--Tim¤
  
Reply With Quote
Re: Latest test version
Old
  (#10)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Latest test version - 05-05-2006

or you can also try loading the dll with "+localinfo mm_gamedll addons/yapb/dlls/podbot.dll" way.
  
Reply With Quote
Reply


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