MMOMinion
[Module] Info - 1.2 - (Gil/Hr) & (XP/Hr) - Printable Version

+- MMOMinion (https://www.mmominion.com)
+-- Forum: FFXIVMinion (https://www.mmominion.com/forumdisplay.php?fid=87)
+--- Forum: [DOWNLOADS] Addons, Lua Modules, Navigation Meshes.. (https://www.mmominion.com/forumdisplay.php?fid=90)
+---- Forum: LUA Modules / Addons (https://www.mmominion.com/forumdisplay.php?fid=102)
+---- Thread: [Module] Info - 1.2 - (Gil/Hr) & (XP/Hr) (/showthread.php?tid=6867)

Pages: 1 2 3 4 5


[Module] Info - 1.2 - (Gil/Hr) & (XP/Hr) - Ace - 04-01-2014

Small mod I made for some of the heavy botting community.  Basically tracks your Gil per hour, nothing fancy.

Unzip the files into LuaMods\Info  (you may have to create this folder)

[Image: dKJF61J.png]



Update 14.4.2016: Fixed the settings save spam. Redownload it!


RE: [Module] Info - (Gil/XP per Hour) - arktikk - 04-01-2014

Awesome! Will try this when I get home.
Thanks


RE: [Module] Info - (Gil/XP per Hour) - omegabuddy - 04-02-2014

Thanks Ace, but the xp fields never show anything but 0.


RE: [Module] Info - (Gil/XP per Hour) - Ace - 04-02-2014

(04-02-2014, 01:28 AM)omegabuddy Wrote:  Thanks Ace, but the xp fields never show anything but 0.

STOP BEING LEVEL 50 THEN!

j/k, I'll check it out, experience table might be broken, or it may have moved.
I tested this very thoroughly if you can't tell.


RE: [Module] Info - (Gil/XP per Hour) - omegabuddy - 04-02-2014

:P

NP, I was grinding xp in dungeons and it never showed anything but 0 for both toons.


RE: [Module] Info - (Gil/XP per Hour) - arktikk - 04-03-2014

Tried my hand at making a gil/hr add on just to get better at lua coding but I'll leave it here til yours gets fixed. :)

Might want to have a look at my string format function, I think its pretty handy to spit out formatted numbers (1234->1,234) for whenever you get this project going.

PHP Code:
function formatStr(myStr)
    
local a1,a2,a3
    local b1
,b2,b3
    local c1
    local neg
=0

    
if (tonumber(myStr)<0then
        neg
=1
        myStr
=string.sub(myStr,2)
    
end

    
if (string.len(myStr)==4then
        a1
=string.sub (myStr1,1)
        
b1=string.sub (myStr2)
        
myStra1..","..b1
    
elseif (string.len(myStr)==5then
        a1
=string.sub (myStr1,2)
        
b1=string.sub (myStr3)
        
myStr=a1..","..b1
    
elseif (string.len(myStr)==6then
        a1
=string.sub (myStr1,3)
        
b1=string.sub (myStr4)
        
myStr=a1..","..b1
    
elseif (string.len(myStr)==7then
        a1
=string.sub (myStr1,1)
        
b1=string.sub (myStr2,4)
        
c1=string.sub (myStr5)
        
myStr=a1..","..b1..","..c1    
    
elseif (string.len(myStr)==8then
        a1
=string.sub (myStr1,2)
        
b1=string.sub (myStr3,5)
        
c1=string.sub (myStr6)
        
myStr=a1..","..b1..","..c1    
    end
    
    
if (neg==1then
        myStr
="-"..myStr
    end
    
    
return myStr

end 

edit: I dont intend on ever updating this or maintaining it, was just for shits and gigs

<removed>


RE: [Module] Info - (Gil/XP per Hour) - dirin - 04-03-2014

(04-03-2014, 10:27 PM)arktikk Wrote:  Tried my hand at making a gil/hr add on just to get better at lua coding but I'll leave it here til yours gets fixed. :)

Might want to have a look at my string format function, I think its pretty handy to spit out formatted numbers (1234->1,234) for whenever you get this project going.

PHP Code:
function formatStr(myStr)
    
local a1,a2,a3
    local b1
,b2,b3
    local c1
    local neg
=0

    
if (tonumber(myStr)<0then
        neg
=1
        myStr
=string.sub(myStr,2)
    
end

    
if (string.len(myStr)==4then
        a1
=string.sub (myStr1,1)
        
b1=string.sub (myStr2)
        
myStra1..","..b1
    
elseif (string.len(myStr)==5then
        a1
=string.sub (myStr1,2)
        
b1=string.sub (myStr3)
        
myStr=a1..","..b1
    
elseif (string.len(myStr)==6then
        a1
=string.sub (myStr1,3)
        
b1=string.sub (myStr4)
        
myStr=a1..","..b1
    
elseif (string.len(myStr)==7then
        a1
=string.sub (myStr1,1)
        
b1=string.sub (myStr2,4)
        
c1=string.sub (myStr5)
        
myStr=a1..","..b1..","..c1    
    
elseif (string.len(myStr)==8then
        a1
=string.sub (myStr1,2)
        
b1=string.sub (myStr3,5)
        
c1=string.sub (myStr6)
        
myStr=a1..","..b1..","..c1    
    end
    
    
if (neg==1then
        myStr
="-"..myStr
    end
    
    
return myStr

end 

edit: I dont intend on ever updating this or maintaining it, was just for shits and gigs

Nice! Great job man, seems you have a pretty good understanding of how to code. :)


RE: [Module] Info - (Gil/XP per Hour) - Ace - 04-04-2014

Newest upload has proper formatting.


RE: [Module] Info - 1.1 - (Gil/Hr) - Cichard - 09-03-2014

bump


RE: [Module] Info - 1.1 - (Gil/Hr) - magoclow22 - 09-03-2014

(09-03-2014, 03:18 PM)jackie1234 Wrote:  bump
is possible to fix XP leveling table?