[SOLVED] Problem with Serveur ( Windows ) - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: [SOLVED] Problem with Serveur ( Windows ) (/showthread.php?tid=3639) |
Problem with Serveur ( Windows ) - jeantallu - 11-03-2012 Hi i'm french and i'm sorry for my bad english I want to play with my friend on xonotic and the server not execute the server.cfg. I'll try the exec server.cfg command but the server.cfg can be found. The file server.cfg is in the folder Xonotic\data Thank you for your help(assistant) beforehand RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-03-2012 You should read the documentation then. Readme.txt is in the "server" directory. RE: Problem with Serveur ( Windows ) - jeantallu - 11-03-2012 I read well it but I do not understand or I make a mistake. I copy the right script ( dedicated.bat ) in my system into my Xonotic main directory and i copy the server.cfg edited previously edited in Xonotic\data and when i lunch dedicated.bat the server.cfg doesn't lunch RE: Problem with Serveur ( Windows ) - asyyy - 11-03-2012 Did you copy server_windows.bat into the same directory as your xonotic.exe? RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-03-2012 That's very strange. Can you run the xonotic client on the same machine? If so, open the Xonotic console (shift escape) and type which server.cfg RE: Problem with Serveur ( Windows ) - jeantallu - 11-03-2012 at Mr Bougo no i don't run xonotic client on the same machine. The dedicated is on a windows server at asyyy yes i copy the dedicatdd. bat on thd same directory as my client tomorrow i take pictures of my configuration if you would to see than corectly parametre RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-04-2012 Okay... Please give me a file listing from the base directory then. Open a command prompt in the Xonotic directory and do Code: tree > tree.txt EDIT: Also, we can speak french if you want. RE: Problem with Serveur ( Windows ) - rocknroll237 - 11-04-2012 J'aime le lapin et le fromage avec mon cerial les mardis Bongo n'est pas utile RE: Problem with Serveur ( Windows ) - jeantallu - 11-04-2012 Mr Bougo http://pastebin.ca/2248238 This is my config file http://uploaded.net/file/jp9jotr5 RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-04-2012 (11-04-2012, 05:43 AM)jeantallu Wrote: Mr Bougo I have no idea what your PC and pastebin did with the encoding of the output, but here it is recoded to utf-8. I had to do recode u8..1252/,850..u8 on the file to get it encoded right. It seems you pasted something encoded in codepage 850, and it got translated (by whom?) back to utf8 as codepage 1252. Whatever. http://pastebin.ca/2248281 Can you redo this with the /f parameter? This one doesn't show the files. Code: tree /f > tree Also, please don't use services like Uploaded to upload text files, it's annoying as hell. Put them in a pastebin. I can't access your config files because their servers are "overloaded" unless I pay for premium so that they can serve me a couple kilobytes of data. I hate these services, sending me the file would cost them less than serving me an error page. EDIT: Still overloaded. As it stands now, I'm unable to help you further. Please post a tree with /f as I said above, and upload your config to pastebin.ca. Okay, here we go. Here is the reuploaded config file: http://pastebin.ca/2248287 Did you really name the file nicoo.cfg? It has to be named server.cfg, because that's the file Xonotic tries to load. As an aside (and sorry if this wasn't an accident) I see this line in your config: Code: //rcon_password "jeantallu" // you can use rcon if this password is set. you need to set the same password in your client if you want to issue rcon commands
RE: Problem with Serveur ( Windows ) - jeantallu - 11-04-2012 Thank you so much i find my error i doesn't remove the two slashes at the beginning of the line. Now it's ok. :-) RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-04-2012 Uh, that's unrelated though. Il faut absolument que le fichier de configuration s'appelle "server.cfg" pour qu'il puisse être chargé par le serveur. Ensuite, quand il est chargé, les lignes qui commencent par "//" dans le fichier sont ignorées. Le problème que tu avais n'a rien à voir avec ces lignes: le fichier complet n'était carrément pas chargé, probablement parce qu'il n'avait pas le bon nom. RE: Problem with Serveur ( Windows ) - jeantallu - 11-04-2012 A question still I have to add cards(maps) in xonotic / dated on the waiter(server) but when a customer connects he cannot download cards(maps). I have to look at the mapping.txt file but I do not understand to activate very well how the download RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-04-2012 Hehe, setting up cards on the waiter for customers, good one. The words are map, server and client If you want to have maps on your server that are not part of the Xonotic release, you need to have them loaded on the server's side by putting the pk3 file in the data directory (same directory as your server.cfg). You also need to set up map download for clients if they don't know the map. For this you need a web server. If you can host a web server yourself, that's of course the better option. You can set the cvar sv_curl_defaulturl in your server.cfg to be a prefix for the map download urls. For example, if you set it to http://example.com/ and you play the map "mymap" in mymap.pk3, the client will download the file http://example.com/mymap.pk3. If you use a CGI or PHP script to serve files, the defaulturl could be something like http://example.com/map.php?file= for example. If your maps are hosted in different places, you need to use curl_urls.txt. That's a file in the data directory that assigns a url prefix to map name patterns. So for example if you host a bunch of maps by mapper xyz that are in pk3s called map1-xyz.pk3, map2-xyz.pk3 etc. and are all hosted at http://example.com/xyzmaps/, you can have this line in curl_urls.txt: Code: *-xyz.pk3 http://example.com/xyzmaps/ I'm repeating what's in the mapdownload.txt documentation file here, please ask specific questions if you don't understand. The basic idea is that you need to tell clients where to download the map files, so tell me what your problem is with that. RE: Problem with Serveur ( Windows ) - jeantallu - 11-05-2012 Thank you for your explanations now it's ok but in the command prompt opened during the launch of the server_windows.bat i have a series of errors which display. I made a screen shot to show you. This http://imageshack.us/a/img197/8449/errorfg.jpg and this http://img37.imageshack.us/img37/7373/error2un.jpg RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-05-2012 That's alright, everyone gets these and they are no big problem. Here's something you might want to know: you can copy text from the command prompt by right clicking the title bar, then in "edit" you can click "select" (or something similar), then select the text you want to copy and press enter. You can then paste it here. You can also dump the entire xonotic console log to a text file with the condump command: condump mylog.txt will make the file "mylog.txt" in the data directory. RE: Problem with Serveur ( Windows ) - Mr. Bougo - 11-05-2012 Okay, please don't do that select thing and use condump instead, I didn't expect it to cut lines like that and it's really hard to read. Anyway, as I told you, you should not worry about these errors. RE: Problem with Serveur ( Windows ) - jeantallu - 11-05-2012 Thank you for your help ;-) |