PDA

View Full Version : Logging in as admin


Matt
11-14-2003, 09:20 AM
Can you tell me the basic command and syntax to login to a COD server as admin? Can't seem to log into ours. We set the passwords, but it doesn't seem to recognize any version of admin login command in-game via the console. Using the console, then the forward slash then which command??? I thought it was something like: /adminlogin_secretword I know other commands are in that style, like /map_restart But I keep getting "unknown cmd adminlogin" or "admin" or "login", etc. etc.
Any help would be appreciated.


This was posted by a friend, I honestly couldn't find the command anywhere. I was hoping someone would us out. Any help is greatly appreciated.

horseflesh
11-14-2003, 11:22 AM
dunno if this is what you are asking about but...

i use.

/rconpassword xxxxxx (this allows me to send the rcon commands)

/rcon command (what ever command i am sending)

Taradon
11-14-2003, 11:42 AM
from console, type in "\rconpassword [your password]"

Assuming your server is not local, then you can then send commands to the server using "\rcon [command]".

{tip} if you are unsure of the sytax of your command, start typing it, then hit the TAB key ... alternative endings to your command will be displayed. If there are a lot, use PageUp/PageDown to scroll through them :)

MOMMA
11-14-2003, 01:42 PM
As horseflesh mentioned we have always used /rconpassword (password). Using the forward ( / ) slash not a back ( \ )slash.

Bane
11-14-2003, 02:43 PM
You can do it this way as well:

Create another desktop shortcut for CoDMP. Go into the Properties and add the following to the end of the info in the target area:

+set rconAddress 00.000.000.00 +set rconPassword xxxxxxx +connect 00.000.000.00

Change the 0's to your server's IP and the x's to your rcon password. Using this method, once you double-click the shortcut you will automatically be connected to your server with rcon enabled. No more typing the password each time you want to use an rcon command. Not to mention no more accidental broadcast's of your rcon password in the chat.

Flint350
11-14-2003, 04:51 PM
Matt posed this question for me prior to my registering (thx Matt). I appreciate the help since I've only admin'd unreal engine games before and this interface is very different.

The rcon command works as described above - thx for that. However it is cumbersome to type all that and I like Bane's solution. At least for now, we are passwording our server for our members to get familiar with the game before the hordes overwhelm us. That has added an apparent problem. I added bane's suggested text to the properties of my desktop shortcut and also added a line at the end "+set Password xxxxx". Now this does allow me to enter the server, but seems to knock the server offline somehow. I assume I have the syntax wrong or in the wrong order. But if I don't add the password somewhere, I can't get into the server at all. Also, is it necessary to have the 5 digit port # with the IP or not? Seems like it isn't, but I was curious.

Bane
11-14-2003, 05:08 PM
"D:\Program Files\Call of Duty\CoDMP.exe" +set cg_drawfps 1 +set com_maxfps 200 +password xxxxx +set rconAddress 00.000.000.00 +set rconpassword xxxxx +exec rconbinds.cfg +connect 00.000.000.00
That's my shortcut. Take note of the space between the last " and the first +. Other than that I would keep the +connect 00.000.000.00 as the last item.

I'll break it down for ya... just in case:

+set cg_drawfps 1 = display your frames per second
+set com_maxfps 200 = resets the max fps lock to 200
+password xxxxx = sets your private slots password
+set rconAddress 00.000.000.00 = indicates what server you want rcon for
+set rconpassword xxxxx = sets your rcon password
+exec rconbinds.cfg = executes my rcon binds config file (see below)
+connect 00.000.000.00 = connects me to the server

The rconbinds.cfg file will be placed in the D:\Program Files\Call of Duty\Main folder. Mine looks like the following, but you can bind any rcon command you like (as long as it doesn't require input from you like clientkick where you have to input the client number).

bind F3 "toggleconsole; rcon status"
bind F4 "rcon say ^3Respect the spawn areas."
bind F5 "rcon say ^3Even the teams please."
bind F6 "rcon say ^3Watch the language."
bind F7 "rcon say ^3Comprehension is not a requesite of compliance."
bind F8 "rcon say ^3Thank you"
bind F9 "rcon map_restart"
bind F10 "rcon map_rotate"
// demo record toggle
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"
bind F11 "vstr demo_tog"

I hope all that helps. Good luck.

Flint350
11-14-2003, 07:23 PM
Seems to have worked for me, thx bane. Esp. for the idea for good ole F7 bind. Gotta love that one! lol I'm gonna use that one on my other servers too. You want credit? lol

Bane
11-14-2003, 08:38 PM
LOL Don't thank me... thank the Wachowski brothers! Another good quote is Cartman from Southpark: "Respect mah authoritah!!" LOL

Glad it works for you.

imported_Hunter
11-17-2003, 05:38 PM
Thanks for The info Above , Awesome , just what i was looking For . Only I'm having Trouble With , +exec rconbinds.cfg = executes my rcon binds config file . I Dont Have Such a File in My Main and One wasn't created or anything , What am i doing Wrong ? I'd really like to use these binds........Thanks Again .............Pete

Bane
11-17-2003, 05:56 PM
No problem Pete.

To create the rconbinds.cfg file:

* Open up Notepad
* Copy/paste my example above
* Save As
* Change the file type to All Files
* Name the file rconbinds.cfg
* Save to your Call of Duty\Main folder

That's it. Keep in mind there are other commands than the ones I used. This forum has some good info about the different rcon commands and their binds if you should choose to change them. You can also change the keys from the F# keys to whatever works for you. Finally, you don't have to name the file rconbinds.cfg - you can name it whatever you want as long as it has the .cfg file extension and the same file name appears in your shortcut.

Good luck.

imported_Hunter
11-17-2003, 09:14 PM
Excellent , Thanks a mil My Friend , If you Like a Nice Quiet Sniper Hunt , Stop By My Server :) ..........Pete


{LiveFromNY} SNIPER Team Extreme Realism ,NO Hud ,NO Crosshairs,NO Healthpaks, NO Pistol, No Kill Cam, Cooking Nades , Rifles Featured For Those Who Prefer Iron Sights , LiveFromNY Promotes A Tactical Stealth Type Game, Bunny Hopping Run & Gunners Please Go to Another Server ...LiveFromNY is An Anti-Cheat Pure Server . Max Ping 150 , Ip: 24.47.241.162

imported_Hunter
11-20-2003, 01:31 AM
Quick Question Bane ....It appears the Binds Only Work along with being logged on as an admin , Can i Configure Key Binds Sayings So that they work in Any Server ? . I took Out Everything From The Target Except +exec rconbinds.cfg , but it doesnt seem to work cause i'm not logged on to a Console..........Thanks Again............Pete

Bane
11-20-2003, 09:56 AM
You're welcome.

Yes, you have to be connected as an admin for any /rcon command to work. You cannot bind the in-game voice messages at this time, but you can bind chat messages. I have yet to try it but I believe the syntax is:

bind F3 "say Nice shot!"
bind F4 "say_team I'll cover you!"

say: broadcast a chat message to everyone on the server
say_team: broadcast a chat message to your team

Hopefully that works.

Tighten
11-20-2003, 10:12 AM
Yes - you can do key binds for any server, although, they will only be in text - not voice. You can either make them for global (everyone) or just local(team only).

//Team-Only -- say_team
bind q "say_team I need back up"
bind w 'say_team radio docs here - protect them!!!"

Or -

//Everyone -- say
bind f "say I hate all you xxxxing cheaters!!!"
bind d "say Thank's for the games fella's -nice server!"

what I have done to make everything easier for me is - copy your cod_mp.cfg into MS Word (it lines everything up very nice)

Seperate everything into groups -r_ , g_, seta_ etc.. I will post my personal.cfg below.

