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 :)

Major Erection 10-24-2016 17:14

Re: HLSW Alternative (Source Admin Tool)
 
Is it not suppose to work on a 64-bit Windows 7?
http://i.imgur.com/ljzsvan.png

Maxximou5 10-24-2016 17:25

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Major Erection (Post 2464682)
Is it not suppose to work on a 64-bit Windows 7?

You need to read the initial post, specifically
Quote:

Originally Posted by Dr!fter (Post 2463821)
...
It is built using Qt and requires Visual C++ Redistributable for Visual Studio 2015
...


Major Erection 10-25-2016 02:58

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Maxximou5 (Post 2464686)
You need to read the initial post, specifically

yeah my bad, I must've missed it :)

dedimark 10-25-2016 09:00

Re: HLSW Alternative (Source Admin Tool)
 
Hello

can you add Country flags please?

Dr!fter 10-25-2016 12:12

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by dedimark (Post 2464828)
Hello

can you add Country flags please?

Probably not going to happen, atleast not right now.

Major Erection 10-25-2016 12:21

Re: HLSW Alternative (Source Admin Tool)
 
I realised one thing about HLSW that really helps is that maps and number of users in the server has red/green colour instead of black which makes them easier to be seen. Will that be something that's easy to add? If it isn't then don't bother because it's not that big a deal.

MFS 10-25-2016 20:48

Re: HLSW Alternative (Source Admin Tool)
 
I recommend called HLSW2

Wilczek 10-26-2016 00:22

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Dr!fter (Post 2464060)
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.

Yes, this is exactly what I meant :) Keep up the good work!

Dr!fter 10-27-2016 13:32

Re: HLSW Alternative (Source Admin Tool)
 
Updated, mostly crash fixes when deleting servers mid query and design cleanup/improvements.

Major Erection 10-27-2016 14:17

Re: HLSW Alternative (Source Admin Tool)
 
So to maintain whatever servers I saved + rcon passwords I just need to keep the settings.ini file?

Btw when are you gonna start accepting donations? No one deserves to work for free

Dr!fter 10-27-2016 14:54

Re: HLSW Alternative (Source Admin Tool)
 
Yes, settings.ini contains everything.

MFS 10-27-2016 15:02

Re: HLSW Alternative (Source Admin Tool)
 
1) Please do not hide the password. Many servers and have different passwords.

2) Periodically error - "failed to query". The same behavior in HLSW

Dr!fter 10-27-2016 15:21

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by MFS (Post 2465515)
1) Please do not hide the password. Many servers and have different passwords.

2) Periodically error - "failed to query". The same behavior in HLSW

I dont understand. You know all your servers rcon passwords but not their name? Idk how not hiding the password will help... But i guess i can add an option.

What do you want me to do about your server failing to query? Thats out of my control.

Major Erection 10-27-2016 15:32

Re: HLSW Alternative (Source Admin Tool)
 
Hey dude, if it's not much work, could you move or add the 'get log' button to the rcon tab?

dedimark 10-28-2016 07:08

Re: HLSW Alternative (Source Admin Tool)
 
add info field please

like http://image.prntscr.com/image/f1e1c...a52675bb54.png

Thank you

Dr!fter 10-28-2016 11:47

Re: HLSW Alternative (Source Admin Tool)
 
why? All that info is already there...

dedimark 10-28-2016 13:37

Re: HLSW Alternative (Source Admin Tool)
 
More comfortable :)

Lucky_luck 10-28-2016 14:15

Re: HLSW Alternative (Source Admin Tool)
 
can you add chat with players on chat tab? and player Colors like Blue and Red?

Dr!fter 10-28-2016 18:25

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Major Erection (Post 2465520)
Hey dude, if it's not much work, could you move or add the 'get log' button to the rcon tab?

Done.

Quote:

Originally Posted by dedimark (Post 2465690)
add info field please

like http://image.prntscr.com/image/f1e1c...a52675bb54.png

Thank you

Done, sort of.

Quote:

Originally Posted by Lucky_luck (Post 2465768)
can you add chat with players on chat tab? and player Colors like Blue and Red?

Partialy done, it should work for csgo, css, and tf2 server but idk what the team parameter in logs is for other games or what color it should be. But for the 3 mentioned BLU, CT will be blue and RED, T red. Im open to adding more teams/games if requested (or perhaps moving the color and list to a config file). And there is now a chatbox to send messages as console.

New Image.

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

The info panel can be closed by sliding the slider all the way to the right.

Lucky_luck 10-28-2016 18:31

Re: HLSW Alternative (Source Admin Tool)
 
Ok Thx :)

TheWho 10-28-2016 21:11

Re: HLSW Alternative (Source Admin Tool)
 
Wow finally a better tool than HLSW, thank you so much.

I'd like to see pings, current and average ping.
Maybe even a toggleable sound notification with taskbar hint if a server is unreachable :)

Maybe logging the unreachable server start/end date and printing some info box like "Server was unreachable from 12:17pm to 12:48pm"

Automatically sent the rcon pw to the servern when the map changed, it prompts me "Please authenticate first."

Map changing sortable in a dropdown menu by "All maps" (console: maps *) or "Mapcycle" (maybe reading mapcycle via plugin).

Adding clan tags to player info.
"PLAYERNAME<7><STEAM_1:1:1234><Unassigned >" triggered "clantag" (value "Random Clan Tag Here")

Adding Team, SteamID and Client IP to the player info would be nice too.

Btw, frags is in csgo the score a player has and not actual kills.

I'd like to see a lot new stuff, great work so far!

dedimark 10-29-2016 05:40

Re: HLSW Alternative (Source Admin Tool)
 
thanks!

daleGEND 10-30-2016 12:47

Re: HLSW Alternative (Source Admin Tool)
 
Getting a lot of flags from Firewall programs like Comodo about changing protected registry keys. Is this normal?

Dr!fter 10-30-2016 17:43

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by daleGEND (Post 2466349)
Getting a lot of flags from Firewall programs like Comodo about changing protected registry keys. Is this normal?

Which ones are being changed? The program itself doesnt touch any registry key, I am not sure if Qt does or if creating the firewall exception via UPnP does.

Cripix 10-30-2016 18:50

Re: HLSW Alternative (Source Admin Tool)
 
Hi

For me the chat does not work then I am connected Rcon even if the software is already great

http://www.noelshack.com/2016-43-1477867794-capture.png

Dr!fter 10-30-2016 19:46

Re: HLSW Alternative (Source Admin Tool)
 
Quote:

Originally Posted by Cripix (Post 2466481)
Hi

For me the chat does not work then I am connected Rcon even if the software is already great

http://www.noelshack.com/2016-43-1477867794-capture.png

did you hit get log?

Cripix 10-30-2016 19:46

Re: HLSW Alternative (Source Admin Tool)
 
Not the logs also

Dr!fter 10-30-2016 20:32

Re: HLSW Alternative (Source Admin Tool)
 
The port is probably being blocked. In the rcon output you should see something like logadress_add yourip:port after hitting get log

TheWho 10-31-2016 15:51

Re: HLSW Alternative (Source Admin Tool)
 
The problem is that his chat doesn't log to file, prolly because he "return Plugin_Handled" on "say" command.
He would need to add LogMessage in the correct syntax of the normal chat log..

MFS 10-31-2016 23:46

Re: HLSW Alternative (Source Admin Tool)
 
Please make automatic entry Rсon password.

When you enter the first command in the console.


All times are GMT -4. The time now is 03:59.

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