EvilFlame Posted January 11, 2003 Share Posted January 11, 2003 waht is that msec thing? :confused: :confused: Link to comment Share on other sites More sharing options...
Pa3PyX Posted January 18, 2003 Share Posted January 18, 2003 When you are running a dedicated server, I believe you get warnings if the world status update took some time longer than it was supposed to (read: 1/sv_fps). The default value for sv_fps is 20, meaning that world/physics status is updated 20 times per second, hence there is 1/20 of a second (=0.05sec = 50msec) to compute each frame. If for some reason it takes longer, the server will give a hitch warning. The most common reasons are: --low priority of the dedicated server process with a lot of applications running in the background, causing the server to be "starved" for CPU resources; --invoking GUI controls (scroll up/down, pressing buttons etc.) in the dedicated server console; --overallocation of memory (total allocated memory >= total available physical memory), causing Windows/Linux to use hard disk space as virtual memory; --starting a new process (e.g. a screensaver) while dedicated server is running. When a hitch (with a significant duration) happens, the clients currently connected to the server will most likely get the "Connection Interrupted" message. Link to comment Share on other sites More sharing options...
EvilFlame Posted January 19, 2003 Author Share Posted January 19, 2003 im runing on the same comp as im connecting, so i have a question, is there some wasy to have very minimal hit warnings im runing on pure cable no routers, 1.6ghz pentium4, 512mb ddrram, 80gb hard drive, i have also a nvidia rive tnt2 model 64 graphics card, which i believe is causing the problem, but this hit warnin occurs only when i enetr my own dedicated server, so ne think its my graphics card? Link to comment Share on other sites More sharing options...
Pa3PyX Posted January 19, 2003 Share Posted January 19, 2003 That is, when you connect and play, or when you alt+tab out and start mucking with the server's GUI controls? If the latter, this is normal - there will be no hitch warnings as you leave the controls alone. If former, in Windows NT/2000/XP you have an option of adjusting process priority. Alt+Tab to desktop, press Ctrl+Alt+Del, go to Task Manager, click Processes, pick JK2MP.EXE (there will be two of them, one the server and another one the client you are running, so you have to know which one is which (hint: do the procedure before you start the client and after you start the server)). You need the server. Right click, pick Set Priority or something like that, and set it to High (do not use Real Time). All in all, it's not a very good idea to run a dedicated server and a client on one machine. If you have to run a server on the same machine, run a listen server instead (read: just launch JK2 the usual way and create a game). Dedicated server should be run on a separate machine (that's why it's dedicated), and that machine does not, as a matter of fact, have to be very powerful (Pentium II 300-350 MHz will do for JK2) because all it has to do is compute physics and send/receive updates to/from clients; no graphical rendering (the most time consuming part) is involved. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.