Page 1 of 1

Running A Server

PostPosted: 19 Mar 2011, 06:13
by gregbk
Is there a guide to running a server that you could share with me please or would you be willing to explain the basic commands and how to config the server?

Re: Running A Server

PostPosted: 19 Mar 2011, 20:24
by Face
Yeah, I'd appreciate some help too; I've been searching for docs and references on how to do it but haven't found any. Tried the same way as on Sauerbraten (server-init.cfg) but it obviously didn't work. Been playing with bots all day; this game is awesome. I'd like to be able to host a private server to play with friends.

Re: Running A Server

PostPosted: 20 Mar 2011, 00:18
by jimmynavio
Yeah, I have a server up right now (BoonKill [SoCal]) and I am trying to tweek some settings and there is like almost 0 documentation.
I am making a list of commands I have been using as I go, I'll try to get someone together for those interested.

Re: Running A Server

PostPosted: 20 Mar 2011, 06:29
by Julius
Most likely it is very similar to hosting a game in Sauerbraten:
http://cube.wikispaces.com/Multiplayer+Guide

Re: Running A Server

PostPosted: 20 Mar 2011, 08:38
by qreeves
Red Eclipse server tutorial
For Windows
By SkiingPenguins, March 2011
Breakdown:
-Customize configs
-Forward Ports
-Running server
## Customizing configuration files. ##
1-> Copy the "servinit.cfg" and "servexec.cfg" from data\examples to the root Red Eclipse directory. AKA beside server.bat
2-> Open the servinit.cfg file. If it is shown as only servinit, that is fine. your operating system is probably hiding the extension.
2.1-> Remove "// " from infront of the adminpass line.
2.1-> write the password inside the quotes to your liking.
2.2-> Remove "// " from infront of the serverport line.
2.2-> Edit the serverport to your liking. Remember this for later, will be need for Port Forwarding.
2.3-> IRC Settings. Below are the commands and how they are used.
ircfilter NUMBER
defines the way the colour-to-irc filter works; 0 = off, 1 = convert, 2 = strip
ircaddrelay name server.irc.net 6667 nickname
adds an irc server. name defines what the irc server's name is. server.ice.net defines what the server's DNS name is.
6667 is the default IRC port, nickname is what your bot's IRC nick will be.
ircbind name 127.0.0.1
use this only if you need to bind to a specific address, eg. multihomed machines (ADVANCED)
ircpass name password
some networks can use the PASS field to identify to nickserv(ADVANCED)
ircaddchan name "#lobby"
adds a channel to connect to
name is the same as in ircaddrelay.
ircrelaychan name "#lobby" 3
relay everything but verbose messages
name is the as in ircaddrelay. #lobby is the channel name. "3" means that everything except the most verbose messages will be relayed
ircfriendlychan name "#lobby" IRC
another friendly name for the relay on this channel
name is the same as in ircaddrelay. #lobby is the channel name. IRC is the bot's friendly name for the channel.
ircconnect name
name is the same as in ircaddrelay.
Sample IRC Settings:
ircfilter 1
ircaddrelay IRC NuclearFallout.WA.US.GameSurge.net 6667 RE-ServerBot
ircaddchan IRC "#moo"
ircrelaychan IRC "#moo" 3
ircfriendlychan IRC "#moo" IRC-CHANNEL
ircconnect IRC
3-> Open the servexec.cfg file.
3.1-> To use a command, you must remove the "// " from infront of it. this is commenting it out and making the server not detect it.
3.2->Import Commands to edit:
sv_serverclients 16
Maximum players on your server
sv_serverdesc "My server"
Server name in Server List
sv_servermotd "Welcome to my server!"
Message of the Day, shown when client connects.
4-> Forwarding Ports.
4.1-> Coming Soon. STFU!
5-> Running the server
5.1-> To run the server, all you must do is execute server.bat
More to come, First write up :P
Attached are:
default files (incase you messed up and overwrote them)
.zip of a sample server

