AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Source Admin Tool (HLSW Alternative) (https://forums.alliedmods.net/showthread.php?t=289370)

Dr!fter 10-21-2016 15:44

Source Admin Tool (HLSW Alternative)
 
Hello.

So I decided to make some builds and post them of my HLSW replacement.

This is still very beta. I have very little time to test anything and don't personally run any servers my self.

It is built using Qt and requires Visual C++ Redistributable for Visual Studio 2015 for windows.

So, what does it have and what does it lack.

This (right now), is a very simplistic and cleaner version of HLSW. It doesnt contain any of the crap with friends and server searching etc... However, it does lack some key things that HLSW did have. Primarily, the ban and map tabs. RCon passwords are not stored in plain text (albeit not difficult to decrypt). Icons for each game are attached to each games appID and can be changed inside the app_list_map.ini

Now for some pictures.

http://i.imgur.com/N2rfAYs.png

http://i.imgur.com/2Qejk4x.png

Im probably missing things that I cant remember right now.

The code is on the slightly ugly side as this was my first real UI and first time really using Qt.
The name is kinda... sucky too... oh well.

Source: https://github.com/Drifter321/admintool

To use simply extract the files in a folder and run.

Chagelog:
  • Version 1.0.1
    • Added chat tab
    • Added about button under settings.
    • Added secondary method for getting external IP.
    • Added more error messages for when logging fails.
    • Limited how much scrollback is saved to 100 lines
  • Version 1.0.2
    • Fixed a bunch of crashes related to removing servers
    • Added color to map and player count in server list.
    • Fixed not removing rules and players when no server is selected.
  • Version 1.0.3
    • Added text box to chat tab.
    • Added color to team chat messages (currently only works for CS:GO, CS:S, TF2)
    • Added new info panel
    • Moved get log button to the rcon tab.
  • Version 1.0.4
    • Added history to rcon and chat box (up and down arrow).
    • Fixed outputs being appended incorrectly.
    • Added a tool tip to server name which shows the IP.
    • Added server IP to the info panel.
    • Made logging pop up show only once.
  • Version 1.0.5
    • Added ping to server table.
    • Fixed utf8 characters not printing correctly in rcon, log, and chat windows.
    • Fixed a possible memory leak.
    • Added SteamID's to player info when logging is enabled.
    • Fixed incorrect connect time showing.
  • Version 1.0.6
    • Fixed commands being incorrectly encoded.
  • Version 1.0.7
    • Added the ability to copy player info table.
    • Added the ability to stop auto scrolling for rcon, chat and log tabs by simply not being scrolled to the bottom. Scrolling back to the bottom will enable it again.
  • Version 1.0.8
    • Get Log and running rcon commands will now auth if not authed.
    • Added the ability to copy the info and rules table.
    • Added a show password checkbox for rcon password.
  • Version 1.0.9
    • Added context menu to player table.
  • Version 1.1.0
    • Added country flags.
    • Added support for hostnames.
    • Added ping graph.
    • Added support for Mac
    • Added support for Linux
    • Fixed a bug with queued commands running multiple times.
    • Cleaned up table layout.
    • Slight performance fixes.

Thanks to:
psychonic

Mac and Linux have been lightly tested.

Builds are located here:
https://users.alliedmods.net/~drifter/SAT/ OLD
https://github.com/Drifter321/admintool/actions NEW
https://nightly.link/Drifter321/admi...s/build/master NEW (no GitHub login)

SmackDaddy 10-21-2016 19:36

Re: HLSW Alternative (Source Admin Tool)
 
Will try it out, thanks! :)

Wilczek 10-22-2016 12:53

Re: HLSW Alternative (Source Admin Tool)
 
Great :) Do you have plans to add 'Chat' feature and right-click on player to perform common actions?

Dr!fter 10-22-2016 13:46

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Wilczek (Post 2464048)
Great :) Do you have plans to add 'Chat' feature and right-click on player to perform common actions?

The chat should show up in the log tab, although a bit cluttered. Ill probably add a chat tab and push all chat messages to that tab as well. As for the right click on players, I assume kick and ban are the options? I havent used HLSW in a very long time so cant remember what it had.

Happy DODs player 10-23-2016 06:09

Re: HLSW Alternative (Source Admin Tool)
 
Cool

ElleVen 10-23-2016 07:09

Re: HLSW Alternative (Source Admin Tool)
 
The log thinghy seems to not work for me :(

What i see from the tool :

Server logging data to file logfiles/L095_141_035_112_27016_201610231111_000.log
L 10/23/2016 - 11:11:36: Log file started (file "logfiles/L095_141_035_112_27016_201610231111_000.log") (game "/home/steam/jb1/csgo") (version "6548")
L 10/23/2016 - 11:11:36: rcon from "2.235.153.10:52973": command "log on"
Usage: logaddress_add ip:port
L 10/23/2016 - 11:11:36: rcon from "2.235.153.10:52973": command "logaddress_add :52273"



EDIT: Im not using the tool on the same machine of the server

Dr!fter 10-23-2016 09:50

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by ElleVen (Post 2464205)
The log thinghy seems to not work for me :(

What i see from the tool :

Server logging data to file logfiles/L095_141_035_112_27016_201610231111_000.log
L 10/23/2016 - 11:11:36: Log file started (file "logfiles/L095_141_035_112_27016_201610231111_000.log") (game "/home/steam/jb1/csgo") (version "6548")
L 10/23/2016 - 11:11:36: rcon from "2.235.153.10:52973": command "log on"
Usage: logaddress_add ip:port
L 10/23/2016 - 11:11:36: rcon from "2.235.153.10:52973": command "logaddress_add :52273"



EDIT: Im not using the tool on the same machine of the server

I assume when the info message shows up at the start it says listening on :52273 as well?
I need to add another way to get the external IP. You can manually add the logaddress_add on the port and it should work.

Dr!fter 10-23-2016 13:58

Re: HLSW Alternative (Source Admin Tool)
 
Updated. Full changelog on first post. Mostly added another way to get the external ip used for logging and added the chat tab.

Im open to suggestions on how to display chat. I currently went with something that I thought looked ok.
Im also opened to thoughts on the amount of scrollback being saved. Currently 100 lines of rcon, log and chat will be saved for each server currently logging. The active selected one will still keep everything in the box until another server is selected.

Lucky_luck 10-23-2016 14:31

Re: HLSW Alternative (Source Admin Tool)
 
nice work :up:

Major Erection 10-24-2016 17:08

Re: HLSW Alternative (Source Admin Tool)
 
you are a God among men. Will definitely use this along side hlsw until it's a 100% stable :)


All times are GMT -4. The time now is 15:28.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.