.:: 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 > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
Re: Turn off Bots shooting back after Teamattack
Old
  (#31)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 217
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: Turn off Bots shooting back after Teamattack - 07-06-2018

Well for this POD-Bot src files it appears it got no Visual Studio nor MSVC6 project files, as this uses a Linux Makefile only and had been cross-compiled by GCC with Cygwin or MinGW for Windows builds. It maybe very hard to learn and how to use Makefile on Linux Terminal as well adjusting the Compile Flags for GCC. Best use your search engine and maybe look up from superuser.com or Ubuntu forums. But I don't know if AlliedMods forums will give you some professional guides, as I'm not a C++ expert, sorry.





vBulletin Webmaster since 2001
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#32)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Turn off Bots shooting back after Teamattack - 07-06-2018

For linux builds I was using CYGWIN application. Of course with linux gcc files. More info about how I was compiling binaries for windows and linux under windows You can try to find here:
How to compile binaries (dll, so) under windows
The MSVC project files are posted here:
http://forums.bots-united.com/showpo...7&postcount=23
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#33)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 217
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: Turn off Bots shooting back after Teamattack - 09-06-2018

Alright I've added your script fix for "(pEdict->v.dmg_inflictor != clients[i].pEdict)" and recompiled the debug versions for both Windows and Linux POD-Bot. They aren't as a complete package and for Linux servers to load POD-Bot you will need to remove in /addons/metamod/plugins.ini file the "_i386" suffix from "linux addons/podbot/podbot_mm_i386.so".

And it appears that POD-Bot Debug V3B23-APG build is running fine on my CS 1.6 Linux server!
Attached Files
File Type: zip podbot-debug.zip (607.1 KB, 642 views)





vBulletin Webmaster since 2001
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#34)
Mordekay
Member
 
Status: Offline
Posts: 19
Join Date: Sep 2006
Default Re: Turn off Bots shooting back after Teamattack - 09-06-2018

Did you reduce the time bots doing they "revenge-shooting"?
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#35)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 217
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: Turn off Bots shooting back after Teamattack - 11-06-2018

Not me.





vBulletin Webmaster since 2001
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#36)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Turn off Bots shooting back after Teamattack - 11-06-2018

Quote:
Originally Posted by RoboCop View Post
Alright I've added your script fix for "(pEdict->v.dmg_inflictor != clients[i].pEdict)" and recompiled the debug versions for both Windows and Linux POD-Bot. They aren't as a complete package and for Linux servers to load POD-Bot you will need to remove in /addons/metamod/plugins.ini file the "_i386" suffix from "linux addons/podbot/podbot_mm_i386.so".

And it appears that POD-Bot Debug V3B23-APG build is running fine on my CS 1.6 Linux server!
Quote:
Originally Posted by RoboCop View Post
Not me.
If You have added the fix, then the time of team revenge is reduced to 1.5 sec.
@Mordekay - please try if it's satisfying You.
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#37)
Mordekay
Member
 
Status: Offline
Posts: 19
Join Date: Sep 2006
Default Re: Turn off Bots shooting back after Teamattack - 12-06-2018

Not really. If i attack a bot it still most of the time kills me.
Another Thing. Sometimes a bot attacks your although your did not attack hin, but while shooting an enemy.
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#38)
Mordekay
Member
 
Status: Offline
Posts: 19
Join Date: Sep 2006
Default Re: Turn off Bots shooting back after Teamattack - 13-06-2018

Not really. They still most of the time kill me if i attack them.


Another thing i noticed is that sometimes bots start shooting each other although they didn't got atacked. Seems like they just start to shoot you because you are shooting, no matter if you hit them or not. If they don't see an enemy while you are shooting they atack you or the other bot. I guess this is also part of this code.
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#39)
RoboCop
vBulletin Veteran
 
RoboCop's Avatar
 
Status: Offline
Posts: 217
Join Date: Feb 2013
Location: Dundee, Scotland
Default Re: Turn off Bots shooting back after Teamattack - 13-06-2018

Well the good news is from my side is they haven't crashed for 4 days on my Linux CS 1.6 server. Even though I use some lightweight plugins that doesn't use too much of my CS 1.6 server's utilisation and consumption.

Their interactions doesn't seem to as good as YaPB for all I know. And as for the SSE2 and i686 optimisations I cannot tell if they are working faster but that's because they are compiled as Debug builds that can spew more logs and specific details that flood my .log files too much and my Linux Terminal.





vBulletin Webmaster since 2001
  
Reply With Quote
Re: Turn off Bots shooting back after Teamattack
Old
  (#40)
Mordekay
Member
 
Status: Offline
Posts: 19
Join Date: Sep 2006
Default Re: Turn off Bots shooting back after Teamattack - 13-06-2018

Server crashing was not my problem, nor from the original author of this thread. All the problem was the "bad bot behaviour".
  
Reply With Quote
Reply


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

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