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.
-
elfprince13
- OVER NINE THOUSAND! (Posts: 11872)
- Re: Idea: Dedicated Server GUI
- 09 Feb 2010 08:13:51 am
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.
How about a GUI that generates a .bat and/or whatever linux/OSux use based on the settings you choose?
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
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.
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile.
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.
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?
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile.
I have a batch file on my laptop that lets you set the server name and info. Something like that would be cool.
EmperorWiggy wrote:
I have a batch file on my laptop that lets you set the server name and info. Something like that would be cool.
ditto. That part's easy
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.
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.
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.
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
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement