Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: Bots Plugin for Urban Terror  (Read 32453 times)

Offline Fenix

  • Dev. Team
  • Hero Member
  • *
  • Posts: 989
    • GitHub
Re: Bots Plugin for Urban Terror
« Reply #90 on: July 19, 2015, 09:24:24 PM »
zip it and attach it to the post reply

Offline Splashing

  • Jr. Member
  • **
  • Posts: 20
  • they call me mr boombastic
    • Most Wanted Clan
Re: Bots Plugin for Urban Terror
« Reply #91 on: July 20, 2015, 01:54:27 AM »
Here it is

[attachment deleted by admin]

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: Bots Plugin for Urban Terror
« Reply #92 on: July 20, 2015, 07:40:58 AM »
I see a few errors...

What I would suggest:

1) Be sure to check the config file for Chatlogger plugin and specify a valid log path.

2) Download this: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
     -- Extract the contents of the file you download and put it in '/home/bigbrotherbot/b3/extplugins/GeoIP'

3) The commands documentation cannot be generated due to permissions. You can change the output to another directory (which is what I would do)
   -- Use these commands:

Code: [Select]
cd /var/www/html
mkdir commands
chmod 777 commands

Then edit the b3.ini and set the "destination" param in the "autodoc" section to:
Code: [Select]
/var/www/html/commands/index.html


For the main issue:

You have bots enabled in poweradmin and also run the bothandler plugin. You should disable the bot section in poweradmin.

cu :)
« Last Edit: July 20, 2015, 08:07:20 AM by ph03n1x »

Offline Splashing

  • Jr. Member
  • **
  • Posts: 20
  • they call me mr boombastic
    • Most Wanted Clan
Re: Bots Plugin for Urban Terror
« Reply #93 on: July 20, 2015, 09:05:37 AM »
Okay thanks, I'll fix the errors and see how they do :))

EDIT: The bots are still taking names from previous players. One when gets kicked in replace of a player and then that player leaves, when the bot comes back it takes the name of the player which replaced them.
And ignore the xlrstats error :))

b3.log - http://pastebin.com/ajGWAMMb

For the error
"IOError: [Errno 2] No such file or directory: '/home/bigbrotherbot/b3/extplugins/GeoIP/GeoIP.dat' "
How do I change that since my b3 directory is /home/b3, not /home/bigbrotherbot. I checked the plugin_geoip.xml but it doesn't have anything which says /home/bigbrotherbot/
« Last Edit: July 20, 2015, 10:11:03 AM by Splashing »

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: Bots Plugin for Urban Terror
« Reply #94 on: July 20, 2015, 02:56:20 PM »
I noticed this piece in the previous b3 log:

