Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Dedicated Server FAQ

Page: 3 of 3
 MatrixCPA
07-06-2002, 8:36 AM
#101
A hitch warning is the server's way of saying "I had to think about something really hard and it caused some lag for the players". In other words, your cpu was getting maxed out. This normally happens during startup and map changes. If it happens in the middle of a round, your server is overtaxed.

If nobody is joining your server, all you are going to see is the heartbeats being sent. You can always check the server by typing "status" into the console.
 tierny
07-09-2002, 4:10 PM
#102
okay yep can see cpu at 99/100% when i get the hitch warning normally when I have just connected using vnc, when its not connected there is no warning, thanks for that :)

the other thing i wanted to know is there a list of commands to set force powers at certain levels? and weapons allowed. I saw the figures earlier for saber only, but how do you add subtract numbers to get weapons/powers at what you want?? and are the values of these listed anywhere?

or am i getting the wrong end of the stick lol.

i would ideally just like full power jump only and no other powers :(
 MatrixCPA
07-09-2002, 5:31 PM
#103
One nice thing they added into the 1.03 code was the forcetoggle command. If you just type it without any parameter, it'll give you the current state of each force power and a quick example of how to use the command. It's quite convenient for setting your force powers. Of course, it won't save them to the config file unless you use the write command to force it to do so. One thing to note is that you can't set a limit for each force power--it's either on or off.
 AbaJaBart
07-14-2002, 3:05 AM
#104
I have a Question, How can you be the server and play at the same time. I can get it to work on a LAN but I can't get it to work on the internet. Thank You and Have a Nice Day :)
 Kid_A
07-17-2002, 12:49 PM
#105
i feel so freakin retarded, no matter how hard i try to gain the administrative powers of my dedicated server i just cant! i make one & then i join it, but i just cant figure out how to make my dedicated server respond to my commands as if i was the administrator! damn! im not a noob to computers, but i definitely am when it comes to making dedicated servers. hopefully there is a kind sould willing to help me straighten up my ded. server problem(s) [there are way more problems but f*** those for now]. thanks for any help.
 Kid_A
07-17-2002, 1:45 PM
#106
there is no paragraph, just somebody please answer the question that is the subject for my reply.
 humble48
07-19-2002, 12:58 AM
#107
The answer to all of your problems is runner.gameadmins.com.

On that site, there is a Jedi Runner which allow you, through a GUI interface, to enter all of the settings you wish (weapons allowed, type of game, players allowed, internet or LAN, maps to use, etc.)

It will also allow you specify server admin pw, player pw, or all pw for the game server. You need to input the password for your remote console password when you enter the game.

Finally, it will also reqister your game with not only the standard game server but also GameSpy's and one other. You may also specify additional servers if you wish.

Once you complete your settings, just click the Start button and it will create the CFG file and run it.

I use it to run my dedicated server. "May the Force Not be with You"

Humble
 Naked Willard
07-22-2002, 3:49 PM
#108
I copied a server.cfg from someone and edited the content to meet my server stats, and it wont work. This is what I have in my server.cfg:

//-SET SECTION----
set g_motd "Beware of the Barnabus"
set net_ip 0.0.0.0
set net_port 28070
set g_gametype "1"

//--SETA SECTION---------
seta sv_hostname "BUCKET STUDIOS"
seta rconpassword "buckethead"
seta sv_maxclients 10

//--Private Server Section----
//seta g_needpass "1"
//seta g_password "mypass"

//--SETA SECTION Continue---
seta g_timeouttospec "30"
seta g_allowVote "1"
seta g_filterBan "1"
seta g_banIPs ""
seta g_statLogFile "statlog.log"
seta g_statLog "1"
seta g_logSync "0"
seta g_log "games.log"
seta g_saberInterpolate "1"
seta g_forcePowerDisable "1"
seta g_spawnInvulnerability "3000"
seta g_teamForceBalance "0"
seta g_teamAutoJoin "1"
seta g_friendlySaber "0"
seta g_friendlyFire "0"
seta g_forceRegenTime "0"
seta g_autoMapCycle "1"
seta net_noipx "1"
seta net_noudp "0"
seta sv_floodProtect "1"
seta sv_maxPing "300"
seta sv_minPing "0"
seta sv_maxRate "10000"
seta timelimit "20"
seta fraglimit "20"

//---MISC------------
//set sv_zone Duel
//set sv_timeout 15
//set timelimit "20"
//set fraglimit "20"
set logfile "0"
set sv_master! "masterjk2.ravensoft.com"

//---MISC TESTING TO KEEP---
//seta g_maxGameClients "0"
//seta g_weaponDisable "1"
//seta g_duelWeaponDisable "1"
seta g_saberLocking "1"
seta g_privateDuel "1"
seta g_saberAutoAim "1"
seta g_saberAnimSpeed "1"
seta g_saberMoveSpeed "1"
seta g_saberRealisticCombat "1"
seta g_saberAutoBlocking "1"
seta g_subtitles "2"
seta g_dismemberProbabilities "3"
seta g_dismemberment "1"
seta g_warmup "5"

// Map Rotation
set d1 "map ctf_yavin ; set nextmap vstr d2"
set d2 "map ffa_ns_hideout ; set nextmap vstr d3"
set d3 "map ctf_bespin ; set nextmap vstr d4"
set d4 "map ffa_ns_streets; set nextmap vstr d5"
set d5 "map duel_pit ; set nextmap vstr d6"
set d6 "map ffa_raven ; set nextmap vstr d7"
set d7 "map ffa_bespin ; set nextmap vstr d1"

map ffa_bespin

Is there something I'm missing? Im sure of it, I bet I glanced over it too quikly and missed out on something, because everything you see above is exactly what I have in my server.cfg

In my target box I have "E:\Games\LucasArts\Star Wars JK II Jedi Outcast\GameData\jk2mp.exe" +set dedicated 2 +exec server.cfg

Now when I click on the shortcut the MP console comes up and all this writing appears. It looks like its going fine then it stops at
"Hitch warning: 773865 msec frame time
Resolving masterjk2.ravensoft.com
masterjk2.ravensoft.com resolved to 204.97.248.90:28060
Sending heartbeat to masterjk2.ravensoft.com
Hitch warning: 1298 msec frame time"
and dosn't do anything else.

Please help me, I really wanna get this to work.
P.S. sorry for the length of the message
 Jedi Degreel
08-13-2002, 3:08 AM
#109
Is anyone using Jedi Runner to configure and run their servers? I am about to use it but have a couple of questions. When I set it up to act as a dedicated server it just opens through a JK2 console screen on my desktop (the same screen that loads the game before you start playing) I had previously been using the dedicated option but using that method the server runs in a DOS-like box much the same way as a HL dedicated server did so are they both the same? And also how do you add JediMod using Jedi Runner?

Thanks for any info you guys can provide.
 Father Torque
08-13-2002, 1:04 PM
#110
I'm trying to understand what everyone means when they say create a command within the shortcut but how do you even make a shortcut for jk2? I'm trying to get a server for my clan up but I'm not having much luck. Anyones help on a step by step precedure for this is much appreciated by the MIK clan. Thanx.
:guard:
 Nuke
08-20-2002, 4:29 AM
#111
I wonder if anybody knows which ports exactly need to be forwarded from the local ip dedicated server to my router in order to make the ded-server official in the masterjk2.ravensoft.com directory. Do i need to change net_ip and net_port?

Thx, in advance .....
 RoMeRz
12-18-2002, 9:09 AM
#112
hey i have my server running on my m8s pc in holland with a big beefy connection, how do i get a GUI rcon interface, also how do i make it so when i put in rcon i get double lightsaber and that kinda stuff - do i need admin mod ?
 Speeding Bullet
12-18-2002, 1:08 PM
#113
How would i set up a stats page for my server?
 Primus
01-04-2003, 2:35 PM
#114
Originally posted by Naked Willard
I copied a server.cfg from someone and edited the content to meet my server stats, and it wont work. This is what I have in my server.cfg:

"...."

Is there something I'm missing? Im sure of it, I bet I glanced over it too quikly and missed out on something, because everything you see above is exactly what I have in my server.cfg

In my target box I have "E:\Games\LucasArts\Star Wars JK II Jedi Outcast\GameData\jk2mp.exe" +set dedicated 2 +exec server.cfg

Now when I click on the shortcut the MP console comes up and all this writing appears. It looks like its going fine then it stops at
"Hitch warning: 773865 msec frame time
Resolving masterjk2.ravensoft.com
masterjk2.ravensoft.com resolved to 204.97.248.90:28060
Sending heartbeat to masterjk2.ravensoft.com
Hitch warning: 1298 msec frame time"
and dosn't do anything else.

Please help me, I really wanna get this to work.
P.S. sorry for the length of the message
I have exactly the same problem... Who can help us?
 EvilFlame
01-11-2003, 8:35 AM
#115
i got my server runing on the same machine as i play from, and when i go to play jkmp to see if my server is on the in-game browser, i cant get in game, it goes to the jkmp console does cpl things and stops

how can i fix this help anyone?
 Keph
02-08-2003, 10:52 PM
#116
Originally posted by Primus
I have exactly the same problem... Who can help us?

Are you behind a firewall? Failing to resolve the master servers can sometimes mean you are behind a firewall which is not letting the master servers talk to your server. If this is the case, you need to configure your firewall to let jk2 talk with the master servers.
 1nfin1ty
03-19-2003, 5:52 PM
#117
How can i get my ded server on the master list? I can connect to it, but other people can't because it doesn't show up on their list.
 !SoS! Acrid
04-10-2003, 2:34 AM
#118
what commands do i type in to the cfg to get server to show up on all the server lists? i can set up everything else i just cant find my server on any server list. thx
 jediknight639
05-19-2003, 3:31 PM
#119
I got the jk2ded file loading but I need help I want to run my mod how can I do this
 jediknight639
05-19-2003, 3:31 PM
#120
I got the jk2ded file loading but I need help I want to run my mod how can I do this with the jk2ded file this is my cfg file I am trying to run the Jedi Academy Mod 1.2 with it for my clan but it is not working can some one help

// Server Config
seta sv_hostname "TopFraggers.net | JK2 Server"
//seta g_motd "^7Welcome to |TF|Top Fraggers Clan Server \n Clan Rules: \n Dont Lame! \n Dont attack unarmed players! \n No chat killing! \n www.topfraggers.net")

//rconpassword "******"

seta sv_maxclients 10
seta g_inactivity 0
sv_maxRate 10000
set g_allowvote 0
set timelimit 0
set capturelimit 20
set g_autoMapCycle 1
set g_forceRegenTime 10
set sv_fps 100
set g_maxforcerank 7
set cl_allowdownload 1
set g_weaponDisable 0
set g_privateDuel 1
set g_saberLock 1
set g_forceBasedTeams 1

map ffa_bespin

// JK2 Mod Config File
// Jedi Academy Mod 1.2
// By: cHoSeN oNe
// Build Date: Mar 19, 2003

// Messages.
// Everyone: Message get's send to all players when a command get's issued with the 'all' parameter.
// Broadcast: Message get's send to all players not affected by the command.
// Target: Message get's send to the player affected by the command.

// Note that in all 'BroadCast' and 'Target' message %s can be used to display the targetplayers name.
// \n Can be used in all message to give a nextline (Enter).

// Admin password for 'Secondary' admins:
seta g_mAdminPassword "******"
seta g_mKnightPassword "******"

seta g_mMessageUnEmpowerEveryone "Everyone lost the ^3power^7!"
seta g_mMessageUnEmpowerBroadcast "%s has given up the ^3power^7!"
seta g_mMessageUnEmpowerTarget "You lost the ^3power^7!"

seta g_mMessageEmpowerEveryone "Everyone has become ^3all-powerfull^7!"
seta g_mMessageEmpowerBroadcast "%s has become ^3all-powerfull^7!"
seta g_mMessageEmpowerTarget "You have become ^3all-powerfull^7!"

seta g_mMessageUnTerminatorEveryone "Everyone lost the ^1Terminator Power^7!"
seta g_mMessageUnTerminatorBroadcast "%s has lost the ^1Terminator Power^7!"
seta g_mMessageUnTerminatorTarget "You lost the ^1Terminator Power^7!"

seta g_mMessageTerminatorEveryone "Everyone has become ^1A Terminator^7!"
seta g_mMessageTerminatorBroadcast "%s has become ^1A Terminator^7!"
seta g_mMessageTerminatorTarget "You have become ^1A Terminator^7!"

seta g_mMessageUnSilenceEveryone "Everyone can talk again"
seta g_mMessageUnSilenceBroadcast "%s can talk again"
seta g_mMessageUnSilenceTarget "You can talk again"

seta g_mMessageSilenceEveryone "Everyone is silenced"
seta g_mMessageSilenceBroadcast "%s has been silenced"
seta g_mMessageSilenceTarget "You are silenced\nand can't talk"

seta g_mMessageWakeEveryone "Everyone is waking up again"
seta g_mMessageWakeBroadcast "%s has had a nice rest"
seta g_mMessageWakeTarget "You awaken after a nice rest"

seta g_mMessageSleepEveryone "Everyone is feeling very sleepy"
seta g_mMessageSleepBroadcast "%s is falling asleep"
seta g_mMessageSleepTarget "You are feeling sleepy\nYour eyelids are getting heavy..."

seta g_mMessageSlapEveryone "Everyone gets slapped"
seta g_mMessageSlapBroadcast "%s get's slapped"
seta g_mMessageSlapTarget "You have been slapped"

seta g_mMessageUnBunnyEveryone "Everbody stop jumping!"
seta g_mMessageUnBunnyBroadcast "Bunny season closed on\n %s"
seta g_mMessageUnBunnyTarget "You're not a bunny anymore"

seta g_mMessageBunnyEveryone "Everybody jump!"
seta g_mMessageBunnyBroadcast "Bunny season has opened on\n%s"
seta g_mMessageBunnyTarget "You've become a bunny"

seta g_mMessagePunishEveryone "You're all being punished"
seta g_mMessagePunishBroadcast "%s is being punished!"
seta g_mMessagePunishTarget "You are being punished for your actions"

seta g_mMessageUnPunishEveryone "You all going to be good\nlittle boys and girls?"
seta g_mMessageUnPunishBroadcast "%s is behaving now."
seta g_mMessageUnPunishTarget "%s\nAre you ready to play nice?"

seta g_mMessageForceTeamEveryone "You all going to the opposite team."
seta g_mMessageForceTeamBroadcast "%s is defecting to the other team."
seta g_mMessageForceTeamTarget "%s\n transferring you to other team."

seta g_mMessageExplodeTarget "Everyone hold on to your heads!"
seta g_mMessageExplodeBroadcast "Someone find\n%s's\nhead"
seta g_mMessageExplodeEveryone "You've misplaced your head"

seta g_mMessageTeleEveryone "Everyone was telefragged!"
seta g_mMessageTeleBroadcast "%s was just teleported!"
seta g_mMessageTeleTarget "You have been teleported"

seta g_mMessageRewardEveryone "Everyone is being rewarded!"
seta g_mMessageRewardBroadcast "%s has passed his trial!"
seta g_mMessageRewardTarget "Congratulations on passing the trial!"

seta g_mMessageVoteAllowEveryone "Everyone is allowed to vote!"
seta g_mMessageVoteAllowBroadcast "%s is now allowed to vote!"
seta g_mMessageVoteAllowTarget "You are now allowed to vote!"

seta g_mMessageVoteDenyEveryone "Everyone has been denied their right to vote!"
seta g_mMessageVoteDenyBroadcast "%s is not allowed to vote!"
seta g_mMessageVoteDenyTarget "Sorry, %s\n no voting for you!"

// This is the motd as it will be shown on screen.
// It must be one line, you can use color codes to color words like you can do in player names.
// Use \n to insert a newline (Enter).
g_mMOTDContents "^7Welcome to |TF|Top Fraggers Clan Server \n Clan Rules: \n Dont Lame! \n Dont attack unarmed players! \n No chat killing! \n www.topfraggers.net")

