Jump to content

Home

Server Setup


Bradacad

Recommended Posts

I have set up a server for ffa on JK3. The Red Queen try it. My question is what are all the new map names has any one have them yet I want to set up maps from other MP game Maps not in FFA you can do it if you have the Map names. The snow in one Map is great think about that in FFA. I get cold just thinking about it. Defernt maps keeps the game fun. I find when you add maps others who dont have them just go to other servers and useing maps that are already in the game keeps them on the server in not bored. See you on my server or send me a email. I well respond to questions about server making. I have had lot of time doing it in JK2 Windows servers and Linux to.:cool:

Link to comment
Share on other sites

  • Replies 94
  • Created
  • Last Reply

Do you run a dedicated server on a seperate machine or do you run the server on the same client? I have two computers, one main and the other a server. I ran the dedicated server on the one PC and noticed that people join and then get immediately disconnected. I have a linksys firewall and i tried both port forwarding as well as placing the server in the DMZ and still no luck.

 

People are stating that they get illigite server and parse errors. But completely random. People last about 1 minute in the game before disconnected. If I connect though, I never get disconnected through the LAN.

 

Any thoughts?

Link to comment
Share on other sites

I cant even get that far.. at one point I was havign people play just fine, but now I cant even get the game to broadcast over the master server(s). I am using a Linksys Wireless router and have the dedicated pc set up as being hardwired to the router. I have gone through both the Port forwarding and Port trigger, but to no avail.

Link to comment
Share on other sites

Hi so much to cover so lets start at the first part and work our way down. Linksys Router if you have other brands it will be close but you must interpet the diferance as I use a Linksys Router as well. here we go. Go to the Advancced Tab then to Forwarding this is Port Forwarding put a name in the Customized Applications I put JK3 this info only so it does not do any thing by its self. Next under EXT.PORT add 28069 to 29071 you could just put 29069 to 29071 this allows 3 ports open the first one allows JK2 and JK3 ports open you use the one that works best for you. Then check the Protocal UDP this is the Protocal that JK3 use's add IP Address of your game server must be static IP so the IP address does not change. In windows must set a IP address manule no dhcp to put the IP address on the server only you can still use the Service for your workstations just not this server. Now push the Apply button you done on the Router part. Hop this helps if you stiil have issues test the server by hooking it straght up too the modem let it genarate a IP address or if on DSL put in the IP address given you to test and find out if the ISP is alowing you to run this service on the Cable or DSL line, some Cable and DSL companys are restricting this from happening. I think all broadband clients should be alowed to uses there lines as they like but that is getting off the subject.

Link to comment
Share on other sites

Hi second part the server. I will post my server Info use it as is it work great for me and lots of hours spent makeing it. Me server is sound for a Version 1 with out the first SP made yet. Here it is.

First the Bat file that calls the program "jampDed.EXE" +set sv_pure 1 +set com_zoneMegs 32 +set com_hunkMegs 32 +set com_soundmegs 16 +set dedicated 2 +exec server.cfg This is very inportant all the +set need to be the way they are only +exec server.cfg can be changed as it is the Config file for the server. The other lines are setting that make the server Stable.

you can run this from a bat file or comand promt if you like to type in the info by hand. You can also uses this on linux by adding it to a File.pl pearl script file lots more to do for Linux get to that later. also copy the Base folder to the server from your workstation that you installed the game on as this is the files needed to run the server. You will also need the dedicacted Win32 server EXE file from Lucausfiles. I am running the retal version of the game with the dedicated server file if you are runnig beta there may be changes that have been made and your server may never be stable as retal verstion. With that all out of the way lets get back to the server recap we have a good base diretor in a dedicated server file and the Bat file made now the server.CFG file.

 

// Server Config

seta g_motd "^1Server Red Queen awaits you." // Slogen

sets "Config File" "Jedi Wars"

seta sv_hostname " ^1Red Queen." // Name of Server

sets "Admin" "MasterAcad"

