Page 1 of 2

QZRcon [fixed2.3]

Posted: Sat May 11, 2013 3:06 pm
by Monsterovich
QZRcon - Qt-based tool for Zandronum/Skulltag servers

Image

Features

- Cross-platform utility (Windows,Linux,Unix ...)
- Easy Graphical User Interface
- Chat mode with nickname support
- Color codes support (example: \cg - red)
- And more Options...

Developers

- Monsterovich (For contact: Monsterovich@gmail.com)
- Korshun

Compiliation

What do you need:

- C++ Compiler (For Windows-like MinGW is recomended)
- QT Library
- QMAKE

This is a typical Qt QMake project.

+++ WIN32

* Use QT Creator or other IDE to compile it.

+++ Linux/Unix

- $ qmake
- $ make clean

You will see your binary. Try to run it;
$ ./QZRcon

For Developers

You may read Rcon protocol documentation.
Just see RconProtocol.html.

Enjoy it! =)

Changelog:

Code: Select all

=== QZRcon changelog ===

	"+" - Added
	"*" - Fixed

=== Version: release1 ===

	* Fixed Bug with invalid colored log message
	+ Added save password checkbox feature
	+ Added config load/save feature (for password,hostname,port only)
	* Fixed bug with "\" in log message
	* Fixed bug with "<" ">" it means HTML code
	* Fixed bug with "\n" next line not working
	+ Added message time feature [hh:mm:ss]
	+ Added understanding CAPS colorcodes (Thanks to Dusk)
	+ Added additional typing feature:
			1.If chat checkbox is activated and first symbol is "/", then rcon will send text as command
			2.If chat checkbox is deactivated and first symbol is ":", then rcon will send text as chat message
			3.If chat checkbox is activated and first word is "/me", then rcon will send text as *Nickname chat message
			4.If chat checkbox is deactivated and first word is ":/me", then rcon will send text as Nickname chat message
	+ Added asking user after exit
	+ Added total number of admins
	+ Added \c[color] color tags support
	+ Added playerlist
			1.On double click rcon will copy player nickname to command line
			2.On single click rcon will add player name to the action data - to use action menu (kick,ban) (*)
	+ Added server will receive all information on connect (Big thanks to Korshun)
			1. Player list
			2. Admin count
			3. Map name
			4. Server name
			5. Last server log (you can deactivate it)
	+ Added action menu (*) and hot keys

=== Version: fixed1 ===

	* Fixed bug with menu (fonts) - action menus
	+ Added save logs: in plain text, in HTML
	* Fixed on actions rcon will say error if player is not selected in playerlist
	+ Added chat sound feature with custom file loading

=== Version: release2 ===

	+ Added "cancel" button to main window
	* Fixed toAscii() replaced with toLatin1()
	* Fixed small text bug with /me string
	* Fixed config will be saved when connect button clicked
	+ Added force function (press f10) to emulate SVRC_LOGGEDIN if there is packet loss.

=== Version: release2.1 ===

	* Fixed colortags parsing method
	+ Added config sections
	+ Added reconnect command
	+ Added log auto-saving feature (with options)
	* Fixed chat sound process checking
	* Fixed rconwindow design bugs
	* Upgraded menu style
	
=== Version: fixed2.2 ===

	* Fixed all nextline bugs, finally!
	* Changed \c[color] tags parsing bugs: now can parse caps \c[COLOR]
	* Fixed added special place for log autosaving, prevent log clear commands
	
=== Version: fixed2.3 ===

	* Fixed EndOfLine bug, yeah!
	+ Added Internet Doom Explorer support: any user can rename rcon exe to 'rcon_utility.exe' and connect through IDE, rcon will read settings.ini file to get server properties.
	+ Added custom font change function.
Download

Download (Win32)
Download (Linux)
Download (Source)

RE: QZRcon [beta1]

Posted: Sat May 11, 2013 3:59 pm
by Watermelon
Very nicely done
Image

RE: QZRcon [beta1]

Posted: Sat May 11, 2013 5:09 pm
by Ænima
Ooh, an RCON utility that I don't have to use Wine for!


Thanks!

RE: QZRcon [beta1]

