Newerth Forums

Archive => Server Forum => Topic started by: Groentjuh on April 27, 2008, 04:44:17 pm



Title: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!(Old SFE)
Post by: Groentjuh on April 27, 2008, 04:44:17 pm
PLEASE NOTE THIS HOW TO IS NOT RELEVANT TO SAVAGE XR SERVERS

There are many people who want to setup a server and most will get problems during the setting up of the server or with some config being wrong.

In this topic i'll try to tell how to setup a savage server and how to solve some common problems.

Installing a Savage 1 Server
Setting up a Savage 1 server is not hard
Download the SFE Windows (http://www.newerth.com/?id=downloads&op=displayDownload&category=4&file=SFE-Server-Win32.zip)/Linux (http://www.newerth.com/?id=downloads&op=displayDownload&category=4&file=SFE-Server.tar.gz) Server Pack

and Download the SFE* Windows (http://www.newerth.com/?id=downloads&op=displayDownload&category=4&file=win-server-auth-patch.zip)/Linux (http://www.newerth.com/?id=downloads&op=displayDownload&category=4&file=lin-server-auth-patch.zip) Server Patch
Windows:
1. Unzip the SFE-Server-Win32.zip
2. Unzip the win-server-auth-patch.zip. The files in the zip must overwrite the files of the SFE server install
3. Start the server by starting silverback.exe

Linux:
1. Extract the download using:
Code:
tar zxvf SFE-Server.tar.gz path
2. Unzip the lin-server-auth-patch.zip. The files in the zip must overwrite the files of the SFE server install
3. Start the server using:
Code:
./sfe_dedicated.sh
(Be sure to be in the directory that you extracted the files too.)

If you have problems with missing libs files use your linux distrobutions package manager to install them. For example on Debian if you got this error:
Code:
savage@myserver:~$ ./sfe_dedicated.sh
./sfe_dedicated.bin: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
You would search for the lib package using:
Code:
apt-cache search libglib
And install the package with:
Code:
apt-get install libglib

Getting it online
To get it online you'll have to ask yourself some questions.
1. Do I have a firewall which might be blocking the savage server?
  Incase you do. Turn it off or make an exception for the savage server.
2. Do I have a router?
  Incase you do. Make sure it forwards the (default) port 11235 UDP AND TCP to your PC. Check the instruction manual of the router if you don't know how to do that! Possibly this site (http://www.portforward.com/) can help you with forwarding the ports.

After this is all done, we'll test if we can reach it.
1. Go to whatismyip.com (http://whatismyip.com/). This site will tell you your IP
2 .After that you can go to:
http://www.newerth.com/?id=serverlist&details=YOUR IP HERE:PORT OF SAVAGE SERVER HERE (Default: 11235)

You might notice when you open savage that your server will appear as LAN. This only mean that it run in your network. Once it is in the serverlist it'll show up twice! one time with LAN and 1 time with a ping. I recommend to connect to the LAN server because this will have you bandwidth!

MAPSERVER
You did think you were ready with setting things up right? Well, incase you want to play your own maps on your server you'll setup a mapserver. This a nothing more then a webserver which sends maps and minimaps to the clients who don't have the map.
You can use the mapserver of newerth or groentjuh. Incase you use newerth's/groentjuh's mapserver, Make sure it has all the maps you have on your server!
URL of Newerth's mapserver: http://www.newerth.com/maps/sav1/
URL of groentjuh's mapserver: http://sav1maps.groentjuh.eu/

To setup your own: Just install any webserver/use any webhosting you like and put all the maps on there!

Elect votes to become commander
This mod for LINUX ONLY, alters the voting system of SFE so that a commander has to be voted into the commander seat preventing newbies from ruining games.
You can download it here (http://www.newerth.com/?id=downloads&op=displayDownload&category=4&file=Nonewbcomm-x86.tar.gz)
To install it Simply follow the next step or the step on the download pages (AND NOT THE INSTALL NOTES IN THE FILE):
1. Rename your current game.so file to ex2.so (in the savage server game folder)
2. Extract the file Nonewbcomm-x86.tar.gz (to the savage server game folder) using the command:
Code:
tar zxvf Nonewbcomm-x86.tar.gz
3. Add to your SEP.cfg file
Code:
//Elect commanders
set sv_electCommanders 1

Configuration.. WTF I've got 21 config files
and 1 useless empty buddies.cfg file!


There's a lots of .cfg files in the game folder of your savage server. Some Tutorials tell you should put your config in autoexec.cfg/server.cfg and other say SEP.cfg.
This tutorial will tell you to use both!

Savage will execute the config files in the next order:
1. startup.cfg
2. bans.cfg
3. autoexec.cfg
4. server.cfg
5. MapsSEP.cfg
6. SEP.cfg
7. CTF.cfg/DC.cfg/DMC.cfg/devnormal.cfg/duel.cfg/frenzy.cfg/normal.cfg/
   TS_CTF.cfg/TS_DC.cfg/TS_DMC.cfg/TS_devnormal.cfg/TS_duel.cfg/TS_frenzy.cfg/TS_normal.cfg *
8. banlist.cfg

and at each map change/map reload
1. SEP.cfg
2. CTF.cfg/DC.cfg/DMC.cfg/devnormal.cfg/duel.cfg/frenzy.cfg/normal.cfg/
   TS_CTF.cfg/TS_DC.cfg/TS_DMC.cfg/TS_devnormal.cfg/TS_duel.cfg/TS_frenzy.cfg/TS_normal.cfg *

* depends on gametype

autoexec.cfg/server.cfg gets loaded once. This makes it is a great place to put the join password. If you would put the join password in SEP.cfg, you'll need to change SEP.cfg in order to keep the join password changed.
For everything else it's better to use SEP.cfg because this is loaded more often!

Basic Configuration
I want to leave most of the configuration part to whoever is installing the servers...but I'll help them to find some variables!
The first thing you'll have to do is make SEP.cfg look like:
Code:
//Server Config

//Server name
svr_name MyFirstUberPWNGEserver(NameHere)!

//Admin password
svr_adminpassword my-CaSe-SeNsItIvE-unhackable-admin-password-with-1337-numbers

//Normal ref password
sv_refereePassword doNOTabuse

//God ref password
sv_refGodPassword ANDKEEPTHEGAMEFAIR!

//Allow guest ref
sv_allowGuestReferee 0

//Map url (Yes, This is the setting which it uber important if you want to play your own maps!)
svr_mapurl "http://www.newerth.com/maps/sav1/"

//Max clients
svr_maxclients 32

//Set port
svr_port 11235

//Add server to list
svr_broadcast 1

//Remote cmds
svr_allowRemoteSvcmds 1

//Team 1 Race
sv_team1race human

//Team 2 Race
sv_team2race beast

//Team 3 Race
sv_team3race human

//Team 4 Race
sv_team4race beast

//Team 5 Race
sv_team1race human

//Team 6 Race
sv_team2race beast

//Team 7 Race
sv_team3race human

//Team 8 Race
sv_team4race beast
Most basic configuration used use the "set" command to set settings. This is actually not what "set" should be used for. "Set" should be used to make new variables and not change them. You can set a variable that is no longer used however you cannot change a variable that doesn't exist. if you're not using "set", warnings will be shown in the server console when a variable, which doesn't exist, is changed.

make server.cfg (incase you want a private server) look like:
Code:
//Server password
svr_password myjoinpass
make server.cfg (incase you want a public server) look like:
Code:
//Server password
clear svr_password

Logging in as admin
Well every tutorial will test you the same thing!
Join your savage server and open the console. Type in the console:
Code:
cl_adminpassword my-CaSe-SeNsItIvE-unhackable-admin-password-with-1337-numbers
(or cl_admi and press tab to auto-complete!)
To test if you're really admin, type the next thing:
Code:
svcmd svr_name
This should tell you the name of the server if you're logged in else It'll do nothing...

But what can I do now? Well you can do lots of thing! Changing gravity and walking speed!
Code:
svcmd p_speed 1; svcmd p_gravity 0.05
Code:
svcmd p_speed 2.8; svcmd p_gravity 1

You can also change weapons using 2 commands:
Code:
svcmd objedit human_bow
svcmd objset hit_world bounce
svcmd objset bounce 1

Ok, had enough fun? No? Well continue to play with your server later, because I want to move on!
As you know I've given a really simple Basic Configuration for your server. It's your task to make the server the best server of savage! To do this you'll need the best settings, a great server to run the savage server on(Money helps!) and good referees who are online 24/7/365(Money helps here too!  :evil:  :mrgreen:).
Savage has lots of variable and not much documentation! But it has 2 great commands, cvarlist and cmdlist.
Code:
svcmd cvarlist votes 0 9
oh oh! You just found how to turn on/off votes!
Code:
svcmd cvarlist votes 10 19
You just found more!!!
Code:
svcmd cmdlist revive
OMG there's a command to revive somebody!

There's also 2 very useful links which can help you to find variables:
Shade's very old but useful Server Administration page (http://carnophage.groentjuh.eu/savageserver.html)
OLD SEP Documentation (http://www.notforidiots.com/forumarchive/viewtopic.php?t=236)

Just make sure you apply your changes to SEP.cfg (and add fancy notes like I did in the basic configuration!)

Great additions to Configuration
In the section you'll find puts of configuration files which might be useful

Votes:
SEP.cfg:
Code:
//Votes
//For all sv_allow*Votes, a value of 0 will disallow them, 1 will allow them, 2 will allow them ONLY during the endgame, 3 will do something aswell... and maybe 4,5,6,7,8 as well but I lost what they did!
// Disable ALL votes!
sv_disableVoting 0
//Concede
sv_allowConcedeVotes 1
//Pause
sv_allowPauseVotes 1
//World
sv_allowMapVotes 1
//Nextmap
sv_allowNextMapVotes 1
//Restart
sv_allowRestartVotes 1
//Draw
sv_allowDrawVotes 1
//Race
sv_allowRaceVotes 1
//Elect
sv_allowElectVotes 1
//Build
sv_allowBuildRequests 1
//Kick
sv_allowKickVotes 1
//Mute
sv_allowMuteVotes 1
//Shuffle
sv_allowShuffleVotes 1
//Time
sv_allowTimeVotes 1
//Promote
sv_allowPromoteRequests 1
//Powerup
sv_allowPowerupRequests 1
//Message
sv_allowMsgVotes 1
//Money
sv_allowMoneyRequests 1

VIP password:
server.cfg:
Code:
//VIP password
svr_passwordVIP "VIPPASSWORD"

//When server has VIPslots: Replacement for svr_password
svr_passwordNoVIP "JOINPASSWORD"

SEP.cfg:
Code:
//Amount of normal slots
svr_NonVIPSlots "24"

SEP.cfg:
Code:
//Amount of VIP slot (in this case 2!)
svr_NonVIPSlots [svr_maxclients - 2]

Commander Tax:
SEP.cfg:
Code:
//Comm tax
sv_enableTithe 1

Message of the day
SEP.cfg:
Code:
//Message of the day
sv_motd1 "H"
sv_motd2 "E"
sv_motd3 "L"
sv_motd4 "L"
sv_motd5 "O"
sv_motd6 "!"

Duel Competition
SEP.cfg:
Code:
//Duel mode:
//Time in ms at which the signup spamming begins.
sv_beginsignup 0

//Time to duel sign ending
sv_endsignup 30000

//Can spectators use the global chat? If 0, it automatically becomes team chat so it won't distract the duellers
sv_dueluseglobal 1

//Same as above but for referees.
sv_duelrefuseglobal 1

//The unit for team 1
sv_duelteam1unit "human_legionnaire"

//The unit for team 2
sv_duelteam2unit "beast_predator"

//Give a waypoint to the person you've challenged
sv_duelwaypoints 1

Forcing the savage server to use 1 IP
startup.cfg:
Code:
setsave net_forceip 133.71.33.7

Anyone got any idea what sections to add?

Problems!!

Players with a old-SFE client can not join a team
Add the next line to SEP.cfg:
Code:
svr_patchFTW 0
If you set it to 1 players without the latest SFE cannot join the server

Players without a SFE client can not join a team
Add the next line to SEP.cfg:
Code:
sv_forceSEP 0
If you set it to 1 players without SFE cannot join the server

Players without the (latest) SFE get spammed to get it
Add the next line to SEP.cfg:
Code:
sv_NonSEPSpamFrequency 0
This variable controls the frequency of this spam in MS. 0 = disabled

Nobody can call any votes!
Add the next line to SEP.cfg:
Code:
sv_disableVoting 0

I hope this post is really useful for all who want to become a savage server admin!
Incase you have problems with your server config, Please post it in the topic so I try to add it into the huge post!


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on April 27, 2008, 04:45:59 pm
--reserved post--


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Bunny on April 27, 2008, 11:14:56 pm
Nice Groen!  :mrgreen:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: distortedbsd on June 21, 2008, 11:48:03 am
Is there a way to enable 4 teams mode? I tried to add:

Code:
//Team 1 Race
set sv_team1race human

//Team 2 Race
set sv_team2race beast

//Team 3 Race
set sv_team3race human

//Team 4 Race
set sv_team4race beast

but nothing happens. There are still just first 2 teams.


And one more question, is there a way a to open dedicated server in background mode on linux. When i try to run it with & it goes in background but the process is suspended. Is there a way to solve this issue??


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on June 21, 2008, 12:12:06 pm
Is there a way to enable 4 teams mode?
Play a 4 team map.

I run my servers in a screen.
Start:
Code:
screen -S savage
./sfe_dedicated.sh
Press 'a' and then 'd' while holding down 'ctrl' to detach from the screen.

Stop:
Code:
screen -r savage
Press ctrl + c twice. (Once to shutdown the server and the second time for the start-up script)
then press ctrl + d to terminate the screen.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: distortedbsd on June 21, 2008, 12:32:56 pm
Thx a lot dude, you just saved my life.  :)
Angry players can cause severe injures!


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: SoftBlade on July 01, 2008, 09:15:10 am
If I tweak a few settings here and there me and my buddies will be able to play over LAN too, right?

NVM, Downloaded and saw that its easy to LAN =P


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Dr. Evil on July 02, 2008, 05:19:06 pm
Brilliant post.  Thank you!


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: nixos on July 24, 2008, 11:59:23 pm
hi,
a big kiss to groenjuth and who gave some info, i really thank you for giving infos i really wanted to host a server
with my modifications !  :lol:

anyway the info was not enough ! i will be glad to share my story...

days ago i literally went mad, because i followed instructions and i couldnt accomplish the server hosting.

my problem was : port forwarding 11235

this is how i resolved:

i have a modem router adsl2+ gave for free by my internet service provider, is a thomson 585v6
the problem is it has a firmware made by my isp tiscali, which doesnt work that well...
i had to download the wizard flash utility, and an OLD firmware...
tiscali has 6.7 firmware which is modified by them
thomson made 6.1 and 6.2+ firmwares with a lock to prevent users from using dmt.exe program to improve the bandwitch (or whatever is spelled)

so i had to download an old revision firmware; the flash utility and i had to know in advance the default user password, which 6.7 tiscali firmware is: admin admin, but thomson's old one is Administrator (password left blank)
without knowing the default user password of the 5.4 firmware i would had been screwed !

after hardware resetting the modem/router, jacking off the phone line jack..., using only ethernet link, downgrading, re setting my router to use vci 8,35 ppp over atm and such, user pwd of my account and such, static ip ! 192.168.1.1 , open port 11235 as guide said... i could open the damn friggin port !

moral of the story ? damn firmware are TEH EV1L ! the modem/router isp company will gladly throw to you will be blocked ad hell, ESPECIALLY but not limited to voice over ip port, p2p port, and well sometimes even savage port  :cry:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on July 25, 2008, 10:35:11 am
Hey guys, whats the command for respawntime? Oh and my XP is way of the charts. can someone tell me what public and CW xp should be? i think cw xp is default right? Basicaly what evo has it at.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on July 30, 2008, 10:05:56 am
Nice to know there's help here for thoes who ask for it...........

anyway, whats the command so the server waits for commanders sv_waitforcommander dosent work


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: $lizeR on July 30, 2008, 11:15:38 am
The Cw XP ain't the one EvO has. Atleast not the one on Public :-P EvO match server got default thats right. I also had some problems with Xp :-P just experiment around a bit.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on July 31, 2008, 06:36:45 pm
got it sorted :)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on August 01, 2008, 07:22:47 pm
okay, my server is fucked. nextmap vote dosent work now. like wtf ????


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Daemon on September 11, 2008, 12:11:47 am
Hi!

Can you tell me pls how can i save the settings i've changed using the game console, so they don't get lost after next map change? I don't have access to ftp or ssh type of accounts just yet, and was eager to get the remotely hosted server rolling.

Thanks.

P.S. For example i'd like it to remember the svr_name or the svr_password.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on September 11, 2008, 08:56:17 am
setsave before all coomands. so like... setsave svcmd p_speed 20 :)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Notausgang on September 12, 2008, 10:46:40 am
setsave before all coomands. so like... setsave svcmd p_speed 20 :)
like he says, just like... svcmd setsave p_speed 20 :roll:

other than that possibility, you may want to put the set commands into your server's SEP.cfg file


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Moxy on September 12, 2008, 11:35:48 am
oops got it wrong way round :) my bad :P


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Public Enemy No.2 on March 16, 2009, 01:26:06 pm
whn i try and open a dedicated server in Xr, it refuses to work, i have no idea why and i've tried everything. >.< what the hell is wrong? :'(


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on March 17, 2009, 08:05:16 pm
I have a problem i try to put off stats, but svr_sendstats 0 don't work :/
And how work bans.cfg ? How we can ban a player with UID ?
What is the difference between banlist.cfg and bans.cfg ?

Groen how work these votes :

sv_allowMoneyRequests ?
/callvote money xxx ?

sv_allowBuildRequests
/callvote build garrsion ?

sv_allowPromoteRequests
/callvote promote name ?

sv_allowPowerupRequests
/callvote powerup name ?


Other question :D :

Code:

Quote
svcmd cmdlist revive
OMG there's a command to revive somebody!
I wrote this svcmd cmdlist revive :
> 00 revive
> 1 matching commands found>

And ? what can i do ? How it work ?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on March 18, 2009, 01:01:21 pm
How we can ban a player with UID ?
cmdlist ban  <-- should help you

And how work bans.cfg? What is the difference between banlist.cfg and bans.cfg ?
I'm not really sure what the differents is. I guess in 1 of them SEP-bans are saved. 

How work these votes :
sv_allowMoneyRequests
sv_allowBuildRequests
sv_allowPromoteRequests
sv_allowPowerupRequests
These are player request. Options > Player > Show advanced > Request *******.
The option isn't only available with buffs but you can also request officer and gold.
I'm not sure how you can request building.....

svcmd revive
Revive allows you to revive a dead player.
"svcmd revive 0" revives the player with clientid 0!


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on March 18, 2009, 05:54:44 pm
Thx for ur help and about :
Quote
I have a problem i try to put off stats, but svr_sendstats 0 don't work :/


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on March 18, 2009, 05:57:10 pm
Thx for ur help and about :
Quote
I have a problem i try to put off stats, but svr_sendstats 0 don't work :/

aren't most of the SFE+ / SCM server stats blocked anyway?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on March 19, 2009, 11:54:32 am
aren't most of the SFE+ / SCM server stats blocked anyway?
No, stats work with SFE+ and SCM+. I'll ask to sweet! if he can add this option.

And last question ^^
What is the command to change the gold earn by revive whit shaman and chaplain ?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on June 15, 2009, 04:06:38 pm
^^ It's ok i found these commands :
svr_sendStats, now it's sv_sendstatssep
And for revive reward it's : sv_reviveMoneyReward

Now i have another question : how disable clan tag and name in the server.
I don't ask for a player cl_showClanAbbrevInUserList and cl_showClanIconInUserList but for all the server.

i saw some server with SFE but with clan tag/name disable.
i ask it, because i'm curious to know how to show icon with a LAN server by hamachi


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on June 15, 2009, 04:51:13 pm
Try to write in console:

clear sv_authserver
or
sv_authserver 127.0.0.1


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on June 15, 2009, 07:21:45 pm
"sv_authserver" not found

It's cl_authserver

In autoexec.cfg of the server, i wrote :
clientside
set cl_authserver 83.142.226.16
set clan_icon_url http://stats.newerth.com/icondir/
 
(http://nsa08.casimages.com/img/2009/06/15/090615082125644918.png)

But any icon and clan name are display


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on June 15, 2009, 07:23:13 pm
clear clan_icon_url should work while stats are still enabled. if you want all disabled set

svr_broadcast 0
clear clan_icon_url
clear cl_authserver

this works 100%


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Cola (Fr) on June 15, 2009, 08:18:57 pm
thx ;)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Kenneth FOX on June 16, 2009, 08:33:43 pm
The command

setsave_forceip is not working !


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Burning on June 18, 2009, 03:00:32 pm
The command

setsave_forceip is not working !

For me too

(http://img7.imageshack.us/img7/667/sanstitre2mmq.png) (http://img7.imageshack.us/i/sanstitre2mmq.png/)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on June 18, 2009, 03:02:54 pm
try "setsave forceip"


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Burning on June 18, 2009, 03:12:53 pm
Game Error  :cry:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on June 18, 2009, 03:50:57 pm
what do you need that cvar for anyways...


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: MasterJoaoPedro on August 13, 2009, 09:08:13 pm
lolz it says cant reguest coz firewall, and when I desactive firewall it doesnt niether.. :lol:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on August 13, 2009, 10:37:32 pm
lolz it says cant reguest coz firewall, and when I desactive firewall it doesnt niether.. :lol:
Couldn't connect to tcp port 11236 on 0 to request a firewall test

That line can be ignored, the firewall test doesn't work for any server!


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Seriti on September 27, 2009, 05:18:39 pm
hmm, i can't get mine online, only LAN, i saw with a friend yesterday, in my internet connection, something to open a Port Trigger or something like that... Anyway, do i need to create a new there, to be able to have mine online?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Riochet on September 30, 2009, 06:17:03 am
hmm  :x i did everything in the tut' works great (my preps to you groentjuh) but when i go onto savage to try my server GASP Its not there, i scroll down to the bottom, and i see my ip address and the server port ;), akward i must say.

AND im getting rly tired of it :D


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on October 07, 2009, 04:17:18 pm
Riochet:
First try to connect to it from within the network in which your server is located(guessing your host it at home)
If this works and it doesn't work from outside your network: Check if you also forwarded port 11235 UDP and TCP to your savage server if your server makes it onto the master-server list but you cannot connect/receive data from it.

If you cannot connect to your server: Try to shutdown your firewall and try again.

If it still doesn't work: Then it's a really weird problem or you didn't shutdown all your firewalls.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Django on December 25, 2009, 04:33:15 am
This topic will need updating with the release of Savage XR RC3 server.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: talesjc on February 18, 2010, 04:53:00 pm
I'm trying to create a server with xr ex2 mod, everything works fine but duel maps dont, someone can help me?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on February 18, 2010, 07:27:01 pm
duel_ maps load the gamemode "duel" automatically. So you have to edit the duel mode maybe (no idea if that helps / works).


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: talesjc on February 21, 2010, 06:06:11 pm
Is working now, but someone know how to control the damage of the sacrifice item? On ex2 sacrifice kill anyone even blocking


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on February 21, 2010, 06:16:53 pm
objedit beast_immolate;
objset damage

I have no idea. I checked the ex2 sacrifice but it's like exactly the same like XR is. You could try to:

objset damageflags +no_block

maybe that works =S


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: talesjc on February 21, 2010, 07:11:21 pm
thanks or the help but
Still the same  :-( and i found another problem
the drop item system, i cant disable it
Im have no ideia why this happen.

setup on my xr_admin.cfg
set sv_allowItemDropAction 0
set sv_allowItemDropDeath 0
set sv_allowItemPickEnemy 0
---------------------------
server_maps_lookup.cfg setup

// Ex2 Mod Configuration (not compatible with map prefixes)
exec /mods/master/ex2.cfg
//goto done


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Daemon on February 22, 2010, 11:25:30 am
I think Sac damage is hardcoded to 5850.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on February 22, 2010, 01:08:06 pm
I think Sac damage is hardcoded to 5850.

that sucks


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on March 30, 2010, 06:49:35 am
Here's hoping ya'll still around to help me.

So I've set up a dedicated server, and I have only have one question:

How exactly do I set my server up with specific maps of my choosing (I want to use the highest-rated maps in the map database)? I've tried downloading the maps and then putting them in the 'world' folder, but that didn't work (I removed all the other maps so that I would test out the one I chose, but the server wouldn't even load up).

I know the guide says to find a webhost to host the maps, but I don't really understand what that means, nor do I know how to do that (I know how to host a site easily, just not how to put the maps onto it so that my server can run them).

Any and all help will be greatly appreciated, thanks :)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Attila on March 30, 2010, 12:02:25 pm
Free solution:

You need a free web hosting for maps.
For example:
http://www.000webhost.com/
http://freehostia.com/
http://x10hosting.com/
etc... use "gugli" :D

Upload map & overhead onto the freehosting (FTP), and upload onto your game server /game/world directory - enough the s2z files here)

For example your website url http://www.snipple.freehostia.com. And the maps are on the freehosting in Maps directory)
You have to write this row (or change the old row) into the SEP.cfg (SFE server) or XR_default.cfg (XR server) file - on game server):
set svr_mapurl "http:\/\/www.snipple.freehostia.com\/Maps"

Do never delete it the default map. You find it in the rotation.cfg file (SFE) or in the server_maps_rotation.cfg (XR). Anyway the default map it eden.

I hope so I helped.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on April 01, 2010, 03:13:31 am
Yes, you really helped a lot! I got it all set up now! Thanks  :mrgreen:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on April 01, 2010, 05:49:29 am
Attila, I would be very careful with that. If you take too much traffic they just shut it down (happened to me twice already :-P)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Attila on April 01, 2010, 08:47:06 am
Trig

They did not shut it for me (2 years I used this. I elected a pay host then). It is necessary to make a website and there is not a trouble then (He works for me) This depends on a host (imo).

But anyway you're right.

Be Careful Snipple!!! :)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on April 01, 2010, 09:20:54 pm
Trig

