[RÉSOLU] B3 et UrbanTerror

Tout ce qui concerne la configuration et l'administration des serveurs.
Rendez-vous dans Outils de communication & communautaires pour la conception de sites Internet.
Répondre
pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

B3 et UrbanTerror

Message par pierreyves258 » 30 mai 2011, 20:56

Bonjour, j'ai installer B3 sur mon ordi et je l'ai régler pour mon serveur (aussi sur mon ordi) quand je me connecte sur mon serveur (avec l'ip internet donc la redirection marche déjà) je vois bien B3 qui parle mais quand j'écris une commande comme !iamgod ou !help rien ne se passe
alors que sur |Wc|'s Eagle 24/7 le bot est aussi b3 (a ce que j'ai vu) et lui il marche très bien quand tu lui rentre une commande ... pouvez vous m'aider a faire marcher le bot sur mon serveur ( j'ai B3 version 1.6.0 et URT version 4.1.1)

Merci

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: B3 et UrbanTerror

Message par Sparkwade » 30 mai 2011, 21:04

A priori on dirait que B3 ne lit pas les logs ...

Est-ce que tu as bien ceci dans la config de ton serveur Urt ?

Code : Tout sélectionner

set g_log "games.log" 
set g_logsync "1"
set g_loghits "1"
set g_logroll "0"
set logfile "0"
Sinon vérifie si tu ne t'es pas trompé dans le chemin vers le log que tu as indiqué dans la cfg de B3.

Ce topic pourrait éventuellement t'aider : http://www.urban-terror.fr/forums/viewt ... =7&t=11321

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 30 mai 2011, 21:14

Ok merci je regarderais sa et je vous dirais

EDIT: sa ne marche pas mais je vais changer des réglages sa m'a en effet l'air de venir de la car rien ne s'écrit dans games.log la dernière chose marquée est shutdown server et quand il se passe qualque chose sur la console du serveur rien ne se passe dnas games .log

AH bah oui en faite .q3a est caché lol et ce fichier games.log marche bien !
j'essaye sa



par contre il n'est pas écris en temps réel donc sa marche pas ...
pouves vous me dire exactement les réglesges a mettre pour que games.log s'ecrive ne temps réel

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: B3 et UrbanTerror

Message par Sparkwade » 30 mai 2011, 21:58

Code : Tout sélectionner

set g_logsync "1" //enables/disables direct writing to the log file instead of buffered
Si ça ne marche toujours pas, post nous ton server.cfg et ton fichier de conf de B3 en ayant enlevé les identifiants/mots de passe/rcon !

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

Re: B3 et UrbanTerror

Message par PtitBigorneau » 30 mai 2011, 22:21

non poste ton b3.log plutot
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 30 mai 2011, 22:31

j'essaye avec le fichier qconsole.log qui se met a jour mais ne garde que la session (ou je jour je ne sait pas) en cours...

ah bah voila sa marche :)
par contre j'ai pas trouver les plugins urt dons la commande !hs marche pas

m'ais j'aimerais bien que games.log marche ...

serveur.cfg

Code : Tout sélectionner

//Example config. Note that everything behind // is ignored by the game

//Try to keep cvar-values as short as possible. Otherwise you might get "info string length exceeded" errors on your server

set filterBan 1

//*** Administrator Info, shows in some gamebrowsers ***

sets " Admin" "pierreyves258" //Uses a space in front so it shows up at the top of the properties list

sets " Email" "le.boss.65@live.fr"



//*** Server Name and Daily Message ***

set sv_hostname "^7EagleOnly_serveur_16H-19H" //Your servername here

set g_motd "Bienvenu sur mon serveur (Admin:pierreyves258)" //Your message of the day here, it is displayed while connecting

set sv_joinmessage "Please don't use hack" //Your joinmessage here, it is displayed when the game is joined



//*** General Game Settings ***

set sv_maxclients "12" //max clientslots available on the server, using more than 16 is not advised. It can cause lag and most maps are not built for it. Going over 24 can cause nasty bugs.

set g_maxGameClients "0" //max clients that can actually join the game. Other clients are forced to spectate. 0=all

set sv_privateClients "2" //Amount of private slots. This amount of slots will be reserved for players who enter the right privatepassword

