| Author |
Message |
|
Lucas W

Advanced Member

Joined: 07 Sep 2009 Posts: 275 Location: Australia
|
Posted: 09 Feb 2010 02:57:31 am Post subject: Idea: Dedicated Server GUI |
|
|
| My idea is that a user can set up a dedicated server, which opens up a menu (Kind of like the admin menu) which will allow him to do things from the admin menu and put in commands if that seems reasonable. Bassicly, it's Tob's command Dedi but with a GUI. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
Posted: 09 Feb 2010 08:13:51 am Post subject: Re: Idea: Dedicated Server GUI |
|
|
| Lucas W wrote: | | My idea is that a user can set up a dedicated server, which opens up a menu (Kind of like the admin menu) which will allow him to do things from the admin menu and put in commands if that seems reasonable. Bassicly, it's Tob's command Dedi but with a GUI. |
dedicated servers are designed to be run on headless *nix machines, so adding a GUI to one more or less defeats the purpose. _________________ StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative
 |
|
| Back to top |
|
|
DShiznit

Minor Calculator Deity

Joined: 14 Jan 2007 Posts: 1186 Location: The 24th Century
|
Posted: 09 Feb 2010 10:58:32 am Post subject: |
|
|
How about a GUI that generates a .bat and/or whatever linux/OSux use based on the settings you choose? _________________ Signature image removed for anti-Semitic imagery. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
|
| Back to top |
|
|
TheStorm

ha ha you lose

Joined: 26 Mar 2007 Posts: 1333 Location: TheWauwatosa
|
Posted: 09 Feb 2010 11:09:37 am Post subject: |
|
|
| elfprince13 wrote: | | DShiznit wrote: | | How about a GUI that generates a .bat and/or whatever linux/OSux use based on the settings you choose? |
Or better yet would be to generate a .cs file  |
Or just use the normal client to setup a listen server the way you want and copy it over to your server. _________________
"If you've done something right no one will know that you've done anything at all" -Futurama
"Nave a nice day, or not, the choice is yours." Tom Steiner |
|
| Back to top |
|
|
DShiznit

Minor Calculator Deity

Joined: 14 Jan 2007 Posts: 1186 Location: The 24th Century
|
Posted: 09 Feb 2010 11:10:59 am Post subject: |
|
|
I think elf's idea is best, and easiest. In fact, why not just have the dedicated.bat/whatever the others use fetch all the settings from the server prefs.cs. _________________ Signature image removed for anti-Semitic imagery. |
|
| Back to top |
|
|
TheStorm

ha ha you lose

Joined: 26 Mar 2007 Posts: 1333 Location: TheWauwatosa
|
Posted: 09 Feb 2010 11:12:27 am Post subject: |
|
|
| DShiznit wrote: | | I think elf's idea is best, and easiest. In fact, why not just have the dedicated.bat/whatever the others use fetch all the settings from the server prefs.cs. |
The dedicated setup already uses server prefs.cs... why would you need to fetch the settings it'll already use? _________________
"If you've done something right no one will know that you've done anything at all" -Futurama
"Nave a nice day, or not, the choice is yours." Tom Steiner |
|
| Back to top |
|
|
EmperorWiggy

Advanced Newbie

Joined: 30 Mar 2009 Posts: 57 Location: Wiggyville
|
Posted: 09 Feb 2010 06:55:37 pm Post subject: |
|
|
| I have a batch file on my laptop that lets you set the server name and info. Something like that would be cool. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
|
| Back to top |
|
|
DShiznit

Minor Calculator Deity

Joined: 14 Jan 2007 Posts: 1186 Location: The 24th Century
|
Posted: 09 Feb 2010 08:07:47 pm Post subject: |
|
|
| TheStorm wrote: | | DShiznit wrote: | | I think elf's idea is best, and easiest. In fact, why not just have the dedicated.bat/whatever the others use fetch all the settings from the server prefs.cs. |
The dedicated setup already uses server prefs.cs... why would you need to fetch the settings it'll already use? |
Because it does not fetch the mission from it. If it did, running a dedicated would start your last server's mission. Of course we would also want command-line stuff to redefine all those settings on the fly. _________________ Signature image removed for anti-Semitic imagery. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
Posted: 09 Feb 2010 08:22:00 pm Post subject: |
|
|
| DShiznit wrote: | | TheStorm wrote: | | DShiznit wrote: | | I think elf's idea is best, and easiest. In fact, why not just have the dedicated.bat/whatever the others use fetch all the settings from the server prefs.cs. |
The dedicated setup already uses server prefs.cs... why would you need to fetch the settings it'll already use? |
Because it does not fetch the mission from it. If it did, running a dedicated would start your last server's mission. Of course we would also want command-line stuff to redefine all those settings on the fly. |
| Code: |
#!/bin/bash
OSALL=`uname -a`
if `echo ${OSALL} | grep "Darwin" 1>/dev/null 2>&1`
FBBIN = "./FreeBuild.app/Contents/MacOS/FreeBuild"
else
FBBIN = "./FreeBuild.bin -nohomedir"
fi
MISFILE =$1
echo "$Pref::server::name = \"${2}\";" >> core/server/prefs.cs
echo "$Pref::server::info = \"${3}\";" >> core/server/prefs.cs
${FBBIN} -dedicated -mission ${MISFILE}
|
For non-Windows users this would probably do the trick. _________________ StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative
 |
|
| Back to top |
|
|
DShiznit

Minor Calculator Deity

Joined: 14 Jan 2007 Posts: 1186 Location: The 24th Century
|
Posted: 09 Feb 2010 08:42:46 pm Post subject: |
|
|
Yeah, f*ck windows, they only make up 93% of the market share, who needs 'em? _________________ Signature image removed for anti-Semitic imagery. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
|
| Back to top |
|
|
Lucas W

Advanced Member

Joined: 07 Sep 2009 Posts: 275 Location: Australia
|
Posted: 09 Feb 2010 11:24:19 pm Post subject: |
|
|
| But what about the non tech savvy player (This IS a lego game) they would prefer to use a GUI, and would most likely be using windows anyway, and they might want to change the settings without having to restart the server. |
|
| Back to top |
|
|
elfprince13

Hobo Extraordinaire

Joined: 23 May 2005 Posts: 6446 Location: A galaxy far far away......
|
Posted: 10 Feb 2010 12:02:39 am Post subject: |
|
|
| Lucas W wrote: | | But what about the non tech savvy player (This IS a lego game) they would prefer to use a GUI, and would most likely be using windows anyway, and they might want to change the settings without having to restart the server. |
Honestly, my thought here is that a non tech savvy player shouldn't be trying to run a dedicated, but one of you guys could probably make a script that calls initCanvas() and brings up the start server gui _________________ StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative
 |
|
| Back to top |
|
|
CyberPrime
Power User

Joined: 19 Apr 2009 Posts: 311
|
Posted: 10 Feb 2010 05:15:35 pm Post subject: |
|
|
| Yea, it wouldn't be much trouble if it was really called for, but it certainly shouldn't be something that's offered with the basic download. |
|
| Back to top |
|
|
|