.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   Turn off Bots shooting back after Teamattack (http://forums.bots-united.com/showthread.php?t=9978)

RoboCop 07-06-2018 19:19

Re: Turn off Bots shooting back after Teamattack
 
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.

KWo 07-06-2018 22:42

Re: Turn off Bots shooting back after Teamattack
 
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

RoboCop 09-06-2018 05:13

Re: Turn off Bots shooting back after Teamattack
 
1 Attachment(s)
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!

Mordekay 09-06-2018 08:15

Re: Turn off Bots shooting back after Teamattack
 
Did you reduce the time bots doing they "revenge-shooting"?

RoboCop 11-06-2018 00:47

Re: Turn off Bots shooting back after Teamattack
 
Not me.

KWo 11-06-2018 23:10

Re: Turn off Bots shooting back after Teamattack
 
Quote:

Originally Posted by RoboCop (Post 67109)
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 (Post 67113)
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.

Mordekay 12-06-2018 00:33

Re: Turn off Bots shooting back after Teamattack
 
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.

Mordekay 13-06-2018 13:02

Re: Turn off Bots shooting back after Teamattack
 
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.

RoboCop 13-06-2018 14:34

Re: Turn off Bots shooting back after Teamattack
 
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.

Mordekay 13-06-2018 20:55

Re: Turn off Bots shooting back after Teamattack
 
Server crashing was not my problem, nor from the original author of this thread. All the problem was the "bad bot behaviour".


All times are GMT +2. The time now is 21:26.

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