[Résolu] B3, difficultés.

Tout ce qui concerne la configuration et l'administration des serveurs.
Rendez-vous dans Outils de communication & communautaires pour la conception de sites Internet.
Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

[Résolu] B3, difficultés.

Message par Wazurius » 17 janv. 2010, 20:38

Bonsoir, j'ai quelques difficultés pour comprendre comment fonctionne b3. J'ai réussie à le faire fonctionner mais il y a seulement les règles qui passe.

Quand les personnes se connectent il n'a pas de message de bienvenue, bref. J'ai essayé beaucoup de tentatives. J'ai très bien modifier le fichier de configuration b3.xml. Mes logs son bien placer alors je ne vois pas ce qui ne marche pas.

Si possible, que quelqu'un me contact part msn: cknobabe11@hotmail.com

Je remerci les personnes qui ont pris le temps de lire mon poste, ainsi que les personnes qui prendrons un peu de leur temps pour m'aider.

Bonne fin de soirée.
Modifié en dernier par Wazurius le 26 janv. 2010, 13:52, modifié 1 fois.

Avatar du membre
Beber888
Référent outil (B3)
Messages : 293
Enregistré le : 01 mars 2009, 23:16
Localisation : Plailly(60)

Re: [En cours] B3, difficultés.

Message par Beber888 » 17 janv. 2010, 21:38

Déja si tu fait !help, est ce que le bot te répond?
As tu reload la map?
Je crois que le welcome ne se met pas en route tout de suite et en plus il te dis pas bonjour à chaque fois si tu viens toute les 5min.
Regarde les logs du bot pou voir s'il travaille bien et s'il détecte les commandes que tu tapes (a la rigueur met le en verbose).
As tu bien mis le logsynch à 1 dans la conf de ton serveur.

Ya plein de chose qui peuvent expliquer tes problemes !!
Mon serveur FTP
ftp://beber888.myftp.org
Mon serveur UrT
/connect beber888.no-ip.org
Mon site web
http://beber888.no-ip.org/

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 17 janv. 2010, 21:59

Beber888 a écrit :
Déja si tu fait !help, est ce que le bot te répond?

logsynch à 1


Si je tape !help, ça ne fonctionne pas.

Logsynch, c'est quoi la commande pour le mettre à 1?

Et j'aimerais savoir aussi comment faire pour éviter que le bot parle en console? J'aimerais qu'il parle comme si sa serais un joueur. J'ai vue sur un autre serveur que cétais possible.

Avatar du membre
Beber888
Référent outil (B3)
Messages : 293
Enregistré le : 01 mars 2009, 23:16
Localisation : Plailly(60)

Re: [En cours] B3, difficultés.

Message par Beber888 » 17 janv. 2010, 22:12

Normalement si c'est bien un serveur fait a partir d'urban terror, il doit parler comme un joueur. S'il parle que en haut c'est surement que chez toi, urbanterror est encore utilisé comme un mode de quake3...
Vérifie ces paramètres dans ton server.cfg :
set g_log "games.log" //name of the logfile.
set g_logsync "1"
set g_loghits "1"
set g_logroll "0"

A mon avis regarde tes logs du bot, il doit bien y avoir un probleme.
Mon serveur FTP
ftp://beber888.myftp.org
Mon serveur UrT
/connect beber888.no-ip.org
Mon site web
http://beber888.no-ip.org/

Avatar du membre
xNr
Messages : 361
Enregistré le : 13 juin 2009, 15:23
Localisation : Lorraine

Re: [En cours] B3, difficultés.

Message par xNr » 17 janv. 2010, 22:25

Beber888 a écrit :Normalement si c'est bien un serveur fait a partir d'urban terror, il doit parler comme un joueur
Je pense qu'il/elle parlait de ce qui est écris avant le message genre :
console : Votre ratio est de 1.42

Et qu'il/elle veut le mettre comme ceci :
[Choucroute] : Votre ratio est de 1.42.
XNRPRODUCTION | http://www.facebook.com/XNRPRODUCTION
s).xNr. aka Psykopate , aKilla..

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 17 janv. 2010, 22:28

En effet.

Image

et quand j'ajoute des plugins ben ça me fait ça et sa bouge plus.

Image

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 19 janv. 2010, 04:25

Désoler du up, mais j''ai vraiment besoin d'aide :l