// This is the welcome message as it will be shown in the console.
// It must be one line, you can use color codes to color words like you can do in player names.
// Use \n to insert a newline (Enter).
g_mWelcomeMessage "^7Welcome to TopFraggers.net | JK2 Server !"

// This is the help info as it will be shown in the console.
// It must be one line, you can use color codes to color words like you can do in player names.
// Use \n to insert a newline (Enter).
g_mHelpInfo "^7Contact us at TopFraggers.net | Clan Site"

// This is the logged in/not logged in messages, as it will be shown in the console.
// It must be one line, you can use color codes to color words like you can do in player names.
// Use \n to insert a newline (Enter).
seta g_mLoggedInAdmin "^7Your now logged in as ^1Admin"
seta g_mNotLoggedInAdmin "^7Your not logged in as ^1Admin"
seta g_mLoggedInKnight "^7You are now logged in as secoundary ^1Admin"
seta g_mNotLoggedInKnight "^7You are not logged in as secoundary ^1Admin"


// Time to show the MOTD in miliseconds (1000 ms equals 1 second. So 5000ms equals 5 seconds). Add 3 seconds for the time it takes for
// the message to fade.
seta g_mMOTDShowTime "5000"

// Controls various aspects of the bunny 'jump'.
// Note that there are some random effects too.
seta g_mBunnyJumpPowerXY "50" // Power in side direction.
seta g_mBunnyJumpPowerZ "100" // Power in up direction.
seta g_mBunnyJumpChance "15" // Chances of a jump happening (15%).