Re: Running A Server

PostPosted: 26 Mar 2011, 05:18
by alexgophermix
I played around with creating a server on linux and windows boxes, and I've posted a complete (compressed) list of instructions needed to get up and running on this site:
http://www.thegameengine.org/redeclipse.php

If you have any questions/comments about these instructions, feedback is always appreciated :)

Re: Running A Server

PostPosted: 08 Apr 2011, 18:22
by inpersona64
3-> Open the servexec.cfg file.
3.1-> To use a command, you must remove the "// " from infront of it. this is commenting it out and making the server not detect it.


So does this mean remove the "//" to the left of the it or the right of it?

P.S. - The "//" to the right separates the option from the comment. And If i remove that, what i'm asking is if i have to remove the comment too?

Re: Running A Server

PostPosted: 09 Apr 2011, 07:49
by arand
inpersona64 {l Wrote}:(...)
So does this mean remove the "//" to the left of the it or the right of it?

P.S. - The "//" to the right separates the option from the comment. And If i remove that, what i'm asking is if i have to remove the comment too?

The // diasbles everything that comes to the right of it it on the same line, so yes, you can enable the command and leave the comment and it will work:
{l Code}: {l Select All Code}
command 1 // command 2
Will execute command 1 but not command 2, for example.

- arand

Re: Running A Server

PostPosted: 09 Apr 2011, 16:13
by inpersona64
Thank you. That was very helpful. Now if someone could post a video (on Youtube or other similar site) that demonstrates these techniques to the fullest, that would be most appreciated. Cause for some reason, i feel like i'm doing something wrong cause it doesn't be working for me.

Re: Running A Server

PostPosted: 26 Aug 2012, 00:32
by Calan
qreeves {l Wrote}:Red Eclipse server tutorial
For Windows
By SkiingPenguins, March 2011
Breakdown:
-Customize configs
-Forward Ports
-Running server
## Customizing configuration files. ##
1-> Copy the "servinit.cfg" and "servexec.cfg" from data\examples to the root Red Eclipse directory. AKA beside server.bat
2-> Open the servinit.cfg file. If it is shown as only servinit, that is fine. your operating system is probably hiding the extension.
2.1-> Remove "// " from infront of the adminpass line.
2.1-> write the password inside the quotes to your liking.
2.2-> Remove "// " from infront of the serverport line.
2.2-> Edit the serverport to your liking. Remember this for later, will be need for Port Forwarding.
2.3-> IRC Settings. Below are the commands and how they are used.
ircfilter NUMBER
defines the way the colour-to-irc filter works; 0 = off, 1 = convert, 2 = strip
ircaddrelay name server.irc.net 6667 nickname
adds an irc server. name defines what the irc server's name is. server.ice.net defines what the server's DNS name is.
6667 is the default IRC port, nickname is what your bot's IRC nick will be.
ircbind name 127.0.0.1
use this only if you need to bind to a specific address, eg. multihomed machines (ADVANCED)
ircpass name password
some networks can use the PASS field to identify to nickserv(ADVANCED)
ircaddchan name "#lobby"
adds a channel to connect to
name is the same as in ircaddrelay.
ircrelaychan name "#lobby" 3
relay everything but verbose messages
name is the as in ircaddrelay. #lobby is the channel name. "3" means that everything except the most verbose messages will be relayed
ircfriendlychan name "#lobby" IRC
another friendly name for the relay on this channel
name is the same as in ircaddrelay. #lobby is the channel name. IRC is the bot's friendly name for the channel.
ircconnect name
name is the same as in ircaddrelay.
Sample IRC Settings:
ircfilter 1
ircaddrelay IRC NuclearFallout.WA.US.GameSurge.net 6667 RE-ServerBot
ircaddchan IRC "#moo"
ircrelaychan IRC "#moo" 3
ircfriendlychan IRC "#moo" IRC-CHANNEL
ircconnect IRC
3-> Open the servexec.cfg file.
3.1-> To use a command, you must remove the "// " from infront of it. this is commenting it out and making the server not detect it.
3.2->Import Commands to edit:
sv_serverclients 16
Maximum players on your server
sv_serverdesc "My server"
Server name in Server List
sv_servermotd "Welcome to my server!"
Message of the Day, shown when client connects.
4-> Forwarding Ports.
4.1-> Coming Soon. STFU!
5-> Running the server
5.1-> To run the server, all you must do is execute server.bat
More to come, First write up :P
Attached are:
default files (incase you messed up and overwrote them)
.zip of a sample server


