TribesNext

Welcome, Guest. Please login or register.
Did you miss your activation email?


TribesNext >  TribesNext.com Forums >  Tribes 2 >  Mods and Customization >  Botlimit Patch V3.0 (tested up to 300 bots) « previous next »
Pages: [1] Print
Author Topic: Botlimit Patch V3.0 (tested up to 300 bots)
Bahke
Nugget
Posts: 7

View Profile
March 22, 2017, 11:27:38 AM »
I have created a new version of the bot limit extending patch.  I've tested it up to 300 bots with minor lag, and 170 bots with no lag problems on my computer.
It requires high single thread performance to run with 170 bots.

The patch is a two part patch due to the need to allocate another memory segment in the executable to store extra data for the AI code.  The only changes are to the code and data which reference the original memory addresses, and a bunch of zeros to store the AI code data into.  The other part is a replacement console_start.cs which allows using "-botpatch" as an argument to enable the second patch.  Please make sure to backup the tribesnext console_start.cs file to another directory before replacing it.  It also includes a network patch to improve network throughput for a dedicated server using more bots.  Also, there is a slight chance this patch can cause problems with server listings, so please test it and make sure you can still get a server list without crashing.  If you cannot, stop the server immediately and reply to this thread.  There is also a chance that the server will UE when it would normally stop, like during a server reboot.  That has a chance to cause DSO corruption which can be corrected by removing all non-readonly DSOs.  By using this patch, you agree to not hold me responsible if it breaks your server, or if anything else happens. (It should not break your server, but if DSOs get corrupted or a file isn't backed up it could temporarily break something.)

Start the dedicated server like: "tribes2bots7.exe -botpatch -dedicated -mod Classic"
You will probably have to manually add bots using another script, or addBots(100); for testing.

Here are the two files:

https://dl-web.dropbox.com/s/z8od3k254vn4ycw/console_start.cs

https://dl-web.dropbox.com/s/hyw0saa7e4ijn71/tribes2bots7.exe
rJay
Scout

Posts: 396

View Profile
1: March 22, 2017, 03:56:19 PM »
I have created a new version of the bot limit extending patch.  I've tested it up to 300 bots with minor lag, and 170 bots with no lag problems on my computer.
It requires high single thread performance to run with 170 bots.

The patch is a two part patch due to the need to allocate another memory segment in the executable to store extra data for the AI code.  The only changes are to the code and data which reference the original memory addresses, and a bunch of zeros to store the AI code data into.  The other part is a replacement console_start.cs which allows using "-botpatch" as an argument to enable the second patch.  Please make sure to backup the tribesnext console_start.cs file to another directory before replacing it.  It also includes a network patch to improve network throughput for a dedicated server using more bots.  Also, there is a slight chance this patch can cause problems with server listings, so please test it and make sure you can still get a server list without crashing.  If you cannot, stop the server immediately and reply to this thread.  There is also a chance that the server will UE when it would normally stop, like during a server reboot.  That has a chance to cause DSO corruption which can be corrected by removing all non-readonly DSOs.  By using this patch, you agree to not hold me responsible if it breaks your server, or if anything else happens. (It should not break your server, but if DSOs get corrupted or a file isn't backed up it could temporarily break something.)

Start the dedicated server like: "tribes2bots7.exe -botpatch -dedicated -mod Classic"
You will probably have to manually add bots using another script, or addBots(100); for testing.

Here are the two files:

https://dl-web.dropbox.com/s/z8od3k254vn4ycw/console_start.cs

https://dl-web.dropbox.com/s/hyw0saa7e4ijn71/tribes2bots7.exe

Nice work. My computer would probably cry.

Romans 1:16
robertom2002
Seņor Nugget

Posts: 185

View Profile
2: March 23, 2017, 11:37:19 AM »
Pretty damn impressive. I haven't tested it yet but I'm glad you made a very easy method to add so many bots. I'm gonna try that on a big map with lots of bot objectives.

Sil3nt 3agle
Nugget

Posts: 13

View Profile
3: March 26, 2017, 06:04:52 AM »
your patch making UEs
Bahke
Nugget
Posts: 7

View Profile
4: March 29, 2017, 04:49:54 AM »
Sorry, I need to fix a bug which causes UEs when going over 170-180 bots.  I am no longer hosting the server with the patch until I figure out why the problem happened again.
Sil3nt 3agle
Nugget

Posts: 13

View Profile
5: March 29, 2017, 02:22:31 PM »
Sorry, I need to fix a bug which causes UEs when going over 170-180 bots.  I am no longer hosting the server with the patch until I figure out why the problem happened again.
no problem i just sad that because i wanted to notify you by the way good luck fixing problem
Pages: [1] Print 
« previous next »
Jump to:  

irc.quakenet.org / #TribesNext Powered by SMF  © Simple Machines
anything