Posted: Sat May 11, 2013 5:56 pm
by katZune
Pretty good, i'll test it later

RE: QZRcon [beta1]

Posted: Sat May 11, 2013 7:34 pm
by Monsterovich
Thanks, guys! :) What I should add in the future version?

RE: QZRcon [beta1]

Posted: Sat May 11, 2013 9:15 pm
by Konar6
Very good! Finally a better rcon utility than the old Rivecoder one. Recommending.
I like that the window can be resized and that the output isn't messed up with color codes and broken double timestamps.
And what I like the most is that you can rename the binary to rcon_utility.exe, place it in your ST folder, and IDE will use it on pressing "R".

My suggestion would be to display the message history, as the server sends it after successfully logging in.

RE: QZRcon [beta1]

Posted: Sun May 12, 2013 3:32 am
by DevilHunter
And make a Working Fav list too.. Seems the old "Rivecoder one" as Konar6 puts it, does not work. Either that, or I can't remember how exactly it works.

If you can.. Probley make it just like the Windows Server Console, where it gives you the option of adding DMFlags though Checkboxes. Would help, and save me time from waiting for my Browser to show up to look at the Wiki.

Nice job btw. This already looks somewhat better then the DoomSeeker Rcon Console.

RE: QZRcon [beta1]

Posted: Sun May 12, 2013 9:17 am
by Dusk
This is great, much appreciated. :) Got some thoughts:
  • Maybe it'd be a good idea to remove the chat checkbox and use an irc-like input? Type in normal text and it's sent like chat, if prefixed with a '/' it'd be sent like a command?
  • The client doesn't understand color codes with a caps code, it figures "\cdtest" but not "\cDtest". (I took and fixed this one on my end because I felt like it; meta-structure warning though)
  • Maybe not make \cj entirely white? It's invisible on fully-white backgrounds which are kind of common.
  • Also, the amount of admins online the server gives is the number of additional admins, so you could use that value + 1 for the "Admins online" label in the status bar to make it clearer.
  • You could also overload QWidget::closeEvent to catch the close button and Alt-F4 and ask the user for confirmation and disconnect cleanly.
  • Lastly, the server also sends the list of players, would be nice to see this in a list widget beside the input text.

RE: QZRcon [beta1]

Posted: Sun May 19, 2013 1:11 pm
by ZZYZX
I think you should make background of the chat window gray (like in ZDoom console before it starts up) and player chat strings green. If you want to support colors and make messages in Rcon look similar to ones seen in the game.

RE: QZRcon [beta1]

Posted: Sun May 19, 2013 5:00 pm
by Monsterovich
Circunei Z wrote: I think you should make background of the chat window gray (like in ZDoom console before it starts up) and player chat strings green. If you want to support colors and make messages in Rcon look similar to ones seen in the game.
I'll add font and color settings dialog.

RE: QZRcon [release1]

Posted: Thu May 23, 2013 4:35 pm
by Monsterovich
Verison 1r released! Check it out!

RE: QZRcon [release1]

Posted: Mon Jun 03, 2013 1:39 pm
by Monsterovich
Version 1fixed released! Tip: QSound not working on linux, thanks to linux audio support. Also, you can use this patch to play sounds with aplay app.

RE: QZRcon [release2]

Posted: Thu Jul 04, 2013 5:55 pm
by Monsterovich
Version "release2" released! :)

RE: QZRcon [release2]

Posted: Sun Jul 21, 2013 3:11 am
by ZzZombo
Good work, but you should fix those:
* The log ALWAYS scroll down, you have to constantly scroll up to see whatever you were looking at. UPD: there seems to be a newline (\n) character at the end of the log that should be deleted.
* Add colored nicknames to the list, since you know, there maybe players with the same nick, but different in colors.
* Also indicate who is a (dead) spectator. Maybe you also add scores, team, etc.
* A list of last issued commands would also help.
* The[quote=Server log][12:07:41 pm]CHAT
[12:07:41 pm]<5f5f>gordon: lol666[/quote]thing also may be fixed.
Hope I helped ;)
* If no nick is selected you still can use the commands to manipulate players. It's not obvious who get afftected then.
* The kickfromgame function doesn't ask for reason.