My problem is that i put it beside the server (application) but it says it could not find them.

Re: Running A Server

PostPosted: 26 Aug 2012, 02:05
by ballist1c
Calan {l Wrote}:My problem is that i put it beside the server (application) but it says it could not find them.


qreeves {l Wrote}:Red Eclipse server tutorial
1-> Copy the "servinit.cfg" and "servexec.cfg" from data\examples to the root Red Eclipse directory. AKA beside server.bat


What about a Mac tutorial anyone? :)

Re: Running A Server

PostPosted: 26 Aug 2012, 02:56
by arand
ballist1c {l Wrote}:What about a Mac tutorial anyone? :)


Maybe viewtopic.php?f=53&t=3093 ?

Re: Running A Server

PostPosted: 26 Aug 2012, 15:20
by ballist1c
arand {l Wrote}:
ballist1c {l Wrote}:What about a Mac tutorial anyone? :)


Maybe viewtopic.php?f=53&t=3093 ?


Hm, I'll try it out, let's see how it goes :)

Re: Running A Server

PostPosted: 26 Aug 2012, 20:37
by Blindman
this game lacks serious docs, i prey much played around till i got some thing i liked.
you might try just starting one and making a file u can exec on the server like----

{l Code}: {l Select All Code}
botbalance 6
botlimit 14
enemyspawnstyle 3
flameradd 75
flamerdamage1 9
flamerdamage2 9
flamerguided2 1
flamermax 75
flamerrays1 2
flamerrdelay 200
flamerspeed1 600
flamerspeed2 900
gravityforce 75.0
grenadedamage1 90
grenadedamage2 90
grenadeexplode1 50
grenadeexplode2 50
grenadeflakdmg1 120
grenadeflakdmg2 120
grenadefullauto1 1
grenadefullauto2 1
grenadeguided2 1
grenademax 3
grenaderdelay 1400
grenadespeed1 350
grenadespeed2 350
impulsedash 1.6
impulsejump 1.2
impulselimit 300.0
impulsemeter 0
impulseskate 2000
impulsespeed 300.0
impulsesprint 1.0
instadelay 1000
instaprotect 2500
intermlimit 12000
itemspawndelay 2000
itemspawnstyle 2
itemspawntime 500
jumpspeed 200.0
maxcarry 9
maxhealth 140.0
maxhealthvampire 2.5
meleedamage1 50
movehover 1.8
moveinair 1.5
movespeed 90.0
movesprint 1.7
movestrafe 1.2
movestraight 2.0
pistoladd 50
pistolcollide1 55
pistoldamage1 18
pistoldamage2 10
pistoledelay2 700
pistolexplode1 50
pistolexplode2 2
pistolfullauto1 1
pistolfullauto2 1
pistolmax 50
pistolrdelay 200
pistoltime2 4000
plasmaadd 60
plasmaadelay2 800
plasmacollide1 87
plasmacolour 0x44DDAA
plasmadamage1 19
plasmadamage2 13
plasmaexplcol1 0x044DDA
plasmaexplcol2 0x044DDA
plasmaexplode2 36
plasmaguided2 1
plasmamax 60
plasmapartcol1 0x044DDA
plasmapartcol2 0x044DDA
plasmarays1 2
plasmardelay 700
plasmaspeed2 5000
plasmatime1 650
plasmatime2 7000
pointlimit 400
regendelay 3500
regenhealth 3
regentime 4000
rifleadd 50
rifleadelay1 550
rifleadelay2 650
rifledamage1 30
rifledamage2 100
rifleexplcol1 0x08822F
rifleexplcol2 0x08822F
rifleexplode1 24
riflefullauto1 1
riflefullauto2 1
riflemax 50
riflepartcol1 0x08822F
riflepartcol2 0x08822F
riflerays1 2
riflerdelay 500
rocketadd 5
rocketadelay1 800
rocketadelay2 800
rocketallowed 3
rocketdamage1 100
rocketdamage2 120
rocketexplode1 69
rockethitpush1 550.0
rocketmax 5
rocketrdelay 500
rocketspeed1 1200
rocketspeed2 1200
rockettime2 8000
shotgunadd 12
shotgunadelay1 300
shotgunadelay2 800
shotgundamage1 16
shotgundamage2 16
shotgunflakdmg1 14
shotgunfullauto1 1
shotgunfullauto2 1
shotgunguided2 1
shotgunmax 32
shotgunrdelay 300
shotgunspread1 1
skillmax 35
skillmin 15
smgadd 80
smgmax 80
smgrays1 2
smgrdelay 1000
smgspread1 1
smgspread2 3
smgtime2 300
spawndelay 2000
spawngrenades 1
spawnhealth 120
spawnprotect 6000
swordadelay1 250
swordadelay2 250
sworddamage1 20
sworddamage2 35
swordrays1 2
swordrays2 2
teambalance 3
teamdamage 0
timelimit 11
votelimit 20000
zoomtime 1