sets "Admin E-Mail" "Bradacad@yahoo.com"

sets "Hours" "24 by 7."

sets "Clan" "None"

sets ".Configured By" "MasterAcad, Kansas City, KS"

seta sv_maxclients "9" //Total Number of players

seta sv_privateClients "1" //Total Number of Reserve slots

seta sv_privatePassword "xxxx" // Password for Reserve slots

seta rconPassword "xxxx" // Password for Rcon

seta sv_maxPing "200" // Set the Ping conections will slow server

seta g_inactivity "0" // my preferance

seta com_HunkMegs "32" // stable the server

seta sv_minclients "0"

seta sv_maxRate "10000" // stable the server

seta sv_minPing "0"

seta g_forcerespawn "3" // my preferance

seta sv_fps "50" // Some set this higher

seta com_zoneMegs "16" // stable the server

seta com_SoundMegs "16" // stable the server

seta sv_reconnectlimit "3" // stable the server

seta g_warmup "0" // my preferance

seta sv_zombietime "30" // stable the server

seta g_gravity "500" // dont need this my preferance

seta g_speed "275" // dont need this my preferance

seta g_dismember "100" // If you like Dismemberment

seta g_maxForceRank "7" // 1 to 7

seta g_allowvote "0" // 0 no vote 1 vote

seta sv_allowDownload "0" // 1 truns this on dont

seta sv_allowAnonymous "0"

seta g_doWarmup "0" // my preferance

seta sv_floodProtect "1" // stable the server

seta g_friendlyfire "0" // my preferance

seta sv_pure "1"

seta g_synchronousclients "0" // stable the server

seta g_privateDuel "1" // my preferance

seta g_saberLocking "1" // my preferance

seta g_weaponDisable "65531" // Disable weapons

seta g_forcePowerDisable "0" // All Force Power

seta g_saberDamageScale "2" // 0.5 half 2 twice damage.

seta g_ForceRegenTime "1" // my preferance

seta g_saberLockFactor "6" // my preferance

seta sv_timeout "300" // my preferance

seta g_weaponrespawn "0" // my preferance

// gametypes

// 0 = FFA

// 3 = DUEL one on one tournament

// 4 = POWER DUEL

// 6 = TEAM DEATHMATCH

// 7 = SIEGE

// 8 = CTF

set g_gametype 0

set timelimit 30

set capturelimit 40

// set bot_enable 1 // if you want bots add this

// set bot_minplayers 1 // put the amount of bots needed

set g_autoMapCycle 1

map mp/ffa1

 

//EOF

 

This file works great for me there are other setting that can be added and some can be taken out up to you have fun.

Link to comment
Share on other sites

Good info. As for the second portion of ports, I would strongly suggest that you do not use a field from 28069 to 29071 UDP. You will essentially open 1003 ports. Better idea would be to create two seperate forwards. JK2 would be 28060 thru 28071 and JK3 would be 29060 thru 29071. At least that's only 22 ports rather than just over a thousand.

 

Also, doesn't it say on the web page of Lucas Arts that 28070 thru 28081 need to be inclusive (both UDP and TCP)?

 

I think the Lucas Art support page is incorrect, they state ports in the 28k range for JK3 but the text screen shows the ports to be in the 29k range.

 

Also, do you play on your dedicated server with the same machine or with another machine?

Link to comment
Share on other sites

Yes your right about the ports but I have only the server open on thoes ports and some people chose other ports that the one you have said I will haveto check on the TCP I know that UDP was last time and My server works on just UDP. I run seperat computers for server and Client I would say dont put any computer open to the outside that your not ready to have atacked so dont use your computer that has all your important stuff on it to run a server from. Again thank you for the corection on two many ports open I new it was to many but if your running a server just for this its not that big of a deal. Burn a cd with all the files to put your server back on line or better yet make a image of the hole server for fast restore if you have the means.:cool:

Link to comment
Share on other sites