// Controls various aspects of the slap command.
// Note that there is a certain randomness to the effects.
seta g_mSlapKnockDownTime "5000" // Time the player gets knocked down after slapping.
seta g_mSlapPowerXY "400" // Power in the side direction.
seta g_mSlapPowerZ "400" // Power in the up direction.

// Enable/Disable screenshake on empowerment or supermerc.
seta g_mEmpowerShake "0"

// Enable/Disable Saber drop when blocked.
seta g_mBlockThrow "0"

//Enable/Disable Duel Stats
seta g_mDuelStats "1"

// Enable/Disable Double Saber for empowerment
seta g_mDoubleSaberEmpowered "1"

// Set the use of double saber for ALL clients.
// Possible values:
// 0 : No double sabers except for empowered users.
// 1 : Double sabers for all users.
// 2 : Switch to single saber from off. Switch to double saber from single saber. Switch to off from double saber.
seta g_mDoubleSabersForAll "0"

// On duel start players will get 100 health and 50 shield no matter if they had more or less.

// After duel the stats will be restored to what they were before the duel started.
// Set this to -1 to enable 'old school' duels.
seta g_mPlayerDuelShield 50

// Saber damage CVars.
// Current values are original from the game.
// Note that the normal red slash is the only slash with an (extra) ramping system.
seta g_mSaberDMGIdle 1