Avatar du membre
Beber888
Référent outil (B3)
Messages : 293
Enregistré le : 01 mars 2009, 23:16
Localisation : Plailly(60)

Re: [En cours] B3, difficultés.

Message par Beber888 » 19 janv. 2010, 10:24

Apparemment le chargement des plugins ne se termine pas!
Essaie de mettre juste les plugins d'origine pour commencer. Après tu rajoutes les explugins au fur et à mesure.
Et tu nous dis pas tout, regardes tes logs de B3, t'as forcement des traces de ton problème !!!
Mon serveur FTP
ftp://beber888.myftp.org
Mon serveur UrT
/connect beber888.no-ip.org
Mon site web
http://beber888.no-ip.org/

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 23 janv. 2010, 05:13

100122 22:09:22 BOT http://www.BigBrotherBot.com (b3) v1.2.1 [nt] (Daniel Win32)
100122 22:09:22 BOT Python: 2.6.3 (r263rc1:75186, Oct 2 2009, 20:40:30) [MSC v.1500 32 bit (Intel)]
100122 22:09:22 BOT Starting Iourt41Parser server for 127.0.0.1:27960
100122 22:09:22 BOT --------------------------------------------
100122 22:09:22 BOT Attempting to connect to database mysql://Wazurrius:******@localhost/b3...
100122 22:09:22 ERROR STDERR C:\Program Files\BigBrotherBot_1.2.1\library.zip\MySQLdb\__init__.py:34: DeprecationWarning: the sets module is deprecated

