I can't add a local server
-
error.
-
External server:
-
If I specify the local address of my server, I get an error
-
@powerless Make sure you made all this steps for beginning https://forum.cirkus-serveri.com/topic/160/how-to-add-create-a-local-game-server
The error what you get is an issue with your server IP, based on that error the script can not find a country based on your server IP.
If you run it on a local machine make sure you enable in your localmachine section here app/config/config.json, set it to 1 and set your game server country
https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/config/config.json#L66
-
@powerless said in I can't add a local server:
I can't add a local server. Please help me
What to write in the field "Server Slots" ?Server slots is how many players can play on your server in same time. If you want a server for example where 6 players play against 6 enemies than you set slots to 12. So 12 players can maximum be on your server in same time
-
why?
-
./cod4x18_dedrun +set net_ip 192.168.6.192 +set net_port 28966 +set sv_maxclients 12 +set fs_homepath /home/cod4server/MW/cod4-28966 +set fs_basepath /home/cod4server/MW/cod4-28966 +set sv_punkbuster 0 +set rcon_password 12345679 +exec server.cfg +map_rotate
My COD4 files: /home/cod4server/MW
My local IP: 192.168.6.192
My server cfg MW/main
Where did I make a mistake ?
The server is not starting -
This post is deleted! -
-
@powerless try to start the server with the command line manualy
cd /home/cod4server/cod428966
after that
./cod4x18_dedrun +set net_ip 192.168.6.192 +set net_port 28966 +set sv_maxclients 12 +set fs_homepath /home/cod4server/MW/cod4-28966 +set fs_basepath /home/cod4server/MW/cod4-28966 +set sv_punkbuster 0 +set rcon_password 12345679 +exec server.cfg +map_rotate
If it is working that way make sure that you have "screen" installed on your linux system
I can also see based on what you have sent me that the main cod4 server files are not placed in correct path
All your main cod4 server files should be placed here
/home/cod4server/main-server-files
Place your MW mod files here
/home/cod4server/main-server-files/mods/MW
The application uses symlinks, so if you have multiple game servers you don't have to use always 4gb of main cod4 files
So every time when you create a new server it will symlink the base files from this path
/home/cod4server/main-server-files
If you are runing a stock/non moded server you can find the server.cfg in cod4-port
If you use mods, then you can change the server cfg here/home/cod4server/main-server-files/mods/MW
It is important that you have all the main files in directory /home/cod4server/main-server-files
-
@NeHo thx! I did it all right, i love you