Code: [Select]
yers'"
150719 07:00:14 DEBUG 'BothandlerPlugin: We need to add bots...'
150719 07:00:14 VERBOSE 'BothandlerPlugin: about to add 1 bots'
150719 07:00:14 VERBOSE "RCON sending (176.9.183.110:27964) 'addbot boa 5 red 100 MsT*|Drizzy'"
150719 07:00:14 CONSOLE '7:22 Session data initialised for client on slot 0 at 61346234'
150719 07:00:14 VERBOSE 'Line did not match format: Session data initialised for client on slot 0 at 61346234'
150719 07:00:14 CONSOLE '7:22 ClientConnect: 3'
150719 07:00:14 DEBUG 'Client connected: ready to parse userinfo line'
150719 07:00:14 CONSOLE '7:22 ClientUserinfo: 3 \\cg_autoPickup\\0\\gear\\GLIORAA\\team\\red\\skill\\5.000000\\characterfile\\bots/ut_boa_c.c\\color\\4\\sex\\male\\race\\3\\snaps\\20\\rate\\25000\\name\\MsT*|Drizzy'
150719 07:00:14 BOT     'Bot connecting!'
150719 07:00:14 VERBOSE "Parsed user info: {'snaps': '20', 'gear': 'GLIORAA', 'characterfile': 'bots/ut_boa_c.c', 'cid': '3', 'color': '4', 'ip': '0.0.0.0', 'cg_autoPickup': '0', 'sex': 'male', 'cl_guid': 'BOT3', 'rate': '25000', 'race': '3', 'team': 2, 'skill': '5.000000', 'name': 'MsT*|Drizzy'}"
150719 07:00:15 VERBOSE "RCON sending (176.9.183.110:27964) 'auth-whois 3'"
150719 07:00:15 DEBUG 'Urt42 Client Connected: [3] MsT*|Drizzy - BOT3 ({})'
150719 07:00:15 VERBOSE 'Queueing event Client Connect Client42<@0:BOT3|None:"MsT*|Drizzy":3>'
150719 07:00:15 VERBOSE "RCON sending (176.9.183.110:27964) 'auth-whois 3'"
150719 07:00:15 VERBOSE 'Parsing event: Client Connect: ExtraadminPlugin'
150719 07:00:16 VERBOSE "Auth by guid: 'BOT3'"
150719 07:00:16 DEBUG 'Storage: getClient Client42<@0:BOT3|None:"MsT*|Drizzy":3>'
150719 07:00:16 BOT     u'Client found in the storage @52: welcome back MsT*|Drizzy (FSA: )'
150719 07:00:16 DEBUG u'Storage: setClient Client42<@52:BOT3|:"MsT*|Drizzy":3>'
150719 07:00:16 DEBUG "Storage: setClient data {'time_add': 1437211832, 'password': u'', 'time_edit': 1437303616, 'name': 'MsT*|Drizzy', 'group_bits': 0, 'ip': '0.0.0.0', 'auto_login': 1, 'greeting': u'', 'pbid': u'', 'connections': 597, 'mask_level': 0, 'login': u'', 'guid': 'BOT3', 'id': 52}"
150719 07:00:16 DEBUG u'Client authorized: @3 "MsT*|Drizzy" [BOT3] (FSA: )'
150719 07:00:16 VERBOSE u'Queueing event Client Authenticated Client42<@52:BOT3|:"MsT*|Drizzy":3>'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: WelcomePlugin'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: Poweradminurt42Plugin'
150719 07:00:16 DEBUG 'Poweradminurt42Plugin: ClientVars set up for MsT*|Drizzy'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: ExtraadminPlugin'
150719 07:00:16 VERBOSE 'ExtraadminPlugin: Connection : 3'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: FollowPlugin'
150719 07:00:16 DEBUG 'FollowPlugin: Client connected, processing connect event'
150719 07:00:16 DEBUG 'FollowPlugin: Client MsT*|Drizzy put on connected queue'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: SuperadminPlugin'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: CtimePlugin'
150719 07:00:16 DEBUG u'CtimePlugin: CTIME CONNECTED: player MsT*|Drizzy^7 started playing at: 2015-07-19 07:00:16.663426'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: MstPlugin'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: NewmoneyPlugin'
150719 07:00:16 VERBOSE 'Parsing event: Client Authenticated: UpdaterPlugin'
150719 07:00:16 CONSOLE '7:22 ClientUserinfoChanged: 3 n\\MsT*|Drizzy\\t\\3\\r\\2\\tl\\0\\f0\\\\f1\\\\f2\\\\a0\\0\\a1\\0\\a2\\0'
150719 07:00:16 VERBOSE 'Queueing event Client Team Change 1'
150719 07:00:16 VERBOSE 'Parsing event: Client Team Change: Poweradminurt42Plugin'
150719 07:00:16 VERBOSE 'Poweradminurt42Plugin: client variable teamtime set to: 1437303616'
150719 07:00:16 CONSOLE '7:22 ClientBegin: 3'
150719 07:00:16 VERBOSE 'Queueing event Client Join Team 3'
150719 07:00:16 VERBOSE 'Parsing event: Client Join Team: BothandlerPlugin'
150719 07:00:17 CONSOLE '7:22 ClientUserinfo: 3 \\cg_autoPickup\\0\\sex\\male\\name\\MsT*|Drizzy\\gear\\GLIORAA\\team\\red\\skill\\5.000000\\characterfile\\bots/ut_boa_c.c\\color\\4\\race\\3\\snaps\\20\\rate\\25000'
150719 07:00:17 BOT     'Bot connecting!'
150719 07:00:17 VERBOSE "Parsed user info: {'snaps': '20', 'gear': 'GLIORAA', 'characterfile': 'bots/ut_boa_c.c', 'cid': '3', 'color': '4', 'ip': '0.0.0.0', 'cg_autoPickup': '0', 'sex': 'male', 'cl_guid': 'BOT3', 'rate': '25000', 'race': '3', 'team': 2, 'skill': '5.000000', 'name': 'MsT*|Drizzy'}"
150719 07:00:17 VERBOSE 'Queueing event Client Team Change 2'
150719 07:00:17 VERBOSE 'Parsing event: Client Team Change: Poweradminurt42Plugin'
150719 07:00:17 VERBOSE 'Poweradminurt42Plugin: client variable teamtime set to: 1437303617'
150719 07:00:17 CONSOLE '7:22 ClientUserinfoChanged: 3 n\\arii^0\\t\\2\\r\\2\\tl\\0\\f0\\\\f1\\\\f2\\\\a0\\0\\a1\\0\\a2\\0'
150719 07:00:17 DEBUG 'Storage: getClientAlias Alias(id=0, alias="MsT*|Drizzy", clientId=52, numUsed=1)'
150719 07:00:17 DEBUG u'Storage: setClientAlias Alias(id=117, alias="MsT*|Drizzy", clientId=52, numUsed=10)'
150719 07:00:17 DEBUG "Storage: setClientAlias data {'time_edit': 1437303617, 'num_used': 10, 'alias': u'MsT*|Drizzy', 'client_id': 52, 'time_add': 1437298731, 'id': 117}"
150719 07:00:17 BOT     u'New alias for 52: MsT*|Drizzy'
150719 07:00:17 VERBOSE 'Queueing event Client Name Change arii'