They did not shut it for me (2 years I used this. I elected a pay host then). It is necessary to make a website and there is not a trouble then (He works for me) This depends on a host (imo).

But anyway you're right.

Be Careful Snipple!!! :)

Oh lucky you! :-)
When I set up one of my first own servers they took it down after 4 or 5 days =/


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on April 02, 2010, 06:02:49 pm
Hey guys sorry to bother you again.

When I try to host my server, it only comes up as a LAN server. How do I get it to set up as a non-LAN server?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on April 02, 2010, 07:26:33 pm
open up ports and give it some time


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on April 06, 2010, 04:17:58 am
Hm I've tried that, but still nothing works.

Perhaps there are other ports besides the default one to open? The funny thing about this is that the server worked for the first few days, but then suddenly stopped working.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Attila on April 06, 2010, 06:43:15 am
You may need the user guide of the modem or/and router.
If you see your server in the serverlist ( here: http://masterserver.savage.s2games.com/ or here: http://www.newerth.com/?id=serverlist ) then (theoretically) it's okay.  :wink:


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on April 07, 2010, 04:29:06 pm
I've checked everything router-wise, and still nothing odd has come up.

When I start up my server, the silverback thing says this (among other things):

"Couldn't connect to tcp port 11236 on 0 to request a firewall test"

Is this a normal occurrence, or could this perhaps be the thing which is wrong with my server?


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Trigardon on April 07, 2010, 04:36:15 pm
EIDT: read wrong post, my bad.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on April 07, 2010, 04:42:02 pm
"Couldn't connect to tcp port 11236 on 0 to request a firewall test"

Is this a normal occurrence, or could this perhaps be the thing which is wrong with my server?
That is normal... S2games has shutdown that service.


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Snipple on April 11, 2010, 08:05:29 pm
All right, well, I've tried re-installing the server, but all that did was add a 9999 ping server in addition to the two LAN servers that pop up... oh yeah, I suppose I should mention that in the past when I ran my silverback file, multiple servers would pop up. Sometimes I would get just two LAN servers, while other times I got up to a dozen. Why is this happening?

Below is a picture of all that is displayed when I run the silverback file. Is there anything wrong with it?

(http://i189.photobucket.com/albums/z313/BernieBoy_01/Silverback.jpg)


Title: Re: TUTORIAL: How To Set Up A Dedicated Server + Config questions topic!
Post by: Groentjuh on April 11, 2010, 08:59:37 pm
LAN servers are server with one of the following IPs:
127.0.0.1
10.0.0.0 10.255.255.255
172.16.0.0 172.31.255.255
192.168.0.0 192.168.255.255

and they can pop-up multiple times as well!
often it show up as 1 LAN server with the following IP: 127.0.0.1.
sometime you'll also get another with the IP you have inside your LAN.
So that's nothing to worry about!

"masterserver.savage.s2games.com revolved to 216.127.51.199
Couldn't connect to tcp port 11236 on 0 to request a firewall test"
In the past savage servers got tested by the masterserver! The masterserver would try to connect to the remote admin system of the savage server and trigger a response to make the savage server send heartbeats. This system does no longer work so you'll get those lines in your console.
So that's nothing to worry about!

So why doesn't it work...?! well, that's usually hard to tell.
It could be that one of the/your firewalls is blocking the UDP/TCP packets on port 11235.
It could be that your router does not forward traffic from port 11235 to port 11235 of your PC.
It could be that your ISP for whatever reason prevents you from hosting a public server!

The one thing i can help with is the following:
http://www.newerth.com/?id=serverlist&details=your IP:Port
will show your server name/info when it all works. If it shows blank("Players: /") your UDP packets are getting blocked somewhere and your server cannot be reached!