SA-MP Forums Archive
how can i make my server run all the time? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: how can i make my server run all the time? (/showthread.php?tid=215934)



how can i make my server run all the time? - sandisk125 - 24.01.2011

^^Title


Re: how can i make my server run all the time? - Vince - 24.01.2011

https://sampforum.blast.hk/showthread.php?tid=189169


Re: how can i make my server run all the time? - SkizzoTrick - 24.01.2011

Home hosting or Hosting Companies?


Re: how can i make my server run all the time? - sandisk125 - 24.01.2011

Quote:
Originally Posted by SkizzoTrick
Посмотреть сообщение
Home hosting or Hosting Companies?
home hosting


Re: how can i make my server run all the time? - SkizzoTrick - 24.01.2011

First of all,select a GM that you want to use,then configure the server.cfg:
Quote:

Example server.cfg:
echo Executing Server Config...
lanmode 0
maxplayers 32
port 7777
hostname Unnamed Server
announce 0
gamemode0 lvdm 1
gamemode1 rivershell 1
weburl www.sa-mp.com
rcon_password changeme

To configure the server, you must edit the values in server.cfg. They are explained below:

hostname
--------
Parameters:
string

Description:
Specifies the hostname shown in the server browser

port
----
Parameters:
int

Description:
Specifies the port to listen on.
This port is used for game connections, rcon connections, and for querying.

maxplayers
----------
Parameters:
int

Description:
Specifies the maximum amount of players.

lanmode
-------
Parameters:
int (0 or 1)

Description:
Turns lanmode on (1) or off (0). Lanmode (as the name suggests) is for use on LAN games, where bandwidth is not a problem. Lanmode sends data at a higher rate, for a smoother game.


announce
-------
Parameters:
int (0 or 1)

Description:
Announces your server to the 'Internet' server list in the SA:MP browser. On (1) or Off (0).

weburl
------
Parameters:
string

Description:
Specifies the URL shown in the server browser, which is associated to the server.

rcon_password
-------------
Parameters:
string

Description:
Specifies the password needed to connect to rcon, or login to rcon ingame.

gamemode0 - gamemode15
----------------------
Parameters:
string
int

Description:
Specifies the rotation settings. The first parameter sets the game mode name. The second is the number of times it will repeat.
You can use gamemode0 to specify the first gamemode, gamemode1 to specify the second, etc.

Now open the server.exe .
If it won't work,copy the server_log and post here xD


Re: how can i make my server run all the time? - sandisk125 - 24.01.2011

Quote:
Originally Posted by SkizzoTrick
Посмотреть сообщение
First of all,select a GM that you want to use,then configure the server.cfg:


Now open the server.exe .
If it won't work,copy the server_log and post here xD
all that i know
the server works
but i want to make the server be open always
and my problem is i can't because i am shutting down the computer on the night


Re: how can i make my server run all the time? - SkizzoTrick - 24.01.2011

YOu need to keep your PC open always :P
Or you could pay a Hosting Company


Re: how can i make my server run all the time? - sandisk125 - 24.01.2011

i can't spend a lot of elecricity


Re: how can i make my server run all the time? - sandisk125 - 24.01.2011

because i want to advertise my server on the forum
and then if i will shut down the server, then people will try to enter and it won't work


Re: how can i make my server run all the time? - SkizzoTrick - 24.01.2011

You just can't host it with your PC turned off
https://sampforum.blast.hk/showthread.php?tid=189169
or find someone to host it xD