[SOLVED] Server not working. - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [SOLVED] Server not working. (/showthread.php?tid=2904) |
Server not working. - neXus - 04-17-2012 I created a Unreal server to test if it's downloading all of the required packages. When i double click it, it opens for a while and the closes. And if it opens, the maplist is overridden and i can't play the maps that i chose for the server. Maybe my server.cfg is borken. Here is what i have inside it : Quote:sv_public 1 RE: Server not working. - Mr. Bougo - 04-17-2012 Can you give us a server log? That server.cfg does not help much. EDIT: I mean especially the part from the beginning to the first map load, and the part where it stops. RE: Server not working. - neXus - 04-17-2012 i cant get a shot of it. it stops a lil' fast EDIT :however when the server DOES work, the maps are not the ones that i want on my server. u can see that in my cfg there are only 2 maps. The server loads all of the maps that are in dlcache and maps folders. hmm... seems like i get "menu : program not loaded" . at that point the server stops. RE: Server not working. - Mr. Bougo - 04-17-2012 The menu thing is normal. You don't "get a shot of it", you uncomment the log_file line in server.cfg so that it writes the log to a file. RE: Server not working. - neXus - 04-17-2012 then what should this be? that's the only thing that looked a lil' abnormal. the rest is just normal, excepting that i get a lot of warnings from some useless maps. It's complaining about their mapinfos i just deleted those maps and now it's working. !!such a simple issue. RE: Server not working. - Mr. Bougo - 04-17-2012 I can't guess the error, that's why I would like some server logs. Because those server logs probably tell exactly what the error is. Whatever, you seem to have found a solution. RE: Server not working. - _Subzero_ - 04-17-2012 Most likely won't help but... 1) Don't put csprogs.dat/progs.dat in sv_curl_serverpackages, it's not how you do it. progs.dat is the server code and clients dont need it. Put both in data folder and add "+set sv_progs progs.dat" to the server options (this option might in the end be not needed). Server will push csprogs.dat to clients via engine protocol (tho download to client is somewhat slow). 2) Server scans data folder and put whatever map it finds in the map pool. Then, any of the found maps that is tagged for a given game mode might be played. You can limit this with g_maplist in config. But maps not in g_maplist are still listed by lsmaps and can be voted for. So short of removing maps from the data folder you can't prune map pool. 3) If you have progs.dat in your data dir, and are shure it is used instead of the default progs.dat packed with Xonotic, it might be that some bug in your QC code is crashing the server. RE: Server not working. - Mr. Bougo - 04-18-2012 Oh, I didn't bother reading the cfg :< You do not even need to set sv_progs to progs.dat, that's the default value already. To see which progs.dat is loaded by the server, type this is the server console: which progs.dat It will most likely be the one outside of the pk3. RE: Server not working. - neXus - 04-18-2012 ok. thx for contribution it's working : progs.dat is file C:\....../xonotic/data/progs.dat now server works like a charm ^^ |