Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!

Author Topic: B3 for Call of Duty BlackOps 3?  (Read 4380 times)

Offline blau grana

  • Newbie
  • *
  • Posts: 6
  • 1337
    • Ready4War Gaming Community
B3 for Call of Duty BlackOps 3?
« on: December 18, 2016, 05:08:57 PM »
Well hello guys..I am using your administration bot from a long time.
Can you guys do me a favor and tell me if the dev team is working on the blackops 3 phyton code?
If so i can help you all with all required needs.
I am a developer myself.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #1 on: December 20, 2016, 01:31:03 AM »
There are currently a couple of obstacles in the way of this.

1. If you are running a mod other than the default "usermaps" then no console log seems to be produced. Not sure if this is a game "feature", or something to do the the mods.

2, There is no "tell" feature to send a message to a particular player, so any B3 command output eg !help !list etc will be seen by the entire server.

If you are running a vanilla no mod server, then you are welcome to try this out. (You need to use the egg or source versions of B3 in order to do so). Its very rough at the moment and hasn't been tested beyond making sure that players auth OK and can send commands since we don't have a vanilla server to test it on. You can post any errors that you get here with the b3 log and I will take a look ans see if it can be sorted.

Offline blau grana

  • Newbie
  • *
  • Posts: 6
  • 1337
    • Ready4War Gaming Community
Re: B3 for Call of Duty BlackOps 3?
« Reply #2 on: December 30, 2016, 09:53:25 PM »
k i will try it.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #3 on: December 31, 2016, 03:13:14 AM »
The Server seeems to be resetting or ignoring the logfile setting at the moment, so it may not work!

Offline PeterG

  • Newbie
  • *
  • Posts: 2
Re: B3 for Call of Duty BlackOps 3?
« Reply #4 on: January 10, 2017, 03:29:46 PM »


...since we don't have a vanilla server to test oit on
If you did have a server, is this something that you would work on?

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #5 on: January 11, 2017, 12:54:15 AM »
If you would like to try it out and report back, I will take a look at any issues that you come up with.

Offline blau grana

  • Newbie
  • *
  • Posts: 6
  • 1337
    • Ready4War Gaming Community
Re: B3 for Call of Duty BlackOps 3?
« Reply #6 on: January 24, 2017, 03:17:17 AM »
Code: [Select]
'STDOUT "Error: \'Bo3Parser\' object has no attribute \'_logSynch\'"'
And only with plugin admin enabled.
It's connecting alright on the server rcon and on database but it throws out that error.
I will try to force the use of g_logsync and see if anything changes.
« Last Edit: January 24, 2017, 03:20:01 AM by blau grana »

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #7 on: January 24, 2017, 04:19:27 AM »
You need to use B3 vers 1.10

Offline blau grana

  • Newbie
  • *
  • Posts: 6
  • 1337
    • Ready4War Gaming Community
Re: B3 for Call of Duty BlackOps 3?
« Reply #8 on: February 08, 2017, 09:43:38 PM »
the new update brings g_log..
Code: [Select]
Unranked Dedicated ServersEnabled “+set g_log 1” to be used to generate log files for unranked dedis. File would be generated in identities/dedicatedpc/main folder. Enabled +lobbyTimerStatusStartInterval to create a game countdown timer in the lobby if the dvar is placed in the Launch Server bat file. 
Time is based off milliseconds. Setting the timer to 30,000 will create a 30 second countdownMedals appear in unranked dedicated server.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #9 on: February 09, 2017, 12:07:28 AM »
Thanks for the info! I can confirm that it actually works.

B3 confirmed working for !iamgod, !list.

Unable to confirm more until we get some players on our server.

If you find any issues please post them here.

PS Where did you find the info?

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #10 on: February 11, 2017, 06:19:11 AM »
BO3 parser v 0.2

Offline ShikiTheUndead

  • Newbie
  • *
  • Posts: 6
Re: B3 for Call of Duty BlackOps 3?
« Reply #11 on: February 12, 2017, 10:33:36 PM »
Thanks for the info! I can confirm that it actually works.

B3 confirmed working for !iamgod, !list.

Unable to confirm more until we get some players on our server.

If you find any issues please post them here.

PS Where did you find the info?

I believe the info can be found under the Call of Duty: Black Ops III - News tab in Steam. Patch notes Update 19 is what it's under.

I have everything supposedly connected and working correctly for the server log, but i can't get B3 to accept or acknowledge the !iamgod command. The B3 says it has started up in the server so I assume everything is connected anyways. I've also updated my Launch_Server.bat with +set g_log 1, but I've also noticed the gameserver.log file doesn't update until after the match or I shutdown my server. Would that have something to do with it? I've looked into the database itself to confirm B3 is connected and it has logged me into the clients table and everything else. I just cant seem to get it to accept any of my commands.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #12 on: February 13, 2017, 12:07:36 AM »
You also need

+set logfile 2

in your server startup params - this sets it to not buffer the output to the log file.

Offline ShikiTheUndead

  • Newbie
  • *
  • Posts: 6