then I save the doc. I make a copy of the cod_mp.cfg to my desktop, delete everything in it, rename it to yourname.cfg, then place it back in my main folder.

Now when I am in a server, I open up the console and type in exec tighten.cfg and all of my binds and settings are there.

here is my config..
//Movements=================================
bind TAB "+scores"
bind ENTER "+activate"
bind ESCAPE "togglemenu"
bind 1 "weaponslot primary"
bind 2 "weaponslot primaryb"
bind 3 "weaponslot pistol"
bind 4 "weaponslot grenade"
bind ` "toggleconsole"
bind A "+moveleft"
bind C "gocrouch"
bind D "+moveright"
bind M "weapalt"
bind R "weapalt"
bind T "messagemode"
bind V "mp_QuickMessage"
bind Y "messagemode2"
bind ~ "toggleconsole"
bind PAUSE "toggle cl_paused"
bind UPARROW "+forward"
bind DOWNARROW "+back"
bind LEFTARROW "+leanleft"
bind RIGHTARROW "+leanright"
bind CTRL "+moveleft"
bind SHIFT "+melee"
bind F12 "screenshotJPEG"
bind KP_LEFTARROW "+reload"
bind KP_5 "gocrouch"
bind KP_END "togglecrouch"
bind KP_DOWNARROW "goprone"
bind KP_PGDN "+moveup"
bind KP_INS "+moveright"
bind MOUSE1 "+attack"
bind MOUSE2 "+gostand"
bind MOUSE3 "+speed"
bind MWHEELDOWN "weapnext"
bind MWHEELUP "weapprev"

//Alternate-Binds========================================
bind SPACE "kill" /// kill your self
bind F1 "vote yes"
bind F2 "vote no"
bind i "say_team I need xxxxing back up"
bind w "say What are you - the waterboy??"
bind z "say Nice game's - great server!"
bind F3 name "^4T^7ighten"
bind F5 "toggleconsole; rcon map_restart"
bind F5 "toggleconsole; rcon map_restart"
bind F6 "toggleconsole; rcon gametype sd; map mp_chateau"
bind F7 “toggleconsole; rcon gametype tdm; map mp_rocket”
bind F9 “toggleconsole; rcon seta g_password <omitted>




//LOG_File=======================================
set g_log "tighten_mp.log"
set g_logsync "0"

//Seta-CG's=============================================
seta cg_blood "1"
seta cg_brass "1"
seta cg_chatHeight "8"
seta cg_chatTime "12000"
seta cg_crosshairAlpha "1.0"
seta cg_crosshairAlphaMin "0.7"
seta cg_crosshairDynamic "0"
seta cg_crosshairNoGun "gfx/reticle/hud@center_ads.tga"
seta cg_crosshairSize "48"
seta cg_currentSelectedPlayer "0"
seta cg_currentSelectedPlayerName ""
seta cg_cursorHints "4"
seta cg_deadbodyque "32"
seta cg_descriptiveText "1"
seta cg_drawCompass "1"
seta cg_drawCrosshair "1"
seta cg_drawCrosshairNames "1"
seta cg_drawCrosshairPickups "1"
seta cg_drawFPS "0"
seta cg_drawGun "0"
seta cg_drawNotifyText "1"
seta cg_drawRewards "1"
seta cg_drawSnapshot "0"
seta cg_drawStatus "1"
seta cg_drawTeamOverlay "2"
seta cg_fov "80"
seta cg_gameBoldMessageWidth "60"
seta cg_gameMessageWidth "70"
seta cg_hintFadeTime "100"
seta cg_hudAlpha "1.0"
seta cg_hudCompassMaxRange "1024"
seta cg_hudCompassMinRadius "0"
seta cg_hudCompassMinRange "0"
seta cg_hudCompassSize "1.0"
seta cg_hudCompassSpringyPointers "0"
seta cg_hudDamageIconHeight "64"
seta cg_hudDamageIconInScope "0"
seta cg_hudDamageIconOffset "32"
seta cg_hudDamageIconTime "2000"
seta cg_hudDamageIconWidth "128"
seta cg_hudObjectiveMaxHeight "70"
seta cg_hudObjectiveMaxRange "2048"
seta cg_hudObjectiveMinAlpha "1"
seta cg_hudObjectiveMinHeight "-70"
seta cg_hudStanceHintPrints "0"
seta cg_lagometer "1"
seta cg_marks "1"
seta cg_noTaunt "0"
seta cg_noVoiceChats "0"
seta cg_noVoiceText "0"
seta cg_predictItems "1"
seta cg_railTrailTime "400"
seta cg_scoreboardScrollStep "3"
seta cg_selectedPlayer "0"
seta cg_shadows "0"
seta cg_stereoSeparation "0.4"
seta cg_subtitleMinTime "3"
seta cg_subtitles "1"
seta cg_subtitleWidth "80"
seta cg_teamChatsOnly "0"
seta cg_viewsize "100"
seta cg_voiceSpriteTime "6000"
seta cg_weaponCycleDelay "0"

//Seta CL's=======================================
seta cl_allowDownload "0"
seta cl_anonymous "0"
seta cl_freelook "1"
seta cl_goStandJumpTime "0"
seta cl_language "0"
seta cl_maxpackets "30"
seta cl_maxPing "800"
seta cl_mouseAccel "0"
seta cl_packetdup "1"
seta cl_pitchspeed "140"
seta cl_xmodelcheck "0"
seta cl_yawspeed "140"

seta cm_playerCurveClip "1"
seta com_hunkmegs "512"
seta com_introplayed "1"
seta com_maxfps "190"
seta com_recommendedSet "1"
seta con_debug "0"
seta con_minicon "0"
seta con_miniconlines "5"
seta con_minicontime "4"
seta g_allowvote "1"
seta g_complaintlimit "3"
seta handicap "100"
seta head ""

seta in_joyBallScale "0.02"
seta in_joystick "0"
seta in_midi "0"
seta in_midichannel "1"
seta in_mididevice "0"
seta in_midiport "1"
seta in_mouse "1"
seta joy_threshold "0.15"
seta m_filter "0"
seta m_forward "0.25"
seta m_pitch "0.022"
seta m_side "0.25"
seta m_yaw "0.022"
seta model ""
seta mss_3d_provider "Miles Fast 2D Positional Audio"
seta mss_bits "16"
seta mss_errorOnMissing "1"
seta mss_khz "44"
seta mss_stereo "1"
seta mss_volume "0.8"
seta name "^4Fiberfrag^7.com"
seta net_noipx "0"
seta net_noudp "0"
seta net_socksEnabled "0"
seta net_socksPassword ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksUsername ""

//Seta R's====================================
seta r_ati_fsaa_samples "1"
seta r_ati_pntriangles "0"
seta r_ati_truform_normalmode "QUADRATIC"
seta r_ati_truform_pointmode "CUBIC"
seta r_ati_truform_tess "1"
seta r_colorbits "32"
seta r_customaspect "1"
seta r_customheight "1024"
seta r_customwidth "1600"
seta r_depthbits "0"
seta r_detailtextures "1"
seta r_diffuseSunQuality "2"
seta r_diffuseSunSteps "3"
seta r_dlightQuality "1"
seta r_drawSun "1"
seta r_dynamiclight "1"
seta r_entLightCutoff "0.2"
seta r_ext_texture_filter_anisotropic "0"
seta r_fastsky "0"
seta r_finish "0"
seta r_fullscreen "1"
seta r_gamma "1.437500"
seta r_ignoreGLErrors "1"
seta r_ignorehwgamma "0"
seta r_inGameVideo "1"
seta r_lastValidRenderer "GeForce4 Ti 4800 with AGP8X/AGP/SSE2"
seta r_lodbias "0"
seta r_lodscale "1"
seta r_maxEntLights "8"
seta r_mem_agp "10"
seta r_mem_backend "1"
seta r_mem_manual "0"
seta r_mem_video "0"
seta r_minEntLightIntensity "0.02"
seta r_mode "6"
seta r_nv_fog_dist "1"
seta r_nv_fogdist_mode "GL_EYE_RADIAL_NV"
seta r_overBrightBits "1"
seta r_picmip "1"
seta r_picmip2 "1"
seta r_portalbevels "0.7"
seta r_primitives "0"
seta r_railCoreWidth "1"
seta r_railSegmentLength "32"
seta r_railWidth "16"
seta r_simpleMipMaps "1"
seta r_skip_auto_config "0"
seta r_stencilbits "8"
seta r_swapDelay "0"
seta r_swapInterval "1"
seta r_texturebits "0"
seta r_textureMode "GL_LINEAR_MIPMAP_NEAREST"
seta r_vbo_interleave "0"
seta r_vbo_paranoia "1"
seta r_vbo_smc_static_draw "1"
seta r_vbo_stream_draw "1"
seta rate "25000"

//System=================================
seta sys_configSum "76081222"
seta sys_cpuMHz "3519.99"
seta sys_sysMB "1023"
seta sys_vidMB "128"
seta ui_bigFont "0.4"
seta ui_browserGameType "0"
seta ui_browserMaster "0"
seta ui_browserShowEmpty "1"
seta ui_browserShowFull "1"
seta ui_browserShowNoPassword "1"
seta ui_browserShowPassword "1"
seta ui_browserSortKey "4"
seta ui_currentMap "4"
seta ui_currentNetMap "4"
seta ui_dedicated "2"
seta ui_extraBigFont "0.55"
seta ui_gametype "3"
seta ui_joinGametype "0"
seta ui_mapIndex "3"
seta ui_netGametype "1"
seta ui_netGametypeName "dm"
seta ui_netSource "1"
seta ui_serverStatusTimeOut "7000"
seta ui_smallFont "0.25"
seta vid_xpos "3"
seta vid_ypos "22"

imported_Hunter
11-20-2003, 01:59 PM
Excellent and Great Tips Gentleman , Again i really appreciate your Time , Gonna Give this a Run Tonight ........Pete

imported_Hunter
11-21-2003, 04:52 AM
Everything Works Great , Thanks again.....One More Question..... How Do i play back a recorded demo ? , i see the file in the Demo Sub Folder but with no extension , Tried Changing it to Avi , Mpg Etc.... No Good...... Thanks.........Pete

MOMMA
11-21-2003, 11:44 AM
open the console and type /demo filename (example /demo demo0002)

Bane
11-21-2003, 12:53 PM
Here's a slightly easier way to login as an admin:

Shortcut
"D:\Program Files\Call of Duty\CoDMP.exe" +exec bane.cfg

bane.cfg
// Handle
seta name "your name here"

// Server Access
set rconAddress 00.000.000.00
set rconpassword xxxxxxx
password xxxxxxx

// HUD
set cg_drawfps 1
set com_maxfps 999

// F Keys
bind F3 "toggleconsole; rcon status"
bind F4 "rcon say ^3Respect the spawn areas."
bind F5 "rcon say ^3Even the teams please."
bind F6 "rcon say ^3Watch the language!"
bind F7 "rcon say ^3Comprehension is not a requesite of compliance."
bind F8 "rcon say ^3Thank you"
bind F9 "rcon map_restart"
bind F10 "rcon map_rotate"

// Demo Toggle
seta demo_start "record; set demo_tog vstr demo_stop"
seta demo_stop "stoprecord; set demo_tog vstr demo_start"
seta demo_tog "vstr demo_start"
bind F11 "vstr demo_tog"

// Jack In
connect 00.000.000.00