Stats calculator

A place for players to do role playing, discuss their guilds, etc.
Post Reply
Travolta
Novice
Novice
Posts: 159
Joined: 26 Mar 2011, 04:29

Stats calculator

Post by Travolta »

I wrote a small GUI tool to calculate stats. I had a similar tool, written in Qt, but not everybody has Qt.

You need python3+tkinter to run it. If anyone willing to build a single *.exe file from it (with py2exe), please do so, atm I can't do it. That way windows users can easilly use it.

Project homepage: https://bitbucket.org/rumly111/tktmwstats

Image
User avatar
mortis
Peon
Peon
Posts: 17
Joined: 22 May 2015, 14:55
Location: France

Re: Stats calculator

Post by mortis »

This is really great :D

At first, I had troubles running it because i didn't have python3-tk installed on my computer but now it works and again, it is really great :D

I am often testing stats on Test Server and now I can do it easily with your script. tkTMWstats saves me a lot of time so: THANK YOU!!! :D :D :D
User avatar
wushin
TMW Adviser
TMW Adviser
Posts: 1759
Joined: 18 Dec 2012, 05:56
Location: RiverBest, Brew City, Merica
Contact:

Re: Stats calculator

Post by wushin »

+1
The secret to getting all the important stuff done is doing nothing.
Travolta
Novice
Novice
Posts: 159
Joined: 26 Mar 2011, 04:29

Re: Stats calculator

Post by Travolta »

Made a windows executable http://s000.tinyupload.com/index.php?fi ... 0942154513 .

Unzip it and run tkTMWstats.exe
User avatar
Altus Institute
Novice
Novice
Posts: 155
Joined: 20 Oct 2014, 10:06
Location: The most far away Place

Re: Stats calculator

Post by Altus Institute »

Hi,

Ty for this, that will help to have good stats,
Is this tools give dps, mag att and others?

My pc is a huge mess right now, i cant use it on window, coz i broke the dualboot XD
And idk how use it on ubuntu 12.04, is it possible?
More simple, is it possible to add it in mana+?

Thx a lot for your answers:D
19:24:32 wushin So, can you do something?
19:24:52 Altus I can do nothing.
19:25:07 wushin So you are highly capable of doing nothing?
19:25:20 Altus yerp =D
19:25:31 wushin Crap, im only highly capable of doing something...=/
19:25:34 cassy Its ok wu-wu, we all needs to start somewhere...
19:25:43 deepthought wtf
19:25:46 wushin .....
19:25:52 cassy *pokes* deepthought
Ange Alus Banshee User
Remus Bull Rager Warrior Lv99
Maulne Bull Rager Warrior
Basilic Lazurite Dark Speed Mage
Travolta
Novice
Novice
Posts: 159
Joined: 26 Mar 2011, 04:29

Re: Stats calculator

Post by Travolta »

Altus Institute wrote:Hi,

Ty for this, that will help to have good stats,
Is this tools give dps, mag att and others?

My pc is a huge mess right now, i cant use it on window, coz i broke the dualboot XD
And idk how use it on ubuntu 12.04, is it possible?
More simple, is it possible to add it in mana+?

Thx a lot for your answers:D
Provide me the correct formulas to calculate DPS, MATK and others, and I might add it to my program.
It's written on python, so it can't be added to ManaPlus. It should work on all platforms with Python3 support (including Ubuntu).
Also as mortis said, you'll need python-tk.
User avatar
mortis
Peon
Peon
Posts: 17
Joined: 22 May 2015, 14:55
Location: France

Re: Stats calculator

Post by mortis »

I think that Python 3 comes installed by default on Ubuntu 14.04 and later. I don't know if 12.04 comes with it too.

WHAT TO DO:(this is not a quest :lol: )

1- Check if you have Python 3 installed by default by using that command in a terminal:

Code: Select all

python3
. Python3 opens like that:

Python 3.4.2 (default, date)
[GCC, numbers] on linux
Type "help", "copyright", "credits" or "license" for more information
>>>


You can quit by using CTRL+D.

If it doesn't work, you only need to install python3:

Code: Select all

sudo apt-get install python3
and enter your password.

2-When you have Python3 installed on your computer, you need to install this packet: python3-tk. Type:

Code: Select all

sudo apt-get install python3-tk
and enter your password.

3- Download the script, unzip it and move it to your home folder.

4- You can now use the Stats Calculator by typing:

Code: Select all

python3 tkTMWstats.py
in a terminal.

That's all. :)
User avatar
Altus Institute
Novice
Novice
Posts: 155
Joined: 20 Oct 2014, 10:06
Location: The most far away Place

Re: Stats calculator

Post by Altus Institute »

oh ty very much for this step by step, i will try it.
:D have a nice day
19:24:32 wushin So, can you do something?
19:24:52 Altus I can do nothing.
19:25:07 wushin So you are highly capable of doing nothing?
19:25:20 Altus yerp =D
19:25:31 wushin Crap, im only highly capable of doing something...=/
19:25:34 cassy Its ok wu-wu, we all needs to start somewhere...
19:25:43 deepthought wtf
19:25:46 wushin .....
19:25:52 cassy *pokes* deepthought
Ange Alus Banshee User
Remus Bull Rager Warrior Lv99
Maulne Bull Rager Warrior
Basilic Lazurite Dark Speed Mage
User avatar
mortis
Peon
Peon
Posts: 17
Joined: 22 May 2015, 14:55
Location: France

Re: Stats calculator

Post by mortis »

You're welcome. :D
User avatar
gumi
TMW Adviser
TMW Adviser
Posts: 797
Joined: 19 May 2014, 18:18

Re: Stats calculator

Post by gumi »

I made an HTML version so now you can run it in your browser:
https://stats.gumi.ca

(yes, it's ugly, I know)
User avatar
EJlol
TMW Furniture
TMW Furniture
Posts: 1224
Joined: 06 Sep 2005, 08:42

Re: Stats calculator

Post by EJlol »

If I have 99 points in something I get NaN spent points and NaN "Ramaining". if I become level 255 (which only can be achieved by cheating :roll: ) I have undefined points, and NaN "Ramaining". But for most users it does the trick :alt-3:
User avatar
gumi
TMW Adviser
TMW Adviser
Posts: 797
Joined: 19 May 2014, 18:18

Re: Stats calculator

Post by gumi »

EJlol wrote:If I have 99 points in something I get NaN spent points and NaN "Ramaining". if I become level 255 (which only can be achieved by cheating :roll: ) I have undefined points, and NaN "Ramaining". But for most users it does the trick :alt-3:
yes I found the bug already.. I'm fixing a few other things and then I will push the new version
User avatar
gumi
TMW Adviser
TMW Adviser
Posts: 797
Joined: 19 May 2014, 18:18

Re: Stats calculator

Post by gumi »

Post Reply