Help - Search - Members - Calendar
Full Version: Commandmenu Special Match Avec Rcon
Forum 17B > Counter Strike 1.6 > General discussion
Acidounet
Afin de vous aider pour la gestion de votre serveur pendant vos matchs voici un commandmenu by acidounet.
J ai ete confronté a 2 gros probleme entre le commandmenu et certaine ligne de commande a prendre en compte
1° Le noms de serveur pour les serveurs HQ qui doit commancer par HQ::> (pb de caractere)
2° La suppression de mot de pass avce les serveur sans mdp en FFA (c'est les "" que le CM n aime pas)
Pour ses 2 problèmes sont contournés grace a la creation de 2 fichiers


---------------------------------------------------------------------------------------------------
namem.cfg (nom du serveur pendant le match):[/i]

rcon hostname "HQ::> Serveur *wC* in war [x]";wt8
---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------
[i]namef.cfg (noms du serveur en FFA + changement de pass pour celui en FFA):


rcon hostname "HQ::> Serveur *wC* by #wC-Team@Quakenet.net";wt8
rcon sv_password "";wt3
---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------
Maintenant les alias a rajouter dans votre autoexec.cfg, en gras ce que vous avez a modifier pour vous:

// Util
alias "wt" "wait;wait;wait;wait;wait;wait;wait;wait;wait;wait"
alias "wt3" "wt;wt;wt"
alias "wt6" "wt;wt;wt;wt;wt;wt"
alias "wt8" "wt;wt;wt;wt;wt;wt;wt;wt"
alias "wt120" "wt8;wt3;wt"
alias "wt170" "wt8;wt8;wt"

// rcon say
alias "chteam" "rcon say On change de camp"
alias "nmdp" "rcon say mot de pass pour le match !!! wcwar !!!"
alias "nmdp1" "rcon say Alors attention en cas de deconnection !!!!"
alias "normmdp1" "rcon say mot de pass habituel en fonction"
alias "strat1" "rcon say *** strat *** strat *** strat ***"
alias "pret" "rcon say Etes Vous Pret ???"
alias "glhf" "rcon say GL et HF !!!"
alias "3rs" "rcon say 3 RS ET GO"
alias "gogo" "rcon say GO GO GO"
alias "cfgmatch1" "rcon say Passage du serveur en config match"
alias "cfgnorm1" "rcon say Passage du serveur en config normal"
alias "outserv" "rcon say Merci de quitter le serveur nous sommes en match/train DSL"
alias "vraip" "rcon say Veuillez mettre vos vrai pseudo"
alias "pub1" "rcon say Passez nous voir sur http://www.forumwc.firstream.net/ ou #wc-team@quakenet"

//alias de commande match
alias "acmname" "exec namem.cfg;wt3"
alias "acmcfg1" "rcon mp_autokick 0;wt;rcon mp_autoteambalance 0;wt"
alias "acmcfg2" "rcon mp_forcechasecam 2;wt;rcon mp_forcecamera 2;wt"
alias "acmcfg3" "rcon mp_friendlyfire 1;wt;rcon mp_friendly_grenade_damage 1;wt;rcon mp_falldamage 1;wt;"
alias "acmcfg4" "rcon mp_limitteams 0;wt;rcon mp_mapvoteratio 1;wt"
alias "acmcfg5" "rcon mp_roundtime 3;wt;rcon mp_timelimit 0;wt"
alias "acmcfg6" "rcon mp_mapvoteratio 1;wt;rcon mp_tkpunish 0;wt"
alias "acmcfg7" "rcon mp_buytime 0.25;wt;rcon pausable 1;wt"

//alias de commande ffa suivant votre config FFA
alias "acfname" "exec namef.cfg;wt3"
alias "acfcfg1" "rcon mp_autokick 1;wt;rcon mp_autoteambalance 2;wt"
alias "acfcfg2" "rcon mp_forcechasecam 0;wt;rcon mp_forcecamera 0;wt"
alias "acfcfg3" "rcon mp_friendlyfire 0;wt;rcon mp_friendly_grenade_damage 0;wt;rcon mp_falldamage 0;wt;"
alias "acfcfg4" "rcon mp_limitteams 2;wt"
alias "acfcfg5" "rcon mp_roundtime 3;wt;rcon mp_timelimit 20;wt"
alias "acfcfg6" "rcon mp_mapvoteratio 1;wt;rcon mp_tkpunish 1;wt"
alias "acfcfg7" "rcon mp_buytime 0.5;wt;rcon pausable 0;wt"

//commande
alias "changeteam" "chteam;wt;chteam;wt;chteam"
alias "newmdp" "rcon sv_password wcwar;wt3;nmdp;wt3;nmdp;wt3;nmdp1"
alias "strat" "strat1;wt;strat1;wt;strat1;wt"
alias "okiall" "pret;wt;pret;wt;pret"
alias "3RSGO" "glhf;wt;glhf;wt;3rs;wt;3rs;wt;3rs;wt;rcon sv_restartround 1;wt120;rcon sv_restartround 1;wt120;rcon sv_restartround 3;wt170;gogo;wt;gogo"
alias "cfgmatch" "cfgmatch1;wt;acmname;acmcfg1;acmcfg2;acmcfg3;acmcfg4;acmcfg5;acmcfg6;acmcfg
7;wt8;newmdp"
alias "cfgnorm" "cfgnorm1;wt;acfname;acfcfg1;acfcfg2;acfcfg3;acfcfg4;acfcfg5;acfcfg6;acfcfg7
;wt8"
alias "kitserv" "outserv;wt;outserv;wt;outserv"
alias "vpseudo" ";vraip;wt;vraip;wt;vrai"
alias "pub" "pub1;wt;pub1;wt;pub1"
---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------
et enfin le commandmenu.txt, a vous de mettre les maps exotic que vous desirez:

"1" "HELP"
{
CUSTOM
"1" "Map Description" "!MAPBRIEFING"
"2" "Time Left" "timeleft"
"3" "Adjust Crosshair" "adjust_crosshair"
"4" "Use Left Hand" "cl_righthand 0"
"5" "Use Right Hand" "cl_righthand 1"
}


"2" "CHANGE TEAM" "chooseteam"

// Here are the rest of the buttons and submenus
// You can change these safely if you want.
"3" "Map Officiel Match"
{
"1" "aztec" "rcon changelevel de_aztec"
"2" "cbble" "rcon changelevel de_cbble"
"3" "dust" "rcon changelevel de_dust"
"4" "Dust2" "rcon changelevel de_dust2"
"5" "inferno""rcon changelevel de_inferno"
"6" "nuke" "rcon changelevel de_nuke"
"7" "prodigy" "rcon changelevel de_prodigy"
"8" "train" "rcon changelevel de_train"
}
"4" "Map exotic Divers"
{
"1" "aAa_aim" "rcon changelevel aAa_aim"
"2" "aAa_area" "rcon changelevel aAa_area"
"3" "aAa_arena" "rcon changelevel aAa_arena"
"4" "aim_ak-colt" "rcon changelevel aim_ak-colt"
"5" "aim_map""rcon changelevel aim_map"
"6" "aim_sig-aug" "rcon changelevel aim_sig-aug"
"7" "awp_aztec" "rcon changelevel awp_aztec"
"8" "awp_map" "rcon changelevel awp_map"
"9" "scoutzknivez" "rcon changelevel scoutzknivez"
}

"5" "Cfg Serveur"
{
"1" "Cfg Match" "cfgmatch"
"2" "Cfg FFA" "cfgnorm"
"3" "Strat" "strat"
"4" "Oki all ?" "okiall"
"5" "3RS et GO" "3RSGO"
"6" "Quittez le serveur" "kitserv"
"7" "Pub site" "pub"
}
---------------------------------------------------------------------------------------------------
Peredodu
voici ce qui me manquait, merci beaucoup.... felicitation.gif


edit: euh... c'est koi ce double message????? icon_gne.gif
Acidounet
icon_jap.gif
Nosferatu
ouai, c'est po trop mal icon_ane.gif
Dawen
Très joli boulot Fred icon_jap.gif
Acidounet
je ne vois pas trop quoi rajouter, enfin si par exemple un menu de modification de variable, varibable par variable, surement un maj ds pas tres longtemp icon_biggrin.gif

icon_jap.gif
damdam
felicitation.gif Je l'ai éssayer et je l'ai adopter felicitation.gif
Chapo
Comme moi avec Chapi siffle.gif icon_ane.gif

GG acid felicitation.gif

Je me demande même si un lien direct serait pas mal sur la page serveurs
damdam
Pourquoi pas créer un zip avec les fichiers corespondants. icon_gne.gif
BestOfBoulet
QUOTE (Acidounet @ 18 Jan 2004 20:11:03)
rcon hostname "HQ::> Serveur *wC* by #wC-Team@Quakenet.net";wt8

alias "pub1" "rcon say  Passez nous voir sur http://www.forumwc.firstream.net/ ou #wc-team@quakenet"

a part la pub felicitation.gif
TyRaN
Y'a pas moyen de copier/coller sa sur notre forum ? icon_ane.gif
Orion
icon_gne.gif

Voila en faite quand on met tout ca
par exemple si je veux faire 3rs et go je fais comment une fois toute tes config mises
Acidounet
ut appui sur l bouton de ton commandmenu

puis

tu clike avec ta sourie sur 3 RS GO

tous simplement
TyRaN
Plz acidounet je t'en verrai un Mp a ce sujet car aimerai que tu m'explique 2 3 petites choses !! felicitation.gif
Hybz
ste copier coller acid icon_biggrin.gif
Chapo
ste vieux up des familles hybz icon_ane.gif
Acidounet
ben vi c'estun simple C/C de celui que j avais crée a l epoque des NGS que j avais encore repris a l epoque des wC et legerement modifié pour ici icon_razz.gif

il y a du monde qui s en sert encore ?
Peredodu
oui moi smile.gif
playboy
bjr a tous je sis nouvo

Sa sert a koi se kil a fai le ga avec tous le code?
ou fo til metre sa ? merci d'avance et bon frags
benneb
cette exemple de code sert à piloter un serveur possedant ou pas amx

bind touche "+commandmenu"
Klendhaar
tu regarde sur ton pc dans cs_french si tu as un fichier appelr commandmenu
tu l'ouvre tu copie tout ça dedans
ensuite tu vas sur ton serveur( si tu es admin) tu presse la touche H par defaut si tu avais instal des bots, un joli menu arrive sur l ecran et tu admin en clicant
si tu as pas de menu , control que tu ai bien sur ton pc, un fichier nomer userconfig.cfg je pense, dedans il y a des tas de bind "d" etc etc tu choissi unt touche (bind) pour ouvrir le menu et tu la config comme par exemple
bind "h" "+commandemenu"

vila

si vous faites pas de match mais que la gestion du serveur vous semble mieu avec ceci voici mon commandemenu a moi
pareil y a qua copier et remplacer ce qui vas pas pour vous


"1" "Menus AMX "
{
"1" "amx" "amxmodmenu"
"2" "Slap" "amx_slapmenu"
"3" "Team" "amx_teammenu"
"4" "Vote Maps" "amx_votemapmenu"
"5" "arme" "amx_restmenu "
"6" "Kick" "amx_kickmenu"
"7" "Ban" "amx_banmenu"
"8" "stats" "amx_miscstatscfgmenu"
}

"2" "Commandes de bases >>"
{
"1" "AllTalk >>"
{
"1" "Talk on" "amx_csay Alltalk active, restez courtois !!; amx_rcon sv_alltalk 1"
"2" "Talk off" "amx_csay Alltalk off !; amx_rcon sv_alltalk 0"
}
"2" "FF >>"
{
"1" "FF On" "amx_csay faites gaffe!! FF is ON !!; amx_rcon mp_friendlyfire 1"
"2" "FF Off" "amx_csay FF off Allez y !! Lachez vous !!; amx_rcon mp_friendlyfire 0"
}
"3" "Map Time Limit >>"
{
"1" "Unlimited" "amx_csay white Map Timelimit Is Unlimited; amx_rcon mp_timelimit 0"
"2" "10 Mn" "amx_csay white Map Timelimit Is 10 Minutes; amx_rcon mp_timelimit 10"
"3" "20 Mn" "amx_csay white Map Timelimit Is 20 Minutes; amx_rcon mp_timelimit 20"
"4" "30 Mn" "amx_csay white Map Timelimit Is 30 Minutes; amx_rcon mp_timelimit 30"
"5" "40 Mn" "amx_csay white Map Timelimit Is 40 Minutes; amx_rcon mp_timelimit 40"
"6" "50 Mn" "amx_csay white Map Timelimit Is 50 Minutes; amx_rcon mp_timelimit 50"
"7" "60 Mn" "amx_csay white Map Timelimit Is 60 Minutes; amx_rcon mp_timelimit 60"
}
"4" "plugins >>"
{
"1" "csdm on" "csdm_enable; amx_csay red Death Match ON"
"2" "csdm off" "csdm_disable; amx_csay red Death Match OFF"
}
}
"2" "VOTES MAPS"
{
"1" "MAP DE "
{
"A" "de_smaldust" "amx_votemap de_smaldust oui non"
"B" "de_cpl_strike" "amx_votemap de_cpl_strike oui non"
"C" "de_raid2k6" "amx_votemap de_raid2K6 oui non"
"E" "de_sunny" "amx_votemap de_sunny oui non"
"F" "de_dust2_remake" "amx_votemap de_dust2_remake oui non"
"G" "de_dustybleek" "amx_votemap de_dustybleek oui non"
"H" "de_dustXXX" "amx_votemap de_dustXXX oui non"
"I" "de_uevo" "amx_votemap de_uevo oui non"
"J" "de_winternuke" "amx_votemap de_winternuke oui non"
"K" "de_dust_krystal578" "amx_votemap de_dust_krystal578 oui non"
"L" "de_trome" "amx_votemap de_trome oui non"
}
"2" "MAP DE "
{
"A" "map" "amx_votemap oui non"
"B" "map" "amx_votemap oui non"
"C" "map" "amx_votemap oui non"
"D" "map" "amx_votemap oui non"
"E" "map" "amx_votemap oui non"
"F" "map" "amx_votemap oui non"
"G" "map" "amx_votemap oui non"
"H" "map" "amx_votemap oui non"
"I" "map" "amx_votemap oui non"
}
"3" "MAP FUN 1"
{
"A" "aggro_aka-colt" "amx_votemap aggro_aka-colt oui non"
"B" "AIM_adulation" "amx_votemap AIM_adulation oui non"
"C" "cool_aim" "amx_votemap cool_aim oui non"
"D" "aim_ak47_M4a1" "amx_votemap aim_ak47_M4a1 oui non"
"E" "aAa_azze_1" "amx_votemap aim_azze_1 oui non"
"F" "AIM_2" "amx_votemap aim_2 oui non"
"G" "map" "amx_votemap oui non"
"H" "map" "amx_votemap oui non"
"I" "map" "amx_votemap oui non"
"J" "map" "amx_votemap oui non"
"K" "map" "amx_votemap oui non"
}
"4" "MAP FUN 2"
{
"A" "AWP_aztec" "amx_votemap AWP_aztec oui non"
"B" "fy_buzzkill" "amx_votemap fy_buzzkill oui non"
"C" "fy_emy_coolclan" "amx_votemap fy_emy_coolclan oui non"
"D" "fy_realsimpsonsv2" "amx_votemap fy_realsimpsonsv2 oui non"
"E" "fy_simpsons" "amx_votemap fy_simpsons oui non"
"F" "fy_greenhills" "amx_votemap fy_greenhills oui non"
"G" "scout_mapv1" "amx_votemap scout_mapv1 oui non"
"H" "scoutzknivez_spaz" "amx_votemap scoutzknivez_spaz oui non"
"I" "fy_colt_ice_war" "amx_votemap fy_colt_ice_war oui non"
}
"5" "VOTE QUELCONQUE" "amx_chat La commande : amx_vote <question> <reponse1> <reponse2>"
}
"3" "CHANGE MAPS"
{
"1" "MAPS DE 1"
{
"A" "de_cpl_fire_v2" "amx_map de_cpl_fire_v2 "
"B" "de_cpl_strike" "amx_map de_cpl_strike "
"C" "map" "amx_map "
"E" "de_sunny" "amx_map de_sunny "
"F" "map" "amx_map "
"G" "de_clan3_heat" "amx_map de_clan3_heat "
"H" "map" "amx_map "
"I" "de_clan4_stone" "amx_map de_clan4_stone "
"J" "map" "amx_map "
"K" "map" "amx_map "
"L" "de_trome" "amx_map de_trome "
}
"2" "MAP DE 2"
{
"A" "de_dustybleek" "amx_map de_dustybleek "
"B" "de_dust2_remake" "amx_map de_dust2_remake "
"C" "map" "amx_map de_52spania "
"D" "de_azdust" "amx_map de_azdust "
"E" "de_dustkrystal578" "amx_map de_dustkrystal578 "
"F" "de_nimbus" "amx_map de_nimbus "
"G" "map" "amx_map "
"H" "map" "amx_map "
"I" "map" "amx_map "
}
"3" "MAPS DE off"
{
"A" "DE_CBBLE" "amx_map de_cbble"
"B" "DE_DUST" "amx_map de_dust"
"C" "DE_DUST2" "amx_map de_dust2"
"D" "DE_PRODIGY" "amx_map de_prodigy"
"E" "DE_TRAIN" "amx_map de_train"
"F" "DE_INFERNO" "amx_map de_inferno"
"G" "DE_AZTEC" "amx_map de_aztec"
"H" "DE_TORN" "amx_map de_torn"
"I" "DE_STORM" "amx_map de_storm"
"J" "DE_NUKE" "amx_map de_nuke"
"K" "DE_VEGAS" "amx_map de_vegas"
"L" "DE_PIRANESI" "amx_map de_piranesi"
}
"4" "MAP AIM"
{
"A" "aggro_aka-colt" "amx_map aggro_aka-colt "
"B" "AIM_adulation" "amx_map AIM_adulation "
"C" "cool_aim" "amx_map cool_aim "
"D" "aim_ak47_M4a1" "amx_map aim_ak47_M4a1 "
"E" "aAa_azze_1" "amx_map aim_azze_1 "
"F" "AIM_2" "amx_map aim_2 "
}
"5" "MAP FUN "
{
"A" "AWP_aztec" "amx_map AWP_aztec "
"B" "fy_buzzkill" "amx_map fy_buzzkill "
"C" "fy_emy_coolclan" "amx_map fy_emy_coolclan "
"D" "fy_realsimpsonsv2" "amx_map fy_realsimpsonsv2 "
"E" "fy_simpsons" "amx_map fy_simpsons "
"F" "fy_greenhills" "amx_map fy_greenhills "
"G" "scout_mapv1" "amx_map scout_mapv1 "
"H" "scoutzknivez_spaz" "amx_map scoutzknivez_spaz "
"I" "fy_colt_ice_war" "amx_map fy_colt_ice_war "
}
}
"4" "Messages >>"
{
"1" "Avertissements >> "
{
"1" "Du calme" "amx_csay rouge Du calme !! On est ici pour jouer, pas pour se prendre le chou !! "
"2" "insultes" "amx_csay rouge Les insultes n'ont pas leur place ici !! Attention !! "
"3" "Av/ban" "amx_csay rouge Encore un avertissement et c'est le ban !! "
"4" "Spawn" "amx_csay rouge No Spawn !! Attention !! ou kik/ban "
"5" "cheat" "amx_csay rouge Les cheats n'ont pas leur place ici !! Attention !! c'est le ban !! "
"6" "CAMPING" "amx_csay rouge | STOP | Le camping | STOP | "
"7" "TK" "amx_csay rouge | STOP | TK | STOP | "
"8" "rush" "amx_csay rouge | STOP | NO RUSH | STOP | "
}

"2" "DL map" "amx_csay vert Allez Dl nos maps sur http://www.17buddies.net/ Merci ;o) "
"3" "cool" "amx_csay vert Be CooL..Think CooL..Play CooL..You're on CooLClaN "
"4" "Site" "amx_csay vert Visitez --> http://www.coolclan.c.la"
}

"6" "Zbots >>"
{
"1" "Quick add zbot" "bot_add"
"2" "Set zbot"
{
"1" "Easy" "bot_difficulty 0"
"2" "Normal" "bot_difficulty 1"
"3" "Hard" "bot_difficulty 2"
"5" "Expert" "bot_difficulty 3"
}
"3" "Add a specific zbot"
{
"1" "Add a terrorist" "bot_add_t"
"2" "Add a counter-terrorist" "bot_add_ct"
}
"4" "add 7x8 team" "exec addbot.cfg"
}
"2" "ZBOT MISC"
{
"1" "Endround" "bot_kill"
"2" "Kick all (or 'bot_kick name')" "bot_kick"
"3" "ZBot quota"
{
"1" "min 12" "bot_quota 12"
"2" "min 14" "bot_quota 14"
"3" "min 16" "bot_quota 16"
"4" "min 18 " "bot_quota 18"
"5" "min 20" "bot_quota 20"
}
}
"3" "SETTINGS"
{
"1" "Weapon mode"
{
"1" "knives only" "bot_knives only"
"2" "pistols only" "bot_pistols_only"
"3" "snipers only" "bot_snipers_only"
"4" "all weapons" "bot_all_weapons"
}
"2" "Zbot join team"
{
"1" "terrorist" "bot_join_team t"
"2" "counter-terrorist" "bot_join_team ct"
"3" "Any" "bot_join_team any"
}
}

"7" "Noms >>"
{
"1" "moi" "name "
"2" "admin" "name Admin "
"3" "XYZ" "name xyz "
"4" "autre" "name "
}


PS celui ci permet aussi la gestion des podbot en local
playboy
A oki c sa mai moi g deja sa dans mon serv quand j'appuye sur h sa me mais un menu noir avec les ilnscrption en jaune lol
Klendhaar
oui c est ça, mais tu l 'utilise ou pas, ????
playboy
Oui style pr metre d bot ou changer de map c bien sa?
G un pb jarrive pa a metre les map sur mon serv du genre "hightschool" et aim_echecV2, tu c pa qui ppourai venir sur mon ts pour m'aider
merci d'avance
Klendhaar
double post pas bien çà, ta reponse se trouve la ou il est bien mis wink.gif
Chapo
Playboy => Merci d'éditer tes posts et de les rendre lisibles. Au prochain de ce style je lock. icon_jap.gif


ninja.gif
corrado
je vais surement passer pour un niaille mais le site de ntroserv est en maintenance
et je voudrais reboot mon serveur
y a t'il une commande pour sa?

(pas restart) je veut le redémarer carrément
benneb
ca depend du fournisseur

mais chez certain, un rcon quit, fait redemarrer le serveur wink.gif
Patjac
Tu tape via hlsw quit
corrado
Oki merci
Je parlais justement par hlsw
merci à vous
rainbow2009
icon_hello.gif felicitation.gif
Vraiment bien!
pret auto
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.