seta g_KickDMGModifier 1 // This is a modifier. 1 is normal, 0.5 is half, 2 is double, etc.

seta g_mSaberDMGThrow 30
seta g_mSaberDMGThrowReturn 5

seta g_mSaberDMGRedNormalMin 2
seta g_mSaberDMGRedNormalMax 120
seta g_mSaberDMGRedDFAMin 2
seta g_mSaberDMGRedDFAMax 180
seta g_mSaberDMGRedBackMin 2
seta g_mSaberDMGRedBackMax 30

seta g_mSaberDMGYellowNormal 60
seta g_mSaberDMGYellowOverheadMin 2
seta g_mSaberDMGYellowOverheadMax 80
seta g_mSaberDMGYellowBackMin 2
seta g_mSaberDMGYellowBackMax 25

seta g_mSaberDMGBlueNormal 30
seta g_mSaberDMGBlueLungeMin 2
seta g_mSaberDMGBlueLungeMax 30
seta g_mSaberDMGBlueBackMin 2
seta g_mSaberDMGBlueBackMax 30
 jediknight639
05-20-2003, 11:19 AM
#121
I have the file jk2dedwin32-104 http://www.jediknightii.net/files/index.php?link=file&id=2)
I need to find out out to run a mod with this file
 }XRXRDaRk_SiTh
