Sign in to follow this  
Linksys2006

Server configuration problem.

Recommended Posts

Hi there. I want to configure a server. With the help of rcontools. All settings become current as soon as I set them up with access rights. The downside is that I can't write the number of clients so I can't control the number of empty slots. I tried to configure map rotation, but as soon as the server moves to the next level, it no longer inherits the settings. My question is, what is blocking the inheritance of settings? And why can't I change the number of slots? I feel like the server, but not somewhere. The server configuration file is only partially read, so something is blocking, I can't figure out what it is. The Linux debian platform. I see that the q3config_server.cfg file controls my server. I want to change this so that I can customize my server. Thank you in advance for your help.

Share this post


Link to post
Share on other sites
5 hours ago, Linksys2006 said:

Hi there. I want to configure a server. With the help of rcontools. All settings become current as soon as I set them up with access rights. The downside is that I can't write the number of clients so I can't control the number of empty slots. I tried to configure map rotation, but as soon as the server moves to the next level, it no longer inherits the settings. My question is, what is blocking the inheritance of settings? And why can't I change the number of slots? I feel like the server, but not somewhere. The server configuration file is only partially read, so something is blocking, I can't figure out what it is. The Linux debian platform. I see that the q3config_server.cfg file controls my server. I want to change this so that I can customize my server. Thank you in advance for your help.

Well, the number of slots is usually prescribed in the server launch line
or read this topic https://cod4x.me/index.php?/forums/topic/2528-cod4x-server-ubuntu/

Share this post


Link to post
Share on other sites

Thank you for your help, I have read this thread and the information is irrelevant to the questions. Although I put the number of open slots in cod4.sh, I don't understand why Rcon tools is there. Because I thought the role of this would be to administer the server, but if the set value does not inherit, then practically we want to "configure" anything on the server, it should be typed in the boot file. in this case, if I only want TDM then Rcontools does not inherit it as a setup. My question is still given. If there is no meaningful solution then there is a mod or RconTool interface where the settings will be inherited when I set the levels, game types I want.

Share this post


Link to post
Share on other sites

question 1.

what operating system are you talking about?

2. what is your startup line?

3. do you use a server.cfg file?

4. do you know what a server.cfg file is?

here is an example server.cfg file

server.cfg

Edited by wkuzma

Share this post


Link to post
Share on other sites

Hi. The answers to your questions are as follows:
1. Linux Debian Stretch
2. #! / Bin / bash
cd / xxxxxx / xxxxxx / COD /
screen -dmS cod4 ./cod4x18_dedrun + set sv_authorizemode "-1" + set dedicated 2 + set sv_maxclients 16 + exec sample.cfg + map_rotate
3. Yes I use a configuration file.
4. I am aware of what a configuration file is.

Thanks for the cfg. But since I have my own setup, I guess I won't need it. I will advance the answers to your further question. Chmod is distributed to provide both files for boot. All necessary libraries are available. My system access is an administrator. The libraries function is specified correctly. Server working, access successful. The administration program I use is CoD RconTool 13 Standard. If my question may not be fully understood, I will try to explain in more detail what I want.
There is an administration program in which the settings I want to use are always valid until the end of the current path. Once the level, game type, and pre-defined levels are changed, they are not inherited. I would like to find solutions to my hypothesis already described above, preferably without the need to extract the startup command line or the cfg file, and edit it separately. After all, that would be the Administration program. Thank you in advance for your help.

Share this post


Link to post
Share on other sites
5 hours ago, Linksys2006 said:

The administration program I use is CoD RconTool 13 Standard. If my question may not be fully understood, I will try to explain in more detail what I want.

interesting program your talking about I downloaded a copy of it and will look at it.

Share this post


Link to post
Share on other sites
39 minutes ago, wkuzma said:

interesting program your talking about I downloaded a copy of it and will look at it.

I tried that program but since there is no instructions on how to use it (even though its mostly self explanatory) the help web site for it is no longer in existence and seems the maker of the program is no longer available.  I am unable to give an answer on your problem. Maybe someone else that uses it may be able to help you.

Share this post


Link to post
Share on other sites
8 minutes ago, wkuzma said:

I tried that program but since there is no instructions on how to use it (even though its mostly self explanatory) the help web site for it is no longer in existence and seems the maker of the program is no longer available.  I am unable to give an answer on your problem. Maybe someone else that uses it may be able to help you.

do you wand to no about phpmyadmin

Edited by eppie
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

Share this post


Link to post
Share on other sites

Thank you for following the question. Just part of my problem is that the developer is no longer available in any respect. The program includes career changes, banquets, etc. implemented. However, the settings are not maintained. I was a little more immersed in it and thought it was interesting to discover. There is a directory where I copy the base files.
Example: cd / arbitrary directory / COD -> Run the script from here (./cod4.sh)

Finally, I found the following in a completely different directory.

cd / different directory /./ callofduty4 / main ...

In this different directory, create the q3config_server.cfg file when running the script. And if you don't have your own configuration movie in this directory, you won't inherit anything. The program (CoD Rcon Tool) works in any directory, not in a different directory. Ergo is worth nothing, maybe to keep the scammers away. If you want to change anything you like, you have to use handwritten commands in your cfg. able to record.

Eppie: I don't really understand what a database would need for this? Natur can be run without the server database. I do web hosting, I do not risk linking the threads.

Share this post


Link to post
Share on other sites
4 hours ago, AlexC said:

Is it just me who don't understand the content? 🤔

no his last post confused me also  - the program is a rcon tool that can be run in windows (If I downloaded the program he is talking about.)

it will allow you to set things on the server that you would set with a server.cfg however it will not save your config settings to a file or on the server..

the help section has links that go to a web site that is no longer available.