these are close to what i run on az-linux

Re: Running A Server

PostPosted: 26 Aug 2012, 21:23
by ballist1c
Blindman {l Wrote}:this game lacks serious docs, i prey much played around till i got some thing i liked.
you might try just starting one and making a file u can exec on the server like----

{l Code}: {l Select All Code}
botbalance 6
botlimit 14
enemyspawnstyle 3
flameradd 75
flamerdamage1 9
flamerdamage2 9
flamerguided2 1
flamermax 75
flamerrays1 2
flamerrdelay 200
flamerspeed1 600
flamerspeed2 900
gravityforce 75.0
grenadedamage1 90
grenadedamage2 90
grenadeexplode1 50
grenadeexplode2 50
grenadeflakdmg1 120
grenadeflakdmg2 120
grenadefullauto1 1
grenadefullauto2 1
grenadeguided2 1
grenademax 3
grenaderdelay 1400
grenadespeed1 350
grenadespeed2 350
impulsedash 1.6
impulsejump 1.2
impulselimit 300.0
impulsemeter 0
impulseskate 2000
impulsespeed 300.0
impulsesprint 1.0
instadelay 1000
instaprotect 2500
intermlimit 12000
itemspawndelay 2000
itemspawnstyle 2
itemspawntime 500
jumpspeed 200.0
maxcarry 9
maxhealth 140.0
maxhealthvampire 2.5
meleedamage1 50
movehover 1.8
moveinair 1.5
movespeed 90.0
movesprint 1.7
movestrafe 1.2
movestraight 2.0
pistoladd 50
pistolcollide1 55
pistoldamage1 18
pistoldamage2 10
pistoledelay2 700
pistolexplode1 50
pistolexplode2 2
pistolfullauto1 1
pistolfullauto2 1
pistolmax 50
pistolrdelay 200
pistoltime2 4000
plasmaadd 60
plasmaadelay2 800
plasmacollide1 87
plasmacolour 0x44DDAA
plasmadamage1 19
plasmadamage2 13
plasmaexplcol1 0x044DDA
plasmaexplcol2 0x044DDA
plasmaexplode2 36
plasmaguided2 1
plasmamax 60
plasmapartcol1 0x044DDA
plasmapartcol2 0x044DDA
plasmarays1 2
plasmardelay 700
plasmaspeed2 5000
plasmatime1 650
plasmatime2 7000
pointlimit 400
regendelay 3500
regenhealth 3
regentime 4000
rifleadd 50
rifleadelay1 550
rifleadelay2 650
rifledamage1 30
rifledamage2 100
rifleexplcol1 0x08822F
rifleexplcol2 0x08822F
rifleexplode1 24
riflefullauto1 1
riflefullauto2 1
riflemax 50
riflepartcol1 0x08822F
riflepartcol2 0x08822F
riflerays1 2
riflerdelay 500
rocketadd 5
rocketadelay1 800
rocketadelay2 800
rocketallowed 3
rocketdamage1 100
rocketdamage2 120
rocketexplode1 69
rockethitpush1 550.0
rocketmax 5
rocketrdelay 500
rocketspeed1 1200
rocketspeed2 1200
rockettime2 8000
shotgunadd 12
shotgunadelay1 300
shotgunadelay2 800
shotgundamage1 16
shotgundamage2 16
shotgunflakdmg1 14
shotgunfullauto1 1
shotgunfullauto2 1
shotgunguided2 1
shotgunmax 32
shotgunrdelay 300
shotgunspread1 1
skillmax 35
skillmin 15
smgadd 80
smgmax 80
smgrays1 2
smgrdelay 1000
smgspread1 1
smgspread2 3
smgtime2 300
spawndelay 2000
spawngrenades 1
spawnhealth 120
spawnprotect 6000
swordadelay1 250
swordadelay2 250
sworddamage1 20
sworddamage2 35
swordrays1 2
swordrays2 2
teambalance 3
teamdamage 0
timelimit 11
votelimit 20000
zoomtime 1