Re: B3 for Call of Duty BlackOps 3?
« Reply #13 on: February 13, 2017, 12:57:57 AM »
Code: [Select]
BlackOps3_UnrankedDedicatedServer.exe +net_ip xxx +set net_port xxx +set sv_playlist 1 +set fs_game usermaps +set g_log 1 +set logfile 2 +set live_steam_server_name "xxx" +set live_steam_server_description "xxx" +set live_steam_server_password "xxx" +rcon_password "xxx" %*

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by BigBrotherBot Config File Generator at http://config.bigbrotherbot.net (12 Feb 2017 - Sun 20:21:43 CET)-->
<configuration>
  <settings name="b3">
    <!--Name of the bot.-->
    <set name="bot_name">b3</set>
    <!--Ingame messages are prefixed with this code, you can use colorcodes.-->
    <set name="bot_prefix">^0(^2b3^0)^7:</set>
    <!--You can arrange the time format as specified in python's time directives.-->
    <set name="time_format">%I:%M%p %Z %m/%d/%y</set>
    <!--Set your server's timezone so all timebased lookups will show the proper time.-->
    <set name="time_zone">MST</set>
    <!--The amount of logging you want in your b3.log file. Lower numbers log more information.-->
    <set name="log_level">8</set>
    <!--Name and path of the logfile the bot will generate.<br/>@conf : the folder containing this config file-->
    <set name="logfile">@conf/b3 logs/b3.log</set>
    <!--Your game parser.-->
    <set name="parser">bo3</set>
    <!--Your database info: [mysql]://[db-user]:[db-password]@[db-server[:port]]/[db-name]-->
    <set name="database">mysql://b3:[email protected]/b3</set>
  </settings>
  <settings name="server">
    <!--Enter your rcon password.-->
    <set name="rcon_password">xxx</set>
    <!--Enter your game server's rcon (admin) port.-->
    <set name="port">xxx</set>
    <!--Enter your game server's public IP.-->
    <set name="public_ip">xxx</set>
    <!--Enter your game server's rcon IP.-->
    <set name="rcon_ip">xxx</set>
    <!--Delay between each log reading. Set a higher value to consume less disk ressources or bandwidth if you remotely connect (ftp or http remote log access)-->
    <set name="delay">0.33</set>
    <!--Number of lines to process per second. Set a lower value to consume less CPU ressources-->
    <set name="lines_per_second">50</set>
    <!--Enter your game log URL.-->
    <set name="game_log">xxx\dedicatedpc\main\gameserver.log</set>
  </settings>
  <settings name="autodoc">
    <!--Select autodoc file type you want to use.-->
    <set name="type">html</set>
    <!--If you want to exclude commands reserved for higher levels, you may enter a lower value here.-->
    <set name="maxlevel">100</set>
    <!--Select the location where you want to generate your command documentation file.-->
    <set name="destination">@conf/b3_doc.html</set>
  </settings>
  <settings name="update">
    <!--B3 checks if a new version is available at startup. Choose here what channel you want to check against.-->
    <set name="channel">stable</set>
  </settings>
  <settings name="messages">
    <!--The message that will be displayed when a player is kicked by a mod/admin.-->
    <set name="kicked_by">$clientname^7 was kicked by $adminname^7 $reason</set>
    <!--The message that will be displayed when a player is kicked by B3.-->
    <set name="kicked">$clientname^7 was kicked $reason</set>
    <!--The message that will be displayed when a player is banned by a mod/admin.-->
    <set name="banned_by">$clientname^7 was banned by $adminname^7 $reason</set>
    <!--The message that will be displayed when a player is kicked by a B3.-->
    <set name="banned">$clientname^7 was banned $reason</set>
    <!--The message that will be displayed when a player is temp banned by a mod/admin.-->
    <set name="temp_banned_by">$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason</set>
    <!--The message that will be displayed when a player is temp banned by B3.-->
    <set name="temp_banned">$clientname^7 was temp banned for $banduration^7 $reason</set>
    <!--The message that will be displayed when a player is unbanned by a mod/admin.-->
    <set name="unbanned_by">$clientname^7 was un-banned by $adminname^7 $reason</set>
    <!--The message that will be displayed when a player is unbanned by B3-->
    <set name="unbanned">$clientname^7 was un-banned $reason</set>
  </settings>
  <settings name="plugins">
    <!--Enter here the path to the config folder for your external plugins.-->
    <set name="external_dir">@b3/extplugins</set>
  </settings>
  <plugins>
    <!--This plugin provides main B3 functionalities.-->
    <plugin name="admin" config="@conf/plugin_admin.ini"/>
  </plugins>
</configuration>


This is what I have in my launch_server.bat and B3.xml config. I replaced any personal information with "xxx".

This is a vanilla server and I'm using only the included B3 .ini config files.

Using B3 v. 1.10.10 source.

Offline 82ndAB.Bravo17

  • Dev. Team
  • Hero Member
  • *
  • Posts: 2628
Re: B3 for Call of Duty BlackOps 3?
« Reply #14 on: February 13, 2017, 04:55:55 AM »
I've managed to actually test kick, ban, and unban a bit and a new parser is attached.

I've also noticed that there is a new log file gameserver.log being created, but the current version of the parser is still reading the original console_mp.log. Which is why you are getting no response to the commands! If you point it to the console.log it should work.

I will test with the new log, and post a new parser once that is done.
« Last Edit: February 13, 2017, 05:48:43 AM by 82ndAB.Bravo17 »

 


Rate this page +1 at Google Search

anything