Page 1 of 1

Stats calculator

Posted: 29 Sep 2015, 22:22
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

Re: Stats calculator

Posted: 30 Sep 2015, 16:55
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

Re: Stats calculator

Posted: 30 Sep 2015, 17:11
by wushin
+1

Re: Stats calculator

Posted: 30 Sep 2015, 23:11
by Travolta
Made a windows executable http://s000.tinyupload.com/index.php?fi ... 0942154513 .

Unzip it and run tkTMWstats.exe

Re: Stats calculator

Posted: 01 Oct 2015, 09:03
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

Re: Stats calculator

Posted: 01 Oct 2015, 09:55
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.

Re: Stats calculator

Posted: 01 Oct 2015, 16:57
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. :)

Re: Stats calculator

Posted: 02 Oct 2015, 08:38
by Altus Institute
oh ty very much for this step by step, i will try it.
:D have a nice day

Re: Stats calculator

Posted: 02 Oct 2015, 11:53
by mortis
You're welcome. :D

Re: Stats calculator

Posted: 22 Oct 2015, 13:32
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)

Re: Stats calculator

Posted: 22 Oct 2015, 13:51
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:

Re: Stats calculator

Posted: 22 Oct 2015, 13:52
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

Re: Stats calculator

Posted: 22 Oct 2015, 14:17
by gumi