Guide rapide concernant l'inscription sur le site officiel du jeu. Créez ainsi votre compte joueur qui permet d'être authentifié sur les serveurs de jeu de la 4.2 !
Guide rapide concernant l'inscription sur le site officiel du jeu. Créez ainsi votre compte joueur qui permet d'être authentifié sur les serveurs de jeu de la 4.2 !
Envie de parler avec les autres membres de la communauté ? Alors venez vous connecter, vous vous sentirez moins seul !
Rejoignez-nous sur le discord Urban Terror France !
Statistiques globales et en temps réel de la totalité des serveurs d'Urban Terror. Suivez l'évolution du nombre de joueurs sur Urban Terror !
Y a t'il un problème dans ma configuration.? ^^<settings name="b3">
<set name="parser">iourt41</set>
<set name="database">mysql://pseudomysql:passmysql@localhost/b3_bot</set>
<set name="bot_name">|EJF|Master</set>
<set name="bot_prefix">^0(^2|EJF|Master^0)^7:</set>
<set name="time_format">%I:%M%p %Z %m/%d/%y</set>
<set name="time_zone">CST</set>
<!-- 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
<set name="log_level">9</set>
<set name="logfile">b3.log</set>
</settings>
<settings name="server">
<set name="rcon_password">rcon_pass</set>
<set name="port">27960</set>
<set name="game_log">/root/.q3a/q3ut4/games.log</set>
<set name="public_ip">62.193.209.65</set>
<set name="rcon_ip">127.0.0.1</set>
<set name="punkbuster">off</set>
</settings>
...
<plugins>
<plugin name="censor" priority="1" config="@b3/conf/plugin_censor.xml"/>
<plugin name="spamcontrol" priority="2" config="@b3/conf/plugin_spamcontrol.xml"/>
<plugin name="admin" priority="3" config="@b3/conf/plugin_admin.xml"/>
<plugin name="tk" priority="4" config="@b3/conf/plugin_tk.xml"/>
<plugin name="stats" priority="5" config="@b3/conf/plugin_stats.xml"/>
<plugin name="pingwatch" priority="6" config="@b3/conf/plugin_pingwatch.xml"/>
<plugin name="adv" priority="7" config="@b3/conf/plugin_adv.xml"/>
<plugin name="status" priority="8" config="@b3/conf/plugin_status.xml"/>
<plugin name="welcome" priority="9" config="@b3/conf/plugin_welcome.xml"/>
<plugin name="punkbuster" priority="10" config="@b3/conf/plugin_punkbuster.xml"/>
</plugins>
Et voila sa s'arrête sur cela. Cela veut-il dire que c'est fonctionelle ? =]commande executé : python b3_run.py
messages suivant :
Searching for config file : b3.xml
Searching for config file : conf/b3.xml
Searching for config file : b3/conf/b3.xml
Starting www.BigBrotherBot.com (b3) v1.1.4b [posix] (Astridaria)
Using config file : b3/conf/b3.xml
Redirect all output to b3.log
090516 21:13:56 BOT Starting Iourt41Parser server for 127.0.0.1:27960
090516 21:13:56 BOT --------------------------------------------
090516 21:13:56 BOT Attempting to connect to database mysql://sn0oper:******@localhost/b3_bot...
090516 21:13:56 ERROR Database connection failed, working in remote mode: No module named MySQLdb - [('/home/b3/b3/storage.py', 190, 'connect', 'self.db = self.getConnection()'), ('/home/b3/b3/storage.py', 148, 'getConnection', 'import MySQLdb')]
090516 21:13:56 BOT Game log /root/.q3a/q3ut4/games.log
090516 21:13:56 BOT Starting bot reading file /root/.q3a/q3ut4/games.log
090516 21:13:56 BOT Loading Plugin #1 censor [/home/b3/b3/conf/plugin_censor.xml]
090516 21:13:56 BOT CensorPlugin: Loading config /home/b3/b3/conf/plugin_censor.xml for CensorPlugin
090516 21:13:56 DEBUG Register Event: Stop Process: CensorPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: CensorPlugin
090516 21:13:56 BOT Plugin censor (2.1.0 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #2 spamcontrol [/home/b3/b3/conf/plugin_spamcontrol.xml]
090516 21:13:56 BOT SpamcontrolPlugin: Loading config /home/b3/b3/conf/plugin_spamcontrol.xml for SpamcontrolPlugin
090516 21:13:56 DEBUG Register Event: Stop Process: SpamcontrolPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: SpamcontrolPlugin
090516 21:13:56 BOT Plugin spamcontrol (1.1.2 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #3 admin [/home/b3/b3/conf/plugin_admin.xml]
090516 21:13:56 BOT AdminPlugin: Loading config /home/b3/b3/conf/plugin_admin.xml for AdminPlugin
090516 21:13:56 DEBUG Register Event: Stop Process: AdminPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: AdminPlugin
090516 21:13:56 BOT Plugin admin (1.3.4b0 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #4 tk [/home/b3/b3/conf/plugin_tk.xml]
090516 21:13:56 BOT TkPlugin: Loading config /home/b3/b3/conf/plugin_tk.xml for TkPlugin
090516 21:13:56 DEBUG TkPlugin: tk max level is 40
090516 21:13:56 DEBUG Register Event: Stop Process: TkPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: TkPlugin
090516 21:13:56 BOT Plugin tk (1.1.6b0 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #5 stats [/home/b3/b3/conf/plugin_stats.xml]
090516 21:13:56 BOT StatsPlugin: Loading config /home/b3/b3/conf/plugin_stats.xml for StatsPlugin
090516 21:13:56 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
090516 21:13:56 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
090516 21:13:56 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
090516 21:13:56 DEBUG Register Event: Stop Process: StatsPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: StatsPlugin
090516 21:13:56 BOT Plugin stats (1.2.3 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #6 pingwatch [/home/b3/b3/conf/plugin_pingwatch.xml]
090516 21:13:56 BOT PingwatchPlugin: Loading config /home/b3/b3/conf/plugin_pingwatch.xml for PingwatchPlugin
090516 21:13:56 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x1534ff80>> (351308880) - [0, 30]s -1m -1h -1d -1M -1DOW
090516 21:13:56 DEBUG Register Event: Stop Process: PingwatchPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: PingwatchPlugin
090516 21:13:56 BOT Plugin pingwatch (1.1.4 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #7 adv [/home/b3/b3/conf/plugin_adv.xml]
090516 21:13:56 BOT AdvPlugin: Loading config /home/b3/b3/conf/plugin_adv.xml for AdvPlugin
090516 21:13:56 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x15351ea8>> (355819920) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
090516 21:13:56 DEBUG Register Event: Stop Process: AdvPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: AdvPlugin
090516 21:13:56 BOT Plugin adv (1.1.3 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #8 status [/home/b3/b3/conf/plugin_status.xml]
090516 21:13:56 BOT StatusPlugin: Loading config /home/b3/b3/conf/plugin_status.xml for StatusPlugin
090516 21:13:56 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x15354b48>> (355820048) - [0]s -1m -1h -1d -1M -1DOW
090516 21:13:56 DEBUG Register Event: Stop Process: StatusPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: StatusPlugin
090516 21:13:56 BOT Plugin status (1.2.6 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #9 welcome [/home/b3/b3/conf/plugin_welcome.xml]
090516 21:13:56 BOT WelcomePlugin: Loading config /home/b3/b3/conf/plugin_welcome.xml for WelcomePlugin
090516 21:13:56 DEBUG Register Event: Stop Process: WelcomePlugin
090516 21:13:56 DEBUG Register Event: Program Exit: WelcomePlugin
090516 21:13:56 BOT Plugin welcome (1.0.6 - ThorN) loaded
090516 21:13:56 BOT Loading Plugin #10 punkbuster [/home/b3/b3/conf/plugin_punkbuster.xml]
090516 21:13:56 BOT PunkbusterPlugin: Loading config /home/b3/b3/conf/plugin_punkbuster.xml for PunkbusterPlugin
090516 21:13:56 VERBOSE Added crontab <bound method PunkbusterPlugin.rebuildBans of <b3.plugins.punkbuster.PunkbusterPlugin instance at 0x150fa9e0>> (353296336) - 0s 0m 0h -1d -1M -1DOW
090516 21:13:56 DEBUG Register Event: Stop Process: PunkbusterPlugin
090516 21:13:56 DEBUG Register Event: Program Exit: PunkbusterPlugin
090516 21:13:56 BOT Plugin punkbuster (1.0.8 - ThorN) loaded
090516 21:13:56 VERBOSE 0 cid changed from None to -1
090516 21:13:56 VERBOSE RCON sending (127.0.0.1:27960) say ^0(^2|EJF|Master^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.4b [posix] ^9(^3Astridaria^9)^3 ^2[ONLINE]
090516 21:13:56 DEBUG Client Connected: [-1] World - WORLD ({})
090516 21:13:56 DEBUG Storage: getClient <b3.clients.Client object at 0x151001d0>
090516 21:13:56 BOT Attempting to connect to database mysql://sn0oper:******@localhost/b3_bot...
090516 21:13:56 DEBUG User not found WORLD: 'No client matching guid WORLD in admins_cache'
090516 21:13:56 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:56 BOT Client not found in the storage WORLD, create new
090516 21:13:56 DEBUG Storage: setClient <b3.clients.Client object at 0x151001d0>
090516 21:13:56 DEBUG Storage: setClient data {'time_add': 1242501236, 'time_edit': 1242501236, 'name': 'World', 'group_bits': 0, 'ip': '', 'greeting': '', 'auto_login': 1, 'connections': 1, 'mask_level': 0, 'guid': 'WORLD', 'pbid': 'WORLD'}
090516 21:13:56 BOT Attempting to connect to database mysql://sn0oper:******@localhost/b3_bot...
090516 21:13:56 DEBUG Client Authorized: [-1] World - WORLD
090516 21:13:56 VERBOSE RCON: retry sending say ^0(^2|EJF|Master^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.4b [posix] ^9(^3Astridaria^9)^3 ^2[ONLINE]...
090516 21:13:56 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:56 DEBUG RCON: Did not send any data
090516 21:13:56 VERBOSE RCON sending (127.0.0.1:27960) status
090516 21:13:56 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:57 VERBOSE RCON: retry sending status...
090516 21:13:57 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:57 DEBUG RCON: Did not send any data
090516 21:13:57 VERBOSE RCON sending (127.0.0.1:27960) fs_game
090516 21:13:57 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:57 VERBOSE RCON: retry sending fs_game...
090516 21:13:57 ERROR RCON: ERROR reading: (111, 'Connection refused')
090516 21:13:57 DEBUG RCON: Did not send any data
090516 21:13:57 DEBUG Get cvar fs_game = []
090516 21:13:57 INFO STDOUT Error: 'NoneType' object has no attribute 'getString'
File "/home/b3/b3/__init__.py", line 87, in start
console.start()
File "/home/b3/b3/parser.py", line 199, in start
self.onStartup()
File "/home/b3/b3/parser.py", line 254, in onStartup
self.startup()
File "/home/b3/b3/parsers/iourt41.py", line 195, in startup
self.game.fs_game = self.getCvar('fs_game').getString()
090516 21:13:57 INFO STDOUT
090516 21:13:57 BOT Shutting down...
090516 21:13:57 VERBOSE AdvPlugin: Warning: No handle func for AdvPlugin
090516 21:13:57 VERBOSE PunkbusterPlugin: Warning: No handle func for PunkbusterPlugin
090516 21:13:57 BOT Shutting down database connections...
Code : Tout sélectionner
sudo aptitude install python-mysqldb python-elementtree
Code : Tout sélectionner
sudo apt-get install python-mysqldb python-elementtree