06-27-2003, 1:39 PM
#122
I want to know how it comes that when i created a dedicated server on the internet i only see it on locals but other players can connect:confused: ??And can someone please give me the command list with all the command codes like how to kick someone how to make them sleep and all those things.

Thanks
 Grill Masta
07-09-2003, 3:05 PM
#123
This one should be easy,

1. How do you set the speed. for example ike i want to make everything in my move in slow motion.. whats the command for that?

2. How do I enable cheats?
 DaRk_SiTh
07-09-2003, 3:14 PM
#124
1 if you are admin type in console \amtimescale n .
n is the number of speed you want (1=normal 2=fast 0.5=slowmo) (TIP: dont set it to low and dont set it to high)


2 in dont know either sorry
 TriNitro
09-12-2003, 4:33 AM
#125
Check it out, I'm running a 1.4 server in Linux now the thing is I can connect to it via IP but it's not in the internet list. I've tried the dedicated variable from 0 to 3 and nothing. Any ideas would be most apreciated.

-TriNitro
 coolbob
02-08-2004, 4:11 PM
#126
cna anyone tell me how to make a server in jk2 thats always only like hte FoU house of pain and jotr bar and grill those servers are always running even if no one is in them how can i make as erver like that that is always running can anyone help me if you want send email to joyofcola321@yahoo.com
 Quoffa
05-13-2004, 10:17 AM
#127
Someone needs to make a guide for making a dedicated server. A WORKING one. All this mumbo jumbo is al over the place.
Page: 3 of 3