these are close to what i run on az-linux


You can just transfer your singleplayer settimgs to the server if you want. BTW, az-linux's jump and impulsevars are so ridiculously extreme I fall off everything all the time and die, so please turn those down a bit.

Re: Running A Server

PostPosted: 28 Aug 2012, 03:14
by greaserpirate
BTW, this is slightly offtopic, but I recently found out about the World Community Grid, where you can donate your spare CPU power to scientific endeavors while your computer is idling. Since running a server requires a lot of idling, I downloaded it, and it's worked great. It doesn't interfere with the server at all, it doesn't use the network too often or too much, and if you do something CPU-intensive like play RE, it suspends progress until you're done.

Re: Running A Server

PostPosted: 30 Aug 2012, 22:16
by Blindman
ballist1c {l Wrote}:
Blindman {l Wrote}:this game lacks serious docs, i prey much played around till i got some thing i liked.
you might try just starting one and making a file u can exec on the server like----

{l Code}: {l Select All Code}
botbalance 6
botlimit 14
enemyspawnstyle 3
flameradd 75
flamerdamage1 9
flamerdamage2 9
flamerguided2 1
flamermax 75
flamerrays1 2
flamerrdelay 200
flamerspeed1 600
flamerspeed2 900
gravityforce 75.0
grenadedamage1 90
grenadedamage2 90
grenadeexplode1 50
grenadeexplode2 50
grenadeflakdmg1 120
grenadeflakdmg2 120
grenadefullauto1 1
grenadefullauto2 1
grenadeguided2 1
grenademax 3
grenaderdelay 1400
grenadespeed1 350
grenadespeed2 350
impulsedash 1.6
impulsejump 1.2
impulselimit 300.0
impulsemeter 0
impulseskate 2000
impulsespeed 300.0
impulsesprint 1.0
instadelay 1000
instaprotect 2500
intermlimit 12000
itemspawndelay 2000
itemspawnstyle 2
itemspawntime 500
jumpspeed 200.0
maxcarry 9
maxhealth 140.0
maxhealthvampire 2.5
meleedamage1 50
movehover 1.8
moveinair 1.5
movespeed 90.0
movesprint 1.7
movestrafe 1.2
movestraight 2.0
pistoladd 50
pistolcollide1 55
pistoldamage1 18
pistoldamage2 10
pistoledelay2 700
pistolexplode1 50
pistolexplode2 2
pistolfullauto1 1
pistolfullauto2 1
pistolmax 50
pistolrdelay 200
pistoltime2 4000
plasmaadd 60
plasmaadelay2 800
plasmacollide1 87
plasmacolour 0x44DDAA
plasmadamage1 19
plasmadamage2 13
plasmaexplcol1 0x044DDA
plasmaexplcol2 0x044DDA
plasmaexplode2 36
plasmaguided2 1
plasmamax 60
plasmapartcol1 0x044DDA
plasmapartcol2 0x044DDA
plasmarays1 2
plasmardelay 700
plasmaspeed2 5000
plasmatime1 650
plasmatime2 7000
pointlimit 400
regendelay 3500
regenhealth 3
regentime 4000
rifleadd 50
rifleadelay1 550
rifleadelay2 650
rifledamage1 30
rifledamage2 100
rifleexplcol1 0x08822F
rifleexplcol2 0x08822F
rifleexplode1 24
riflefullauto1 1
riflefullauto2 1
riflemax 50
riflepartcol1 0x08822F
riflepartcol2 0x08822F
riflerays1 2
riflerdelay 500
rocketadd 5
rocketadelay1 800
rocketadelay2 800
rocketallowed 3
rocketdamage1 100
rocketdamage2 120
rocketexplode1 69
rockethitpush1 550.0
rocketmax 5
rocketrdelay 500
rocketspeed1 1200
rocketspeed2 1200
rockettime2 8000
shotgunadd 12
shotgunadelay1 300
shotgunadelay2 800
shotgundamage1 16
shotgundamage2 16
shotgunflakdmg1 14
shotgunfullauto1 1
shotgunfullauto2 1
shotgunguided2 1
shotgunmax 32
shotgunrdelay 300
shotgunspread1 1
skillmax 35
skillmin 15
smgadd 80
smgmax 80
smgrays1 2
smgrdelay 1000
smgspread1 1
smgspread2 3
smgtime2 300
spawndelay 2000
spawngrenades 1
spawnhealth 120
spawnprotect 6000
swordadelay1 250
swordadelay2 250
sworddamage1 20
sworddamage2 35
swordrays1 2
swordrays2 2
teambalance 3
teamdamage 0
timelimit 11
votelimit 20000
zoomtime 1


