[RESOLU] Mes petits problemes avec b3

Tout ce qui concerne la configuration et l'administration des serveurs.
Rendez-vous dans Outils de communication & communautaires pour la conception de sites Internet.
Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 08 juin 2009, 02:06

bonjour apres kiwibot et leelabot. je me suis decidé a m attaquer a b3 :)

alors voila mes petits problemes :

- le plugins "welcome" marche pas :( pas d erreur dans le fichier b3.log si quelqu un a une idee ?

- 300000 commandes donc les 3/4 je sais pas a quoi elles servent :D
mais pas de commandes utiles pour UrT comme "!teams" ou "!force" apres quelque recherche j ai trouvé un extplugins " poweradminurt ". c est magnifique ca rajoute des commandes :D dont "!teams" et "!force" :)
mais beaucoup de commandes ont "pa" devant par exemple "!papause" ou "!paveto"

existe_t'il plusieur plugins "poweradminurt"? peut on sans probleme modifier le nom des commandes dans le fichier poweradminurt.xml? et enfin pour le reste des commandes c est plugins_admin.xml?
Modifié en dernier par PtitBigorneau le 08 juin 2009, 02:11, modifié 1 fois.
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 08 juin 2009, 09:13

- le plugins "welcome" marche pas :( pas d erreur dans le fichier b3.log si quelqu un a une idee ?
Le plugin welcome est plutot balaise à configurer (c'est un peu comme pour configurer quels votes sont autorisés dans UrT)
Poste la config du plugin welcome, Vérifie aussi dans le log du bot que le plugin est bien chargé au démarrage.
- 300000 commandes donc les 3/4 je sais pas a quoi elles servent :D
Documentation sur les commandes de base de B3 : http://wiki.github.com/BigBrotherBot/bi ... l-commands
Aussi les plugins rajoutent des commandes à ces commandes de base.
mais pas de commandes utiles pour UrT comme "!teams" ou "!force" apres quelque recherche j ai trouvé un extplugins " poweradminurt ". c est magnifique ca rajoute des commandes :D dont "!teams" et "!force" :)
mais beaucoup de commandes ont "pa" devant par exemple "!papause" ou "!paveto"
B3 est un bot généraliste pour les jeux basés sur Quake3 (ET, cod, cod2, cod4, cod5, iourt, ...), le plugin poweradminurt ajoute à B3 les commandes spécifiques au jeu UrbanTerror.
Pour éviter des collisions sur les noms de commandes provenant d'autres plugins, toutes les commandes du plugin PowerAdminUrt commencent par 'pa'. Toutefois, si tu regardes le fichier de config de ce plugin, la plupart de ces commandes ont un alias. Le fichier readme de ce plugin est très utile pour les connaître (sinon tu peux toujours les trouver dans le fichier de config)
existe_t'il plusieur plugins "poweradminurt"?
Il n'y en a qu'un. Mais d'autres plugins sont utiles, genre le plugin banlist (voir ma sig)
peut on sans probleme modifier le nom des commandes dans le fichier poweradminurt.xml?
Non. Par contre tu peux modifier leur alias (la partie après le '-')
et enfin pour le reste des commandes c est plugins_admin.xml?
le plugin admin est un plugin de base de B3 qui n'est pas spécifique à Urt (d'où l'utilité de poweradminurt). Le plugin admin est indispensable au bon fonctionnement de B3 ; en effet c'est lui qui gère les différents niveaux (registred, regular, modo, admin, ..., superadmin) et c'est sur lui que s'appuient les autres plugins pour inscrires leur nouvelles commandes.

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 08 juin 2009, 18:24

deja Courgette merci pour ta reponse.
log
090608 18:07:02 BOT Loading Plugin #9 welcome [/home/servers/b3/b3/conf/plugin_welcome.xml]
090608 18:07:02 BOT WelcomePlugin: Loading config /home/servers/b3/b3/conf/plugin_welcome.xml for WelcomePlugin
090608 18:07:02 DEBUG Register Event: Stop Process: WelcomePlugin
090608 18:07:02 DEBUG Register Event: Program Exit: WelcomePlugin
090608 18:07:02 BOT Plugin welcome (1.0.6 - ThorN) loaded
090608 18:07:02 BOT Client found in storage 1, welcome back World
090608 18:07:02 DEBUG Storage: setClient <b3.clients.Client object at 0x84f6cac>
090608 18:07:02 DEBUG Storage: setClient data {'time_add': 1244417589, 'time_edit': 1244477222, 'name': 'World', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': '', 'pbid': 'WORLD', 'connections': 6, 'mask_level': 0, 'guid': 'WORLD', 'id': 1}
090608 18:07:07 BOT Starting Plugin welcome
090608 18:07:07 DEBUG Register Event: Client Authenticated: WelcomePlugin
090608 18:07:29 BOT Client found in storage 2, welcome back PtitBigorneau
090608 18:07:29 DEBUG Storage: setClient <b3.clients.Client object at 0x84ffdac>
090608 18:07:29 DEBUG Storage: setClient data {'time_add': 1244417602, 'time_edit': 1244477249, 'name': 'PtitBigorneau', 'group_bits': 128, 'ip': 'xx.xxx.xxx.xx', 'auto_login': 1, 'greeting': '', 'pbid': '', 'connections': 6, 'mask_level': 0, 'guid': 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'id': 2}
090608 18:07:29 DEBUG Client Authorized: [1] PtitBigorneau - xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
090608 18:07:29 VERBOSE Queueing event Client Authenticated <b3.clients.Client object at 0x84ffdac>
090608 18:07:29 VERBOSE Parsing Event: Client Authenticated: WelcomePlugin
fichier plugin_welcome.xml
<configuration plugin="welcome">
<settings name="settings">
<!--
who to welcome
1 = welcome newb
2 = welcome announce_user
4 = welcome first
8 = welcome announce_first
16 = welcome user
32 = custom greetings
add numbers, 63 = all
-->
<set name="flags">63</set>
<!-- Maximum number of connections a user has to be considere a newb for the newb message -->
<set name="newb_connections">15</set>
<!-- Time in seconds after connection to display the message (range: 15-90) -->
<set name="delay">30</set>
</settings>
<settings name="messages">
<!--
Welcome messages
$name = player name
$id = player id
$lastVisit = last visit time (only on welcome_user and welcome_newb)
$group = players group (only on welcome_user)
$connections = number of times a user has connected (only on welcome_user and welcome_announce_user)
-->
<!-- displayed to admins and regs -->
<set name="user">^7[^2Authed^7] Welcome back $name ^7(^3@$id^7), last visit ^3$lastVisit^7, you're a ^2$group^7, played $connections times</set>
<!-- displayed to users who have not yet registered -->
<set name="newb">^7[^2Authed^7] Welcome back $name ^7(^3@$id^7), last visit ^3$lastVisit. Type !register in chat to register. Type !help for help</set>
<!-- displayed to everyone when a player with less than 15 connections joins -->
<set name="announce_user">^7Everyone welcome back $name^7, player number ^3#$id^7, to the server, played $connections times</set>
<!-- displayed to a user on his first connection -->
<set name="first">^7Welcome $name^7, this must be your first visit, you are player ^3#$id. Type !help for help</set>
<!-- displayed to everyone when a player joins for the first time -->
<set name="announce_first">^7Everyone welcome $name^7, player number ^3#$id^7, to the server</set>
<!-- displayed if a user has a greeting -->
<set name="greeting">^7$name^7 joined: $greeting</set>
</settings>
</configuration>
j ai rien changé. c est peut etre la le probleme :)
Modifié en dernier par PtitBigorneau le 08 juin 2009, 18:25, modifié 1 fois.
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 08 juin 2009, 18:46

Code : Tout sélectionner

<set name="delay">30</set>
il te welcome 30s après ta connection (pour s'assurer que tu as fini de loader la map et donc que tu vois ton propre welcome)

C'est peut-être çà ?

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 08 juin 2009, 19:52

la ca fait + d 1 heure que je suis connecte sur mon serveur. toujours pas de message de "welcome" :(
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 08 juin 2009, 20:03

redemarre le bot,
attend qu'il ait fini de s'initialiser (regarde le log),
connecte-toi ensuite au serveur UrT,
deconnecte-toi,
arrette le bot,
post le log du bot.

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 08 juin 2009, 21:53

090608 21:43:15 BOT Starting Iourt41Parser server for xxxxxxxxx:xxxxx
090608 21:43:15 BOT --------------------------------------------
090608 21:43:15 BOT Attempting to connect to database mysql://b3:******@localhost/b3...
090608 21:43:15 BOT Connected to database
090608 21:43:15 BOT Game log /home/ptitbigorneau/.q3a/q3ut4/urt2.log
090608 21:43:15 BOT Starting bot reading file /home/ptitbigorneau/.q3a/q3ut4/urt2.log
090608 21:43:15 BOT Loading Plugin #1 censor [/home/servers/b3/b3/conf/plugin_censor.xml]
090608 21:43:15 BOT CensorPlugin: Loading config /home/servers/b3/b3/conf/plugin_censor.xml for CensorPlugin
090608 21:43:15 DEBUG Register Event: Stop Process: CensorPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: CensorPlugin
090608 21:43:15 BOT Plugin censor (2.1.0 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #2 spamcontrol [/home/servers/b3/b3/conf/plugin_spamcontrol.xml]
090608 21:43:15 BOT SpamcontrolPlugin: Loading config /home/servers/b3/b3/conf/plugin_spamcontrol.xml for SpamcontrolPlugin
090608 21:43:15 DEBUG Register Event: Stop Process: SpamcontrolPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: SpamcontrolPlugin
090608 21:43:15 BOT Plugin spamcontrol (1.1.2 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #3 admin [/home/servers/b3/b3/conf/plugin_admin.xml]
090608 21:43:15 BOT AdminPlugin: Loading config /home/servers/b3/b3/conf/plugin_admin.xml for AdminPlugin
090608 21:43:15 DEBUG Register Event: Stop Process: AdminPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: AdminPlugin
090608 21:43:15 BOT Plugin admin (1.3.4b0 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #4 tk [/home/servers/b3/b3/conf/plugin_tk.xml]
090608 21:43:15 BOT TkPlugin: Loading config /home/servers/b3/b3/conf/plugin_tk.xml for TkPlugin
090608 21:43:15 DEBUG TkPlugin: tk max level is 40
090608 21:43:15 DEBUG Register Event: Stop Process: TkPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: TkPlugin
090608 21:43:15 BOT Plugin tk (1.1.6b0 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #5 stats [/home/servers/b3/b3/conf/plugin_stats.xml]
090608 21:43:15 BOT StatsPlugin: Loading config /home/servers/b3/b3/conf/plugin_stats.xml for StatsPlugin
090608 21:43:15 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
090608 21:43:15 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
090608 21:43:15 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
090608 21:43:15 DEBUG Register Event: Stop Process: StatsPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: StatsPlugin
090608 21:43:15 BOT Plugin stats (1.2.3 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #6 pingwatch [/home/servers/b3/b3/conf/plugin_pingwatch.xml]
090608 21:43:15 BOT PingwatchPlugin: Loading config /home/servers/b3/b3/conf/plugin_pingwatch.xml for PingwatchPlugin
090608 21:43:15 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x84a0d6c>> (139092556) - [0, 30]s -1m -1h -1d -1M -1DOW
090608 21:43:15 DEBUG Register Event: Stop Process: PingwatchPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: PingwatchPlugin
090608 21:43:15 BOT Plugin pingwatch (1.1.4 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #7 adv [/home/servers/b3/b3/conf/plugin_adv.xml]
090608 21:43:15 BOT AdvPlugin: Loading config /home/servers/b3/b3/conf/plugin_adv.xml for AdvPlugin
090608 21:43:15 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x84a69cc>> (139108716) - 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
090608 21:43:15 DEBUG Register Event: Stop Process: AdvPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: AdvPlugin
090608 21:43:15 BOT Plugin adv (1.1.3 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #8 status [/home/servers/b3/b3/conf/plugin_status.xml]
090608 21:43:15 BOT StatusPlugin: Loading config /home/servers/b3/b3/conf/plugin_status.xml for StatusPlugin
090608 21:43:15 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x84aae4c>> (139350380) - [0]s -1m -1h -1d -1M -1DOW
090608 21:43:15 DEBUG Register Event: Stop Process: StatusPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: StatusPlugin
090608 21:43:15 BOT Plugin status (1.2.6 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #9 welcome [/home/servers/b3/b3/conf/plugin_welcome.xml]
090608 21:43:15 BOT WelcomePlugin: Loading config /home/servers/b3/b3/conf/plugin_welcome.xml for WelcomePlugin
090608 21:43:15 DEBUG Register Event: Stop Process: WelcomePlugin
090608 21:43:15 DEBUG Register Event: Program Exit: WelcomePlugin
090608 21:43:15 BOT Plugin welcome (1.0.6 - ThorN) loaded
090608 21:43:15 BOT Loading Plugin #13 xlrstats [/home/servers/b3/b3/extplugins/conf/xlrstats.xml]
090608 21:43:15 INFO Could not find built in plugin xlrstats, trying external plugin directories.
No module named xlrstats
090608 21:43:15 BOT XlrstatsPlugin: Loading config /home/servers/b3/b3/extplugins/conf/xlrstats.xml for XlrstatsPlugin
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (1) for settings::minlevel
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (1000) for settings::defaultskill
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (16) for settings::Kfactor_high
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (4) for settings::Kfactor_low
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (100) for settings::Kswitch_kills
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (600) for settings::steepness
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (0.050000) for settings::suicide_penalty_percent
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (0.100000) for settings::tk_penalty_percent
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (1.200000) for settings::kill_bonus
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (70) for settings::prematch_maxtime
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_playerstats) for tables::playerstats
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_weaponstats) for tables::weaponstats
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_weaponusage) for tables::weaponusage
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_bodyparts) for tables::bodyparts
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_playerbody) for tables::playerbody
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_opponents) for tables::opponents
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_mapstats) for tables::mapstats
090608 21:43:15 DEBUG XlrstatsPlugin: Using default value (xlr_playermaps) for tables::playermaps
090608 21:43:15 DEBUG Register Event: Stop Process: XlrstatsPlugin
090608 21:43:15 DEBUG Register Event: Program Exit: XlrstatsPlugin
090608 21:43:15 BOT Plugin xlrstats (0.6.0 - Tim ter Laak) loaded
090608 21:43:15 VERBOSE RCON sending (xxxxxxx.xxxx) say ^2Victor: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.5b [posix] ^9(^3Astridaria^9)^3 ^2[ONLINE]
090608 21:43:15 VERBOSE 0 cid changed from None to -1
090608 21:43:15 DEBUG Client Connected: [-1] World - WORLD ({})
090608 21:43:15 DEBUG Storage: getClient <b3.clients.Client object at 0x84f6cac>
090608 21:43:15 BOT Client found in storage 1, welcome back World
090608 21:43:15 DEBUG Storage: setClient <b3.clients.Client object at 0x84f6cac>
090608 21:43:15 DEBUG Storage: setClient data {'time_add': 1244417589, 'time_edit': 1244490195, 'name': 'World', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': '', 'pbid': 'WORLD', 'connections': 16, 'mask_level': 0, 'guid': 'WORLD', 'id': 1}
090608 21:43:15 DEBUG Client Authorized: [-1] World - WORLD
090608 21:43:16 VERBOSE RCON sending (xxxxxxxxx:xxxxx) status
090608 21:43:17 INFO map is: ut4_guerrilla
090608 21:43:17 VERBOSE RCON sending (xxxxxxxx:xxxxx) fs_game
090608 21:43:18 DEBUG Get cvar fs_game = ["fs_game" is:"q3ut4^7", the default]
090608 21:43:18 VERBOSE RCON sending (xxxxxxxx:xxxxx) fs_basepath
090608 21:43:19 DEBUG Get cvar fs_basepath = ["fs_basepath" is:".^7", the default]
090608 21:43:19 DEBUG fs_basepath: .
090608 21:43:19 VERBOSE RCON sending (xxxxxxxx:xxxxx) fs_homepath
090608 21:43:20 DEBUG Get cvar fs_homepath = ["fs_homepath" is:"/home/ptitbigorneau/.q3a^7", the default]
090608 21:43:20 DEBUG fs_homepath: /home/ptitbigorneau/.q3a
090608 21:43:20 BOT Starting Plugin censor
090608 21:43:20 DEBUG Register Event: Say: CensorPlugin
090608 21:43:20 DEBUG Register Event: Team Say: CensorPlugin
090608 21:43:20 BOT Starting Plugin spamcontrol
090608 21:43:20 DEBUG Register Event: Say: SpamcontrolPlugin
090608 21:43:20 DEBUG Register Event: Team Say: SpamcontrolPlugin
090608 21:43:20 DEBUG AdminPlugin: Command "spamins (None)" registered with cmd_spamins for level (20, 100)
090608 21:43:20 BOT Starting Plugin admin
090608 21:43:20 DEBUG Register Event: Say: AdminPlugin
090608 21:43:20 DEBUG Register Event: Private Message: AdminPlugin
090608 21:43:20 DEBUG AdminPlugin: Command "status (None)" registered with cmd_status for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "rules (r)" registered with cmd_rules for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warnclear (wc)" registered with cmd_warnclear for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "leveltest (lt)" registered with cmd_leveltest for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warn (w)" registered with cmd_warn for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "list (None)" registered with cmd_list for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warns (None)" registered with cmd_warns for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warntest (wt)" registered with cmd_warntest for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warninfo (wi)" registered with cmd_warninfo for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (9, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "nextmap (None)" registered with cmd_nextmap for level (2, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "cmdlevel (None)" registered with cmd_cmdlevel for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "lookup (l)" registered with cmd_lookup for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "b3 (None)" registered with cmd_b3 for level (9, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "seen (None)" registered with cmd_seen for level (2, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "find (None)" registered with cmd_find for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "pause (None)" registered with cmd_pause for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "kickall (kall)" registered with cmd_kickall for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "makereg (mr)" registered with cmd_makereg for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "admintest (None)" registered with cmd_admintest for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "regtest (None)" registered with cmd_regtest for level (1, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "rebuild (None)" registered with cmd_rebuild for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "maps (None)" registered with cmd_maps for level (2, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "ban (b)" registered with cmd_ban for level (60, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "ungroup (None)" registered with cmd_ungroup for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "delgroup (None)" registered with cmd_delgroup for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "banall (ball)" registered with cmd_banall for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "maprotate (None)" registered with cmd_maprotate for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "putgroup (None)" registered with cmd_putgroup for level (89, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "map (None)" registered with cmd_map for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "notice (None)" registered with cmd_notice for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "enable (None)" registered with cmd_enable for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "runas (su)" registered with cmd_runas for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "spankall (sall)" registered with cmd_spankall for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "tempban (tb)" registered with cmd_tempban for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "unmask (None)" registered with cmd_unmask for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "aliases (alias)" registered with cmd_aliases for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "disable (None)" registered with cmd_disable for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "editgroup (None)" registered with cmd_editgroup for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "groups (None)" registered with cmd_groups for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "baninfo (bi)" registered with cmd_baninfo for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "kick (k)" registered with cmd_kick for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "clientinfo (None)" registered with cmd_clientinfo for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "restart (None)" registered with cmd_restart for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "spams (None)" registered with cmd_spams for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "scream (None)" registered with cmd_scream for level (40, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "newgroup (None)" registered with cmd_newgroup for level (90, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "poke (None)" registered with cmd_poke for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "die (None)" registered with cmd_die for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "register (None)" registered with cmd_register for level (0, 0)
090608 21:43:20 DEBUG AdminPlugin: Command "mask (None)" registered with cmd_mask for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "say (None)" registered with cmd_say for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "unban (None)" registered with cmd_unban for level (60, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "help (h)" registered with cmd_help for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "reconfig (None)" registered with cmd_reconfig for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "admins (None)" registered with cmd_admins for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "warnremove (wr)" registered with cmd_warnremove for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "permban (pb)" registered with cmd_permban for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "time (None)" registered with cmd_time for level (1, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "clear (kiss)" registered with cmd_clear for level (80, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "spam (s)" registered with cmd_spam for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "spank (sp)" registered with cmd_spank for level (60, 100)
090608 21:43:20 DEBUG SELECT * FROM groups WHERE `keyword` = "superadmin" LIMIT 1
090608 21:43:20 DEBUG Storage: getClientsMatching {'&group_bits': 128}
090608 21:43:20 BOT Starting Plugin tk
090608 21:43:20 DEBUG Register Event: Client Team Damage: TkPlugin
090608 21:43:20 DEBUG Register Event: Client Team Kill: TkPlugin
090608 21:43:20 DEBUG Register Event: Client Disconnect: TkPlugin
090608 21:43:20 DEBUG Register Event: Game Exit: TkPlugin
090608 21:43:20 DEBUG AdminPlugin: Command "forgive (f)" registered with cmd_forgive for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "forgivelist (fl)" registered with cmd_forgivelist for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "forgiveall (fa)" registered with cmd_forgiveall for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "forgiveinfo (fi)" registered with cmd_forgiveinfo for level (20, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "forgiveclear (fc)" registered with cmd_forgiveclear for level (60, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "forgiveprev (fp)" registered with cmd_forgivelast for level (0, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "grudge (grudge)" registered with cmd_grudge for level (0, 100)
090608 21:43:20 BOT Starting Plugin stats
090608 21:43:20 DEBUG Register Event: Client Team Damage: StatsPlugin
090608 21:43:20 DEBUG Register Event: Client Team Kill: StatsPlugin
090608 21:43:20 DEBUG Register Event: Client Kill: StatsPlugin
090608 21:43:20 DEBUG Register Event: Client Damage: StatsPlugin
090608 21:43:20 DEBUG Register Event: Game Exit: StatsPlugin
090608 21:43:20 BOT Starting Plugin pingwatch
090608 21:43:20 DEBUG Register Event: Game Exit: PingwatchPlugin
090608 21:43:20 BOT Starting Plugin adv
090608 21:43:20 DEBUG AdminPlugin: Command "advadd (None)" registered with cmd_advadd for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "advrate (None)" registered with cmd_advrate for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "advlist (None)" registered with cmd_advlist for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "advsave (None)" registered with cmd_advsave for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "advload (None)" registered with cmd_advload for level (100, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "advrem (None)" registered with cmd_advrem for level (100, 100)
090608 21:43:20 BOT Starting Plugin status
090608 21:43:20 BOT Starting Plugin welcome
090608 21:43:20 DEBUG Register Event: Client Authenticated: WelcomePlugin
090608 21:43:20 BOT Starting Plugin xlrstats
090608 21:43:20 DEBUG AdminPlugin: Command "xlrhide (None)" registered with cmd_xlrhide for level (60, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "xlrstats (None)" registered with cmd_xlrstats for level (1, 100)
090608 21:43:20 DEBUG AdminPlugin: Command "xlrtopstats (None)" registered with cmd_xlrtopstats for level (2, 100)
090608 21:43:20 DEBUG Register Event: Client Join Team: XlrstatsPlugin
090608 21:43:20 DEBUG Register Event: Client Kill: XlrstatsPlugin
090608 21:43:20 DEBUG Register Event: Client Team Kill: XlrstatsPlugin
090608 21:43:20 DEBUG Register Event: Client Suicide: XlrstatsPlugin
090608 21:43:20 DEBUG Register Event: Game Round Start: XlrstatsPlugin
090608 21:43:20 DEBUG XlrstatsPlugin: Got client id for WORLD: 1
090608 21:43:20 BOT Start reading...
090608 21:44:00 VERBOSE RCON sending (xxxxxxxx:xxxxx) say ^2Victor: ^2Victor vous surveille !!!... Merci BigBrotherBot!!!
090608 21:44:01 VERBOSE RCON sending (xxxxxxx:xxxxx) status
090608 21:44:02 VERBOSE StatusPlugin: Building XML status
090608 21:44:02 DEBUG StatusPlugin: Writing XML status to /home/ptitbigorneau/status.xml
090608 21:44:25 CONSOLE 79:47 ClientConnect: 1
090608 21:44:25 DEBUG Client Connected - ready to parse Userinfoline
090608 21:44:25 CONSOLE 79:47 ClientUserinfo: 1 ipxxxxxxxxx:xxxxxchallenge447351169qport31594protocol68name^2P^7tit^2B^7igorneaupasswordlmkgrate8000cg_predictitems\0snaps20modelsargeheadmodelsargeteam_modeljamesteam_headmodel*jamescolor14color25handicap100sexmalecl_anonymous\0teamtask\0cl_guidxxxxxxxxxxxxxxxxxxxxx
090608 21:44:25 VERBOSE Parsed user info {'protocol': '68', 'ip': xxxxxxxxxxxx, 'sex': 'male', 'rate': '8000', 'cg_predictitems': '0', 'headmodel': 'sarge', 'port': '27960', 'team_model': 'james', 'cl_anonymous': '0', 'cl_guid': 'xxxxxxxxxxxxxxxxxxxx', 'snaps': '20', 'handicap': '100', 'color1': '4', 'qport': '31594', 'color2': '5', 'password': 'xxxxxx', 'teamtask': '0', 'name': '^2P^7tit^2B^7igorneau', 'cid': '1', 'challenge': '447351169', 'team_headmodel': '*james', 'team': -1, 'model': 'sarge'}
090608 21:44:25 VERBOSE 0 cid changed from None to 1
090608 21:44:25 DEBUG Client Connected: [1] PtitBigorneau - 0xxxxxxxxxxxxxxxxxxx ({'guid': '0xxxxxxxxxxxxxxxxxxxxxxxx'})
090608 21:44:25 DEBUG Storage: getClient <b3.clients.Client object at 0x8500cac>
090608 21:44:25 BOT Client found in storage 2, welcome back PtitBigorneau
090608 21:44:25 DEBUG Storage: setClient <b3.clients.Client object at 0x8500cac>
090608 21:44:25 DEBUG Storage: setClient data {'time_add': 1244417602, 'time_edit': 1244490265, 'name': 'PtitBigorneau', 'group_bits': 128, 'ip': xxxxxxxx, 'auto_login': 1, 'greeting': 'Salut!!! Hi!!!', 'pbid': '', 'connections': 17, 'mask_level': 0, 'guid': 'xxxxxxxxxxxxxxxxxxx', 'id': 2}
090608 21:44:25 DEBUG Client Authorized: [1] PtitBigorneau - xxxxxxxxxxxxxxxxxxxxxx
090608 21:44:25 VERBOSE Queueing event Client Authenticated <b3.clients.Client object at 0x8500cac>
090608 21:44:25 VERBOSE Parsing Event: Client Authenticated: WelcomePlugin
090608 21:44:25 CONSOLE 79:47 ClientUserinfoChanged: 1 nPtitBigorneaut3r2tl\0f0\f1\f2\a0255a1255a2255
090608 21:44:25 VERBOSE Parsed user info {'name': 'PtitBigorneau', 'cid': '1', 'n': 'PtitBigorneau', 'a1': '255', 'a0': '255', 'tl': '0', 'r': '2', 't': '3', 'team': 1, 'a2': '255'}
090608 21:44:25 VERBOSE 2 cid changed from 1 to 1
090608 21:44:34 CONSOLE 79:56 ClientUserinfo: 1 ipxxxxxxxxxxxname^2P^7tit^2B^7igorneaupasswordlmkgracered3raceblue3rate8000ut_timenudge\0cg_rgb\0 255 0funredcapbk,ninjafunbluecapbl,ninjacg_predictitems\0cg_physics1snaps20modelsargeheadmodelsargeteam_modeljamesteam_headmodel*jamescolor14color25handicap100sexmalecl_anonymous\0gearFLAAWVXteamtask\0cl_guidxxxxxxxxxxxxxxxxxxxweapmodes\01000110210000020002
090608 21:44:34 VERBOSE Parsed user info {'racered': '3', 'ip': 'xxxxxxxxxxx', 'sex': 'male', 'rate': '8000', 'cg_predictitems': '0', 'headmodel': 'sarge', 'port': '27960', 'team_model': 'james', 'cl_anonymous': '0', 'funred': 'capbk,ninja', 'weapmodes': '01000110210000020002', 'cl_guid': 'xxxxxxxxxxxxxxxxx', 'funblue': 'capbl,ninja', 'snaps': '20', 'cg_rgb': '0 255 0', 'gear': 'FLAAWVX', 'handicap': '100', 'team': -1, 'color1': '4', 'color2': '5', 'password': 'xxxxxx', 'cg_physics': '1', 'teamtask': '0', 'name': '^2P^7tit^2B^7igorneau', 'cid': '1', 'team_headmodel': '*james', 'ut_timenudge': '0', 'raceblue': '3', 'model': 'sarge'}
090608 21:44:34 VERBOSE 2 cid changed from 1 to 1
090608 21:44:34 CONSOLE 79:56 ClientUserinfoChanged: 1 nPtitBigorneaut3r3tl\0f0\f1\f2\a0255a1255a2255
090608 21:44:34 VERBOSE Parsed user info {'name': 'PtitBigorneau', 'cid': '1', 'n': 'PtitBigorneau', 'a1': '255', 'a0': '255', 'tl': '0', 'r': '3', 't': '3', 'team': 1, 'a2': '255'}
090608 21:44:34 VERBOSE 2 cid changed from 1 to 1
090608 21:44:34 CONSOLE 79:56 ClientBegin: 1
090608 21:45:00 VERBOSE RCON sending (xxxxxxxxxxxxx) status
090608 21:45:01 VERBOSE StatusPlugin: Building XML status
090608 21:45:01 DEBUG StatusPlugin: Writing XML status to /home/ptitbigorneau/status.xml
090608 21:45:13 CONSOLE 80:35 ClientDisconnect: 1
090608 21:45:13 VERBOSE Queueing event Client Disconnect 1
090608 21:45:14 VERBOSE Parsing Event: Client Disconnect: TkPlugin
090608 21:45:18 BOT Shutting down...
090608 21:45:18 VERBOSE AdvPlugin: Warning: No handle func for AdvPlugin
090608 21:45:18 DEBUG XlrstatsPlugin: xlrstats.dumpEvent -- Type 2, Client None, Target None, Data
090608 21:45:18 BOT Shutting down database connections...
090608 21:45:18 INFO STDOUT Goodbye
090608 21:45:18 INFO STDOUT
c est nextmap la fonction qui marche pas dans AdvPlugin
Modifié en dernier par PtitBigorneau le 08 juin 2009, 21:58, modifié 1 fois.
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 08 juin 2009, 22:04

c'est bizarre... met ton b3.xml pour voir.

Sinon pour le advplugin, y'a rien de méchant.

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 08 juin 2009, 22:43

b3.xml
<configuration>
<settings name="b3">
<set name="parser">iourt41</set>
<set name="database">mysql://b3:**********@localhost/b3</set>
<set name="bot_name">b3</set>
<set name="bot_prefix">^2Victor:</set>
<set name="time_format">^7%d/%m/%y %Hh%M</set>
<set name="time_zone">CEST</set>
<!-- 9 = verbose, 10 = debug, 21 = bot, 22 = console -->
<set name="log_level">9</set>
<set name="logfile">/home/ptitbigorneau/.q3a/q3ut4/b3.log</set>
</settings>
<settings name="server">
<set name="rcon_password">***********</set>
<set name="port">********</set>
<set name="game_log">/home/ptitbigorneau/.q3a/q3ut4/urt2.log</set>
<set name="public_ip">*********</set>
<set name="rcon_ip">*********</set>
<set name="punkbuster">off</set>
</settings>
<settings name="messages">
<set name="kicked_by">%s^7 a ete kicke par %s^7 %s</set>
<set name="kicked">%s^7 a ete kicke %s</set>
<set name="banned_by">%s^7 a ete banni par %s^7 %s</set>
<set name="banned">%s^7 a ete banni %s</set>
<set name="temp_banned_by">%s^7 a ete temporairement banni par %s^7 raison: %s^7 %s</set>
<set name="temp_banned">%s^7 a ete temporairement banni par %s^7 raison: %s^7 %s</set>
<set name="unbanned_by">%s^7 a ete debanni %s^7 %s</set>
<set name="unbanned">%s^7 a ete debanni %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="punkbuster" priority="10" config="@b3/conf/plugin_punkbuster.xml"/>
-->
<!--
This plugin will require an extra login password from your higher admins. You
can use this if you are concerned about people accidentally gaining admin rights
because of non-unique guids in Cod2.
For Cod1 and Cod:UO this is less of a concern, because they can use the
Punkbuster IDs.
<plugin name="login" priority="12" config="@b3/conf/plugin_login.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>
nextmap dans advplugin je trouvais ca sympa :D
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 09 juin 2009, 00:22

ta config est parfaite :) heu c'est quelle version du bot et quelle version du parser ?

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 09 juin 2009, 10:59

version bot b3-1.1.5b(xlr8or-big-brother-bot) mais c est la meme chose avec b3-1.1.4b

version du parser je sais pas. le fichier iourt41.py qui est avec
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 09 juin 2009, 12:03

si tu te débrouilles un peu en programmation, faudrait mettre les mains dans le camboui (fichier adv.py) et mettre plus de self.debug("des trucs utiles") ...

Sinon pour le reste, est-ce que tout tourne comme tu veux ?

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 09 juin 2009, 13:07

je connais pas du tout python
pour le reste en gros oui tout a l air de fonction
a part la commande !nextmap mais je pense que c est le meme probleme que dans le plugins_adv
j ai pas tout tester les commandes
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

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

Message par Courgette » 09 juin 2009, 14:30

AFAIK la command !nextmap s'appuie sur ton fichier cyclemap (si elle le trouve), regarde les logs du bot quand tu lance la commande !nextmap, y'aura peut-être des infos utiles

Avatar du membre
PtitBigorneau
Messages : 516
Enregistré le : 19 oct. 2008, 13:50
Localisation : brest

Message par PtitBigorneau » 09 juin 2009, 14:57

pour le plugins_welcome ca peu venir du fichier server.cfg urt ?

headshots_plugins j ai du changer
set g_logsync "2"
set logfile "1"
set g_loghits "1"
Modifié en dernier par PtitBigorneau le 09 juin 2009, 14:58, modifié 1 fois.
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

Répondre