The bot connected properly then just changed name. I have to check into that some more...

For the error "IOError: [Errno 2] No such file or directory: '/home/bigbrotherbot/b3/extplugins/GeoIP/GeoIP.dat' " How do I change that since my b3 directory is /home/b3, not /home/bigbrotherbot. I checked the plugin_geoip.xml but it doesn't have anything which says /home/bigbrotherbot/
This is actually supposed to be set in countryfilter plugin's config file, that's where it says the issue is.

Offline Splashing

  • Jr. Member
  • **
  • Posts: 20
  • they call me mr boombastic
    • Most Wanted Clan
Re: Bots Plugin for Urban Terror
« Reply #95 on: July 21, 2015, 05:46:03 AM »
Thanks :)
I edited the countryfilter.xml
Hopefully you see the problem with the bot plugin. Maybe it's conflicting with another plugin which is installed? Only ideas...

Offline ph03n1x

  • Sr. Member
  • ****
  • Posts: 296
    • Lovers and Haters Urban Terror
Re: Bots Plugin for Urban Terror
« Reply #96 on: July 21, 2015, 04:50:45 PM »
The thing is, there is no rcon command to force a player to change name, so I'm sure it's not a plugin. The bots are connecting properly and changing names. I feel like it's a server file issue, I have seen weird things happen with corrupted server files.
Do you think you can re-upload the server files? By that I mean re-download, unzip and overwrite the pk3 and server binaries. If you are using FTP to upload, be sure that the pk3s and binaries are using the binary transfer type.

I hope that helps...

cu :)

 


Rate this page +1 at Google Search