these are close to what i run on az-linux


You can just transfer your singleplayer settimgs to the server if you want. BTW, az-linux's jump and impulsevars are so ridiculously extreme I fall off everything all the time and die, so please turn those down a bit.

architect actually suggeseted those, Id have to look to see what could be changed.

Ive toned some stuff down a bit, maybe it isnt so crazy

Re: Running A Server

PostPosted: 11 Sep 2012, 19:59
by Sniper-Goth
Sorry for the bump, but when i try to run a server, it wont be listed in the game server list.
This is what it is written in when i launch server.bat:

"Master server reply: server registered, sending ping request
Master server reply: ping attempts failed, your server will not be listed."

How do i make the master server list it?

Re: Running A Server

PostPosted: 11 Sep 2012, 20:46
by Karoushi
Sniper-Goth {l Wrote}:Sorry for the bump, but when i try to run a server, it wont be listed in the game server list.
This is what it is written in when i launch server.bat:

"Master server reply: server registered, sending ping request
Master server reply: ping attempts failed, your server will not be listed."

How do i make the master server list it?


You need to open the ports you host on so that it can reach your PC. If you have a router or firewall you need to forward and allow the ports involved (28800 and 28801, or 28801 and 28802 etc) then it should work.

Edited by Quin: You only need 28801 and 28802.