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.
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
Windows server wrapper
Moderator: Team Members
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Windows server wrapper
You do not have the required permissions to view the files attached to this post.
- thefoof
- Retired
- Posts: 630
- Joined: Wed Nov 07, 2012 7:36 pm
- Location: Florida
Re: Windows server wrapper
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.
- Zcoretri
- Team Member
- Posts: 1642
- Joined: Fri Jul 27, 2007 12:55 pm
- Location: SoCal
Re: Windows server wrapper
That looks cool Jabantiz, will like to check this out.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Windows server wrapper
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.
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.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Windows server wrapper
Added a CPU and memory stats to the lower left
You do not have the required permissions to view the files attached to this post.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Windows server wrapper
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.
Who is online
Users browsing this forum: No registered users and 0 guests