jeditsp Posted April 2, 2002 Share Posted April 2, 2002 If you have a linksys one port or four port router and your server is dropping clients every few minutes with parse error information then do this to make your server work. make sure you have the latest firmware too. Apparently this is a problem facing many cable users with linksys routers trying to run q3/half-life/jk2/unreal servers. The problem resides in the Cisco NAT (Network Address Translation) that allows users using a software or hardware dhcp server to route specific ports to computers on a lan with internal ip address's. Please feel free to comment on my analysis as I am not 100% sure about this but it worked for me. One last thing don't use dmz host as it leaves ur computer more susceptible to attacks and the such. Step 1: Add these lines to your server.cfg file seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071" Step 2: get into web browser and access the linksys configuration. ie '192.168.1.1'. Step 3: goto advanced tab and click on the fowarding ports. under range for ports set it '28071 to 28071'. Step 4: then set the protocol check box to "UDP" Step 5: set it to goto the appropriate ip address on your lan ie 192.168.1.xxx Step 6: make sure the ip forwarding check is enabled as well. I'm not 100% sure this will work for all people. I'm currently using Road Runner Cable service from time warner in houston area. I have a Toshiba PCX1100U Cable Modem and a linksys BEFSR11 one port router. It seems to be workign fine now as JK2 and Quake 3 don't kick clients after every 1-3 minutes after joining. The only way i could play on my own server was to access it through the local setting in jk2. for some reason with these new settings it seems that i got a client drop when i connected to my own server via internet. But connecting local works and all others can connect via the internet with no problems!! GOOD LUCK AND ENJOY!! Link to comment Share on other sites More sharing options...
MightyPez Posted April 2, 2002 Share Posted April 2, 2002 When I use port forwarding the clients don't drop (as stated in my other post) but for some reason i still can't send a heartbeat to Ravens master server. Link to comment Share on other sites More sharing options...
UberJedi727 Posted April 2, 2002 Share Posted April 2, 2002 This didn't change anything for me.. of course I have the BEFS41 so its a whole nother story.. I think I have the answer.. I am trashing my linksys router.. its just not going to work out for this game.. The only thing I see in common with all these posts is Linksys Router.. Linksys Router.. LInksys Router.. Well one good thing about them is they dont have some in the Middle East answereing the phones.. unlike some others.. cough netgear.. cough.. Link to comment Share on other sites More sharing options...
NI Knight of Ni Posted April 2, 2002 Share Posted April 2, 2002 I know that all you have to do is 1. Goto your router page 192.168.1.1 2. Goto thought the options, and locate DMZ host 3. Goto Start - > Run and type in Winipcfg 4. Optain IP Address and type it in as the DMZ host, Then reboot the router - 192.168.1.XXX - -- Knight Train Link to comment Share on other sites More sharing options...
UberJedi727 Posted April 2, 2002 Share Posted April 2, 2002 Bro I know you think this is a real simple problem.. but its not that easy.. and it is very frustrating.. Its a fault in one of the chips on the router itself.. linksys router that is.. Believe me I"ve spent ALOT of time over the past 3 days and that is my final conclusion.. Worth spending anymore of my time to find more dead end leads? nope.. no siree.. 60 bucks and I can get a new one Link to comment Share on other sites More sharing options...
jeditsp Posted April 2, 2002 Author Share Posted April 2, 2002 This is a different approach to dmz host. dmz host works as well but isnt necessary and causes the entire machine to be exposed. UberJedi727: The 4 port router may be different. I found that quake based engine games need to be assigned different ports in order to keep clients from dropping from the internet. You have to add your port to the end of the master server....I believe this is one of the key ingredients to making your server work correctly with the in game search engine. However YOUR computer may not connect to your server without experiencing client drops if you connect to it via the internet. Other players should still be able to play on it via the internet. If you want to play on it with the internet players then access it by using the local search engine and joining. And by no means am I saying that you haven't had trouble and dont know what you are doing. I'm just giving my support so that we may all have servers taht run great and get over these linksys hardware problems. The linksys people I have emailed have given no support on the issue...go figure. But to all of you out there good luck with this... Link to comment Share on other sites More sharing options...
leelink Posted April 3, 2002 Share Posted April 3, 2002 I dont believe its the linksys router causeing the error. It may have something to do with it but I doubt it. I myself have the linksys router and was getting the error when connecting wirelessly through my network to a host server with a befs41 in front of it. I simply reinstalled the game into the default directory and now I dont get disconnected anymore and I dont get any errors. (before i had selected the directory to install to) I can easily test your theory though. I have another pc that is still getting the parse errors on another network using the linksys router. I will just disconnect the router and go straight out through the cable and see if the errors continue. if they dont then I will know its the router. If the errors do continue then the router can be ruled out. Link to comment Share on other sites More sharing options...
Nivek Ogre Posted April 3, 2002 Share Posted April 3, 2002 Originally posted by jeditsp If you have a linksys one port or four port router and your server is dropping clients every few minutes with parse error information then do this to make your server work. make sure you have the latest firmware too. Apparently this is a problem facing many cable users with linksys routers trying to run q3/half-life/jk2/unreal servers. The problem resides in the Cisco NAT (Network Address Translation) that allows users using a software or hardware dhcp server to route specific ports to computers on a lan with internal ip address's. Please feel free to comment on my analysis as I am not 100% sure about this but it worked for me. One last thing don't use dmz host as it leaves ur computer more susceptible to attacks and the such. Step 1: Add these lines to your server.cfg file seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071" Step 2: get into web browser and access the linksys configuration. ie '192.168.1.1'. Step 3: goto advanced tab and click on the fowarding ports. under range for ports set it '28071 to 28071'. Step 4: then set the protocol check box to "UDP" Step 5: set it to goto the appropriate ip address on your lan ie 192.168.1.xxx Step 6: make sure the ip forwarding check is enabled as well. I'm not 100% sure this will work for all people. I'm currently using Road Runner Cable service from time warner in houston area. I have a Toshiba PCX1100U Cable Modem and a linksys BEFSR11 one port router. It seems to be workign fine now as JK2 and Quake 3 don't kick clients after every 1-3 minutes after joining. The only way i could play on my own server was to access it through the local setting in jk2. for some reason with these new settings it seems that i got a client drop when i connected to my own server via internet. But connecting local works and all others can connect via the internet with no problems!! GOOD LUCK AND ENJOY!! OK sounds all good cept one thing!!! Where the F#@%ing bloody hell is the "server.cfg" file???? Link to comment Share on other sites More sharing options...
Skidley Posted April 3, 2002 Share Posted April 3, 2002 I just want to put my 2 cents in after seeing the posts. I have a Linksys Router, the BEFSR41. I am currently having no problems with the dedicated server I set up. I set my router the same way as JEDITSP had stated. I did not set up step 1 of his steps in the cfg file as I used the defaults that run with the game (port 28070). I also added a larger range of ports to forward as the ports that may come through to request to your firewall can vary from 28070 to 28080. One thing I did notice for the first couple of days after release was the fact that it takes a while for your ip to resolve to the master server. My ip(server) took a while to show up on the master list (the next day). This could be due to the amount of traffic with new servers adding to the master. The master may have been also having some problems over the last couple of days as it looked as if it was down periodically. Hopefully, this helps some people. Good luck! Link to comment Share on other sites More sharing options...
Nivek Ogre Posted April 3, 2002 Share Posted April 3, 2002 Mine works fine as well but where is this server.cfg thing i can't find it!!!! Link to comment Share on other sites More sharing options...
UberJedi727 Posted April 3, 2002 Share Posted April 3, 2002 Well, Most people seems to be able to connect fine, but my friend.. who also owns a Linksys 41 router gets parse errors while connecting to my server.. He has reinstalled and runs two systems that both have the same errors. Not sure what the deal is, but I have ran into a couple of people on the server that disconnected a lot, and not have had problems on other servers.. and they weren't using a linksys. So I am rather stumped and frustrated. But such is life. I appreciate the feedback, and I bet if you do unhook the router the problems go away. Link to comment Share on other sites More sharing options...
jeditsp Posted April 3, 2002 Author Share Posted April 3, 2002 When originally writing this post it was to help people with their dedicated servers.... But the same problem occurs when running a server from the actual game. The server.cfg file is located in the base folder. this is what mine looks like: // Jedi Knight II Server Config seta g_motd "fell the force flow through you" seta sv_hostname "[jeeb]-jkii-linux v1.02" seta Administrator "jeditsp" seta Email "jeditsp@gmx.net" seta url "http://jeditsp.cjb.net" seta g_needpass 0 seta sv_privatePassword "lbs" seta sv_maxclients 11 seta sv_privateClients 1 sv_maxRate 10000 seta g_inactivity 0 seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071" seta g_allowvote 1 seta g_duelWeaponDisable "65531" set timelimit 30 set fraglimit 30 set duel_fraglimit 10 set capturelimit 0 set g_autoMapCycle 1 set dedicated 1 set g_MaxForceRank 6 map ffa_raven This is the script i use for my dedicated linux server. I assume this will work the same for the win32 client...i may be wrong about that as i have never used it. Most quake based servers are generic and have a lot of the same commands respectively. Link to comment Share on other sites More sharing options...
DigitalVapor Posted April 4, 2002 Share Posted April 4, 2002 OMG! Are you the same JediTsp from the Phantom Knights back in the days of JK? Link to comment Share on other sites More sharing options...
jeditsp Posted April 4, 2002 Author Share Posted April 4, 2002 OMG! I am. That was the very first clan I ever was in. Thats back in the day when I used to have aol!!! This is such a small world email please if u read this post again. Ill private message you as well and we can talk about old times.... jeditsp@gmx.net Link to comment Share on other sites More sharing options...
Nivek Ogre Posted April 4, 2002 Share Posted April 4, 2002 Well I must be and idiot or Linux is different because I don't have a file by the name "server.cfg" on my computer! I do have "jk2config.cfg" and one called "jk2mpconfig.cfg", there both in the "base" folder but I don't have a "server.cfg" file. Am I missing something here or what? Link to comment Share on other sites More sharing options...
ECILOPAVEHT Posted April 4, 2002 Share Posted April 4, 2002 I have the same problems with my Linksys. I am getting Parse packet errors. (Well I am not but all my clients are.) I have tried everything port-forwarding DMZ, New cableing..... The solution I have found is to make a direct connection from my cable modem to my dedicated server. I have two NIC's in my server one for my local lan and the other for the Direct connection. I port filtered all ports but the one needed for the game. So far it has worked perfectly I can now have several of my lan systems playing while having internet connection on a totaly different node. Link to comment Share on other sites More sharing options...
jeditsp Posted April 4, 2002 Author Share Posted April 4, 2002 The server.cfg file is not automatically created for the linux dedicated server. Look at my example or one on another thread and then you will have to make your own server.cfg file. Connecting your server directly to the cable modem is a valid fix for the problem but this thread is about fixing the linksys router to work properly with the linksys router as your gateway or dhcp server where all machines are connected to it before the hitting the cable modem. Link to comment Share on other sites More sharing options...
SlipStream Posted April 5, 2002 Share Posted April 5, 2002 My friend is getting the same Prase errors...but im not doing a dedicated server. Im using DMZ hosting on my 4-way Linksys router. Got any advice for this one?? Link to comment Share on other sites More sharing options...
jeditsp Posted April 5, 2002 Author Share Posted April 5, 2002 SlipStream: As a matter of fact I do. Create a server.cfg just as i said in your base folder. And set your router up the same way as I have. Start your Jedi Knight 2 Server from your game. Then all you should have to do is type in +exec server.cfg in console. FYI: console is (Shift + ~) while in game. I think this should work if you are in a server or not. You could also run the game like this from the command prompt. Jk2mp.exe +exec server.cfg from your gamedata folder. You'll then have to exit the server and recreate it. But now it should work correctly from ingame. good luck and message me if u need more help. Link to comment Share on other sites More sharing options...
SlipStream Posted April 5, 2002 Share Posted April 5, 2002 er...heh..how do you make a server.cfg file? I copy and pasted another config file opened it in word pad and wiped it clean and renamed it server.cfg It worked...but i havent tryed hosting a game yet...and what should apear on my console if i do the +exec server.cfg right? Also this will work even though i am NOT running a dedicated server but rather hosting a regular game that i can play on aswell? Just wondering... Thinking about it...i dont think my copy and paste job is gonna work...so how do i really do it Link to comment Share on other sites More sharing options...
jeditsp Posted April 5, 2002 Author Share Posted April 5, 2002 SlipStream: The previous post i made is how to make a jedi knight 2 server from the regular game. Create your own server.cfg file in your base folder using notepad or your favorite text editor. Then just execute the server.cfg by type +exec server.cfg while in the console available in the regular game by hitting (Shift + ~) note: (~ is next to the 1) Link to comment Share on other sites More sharing options...
SlipStream Posted April 5, 2002 Share Posted April 5, 2002 Ok...heres what i got... // Jedi Knight II Server Config seta g_motd "WELCOME TO MY CRAPPY SERVER....enjoy your 3 min stay ;)" seta sv_hostname "Saber Honor Dueling" seta Administrator "SlipStream" seta g_needpass 0 seta sv_privatePassword "lbs" seta sv_maxclients 5 seta sv_privateClients 6 seta g_inactivity 0 seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071" seta g_allowvote 0 seta g_duelWeaponDisable "65531" set timelimit 0 set fraglimit 0 set duel_fraglimit 0 set capturelimit 0 set g_autoMapCycle 1 set dedicated 0 set g_MaxForceRank 8 map ffa_bespin Goood???? and i made those settings in my router...i suppose i dont need DMZ now? And when i give my friends my IP should it include the port? Also...what did you mean by "Step 6: make sure the ip forwarding check is enabled as well." I didnt see a check box anywere in the forwarding section of my router setup...I know were console is too btw lol. THANK YOU for help...but with my luck this still wont work...sigh....ill post again in anycase.... TELL ME if anything looks wrong in this.... Link to comment Share on other sites More sharing options...
SlipStream Posted April 5, 2002 Share Posted April 5, 2002 // Jedi Knight II Server Config seta g_motd "WELCOME TO MY CRAPPY SERVER....enjoy your 3 min stay ;)" seta sv_hostname "Saber Honor Dueling" seta Administrator "SlipStream" seta g_needpass 0 seta sv_privatePassword "lbs" seta sv_maxclients 5 seta sv_privateClients 1 seta g_inactivity 0 seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071" seta g_allowvote 0 seta g_duelWeaponDisable "65531" set timelimit 0 set fraglimit 0 set duel_fraglimit 1 set capturelimit 0 set g_autoMapCycle 0 set dedicated 0 set g_MaxForceRank 6 set g_forceregentime 5 seta g_saberlocking 1 map ffa_bespin -------I tweeked it a bit...stilll no results...but it may be because of my DMZ still being on...gonna give it one more shot Link to comment Share on other sites More sharing options...
SlipStream Posted April 5, 2002 Share Posted April 5, 2002 Another failure...my friends still got the cl_prase errors...they did connect with my DMZ down so i guess the port settings worked...just not the rest of it . Look at my server.cfg settings and tell me whats wrong plz... Link to comment Share on other sites More sharing options...
jeditsp Posted April 5, 2002 Author Share Posted April 5, 2002 hmm... what kind of connection are you on and what other hardware are you using besides your router. Your friend needs to type in your ip with the port. Also make sure you run jk2mp.exe +exec server.cfg from the command line then. quit your server game (without exiting jedi knight) and immediately start a new one using the create server tab. this time the settings from the server.cfg should take effect and shazzam it should work perfectly. Let me know if it still gives client drops and ill try to trouble shoot further. You can also do this instead. This should work just as well and may be easier to you. In your base folder there is a file called jk2mpconfig.cfg. Edit or add these variables if they are not in your jk2mpconfig as this. This should also work for you and if u save them in here you wont have to do the jk2mp.exe +exec server.cfg everytime u want to host a game on your comp. Try it out and give me feedback and/or questions. good luck. // seta net_port 28071 seta port 28071 seta sv_master1 "masterjk2.ravensoft.com:28071 // you can also remove these lines as they only pertain to my server: seta g_needpass 0 <-- require password or not to join seta sv_privatePassword "lbs" <-- pass required for private client slots seta sv_privateClients 1 <-- number of private client slots also your privateclients is a little high. usually you set private clients lower. but if u want more private clients than public clients then it should work just dandy. these are really not needed unless u feel the need to have them in there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.