RE: QZRcon [release2]

Posted: Tue Jul 23, 2013 8:32 am
by Monsterovich
ZzZombo wrote: Good work, but you should fix those:
* Add colored nicknames to the list, since you know, there maybe players with the same nick, but different in colors.
* Also indicate who is a (dead) spectator. Maybe you also add scores, team, etc.
Impossible, because rcon protocol sucks, client protocol - fuck my brain.
ZzZombo wrote: * The kickfromgame function doesn't ask for reason.
Not bug, feature... There are no options for kickfromgame like in kick (without reason) command - no asking window, it's comfortable for hot-key mass force spectate. :smile:
ZzZombo wrote: * The log ALWAYS scroll down, you have to constantly scroll up to see whatever you were looking at. UPD: there seems to be a newline (\n) character at the end of the log that should be deleted.
Confirmed.
ZzZombo wrote: * A list of last issued commands would also help.
Which commands?
ZzZombo wrote: * A list of last issued commands would also help.
* The
Server log wrote:[12:07:41 pm]CHAT
[12:07:41 pm]<5f5f>gordon: lol666
thing also may be fixed.
Hope I helped ;)
What does you mean?

RE: QZRcon [release2]

Posted: Tue Jul 23, 2013 2:21 pm
by ZzZombo
Monsterovich wrote: Which commands?
I mean anything that was typed into the edit box for commands and sent to server, in order of newer commands on top of the list, so you could re-use them (the same you can see in the console of Zandronum client, press up arrow and down arrow).
Monsterovich wrote: What does you mean?
Look at this piece of log, 1st line contains "[CHAT]", but there is no real chat text, it's on the next line, and that's a bug in the game itself, but I guess, to make monitoring servers easier, you can just collaps the two lines and show only one, combined with the chat tag and actual message.

Also, I suggest to implement these features:
* Allow to connect to another server without terminating the current session (no, I mean without the need to close program window).
* Allow to reconnect to the current server using last settings in case of connection faults. Most preferably with option to reconnect automatically, if we timed out.
* Automatically write logs in both formats by user wish <- really want this.

RE: QZRcon [release2.1]

Posted: Sun Jul 28, 2013 7:14 pm
by Monsterovich
Version 2.1 released!
P.S. Added scrolling down on/off feature, forgot :)

RE: QZRcon [fixed2.2]

Posted: Sun Aug 18, 2013 5:59 pm
by roman6a
one of the very first thing i noticed of the new version is that now the font is diferent and smaller, would it be much of a trouble for a toogleable option to switch to the old font? it's not a bad font it's just a bit too small for me i guess.

also i noticed that the auto text scroll doesn't quite go to the bottom of the log now, it stays juuust a bit up enough for it to not show the latest message sent unless you manually lower it each time a new message is sent

and it tends to not respond, crash and disconnect alot more often now than with the old version...? i have to close and reopen every minute now just to read the text on the server and that's really annoying
(this is on the windows version btw)

RE: QZRcon [fixed2.2]

Posted: Wed Aug 21, 2013 12:40 pm
by Monsterovich
one of the very first thing i noticed of the new version is that now the font is diferent and smaller, would it be much of a trouble for a toogleable option to switch to the old font? it's not a bad font it's just a bit too small for me i guess.
My screen resolution is 1280x1024. Font is okay for me. I'll try to add option if I can do it.
also i noticed that the auto text scroll doesn't quite go to the bottom of the log now, it stays juuust a bit up enough for it to not show the latest message sent unless you manually lower it each time a new message is sent
Next line bug was fixed, but scrolling hasn't been fixed finally. :(
and it tends to not respond, crash and disconnect alot more often now than with the old version...? i have to close and reopen every minute now just to read the text on the server and that's really annoying
(this is on the windows version btw)
I have never got crash in 2.2. If connection timed out, I always use reconnect, it's very helpful.

RE: QZRcon [fixed2.2]

Posted: Sun Sep 15, 2013 10:41 am
by DevilHunter
I like what you done with the client. Now its almost at par with the Skulltag Rcon Utility. Just needs that one thing where if you launch it via IDE, it will grab the ip for ya. Thanks a bunch for this.