100122 22:09:22 ERROR Database connection failed, working in remote mode: (1045, "Access denied for user 'Wazurrius'@'localhost' (using password: YES)") - [('b3\\storage.pyo', 197, 'connect', None), ('b3\\storage.pyo', 153, 'getConnection', None), ('MySQLdb\\__init__.pyo', 74, 'Connect', None), ('MySQLdb\\connections.pyo', 170, '__init__', None)]
100122 22:09:22 BOT Game log C:\Program Files\UrbanTerror\q3ut4\games.log
100122 22:09:22 BOT Starting bot reading file C:\Program Files\UrbanTerror\q3ut4\games.log
100122 22:09:22 VERBOSE RCON sending (127.0.0.1:27960) status
100122 22:09:23 BOT Loading Plugin #1 censor [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_censor.xml]
100122 22:09:23 BOT CensorPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_censor.xml for CensorPlugin
100122 22:09:23 DEBUG Register Event: Stop Process: CensorPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: CensorPlugin
100122 22:09:23 BOT Plugin censor (2.1.0 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #2 spamcontrol [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_spamcontrol.xml]
100122 22:09:23 BOT SpamcontrolPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_spamcontrol.xml for SpamcontrolPlugin
100122 22:09:23 DEBUG Register Event: Stop Process: SpamcontrolPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: SpamcontrolPlugin
100122 22:09:23 BOT Plugin spamcontrol (1.1.2 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #3 admin [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_admin.xml]
100122 22:09:23 BOT AdminPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_admin.xml for AdminPlugin
100122 22:09:23 DEBUG Register Event: Stop Process: AdminPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: AdminPlugin
100122 22:09:23 BOT Plugin admin (1.4.3 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #4 tk [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_tk.xml]
100122 22:09:23 BOT TkPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_tk.xml for TkPlugin
100122 22:09:23 DEBUG TkPlugin: tk max level is 40
100122 22:09:23 DEBUG TkPlugin: Send messages privately ? True
100122 22:09:23 DEBUG Register Event: Stop Process: TkPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: TkPlugin
100122 22:09:23 BOT Plugin tk (1.2.2 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #5 stats [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_stats.xml]
100122 22:09:23 BOT StatsPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_stats.xml for StatsPlugin
100122 22:09:23 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
100122 22:09:23 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
100122 22:09:23 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
100122 22:09:23 DEBUG Register Event: Stop Process: StatsPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: StatsPlugin
100122 22:09:23 BOT Plugin stats (1.2.3 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #6 pingwatch [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_pingwatch.xml]
100122 22:09:23 BOT PingwatchPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_pingwatch.xml for PingwatchPlugin
100122 22:09:23 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x00DE1788>> (14543664) - [0, 30]s -1m -1h -1d -1M -1DOW
100122 22:09:23 DEBUG Register Event: Stop Process: PingwatchPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: PingwatchPlugin
100122 22:09:23 BOT Plugin pingwatch (1.1.4 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #7 adv [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_adv.xml]
100122 22:09:23 BOT AdvPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_adv.xml for AdvPlugin
100122 22:09:23 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x00DE1B20>> (14582800) - 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
100122 22:09:23 DEBUG Register Event: Stop Process: AdvPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: AdvPlugin
100122 22:09:23 BOT Plugin adv (1.1.3 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #8 status [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_status.xml]
100122 22:09:23 BOT StatusPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_status.xml for StatusPlugin
100122 22:09:23 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x00DF2260>> (14981232) - [0]s -1m -1h -1d -1M -1DOW
100122 22:09:23 DEBUG Register Event: Stop Process: StatusPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: StatusPlugin
100122 22:09:23 BOT Plugin status (1.2.7 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #9 welcome [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_welcome.xml]
100122 22:09:23 BOT WelcomePlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_welcome.xml for WelcomePlugin
100122 22:09:23 DEBUG Register Event: Stop Process: WelcomePlugin
100122 22:09:23 DEBUG Register Event: Program Exit: WelcomePlugin
100122 22:09:23 BOT Plugin welcome (1.0.6 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #10 publist [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_publist.xml]
100122 22:09:23 BOT PublistPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_publist.xml for PublistPlugin
100122 22:09:23 BOT PublistPlugin: No config file found for PublistPlugin. (was not required either)
100122 22:09:23 DEBUG Register Event: Stop Process: PublistPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: PublistPlugin
100122 22:09:23 BOT Plugin publist (1.1.11 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #11 punkbuster [C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_punkbuster.xml]
100122 22:09:23 BOT PunkbusterPlugin: Loading config C:\Program Files\BigBrotherBot_1.2.1\conf\plugin_punkbuster.xml for PunkbusterPlugin
100122 22:09:23 VERBOSE Added crontab <bound method PunkbusterPlugin.rebuildBans of <b3.plugins.punkbuster.PunkbusterPlugin instance at 0x00E56A30>> (15015728) - 0s 0m 0h -1d -1M -1DOW
100122 22:09:23 DEBUG Register Event: Stop Process: PunkbusterPlugin
100122 22:09:23 DEBUG Register Event: Program Exit: PunkbusterPlugin
100122 22:09:23 BOT Plugin punkbuster (1.0.8 - ThorN) loaded
100122 22:09:23 BOT Loading Plugin #12 poweradminurt [C:\Program Files\BigBrotherBot_1.2.1\extplugins\conf\poweradminurt.xml]
100122 22:09:23 INFO Could not find built in plugin poweradminurt, trying external plugin directories.
No module named poweradminurt
100122 22:09:23 CRITICAL Error loading plugin: No module named poweradminurt
Traceback (most recent call last):
File "b3\parser.pyo", line 437, in loadPlugins
File "b3\parser.pyo", line 500, in pluginImport
ImportError: No module named poweradminurt

100122 22:09:23 INFO STDOUT Traceback (most recent call last):

100122 22:09:23 INFO STDOUT File "b3\run.pyo", line 124, in main

100122 22:09:23 INFO STDOUT File "b3\run.pyo", line 102, in run

100122 22:09:23 INFO STDOUT File "b3\__init__.pyo", line 99, in start

100122 22:09:23 INFO STDOUT File "b3\parser.pyo", line 285, in __init__

100122 22:09:23 INFO STDOUT File "b3\parser.pyo", line 441, in loadPlugins

100122 22:09:23 INFO STDOUT File "b3\parser.pyo", line 849, in critical

100122 22:09:23 INFO STDOUT File "b3\output.pyo", line 51, in critical

100122 22:09:23 INFO STDOUT SystemExit: 220

100122 22:09:23 INFO STDOUT Press Enter to terminate


Voila le blêm, mais pourtant il est bien mis et tout le nom aussi.

PS: Ne vous fiez pas à ce que la db soit pas connecté. J'avais oublié d'allumer Xampp et même allumer même résultat. ;)

Avatar du membre
Courgette
Messages : 850
Enregistré le : 22 déc. 2007, 02:05
Localisation : Rennes

Re: [En cours] B3, difficultés.

Message par Courgette » 23 janv. 2010, 12:27

1) où se trouve poweradminurt.py sur ton disque dur ?
2) post le contenu de b3.xml (masque les mots depasse)
3) Je vois dans ton log :

Code : Tout sélectionner

ERROR Database connection failed, working in remote mode: (1045, "Access denied for user 'Wazurrius'@'localhost' (using password: YES)")
Ce qui veut dire que Xampp est démarré.

Code : Tout sélectionner

 (1045, "Access denied for user 'Wazurrius'@'localhost' (using password: YES)")
est le message d'erreur que ta base de données mysql à retrouné.

Pour résoudre ton problème de base de données : vérifie que tu a créé le user 'Wazurrius' et vérifie dans phpmyadmin que tu as cliqué sur "recharger les privilèges" (sur la page principale)

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 23 janv. 2010, 14:10

Ce que j'ai remarquer plus tard c'est plutôt que je me suis tromper de mot de passe. Mais encore la il y a les mêmes bugs.

Mon .py est dans BigBrotherBot_1.2.1\extplugins

et mon .xml est dans BigBrotherBot_1.2.1\extplugins\conf

Avatar du membre
Beber888
Référent outil (B3)
Messages : 293
Enregistré le : 01 mars 2009, 23:16
Localisation : Plailly(60)

Re: [En cours] B3, difficultés.

Message par Beber888 » 23 janv. 2010, 16:00

et le contenu de B3.xml ?
Mon serveur FTP
ftp://beber888.myftp.org
Mon serveur UrT
/connect beber888.no-ip.org
Mon site web
http://beber888.no-ip.org/

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 23 janv. 2010, 19:28

BigBrotherBot_1.2.1\conf

b3.xml
<configuration>
<settings name="b3">
<!-- parser defines the game: cod/cod2/cod4/cod5/iourt41/etpro/wop/smg -->
<set name="parser">iourt41</set>
<set name="database">mysql://Wazurius:*****@localhost/b3</set>
<set name="bot_name">b3</set>
<set name="bot_prefix">^0(^2b3^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">[Censured]</set>
<set name="port">27960</set>
<set name="game_log">C:\Program Files\UrbanTerror\q3ut4/games.log</set>
<set name="public_ip">127.0.0.1</set>
<set name="rcon_ip">127.0.0.1</set>
<set name="punkbuster">off</set>
</settings>
<settings name="messages">
<set name="kicked_by">%s^7 was kicked by %s^7 %s</set>
<set name="kicked">%s^7 was kicked %s</set>
<set name="banned_by">%s^7 was banned by %s^7 %s</set>
<set name="banned">%s^7 was banned %s</set>
<set name="temp_banned_by">%s^7 was temp banned by %s^7 for %s^7 %s</set>
<set name="temp_banned">%s^7 was temp banned for %s^7 %s</set>
<set name="unbanned_by">%s^7 was un-banned by %s^7 %s</set>
<set name="unbanned">%s^7 was un-banned %s</set>
</settings>
<settings name="plugins">
<set name="external_dir">@b3/extplugins</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="publist" priority="10" config="@b3/conf/plugin_publist.xml"/>
<plugin name="punkbuster" priority="11" config="@b3/conf/plugin_punkbuster.xml"/>
<plugin name="poweradminurt" priority="12" config="@b3/extplugins/conf/poweradminurt.xml"/>

<!--
This is a non-standard plugin, and quite resource heavy. Please take a look in the
B3 forums (look for XLR Extensions) for more information before enabling this.
Extra database tables are necessary.
<plugin name="xlrstats" priority="13" config="@b3/extplugins/conf/xlrstats.xml"/>
-->
</plugins>
</configuration>

Avatar du membre
Courgette
Messages : 850
Enregistré le : 22 déc. 2007, 02:05
Localisation : Rennes

Re: [En cours] B3, difficultés.

Message par Courgette » 23 janv. 2010, 19:41

je suppose que tu utilises la version pour windows.
Essaye avec la beta de la 1.2.2 : http://github.com/courgette/big-brother-bot/downloads

Wazurius
Messages : 11
Enregistré le : 17 janv. 2010, 20:32

Re: [En cours] B3, difficultés.

Message par Wazurius » 24 janv. 2010, 23:31

Merci ça marche les plugins. Maintenant j'aurais besoin d'aide pour que le bot parle comme un joueur :(.

Répondre