View Full Version : See the warzone on your desktop!
ov3rcl0ck
07-13-2010, 06:18 AM
Its been a while since my original post so I'm here to say it again.
Regnumstats is a project I made that allows you to open a little widget/gadget/window that allows you to see the WZ stats for your server(be careful which one you download).
It has a PIN function which removes the boarder and kinda blends it into your desktop, but the Pin function only works in a few window managers.
Regnumstats is cross platform, it runs on Linux, Windows, and should run on OS X even. For Linux users with Conky installed there is also a Conky script to flawlessly display(in color) the warzone stats, and its easily added to your Conky config(see http://code.google.com/p/regnumstats/wiki/setting_up_conky_script for more info).
Anyway you can download it here:
Windows: http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-install-v1.1.exe
Windows for the RA server:http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-install-v1.1-RA-SERVER.exe&can=2&q=
Linux/source code: http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-src-v1.1.tar.gz
CONKY: http://code.google.com/p/regnumstats/downloads/detail?name=conky_v1.0.tar.gz
http://code.google.com/p/regnumstats/ is the project page, in case you want to check it out, file a bug, or suggest a feature. You can also suggest features and report bugs by replying to this thread!
Enjoy! And thank you to the users of Regnumstats for all the downloads!!!
ov3rcl0ck
07-13-2010, 06:20 PM
No comments... :o
Mattdoesrock
07-13-2010, 06:54 PM
I tried downloading it, but my anti-virus blocks it, so I can't install it, haha.
ov3rcl0ck
07-13-2010, 11:51 PM
I tried downloading it, but my anti-virus blocks it, so I can't install it, haha.
Its clean... If you don't believe me download the source and examine it. However the windows executable is a packed python script, some AVs block packed exes.
If you don't trust it, I guess thats fine, its your choice. But I guarantee you its clean.
Mattdoesrock
07-13-2010, 11:54 PM
No it's ok, it's not that I don't trust it, honestly. :)
I just don't know how to stop my anti-virus from blocking it. xD
NotScias
07-13-2010, 11:58 PM
Some screenshots would be welcome.
Anyways I would use it if I wasn't using something else already (KDE plasmoid that updates the regnum WZ stats image in desktop + Enio's IRC bot that notices me fort captures via desktop notifications :biggrin:).
But awesome work !
No it's ok, it's not that I don't trust it, honestly. :)
I just don't know how to stop my anti-virus from blocking it. xD
Use Linux pt!!
Gawyn_Trakkand
07-14-2010, 02:23 AM
i installed this a while back and AVG has flared up recently warning of a trojan software too. I've since removed it better safe than sorry and no offence but i dont know you.
ov3rcl0ck
07-15-2010, 03:31 AM
Some screenshots would be welcome.
Anyways I would use it if I wasn't using something else already (KDE plasmoid that updates the regnum WZ stats image in desktop + Enio's IRC bot that notices me fort captures via desktop notifications :biggrin:).
But awesome work !
Use Linux pt!!
I believe the KDE plasmoid app is actually derived from my work. Not to be conceded. Its just that someone told me they were going to make a plasmoid port of it.
Maybe send me a link of the plasmoid app?
ov3rcl0ck
07-15-2010, 03:34 AM
i installed this a while back and AVG has flared up recently warning of a trojan software too. I've since removed it better safe than sorry and no offence but i dont know you.
If you're afraid then download the python interpreter and then you can run if in script form, rather than packed in an EXE. Packed scripts don't go well with AVs.
But its understood, I don't trust me either sometimes.
ov3rcl0ck
07-15-2010, 03:40 AM
This is a screenshot of the regnumstats applet and conky script running side by side, just to give you a view of what it looks like.
http://img685.imageshack.us/img685/5593/screenshotbuk.png
Conky script looks a lot prettier :P
NotScias
07-15-2010, 04:31 AM
I believe the KDE plasmoid app is actually derived from my work. Not to be conceded. Its just that someone told me they were going to make a plasmoid port of it.
Maybe send me a link of the plasmoid app?
No, for sure, that plasmoid isn't even related to RO, it just shows and updates a distant image (URL) on your desktop ( http://kde-look.org/content/show.php/Scripted+Image?content=91749 ), then I use it to show and updates this every minute : http://regnum-online.de/goodies/status9.gif , so it has nothing to do with your work.
ov3rcl0ck
07-15-2010, 08:36 AM
No, for sure, that plasmoid isn't even related to RO, it just shows and updates a distant image (URL) on your desktop ( http://kde-look.org/content/show.php/Scripted+Image?content=91749 ), then I use it to show and updates this every minute : http://regnum-online.de/goodies/status9.gif , so it has nothing to do with your work.
Forgot who it was, but they said they were making a plasmoid port of regnumstats.
Syrtisa
07-21-2010, 07:03 AM
Its been a while since my original post so I'm here to say it again.
Regnumstats is a project I made that allows you to open a little widget/gadget/window that allows you to see the WZ stats for your server(be careful which one you download).
It has a PIN function which removes the boarder and kinda blends it into your desktop, but the Pin function only works in a few window managers.
Regnumstats is cross platform, it runs on Linux, Windows, and should run on OS X even. For Linux users with Conky installed there is also a Conky script to flawlessly display(in color) the warzone stats, and its easily added to your Conky config(see http://code.google.com/p/regnumstats/wiki/setting_up_conky_script for more info).
Anyway you can download it here:
Windows: http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-install-v1.1.exe
Windows for the RA server:http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-install-v1.1-RA-SERVER.exe&can=2&q=
Linux/source code: http://code.google.com/p/regnumstats/downloads/detail?name=regnumstats-src-v1.1.tar.gz
CONKY: http://code.google.com/p/regnumstats/downloads/detail?name=conky_v1.0.tar.gz
http://code.google.com/p/regnumstats/ is the project page, in case you want to check it out, file a bug, or suggest a feature. You can also suggest features and report bugs by replying to this thread!
Enjoy! And thank you to the users of Regnumstats for all the downloads!!!
awsome work.... just downloaded and already use with conky :) ty a lot :)
ov3rcl0ck +1
chandragupta
07-21-2010, 07:50 AM
Modified to use for both servers and even when "game is open"
Thanks neat script
Wikid
07-24-2010, 03:26 AM
Let's see if my screenshot still works (bottom right corner in the screenshot)...
http://wikid.no-ip.org/Screenshot2.png
Ashnurazg
07-26-2010, 01:51 PM
if os.popen("pgrep game").read()=="":
doesn't work. There is a Daemon called kgameportd at my System.
And why is "server=" double in your python script?
Which one I need to edit for another server?
tjanex
07-26-2010, 02:23 PM
I did it but it doesn''t work at all but maybe I can solve it I don't know I allready download it few times ...
Dracice
08-01-2010, 01:10 AM
Forgot who it was, but they said they were making a plasmoid port of regnumstats.
It was me, plasmoid is complete, but i must rewrite it before i open code :-D:metal:
ov3rcl0ck
08-12-2010, 07:19 PM
The Regnum stats conky script has been updated to v1.1, its not more organized, you can set the default color for neutral text(anything not a realm name). I cleaned up some code and Plunder (horus ignis) contributed some changes, he modified it so that it uses dynamic spacing so forts stay aligned, and he also organized forts into lists according to the realm that they belong to.
You can download v1.1 HERE (http://code.google.com/p/regnumstats/downloads/detail?name=conky_v1.1.tar.gz&can=2&q=)
Heres a screenshot:
http://i38.tinypic.com/2l89t7d.jpg
Tell me whether you like it better or not, if you don't v1.0 is still available from the project page, here (http://code.google.com/p/regnumstats/)
Enjoy!
Miraculix
08-13-2010, 11:32 AM
The Regnum stats conky script has been updated to v1.1, its not more organized, you can set the default color for neutral text(anything not a realm name). I cleaned up some code and Plunder (horus ignis) contributed some changes, he modified it so that it uses dynamic spacing so forts stay aligned, and he also organized forts into lists according to the realm that they belong to.
You can download v1.1 HERE (http://code.google.com/p/regnumstats/downloads/detail?name=conky_v1.1.tar.gz&can=2&q=)
Heres a screenshot:
http://i38.tinypic.com/2l89t7d.jpg
Tell me whether you like it better or not, if you don't v1.0 is still available from the project page, here (http://code.google.com/p/regnumstats/)
Enjoy!
Hey man, this looks very nice! Can you also post your .conkyrc file? I like your conky setup :)
Barya
08-13-2010, 08:19 PM
Alls working on Sabayon, just was needed only copy config from /etc/conky/conky.conf to HOME/.conkyrc
Hey man, this looks very nice! Can you also post your .conkyrc file? I like your conky setup :)
Alo...
As mira said, it would be very appreciated to upload your .conkyrc file too mate.
Thx in advance!
ov3rcl0ck
08-15-2010, 05:38 AM
Ok, heres my conkyrc file, I put it in a paste bin because I didn't want to fill the thread with it. It is also a nice example of how to get the regnum script to work.
For the record, and for legal issues(yeah right lol), its gonna be under the WTFPL v2, which ironically is a real license. So do what you please, don't bother to credit me, its a small bit.
heres the link:
http://codepad.org/SN0Y05cL
Ok, heres my conkyrc file, I put it in a paste bin because I didn't want to fill the thread with it. It is also a nice example of how to get the regnum script to work.
For the record, and for legal issues(yeah right lol), its gonna be under the WTFPL v2, which ironically is a real license. So do what you please, don't bother to credit me, its a small bit.
heres the link:
http://codepad.org/SN0Y05cL
Greece is chaos :P We dont care for licences, laws and all these shits :P
But ofc i ll credit you, just for the time you spent.
Thx for the conf ;)
ov3rcl0ck
08-23-2010, 01:47 AM
So my now Co-Author, plunder, just implemented gems in the conky script. Gems show up as "*" next to the realm name that they currently belong to and in the color of the realm it is from. Its really cool, be sure to credit plunder as well.
Right now all the new features are sadly only done for the Conky Script, meaning its only for Linux. But I'm working on porting these to the applet as well so windows users and non-conky users can also have these new features. :lightsabre:
Heres a link to Regnum Stats Conky Script 1.3. (http://code.google.com/p/regnumstats/downloads/detail?name=conky_v1.3.tar.gz&can=2&q=)
Heres a screenshot,
http://i38.tinypic.com/xfybza.jpg
So coming features to the applet are as listed
Realm danger warning
Display Gems
Organize the forts by realm
Add color
***Maybe make it look better and port it to a better GUI toolkit (Qt4 or wxWidgets)
lord_dvl
08-23-2010, 01:56 AM
Nice, i'm going to try it.
Miraculix
08-23-2010, 05:05 PM
Nice, thanks for the new version!
Already I tweaked it a bit to make it eat less space on the conky window, here is the result:
http://img834.imageshack.us/img834/9550/conkydone.png
Bruho82
09-08-2010, 07:25 PM
Another horizontal config:
http://img.flashtux.org/img132b72c33c5bxa5f53f81.png
video ;) (http://www.youtube.com/watch?v=j2m_SC6UC_8&feature=player_embedded)
Here is diff code:
script (http://pastebin.com/jxvX1kWb)
Bruho82
09-11-2010, 07:03 AM
There is remaded conky script (horizontal), thanx to Miraculix for the idea and to the author :)
http://img.flashtux.org/img132b72f1608ex55e6f95a.png
Code:
http://pastebin.com/2CMPPUsa
Awrath
09-11-2010, 10:05 PM
Great script! Thanks!! Fits in nicely with my desktop (using the conky version).
I did modify it slightly:
Bruho82
11-16-2010, 10:43 AM
There is remaded conky script (horizontal), thanx to Miraculix for the idea and to the author :)
http://img.flashtux.org/img132b72f1608ex55e6f95a.png
Code:
http://pastebin.com/2CMPPUsa
After updating the site script stopped working properly. Here, the corrected script:
http://tinypaste.com/d76f20
ov3rcl0ck
11-17-2010, 12:22 AM
After updating the site script stopped working properly. Here, the corrected script:
http://tinypaste.com/d76f20
It'll just break again in a week... The war stats page changes weekly now.
Bruho82
11-17-2010, 11:39 PM
It'll just break again in a week... The war stats page changes weekly now.
a good idea to change the method of finding the right strings, the problem is that I do not know python :)
maybe XPath can help...
Miraculix
01-10-2011, 02:36 PM
I re-wrote the script from scratch to use Xia's JSON status API instead of the rankings page.
The status API:
http://rostatus.heroku.com/api
The new script:
http://pastebin.com/F1aZCG7p
It can probably be done a lot cleaner & in fewer lines, I just wrote this between coffee & lunch cause I wanted my conky status back :D
HidraA
01-10-2011, 03:15 PM
I re-wrote the script from scratch to use Xia's JSON status API instead of the rankings page.
The status API:
http://rostatus.heroku.com/api
The new script:
http://pastebin.com/F1aZCG7p
It can probably be done a lot cleaner & in fewer lines, I just wrote this between coffee & lunch cause I wanted my conky status back :D
So now difference is: if before line was readet from page by build in script of widget...now u use a server script what export all this line in JSON format(what is almoust symilar with xml).
If there is no update now:
-Server is down;
-Xia's server cant fetch data;
-Widget dosen't connect to xia server;
Miraculix
01-10-2011, 03:29 PM
So now difference is: if before line was readet from page by build in script of widget...now u use a server script what export all this line in JSON format(what is almoust symilar with xml).
If there is no update now:
-Server is down;
-Xia's server cant fetch data;
-Widget dosen't connect to xia server;
The difference is mostly that the previous script was parsing HTML which now because of "Top Player" rankings is broken.
I don't like parsing HTML so instead of fixing the previous script, I re-wrote it to use 1 line of JSON that Xia's server provides, much simpler.
If the information is not available to anyone, it does not matter what you are using (HTML, JSON, whatever), it will not display valid info. You cannot create information where it does not exist :p
Bruho82
01-11-2011, 10:58 AM
The difference is mostly that the previous script was parsing HTML which now because of "Top Player" rankings is broken.
I don't like parsing HTML so instead of fixing the previous script, I re-wrote it to use 1 line of JSON that Xia's server provides, much simpler.
If the information is not available to anyone, it does not matter what you are using (HTML, JSON, whatever), it will not display valid info. You cannot create information where it does not exist :p
Good job! I first heard about this API. This method is much simpler than parsing HTML.
Whitewolf91
01-12-2011, 06:21 PM
is this program also available for the german server muspell?
or only ra and horus?
Miraculix
01-13-2011, 12:08 PM
is this program also available for the german server muspell?
or only ra and horus?
You can just change the word "horus" in my python script to "muspel", "niflheim" or whatever server you want, and it will work :)
Ashnurazg
04-29-2011, 11:42 PM
Blow away dust from this thread ...
I re-write Miraculix script: http://pastebin.com/PLr4ugg7
A more compact layout and adapt the new warzone mechanics (including passive realm status).
Feel free to customize it on your own needs.
http://npshare.de/files/2acf9dba/conky-script.png
PS: Default server at this script is muspell, oops. :D
vBulletin® v3.8.7, Copyright ©2000-2025, vBulletin Solutions, Inc.