set g_gametype "3" //0=FreeForAll, 3=TeamDeathMatch, 4=Team Survivor, 5=Follow the Leader, 6=Capture and Hold, 7=Capture The Flag, 8=Bombmode

sets sv_dlURL "urbanterror.net" //Sets the address for auto-downloading. Auto-download only works on ioUrbanTerror-clients, not quake3-clients. The client will try to download <sv_dlURL>/q3ut4/mapname.pk3. So if your server is running ut4_coolmap and sv_dlURL is set to 'yoursite.com/maps', make sure the maps is hosted at http://www.yoursite.com/maps/q3ut4/ut4_coolmap.pk3. Leaving this set 'urbanterror.net' will make it use a map mirror with the most common maps on it. If you got your own hosting, please us that though, to save bandwith.



//*** Passwords ***

set rconpassword "*****" //Password to control the server remotely using rcon.

set sv_privatePassword "*****" //password for private slots

set g_password "" //password for the server. Nothing = public



//*** Limits/times ***

set timelimit "20" //time in minutes before map is over, 0=never

set fraglimit "100" //amount of points to be scored before map is over, 0=never

set capturelimit "0" //amount of flagcaps before map is over, 0=never

set g_warmup "15" //time in seconds before game starts when changed to a new map. Gives slower computers time to load before game starts



//*** Respawning *** (FFA, TDM, CAH, CTF)

set g_respawnDelay "2" //seconds before respawn, ignored when g_waverespawns is 1

set g_forcerespawn "20" //seconds before respawn is forced, even when plater did not press fire

set g_waverespawns "0" //use waverespawns, meaning everybody in a team respawns at the same time

set g_bluewave "15" //seconds between blue waverespawns, ignored when g_waverespawns is 0

set g_redwave "15" //seconds between red waverespawns, ignored when g_waverespawns is 0

set g_respawnProtection "2" //amount of seconds a spawning players is protected from damage



//*** Rules ***

set g_deadchat "1" //Determines if alive players can see dead players message. 0=living players can not see dead players chat 1=living players see only team-messages from dead teammembers 2=living players also see normal chats from dead players

set g_antiwarp "1" //enable or disable antiwarp. This option smooths the movement of warping players (warping is caused by a crappy connection, for instance when torrenting during playing). The warping player will experience stutters when this is enabled

set g_antiwarptol "50" //tolerance of the antiwarp. Higher = more tolerant. 50=default

set g_gear "0" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterror.net/gear_calc.html to find the correct number

set g_allowvote "536871039" //bitmask that decides which votes are allowed and which not. Check http://www.urbanterror.net/allowvote_calc.html to find the correct number

set g_failedvotetime "300" //time in seconds before someone can call another vote after another has failed

set g_followstrict "1" //1=no haunting of enemies when dead

set sv_floodprotect "1" //1=stops clients from spamming many chatlines



//*** Matchmode ***

set g_matchmode "0" //matchmode is for matchplay. Features timeouts and ready-commands

set g_timeouts "3" //ammount of timeouts that a team can do per map

set g_timeoutlength "240" //length of the timeout

set g_pauselength "0" //length of a pause. This can only be done by rcon. 0=indefinatly



//*** Team Game Settings ***

set g_friendlyFire "1" //0=no friendlyfire 1=friendlyfire on, kick after too many TK's 2=friendlyfire on, no kicks

set g_maxteamkills "3" //amount of TK's before you get kicked when friendlyfire is 1

set g_teamkillsforgettime "300" //amount of seconds before TK's are forgotten

set g_teamautojoin "0" //force players to autojoin on connect, instead of letting them spec untill they join themselves

set g_teamForceBalance "1" //if on, you can't join a team when it has more players then the other

set g_maintainTeam "1" //when switching maps, players will stay in their team

set g_teamnamered "Killers" //name for the red team, nothing = Red Dragons

set g_teamnameblue "Destructeurs" //name for the red team, nothing = SWAT

set g_swaproles "0" //When map is over, play it again with the teams swapped (recommended for bombmode). After that, change map. 0=change map immediatly when map is over, no swapping of teams



//*** Team Survivor/Bombmode/Follow the Leader Specific Settings ***