Good advice. After speaking with a Lucas Arts tech rep today, he informed me that the best thing to do was make a copy and use the copy to run the dedicated server. Right from the words of the tech. He also stated, that while those using illegal copies will get kicked (teaches those that buying games and supporting them leads to better games in the future) is normal.

 

As for the ports, those listed on the Lucas Arts page may be incorrect as they state the JK2 ports are in the 28k range. JK3 runs off of the 29k range. The page states JK3 are in the 28k range.

 

I will forward those ports stated and hopefully that will work with UDP only. I agree that I only use the dedicate PC for hosting games so opening up a 1000 ports is no problem, but it doesn't mean it's a good idea in the end.

 

Thanks for the advice man!

 

BTW - The tech support stated that he was going to look into the problem that I had and email with any information he can find out. He did state, however, that since the game is so new and the "leaked" version is out there, everyone with legit copies are suffering for their cheap actions.

 

Humble

Link to comment
Share on other sites

I still see the same problems as well. People are still being disconnected after they enter the game. I have placed my server in my LinkSys DMZ to see if that helps. The only other thing that I could possible do would be to remove the Linksys completely and go direct to the cable modem, but I will not go that route. Safety is more important.

 

I think that since the game is so new, patience might be the best answer and a future patch might resolve these issues. When I ran a JK2 server, I don't believe I started dedicating until after the second patch.

 

As for the wireless router configuration, technically, you should be able to connect via LAN to the server because you would essentially be on a LAN. However, I am not familiar with the configuration settings of a DLink. As long as the ports forward to the correct address, it should work.

 

I am sort of confused though...which machine are you attempting to run the dedicated server on (PC or XBox)? Also, does the XBox also connect wireless or is it direct?

 

Humble

Link to comment
Share on other sites

For all of us who do not have a firewall installed on our computer do we still use the same method, and or could you explain another one. I dont want to start making my own games, only just to enter them. My main problem is that i do not see any games at all when i press the refresh button. Help!!

Link to comment
Share on other sites

Originally posted by [nWo] Filth

Please tell me! When i make a dedicated server, and go to the server list to find it and join it, why aren't there any servers at all poping up. Does this mean i cant make a dedicated server and play on it, like in JO???:confused::mad::(

 

 

