Page 1 of 1

Windows server wrapper

Posted: Tue Apr 08, 2014 9:44 pm
by Jabantiz
This is just something I am screwing around with and not sure if it will be useful to others or if I will even complete it if others aren't interested in it. Basically it is a UI for the servers, I plan to have stuff like buttons for commonly used console commands, input line so you can enter any console command, logs put in a special tab for its category. Here are some screen shots of early dev.
Test1.jpg
Test2.jpg
As you can see I have tabs opening as new log categories hit the console. Let me know if there is any interest in a program like this and if so any features you might like to see.

PS - Programmed with C# and why I say windows only

Re: Windows server wrapper

Posted: Tue Apr 08, 2014 9:50 pm
by thefoof
Interesting. I don't really use console commands ever, but the log filtering might be useful sometimes. Not something I could see using very often though myself, I like the idea though.

Re: Windows server wrapper

Posted: Wed Apr 09, 2014 7:30 am
by Zcoretri
That looks cool Jabantiz, will like to check this out.

Re: Windows server wrapper

Posted: Wed Apr 09, 2014 5:55 pm
by Jabantiz
Went ahead and committed the code under my folder on the tools SVN, not much to it yet just click "open server" button and browse to your world server exe, currently no checks to make sure you select that, the server will start up right away.

The default tab will mimic the normal console window, log's will also be put into a tab for their category. The text box below the console will allow you to enter commands, you can hit enter or click the submit button to send the command. The "Exit" button will send the "exit" command to the server shutting it down. Also when you close the program and the server is running the exit command is sent to the server and will wait for the server to close before closing the program.

I can't get the color from the console so I just mimic the default colors, was thinking of using the configs but can't guarantee the console log's will match the categories so just went with default colors. Logs in the other tabs are not currently colored. Also note that this will not effect the log files, they will still go to the same folder they always do. I also had to add a couple missing fflush(stdout) to the server to get results from console commands to display properly, logs already did this, so make sure to update your server before testing this out.

If you have any ideas to make this more useful let me know.

Re: Windows server wrapper

Posted: Fri Apr 11, 2014 5:08 pm
by Jabantiz
Added a CPU and memory stats to the lower left
Test3.jpg

Re: Windows server wrapper

Posted: Sun Apr 13, 2014 4:11 pm
by Jabantiz
Added support for the login server and logs in all tabs to be colored. Also settings to save the path to the servers, need to set the path by going to "File->Open World/Login Server" the buttons will now start the servers if a path is set.