set g_maxrounds "0" //number of rounds before map is over, 0=never

set g_RoundTime "3" //maximum minutes a round can take

set g_survivorrule "0" //0=teams don't get a point when time is up before everyone is dead. 1=team with most players left gets point

set g_suddendeath "1" //when map is over and both teams have same amount of points, add another round

set g_bombdefusetime "10" //seconds it takes to defuse bomb

set g_bombexplodetime "40" //seconds before bomb goes off after planting



//*** Capture the flag Specific Settings ***

set g_flagreturntime "30" //if a flag is dropped, return it after this amount of seconds

set g_hotpotato "2" //when both flags are taken, they will explode after this amount of minutes



//*** Advanced settings *** Dont change, unless you know what you are doing

set sv_strictauth "0" //1=check for valid cdkey, this means ioUrbanTerror players will not be able to join

set sv_pure "1" //dont let players load modified pk3-files

set sv_maxRate "0" //maximum traffic per second the server will send per client. 25000 or 0 = max

set sv_timeout "180" //time in seconds before player with a interupted connection will be kicked

set g_inactivity "0" //time in seconds before a non-moving player will be kicked



//*** Master Servers *** Servers the server will report to if 'dedicated' is set to 2. When set to 1, it doesn't report.

set sv_master1 "" //This one will be set automatically by the game-engine, so just leave it blank

set sv_master2 "master.urbanterror.net"

set sv_master3 "master2.urbanterror.net"

set sv_master4 "master.quake3arena.com"

set sv_master5 ""



//*** Other Settings ***

set g_armbands "1" //determines the behaviour of the armbandcolor (also shows on playerlist and minimap). 0=player's choice, set with cg_rgb 1=Based on teamcolor (red or blue) 2=assigned by server (random)

set sv_maxping "0" //max ping a client may have when connecting to the server

set sv_minping "0" //min ping a client may have when connecting to the server

set g_allowchat "2" //0= no chatting at all 1=teamchats only 2=all chats

set g_log "games.log" //name of the logfile. Empty ("") means no log. Log will be in the q3ut4 folder in windows. Linux uses ~/.q3a/q3ut4

set g_logsync "1" //enables/disables direct writing to the log file instead of buffered

set g_loghits "1" //log every single hit. Creates very big logs

set g_logroll "0" //create new log every now and then, instead of always using the same one

set logfile "2" //additional logging in seperate qconsole.log file. 1=buffered, 2=synced

set g_cahtime "60" //Interval in seconds of awarding points for flags in Capture and Hold gamemode



//*** Map Rotation ***

set g_mapcycle "mapcycle.txt" //name of mapcycle-file, located in q3ut4 directory

map ut4_eagle //what map to start with



//*** Anti Cheat ***

//pb_sv_enable //to enable PB, remove the // at the beginning of this line (only works when using Quake 3 Arena, not ioUrbanTerror)

set sv_battleye "0" //Keep this disabled, BattlEye is dead
b3.distribution.xml

Code : Tout sélectionner

<configuration>

<!-- 

 If you want to generate a new config file and make sure the format is 

 correct, you can invoke the setup procedure with the 

 command : b3_run -s b3.xml



 This is B3 main config file (the one you specify when you run B3 with the 

 command : b3_run -c b3.xml) 



 For any change made in this config file, you have to restart the bot.

 Whenever you can specify a file/directory path, the following shortcuts

 can be used :

  @b3 : the folder where B3 code is installed in

  @conf : the folder containing this config file

 -->

	<settings name="b3">

		<!--

			Next line: the parser defines the game:

			cod/cod2/cod4/cod5/iourt41/etpro/wop/smg/bfbc2 (it should NOT be

			'changeme')

		-->

		<set name="parser">iourt41</set>

		<set name="database">mysql://b3:*****@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">*****</set>

		<set name="port">27960</set>

		<set name="game_log">/home/pierre-yves/.q3a/q3ut4/qconsole.log</set>

		<set name="public_ip">monsite.dyndns-work.com</set>

		<set name="rcon_ip">monsite.dyndns-work.com</set>

		<set name="punkbuster">on</set>

	</settings>

	<settings name="autodoc">

		<!-- Autodoc will generate a user documentation for all B3 commands 

		 * type : can be one of : html, htmltable, xml

		 * maxlevel : if you want to exclude commands reserved for higher levels

		 * destination : can be a file or a ftp url

		 by default, a html documentation is created in your conf folder

		-->

		<set name="type">html</set>

		<set name="maxlevel">100</set>

		<!-- <set name="destination">C:\Users\b3\Desktop\test_doc.htm</set> -->

		<!-- <set name="destination">ftp://user:pass@somewhere.com/www/test_doc.htm</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 order is important. Plugins that add new in-game commands all

			depend on the admin plugin. Make sure to have the admin plugin before

			them. -->

		<plugin name="censor" config="@conf/plugin_censor.xml" />

		<plugin name="spamcontrol" config="@conf/plugin_spamcontrol.xml" />

		<plugin name="admin" config="@conf/plugin_admin.xml" />

		<plugin name="tk" config="@conf/plugin_tk.xml" />

		<plugin name="stats" config="@conf/plugin_stats.xml" />

		<plugin name="pingwatch" config="@conf/plugin_pingwatch.xml" />

		<plugin name="adv" config="@conf/plugin_adv.xml" />

		<plugin name="status" config="@conf/plugin_status.xml" />

		<plugin name="welcome" config="@conf/plugin_welcome.xml" />

		<!--<plugin name="punkbuster" config="@conf/plugin_punkbuster.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" config="@b3/extplugins/conf/xlrstats.xml"/>

		-->

	</plugins>

</configuration>
Merci

PS: les B3.log il en recré un a chaque lancement ... B3.log.1, B3.log.2, B3.log.3 ...

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: B3 et UrbanTerror

Message par Sparkwade » 30 mai 2011, 23:05

Rien n'est écrit dans le games.log ? Est-ce que tu exécutes à la suite la cfg d'une compétition ?

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 30 mai 2011, 23:09

une config d'une competition ... non
si quelquechose est marqué dans games.log mais pas en temps réel ...

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

Re: B3 et UrbanTerror

Message par PtitBigorneau » 31 mai 2011, 00:07

dans ton server.cfg

Code : Tout sélectionner

set g_log "games.log" //name of the logfile. Empty ("") means no log. Log will be in the q3ut4 folder in windows. Linux uses ~/.q3a/q3ut4
set g_logsync "2" //enables/disables direct writing to the log file instead of buffered
set g_loghits "1" //log every single hit. Creates very big logs
set g_logroll "0" //create new log every now and then, instead of always using the same one
set logfile "0" //additional logging in seperate qconsole.log file. 1=buffered, 2=synced
et dans ton b3.xml

Code : Tout sélectionner

<set name="game_log">/home/pierre-yves/.q3a/q3ut4/games.log</set>
pour les plugins la tu dois pouvoir trouver ton bonheur -> http://forum.bigbrotherbot.net/downloads/?cat=2
-[TPF]-PtitBigorneau
http://www.PtitBigorneau.fr

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 31 mai 2011, 17:02

Merci j'essaye sa

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 31 mai 2011, 17:20

merci beaucoup tout marche bien :)
juste une question si je suis deja en admin (avec !iamgod) quelquin d'autre peut il faire cette commande et devenir admin avec moi ? si oui comment l'en en empecher ?

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

Re: B3 et UrbanTerror

Message par Sparkwade » 31 mai 2011, 17:28

So, it is wise to go in game immediately after starting B3 and typing !iamgod in chat, it will register YOU as the SuperAdmin and immediately and automatically disable the !iamgod command
http://wiki.bigbrotherbot.net/usage:becoming_superadmin

;-)

pierreyves258
Messages : 35
Enregistré le : 24 mai 2011, 20:05

Re: B3 et UrbanTerror

Message par pierreyves258 » 31 mai 2011, 17:56

Ok merci et dsl ...

Avatar du membre
Sparkwade
Membre de l'association
Membre de l'association
Messages : 1442
Enregistré le : 31 août 2008, 10:15

[RÉSOLU] B3 et UrbanTerror

Message par Sparkwade » 31 mai 2011, 18:43

Problème résolu
Bonjour,


Il semble que le problème de ce sujet a été résolu.

-----
Merci de votre compréhension.

L'équipe Urban Terror France

Répondre