Can someone plse help, i have the same problem. I cant even find a sinlge server in my list when im not running a dedicated server :( I used to be able to connect to my brothers comp when we played JK2, but since JK3 i cant connect :confused:

plse help me b4 my comp and JK3 go for a little ride out of the window!

Link to comment
Share on other sites

Well, the manual also assumes that the average person doesn't know how to adjust the priority settings in the OS. So, what I do is when I load up the dedicated server file and have it execute, I then load up MP, and once its done loading up, I hit CTRL-ALT-DEL and right click on the jamp.exe file and kick the priority settings up to high, and I am able to easily play on my own servers or another without causing lag on my server or another.

Link to comment
Share on other sites

MasterAcad, firts of all i'd like to say thanks for the server settings commands they've been a great help, but do you know how to change the difficulty level of the bots in the dedicated server?? and also have you noticed how you cant set up a siege game at all :confused: :confused:

Link to comment
Share on other sites

Hi serveral new questions hear I will try to answer them. Please if any one finds I have miss stated any info please corect me as I am not perfect. First several people have asked about more than one kind of server. I prefer the dedactaed server with ether windows dedecated server file to run the server or Linux dedecated sever file on a seperat server altogether. You can run the install on a seperat server and pick advaced setting when creating a server in the menu and pick dedecated server and other options this is also the easy way for people that dont like haveing lots of controle to your server setup. If you dont pick the dedecated server option you have a hole diferent kind of server one the doesnt avertise its self to the server comunity this is for people who want to call there frends and say heres my server IP address lets play with out other people knowing we have a server. There are mulitable server types. If you want answers to questions about a server set up I will need to know what your wanting the server to do for you in the end result and what your restrictions are the will reduce your options are. Please if any one can answer questions on Xbox setups go for it as I have no Xbox and have no way of knowing what you will need to do to make a server on a Xbox. My full info on Xbox is it runs on Ethernet the same way as windows so ports it requires need to be opened and a conection to the network suplied by nic card built in or added. Some Xbox systems are wireless as the use gatway that plug into the nic on the Xbox and the Gatway is a Wi Fi unit to conect it to the network. Microsoft is now making its own gatway for this now I say the ad a few days a go other venders make the Gatway as well. Second point to bring up all the dedecated server type's have Issues on crashing servers right now JK3 is in real bad need of a Service Pacth for the dedecated servers as Windows and Linux will both stall in shut down. I am testing the second Linux 1.01 file yo see if it is better ley you know how it goes later. Please if your server well not advertice to the master server with the Info from above you have to choices. Put your server straght on the Modem to test only dont leave it there just test to see if your ISP will let you run a server. Second wait for a update the choice is yours dont endanger your critical information this way Thats why I say only use a computer for this that is not used for any other perpuse. Remember we are only a few days into the new release of the game and the master server is being adjusted as much as we are adjusting our setting for it. Please forgive my spell as I rushed and I am not a great speller in the first place.

Link to comment
Share on other sites

Hi I was asked about SIEGE settings this is a new game for JK and looks fun I have not played it yet. Hear are the settings for Siege.

 

// gametypes

// 0 = FFA

// 3 = DUEL one on one tournament

// 4 = POWER DUEL

// 6 = TEAM DEATHMATCH

// 7 = SIEGE

// 8 = CTF

set g_gametype 7

set g_autoMapCycle 1

map mp/siege_desert

//EOF

 

This is the simple way to set it up.

But do I use the simple way no I must always do things the hard way how about you?

hear are my settings for Siege the more complex way.

 

set d1 "set g_gametype 7; map mp/siege_desert ; set nextmap

vstr d2"

set d2 "set g_gametype 7; map mp/siege_hoth ; set nextmap vstr d3"

set d3 "set g_gametype 7; map mp/siege_korriban ; set nextmap vstr d1"

// start the first map

vstr d1

 

Still not done you can add difernet setting per map this way by add set comands in each line like this.

 

set d1 "set g_gametype 7; map mp/siege_desert ; set g_speed "275"; set nextmap vstr d2"

set d2 "set g_gametype 7; map mp/siege_hoth ; set g_speed "300"; set nextmap vstr d3"

set d3 "set g_gametype 7; map mp/siege_korriban ; set g_speed "250"; set nextmap vstr d1"

// start the first map

vstr d1

//EOF

 

the above added settings are for g_speed settings per map will change speed in each map as listed Cool you can add as many settings as you want per map this way tell me you have no controle in your server invirement now. Try setting your g_saberDamageScale per map Saber Damage is just what it sounds like you controle the amount of sever saber damage you want. And how about the g_weaponDisable and the g_forcePowerDisable camands if you think certain maps are best used with certain wepons are force powers set them and have fun the amount of changes is up to you. yes there are other settings needed for differant game types but I hope this has opened up some eyes as to what can be done. Again forgive any miss spelled words.

Link to comment
Share on other sites

you need to have your dedicated server on a different port, than your Jedi Knight 3 client so in the command line of your shortcut it would look like the following :

 

"C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\jampDed.exe" +set net_port 29071 +exec server.cfg

 

see the +set net_port I changed it to 29071 cuz JK3 is using 29070 by default, this is why you cant see any servers while yours is up. There you go, have fun.. I cant get to see it listed tho but people are connected to it.. I can connect to my server too, to play with others.. I just cant see it into the free for all listing.... bah. needs a patch.. master server is screwed up.

 

I did not write the artical above and could not find a name of the person that left it but it is very good and to the point about what says the only addition I will add is copy your base director to another location as several file are used by both server and client and it well cause a crash if you dont also make sure the server port is open as it has been changed to 29071 from 29070. You no longer have to forward 29070 if you change it to 29071. Thanks to the person who did the artical that I have now posted for you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...