Page 1 of 1

Server Hosting on Mac?

PostPosted: 20 May 2012, 22:15
by jadwight
I've been at it trying to figure out how to get a Mac Server up and running, but I'm having a little difficulties getting it to execute...

I thought I could possibly execute the linux shell through terminal and tried that also, but no luck...

Anyone have some simple steps I can follow to get this running?


*EDIT: PROBLEM SOLVED, SCROLL DOWN A COUPLE POSTS

Re: Server Hosting on Mac?

PostPosted: 20 May 2012, 23:49
by arand
Supposedly,you can use the client binary and start it in server mode. However, it seems impossible to join such a server due to it being stuck in private mode, regardless of how you shout at it.

I think it's currently impossible, but I'm not 100% sure, someone else might know more.

Re: Server Hosting on Mac?

PostPosted: 21 May 2012, 03:05
by jadwight
yeah, I've fooled with it in many different ways, and even thought perhaps since most of the configs are physically located in the application support folder that I would give that a try. So now I'm down to trying to run the linux source inside of terminal, and fiddling around with that now... I wish they would do like how Assault Cube was... You could just start the server and then start the game... or even if you could have the option to create a server game that would be excellent as well..

Re: Server Hosting on Mac?

PostPosted: 21 May 2012, 05:43
by jadwight
Solution!

I tinkered long and hard, and successfully got it running, and successfully got people coming into it as well...
So if you're on mac it's really simple and easy...

Go into your options and underneath autoexec.cfg type the following:

adminpass "yourpassword"
setmaster "yourpassword"
setmaster 3
servertype 3
sv_serveropen 0
sv_serverdesc "The Name of Your Server"
sv_serverclients 16
sv_servermotd "Your Server's Message of the Day"

PRESS SAVE!

Now Quit RedEclipse
ReOpen RedEclipse

Now Anytime you start an Offline Practice game it will execute the autoexec.cfg file which will automatically run those commands and display your server publicly.

The Mystery is Solved!


Also on a side note... You don't have to close out and restart on that first run, you can start a practice game and then type exec autoexec.cfg in the console and it will execute the file, or reopen options after starting a practice game and execute the file that way as well...

If you have a customvars.cfg file you can add it to that list as well by using "exec yourconfigfile.cfg" and it will auto load that as well...

Don't forget to turn on Port Forwarding on TCP/UDP ports 28801 and 28802. Forward them to your computer. Do this for both your Router and Firewall.

If anyone has a better way then share it with us, especially if you have found the way for doing dedicated on mac.

Re: Server Hosting on Mac?

PostPosted: 26 May 2012, 01:10
by ProductArchitect
Doesn't work for me, though perhaps because I'm trying to use Sauterbraten ports instead of adding new port forwarding via my router.

In any case, many people may find it easier to create/edit the text file outside of the game -- it seems to live at ~/Library/Application Support/redeclipse/autoexec.cfg

Scott

Re: Server Hosting on Mac?

PostPosted: 27 Jun 2012, 23:14
by jadwight
hmmm. Well you definitely will need to forward the ports, otherwise the traffic can't get through your router. Yes it would be easier for some to edit outside of the game via the config located at the directory in which you speak. That's exactly where you'll find it located.

Re: Server Hosting on Mac?

PostPosted: 07 Oct 2012, 14:38
by Xaran
Im using this script with these ports
{l Code}: {l Select All Code}
serverport 28801
servermasterport 28800

and the server runs, but when I open the console I see this
Image
how do I solve this?

Re: Server Hosting on Mac?

PostPosted: 08 Oct 2012, 04:46
by qreeves
jadwight {l Wrote}:Don't forget to turn on Port Forwarding on TCP/UDP ports 28801 and 28802. Forward them to your computer. Do this for both your Router and Firewall.

Question was answered on this thread, as well as quite a few times elsewhere on this forum.

Re: Server Hosting on Mac?

PostPosted: 13 Oct 2012, 14:43
by Xaran
qreeves {l Wrote}:
jadwight {l Wrote}:Don't forget to turn on Port Forwarding on TCP/UDP ports 28801 and 28802. Forward them to your computer. Do this for both your Router and Firewall.

Question was answered on this thread, as well as quite a few times elsewhere on this forum.


just 1 small problem, what if you don't have a router? :oops:

Re: Server Hosting on Mac?

PostPosted: 13 Oct 2012, 15:44
by ballist1c
Xaran {l Wrote}:
qreeves {l Wrote}:
jadwight {l Wrote}:Don't forget to turn on Port Forwarding on TCP/UDP ports 28801 and 28802. Forward them to your computer. Do this for both your Router and Firewall.

Question was answered on this thread, as well as quite a few times elsewhere on this forum.


just 1 small problem, what if you don't have a router? :oops:


LOL WUT

Re: Server Hosting on Mac?

PostPosted: 13 Oct 2012, 17:54
by Xaran
ballist1c {l Wrote}:
Xaran {l Wrote}:
qreeves {l Wrote}:
jadwight {l Wrote}:Don't forget to turn on Port Forwarding on TCP/UDP ports 28801 and 28802. Forward them to your computer. Do this for both your Router and Firewall.

Question was answered on this thread, as well as quite a few times elsewhere on this forum.


just 1 small problem, what if you don't have a router? :oops:


LOL WUT

I know I know I sound like an imbecile, but I don't have access to one now.

Is a router necessary if you use the server.bat on windows as well?

Re: Server Hosting on Mac?

PostPosted: 13 Oct 2012, 21:14
by sireus
Xaran {l Wrote}:Is a router necessary if you use the server.bat on windows as well?

Of course not. You just have to make sure that UDP packets sent from the outside to ports 28801 and 28802 can reach the server. That is, if you have a firewall or anything else functioning as one, you have to add exceptions.