here is what I found on the internet - but its a windows program.it has a lot of functions some self explanatory some no help on what to do with it.

CoDRconTool13.exe

Share this post


Link to post
Share on other sites

Hi there. Maybe I figured out the problem, the solution will come :) So the whole server directory changes with running cod4x18_dedrun. Which means that when I copy the entire game server file to the server, I give it the necessary execution permissions, for example:
cd / home / user / callofduty4
Then the directory will be the boot file. (Cod4x18_dedrun)
I create a cod4.sh script that looks like this:
#! / Bin / bash
cd / home / user / callofduty4 /
screen -dmS cod4 ./cod4x18_dedrun + set sv_authorizemode "-1" + exec general.cfg + map_rotate

When you run the script, it starts an auto-upgrade and then creates a .callofduty4 / main directory that contains the following files:
q3config_server.cfg
xbase_00.iw

So the run script completely upset the directory. Read the general.cfg file from the above directory, but only if I copy it there. In RconTools and user / callofduty4, overwrite the configuration file. I see three solutions.
1. tell Rcontools where to work, where to save.
2. I disassemble the codx18_dedrun launcher and tell it where to upgrade to which directory.
3. * I try to redirect libraries for proper operation. (the latter may not be workable)

Share this post


Link to post
Share on other sites

I think your rcontool is not supposed to generate files. No?

Only file which can remember runtime settings is q3config_server.cfg but you have to exec it from command-line.

And it will only remember stuff set with the "seta" command.

Share this post


Link to post
Share on other sites

Szia. Tudod, az RconTools nem hoz létre külön konfigurációs fájlokat, de meglévő konfigurációs fájlokat tud írni. A Q3config_server.cfg olvassa az general.cfg fájlból a cfg fájlnevet, amelyet az RconTools már rögzített vagy szerkeszthető. A probléma az, hogy ezt csak akkor lehet megtenni, ha a q3config_server.cfg fájl és az előre beépített general.cfg fájl ugyanabban a könyvtárban vannak futás közben. Tegyük fel, hogy nem az RconTools szoftvert használja. Ha a létrehozott konfigurációs fájlt nem tárolja a q3config könyvtárban, akkor az nem lesz képes olvasni. És az alapvető probléma az, hogy az előző bejegyzésemben láthatod, hogy nincs semmi baj a cod4.sh szkripttel. Amikor futtatja, létrehoz egy új könyvtárat a q3confign számára, amely nem működik ugyanabban a könyvtárban, mint az general.cfg fájl. Ez a probléma. Már ismeri a fent leírt paramétereket,
A Linux debian alatt futtassa a szkriptet, és látni fogja, hogy a q3config külön könyvtárban jön létre. Az elérési út megváltozik, ha csak a saját general.cfg fájlt akarja letölteni, ha a könyvtárban van q3config. a saját konfigurációs fájljával.

Nem volt időm foglalkozni ezzel a kérdéssel tovább. Ha megoldást lát, nyitott vagyok rá, :)köszönöm a segítséget!
 
Ps: I think q3config wants to include the general.cfg file. If you can modify this, you might be able to use RconTolls on Codx4 servers to set up the game server at your own pace rather than typing command lines.
Edited by Linksys2006

Share this post


Link to post
Share on other sites

I am hungarian bro, I know. Just I was saying that google translate message above was even more confusing.

Share this post


Link to post
Share on other sites

This is really welcome! I admit that my strength is not English, but rather German. But I know and understand some of the basics, google doesn't really translate what you want to say, so I apologize. I really use the translator. Unfortunately with these successes :)

Ez igazán örvendetes! Bevallom nem erősségem az angol, inkább a német területen vagyok jártasabb. De az alapokat valamelyest ismerem és értem, a google tényleg nem mindig azt fordítja le, amit mondani szeretne az ember, ezért elnézést is kérek. Valóban használom a fordítót. Sajnos ezekkel a sikerekkel:)

És akkor most leírnám mi a gondom. Talán így érthetőbb lesz számodra. Az utolsó kiadott frissíés cod4x18_dedrun linux futtatása alatt készít egy másik könyvtárat. Ebben az újjonnan létrehozott könyvtárban alálható a q3config is. Az Rcontools meg nem tudja írni a default.cfg filet, mert az nem abban a könyvtárban van, amit az indító file létre hoz. Tehát incloudolni tudja az általam létrehozott konfigurációs filet, de csak abban az esetben, ha ugyan abba a mappába helyezem, mint a q3config. Tehát az elérési útak megváltoznak, éppen ezért nem öröklődnek a beállítások a szerverkezeléskor, ha az Rcontools-t használom. Köszönöm a segítséged!

I apologize to everyone, but the one above me is also a brother, and perhaps in my own language I can understand my problem better. Please take care of me. Thanks!

Share this post


Link to post
Share on other sites

The thing is, by default the q3config.cfg is never get execed when you start up a server. So you don't need to take care of it in any way.

I personally never used Rcontools, thats just useless, you can do everything in-game, or start using some in-game rcon tool, such as b3 or manuadminmod, gsmanager. Makes lifes easier.

 

Share this post


Link to post
Share on other sites

I use Heho's Cod4xwebadmin to control the servers - it does everything I need to do on the server (start the server, stop the server, kick, ban, show screenshots,  ban by screenshot, rotate the map and a lot more)  The only thing it will not do is change the server.cfg file that you have to do manually.

I have it and the servers running on ubuntu 18.04

Share this post


Link to post
Share on other sites

Hi there. I am not really familiar with these ways to administer the game server. Could be interesting. My point would be that I cannot and do not want to stay on the server for 24 hours and would be interested in an alternative which would make the server controllable in my absence without having to enter the game. But I would also like an internal mod that allows us to administer the game server within the game without command lines. Do you have any suggestions for these alternatives?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this