anyone good at math to solve this refining?

View previous topic View next topic Go down

anyone good at math to solve this refining?

Post by Ecko on 05.02.10 12:04

this script shows like when it reach +2 it has something to do with some i dont know those math lol

Code:
 descFormat = "Refinery +%d %s (%d/1)",
        infoFormat = "Refinery +%d %s ",
        funcDesc = function(strFormat,params,bFinish,p)
            local par1 = params[2] - params[1]
            local par2 = params[1] + 1
            local prof  = par1 and AchievementCfg:GetRefineDesc(par1) or STRING_ERROR
            local iFinish = bFinish and 1 or 0
            return Format(strFormat, par2, prof, iFinish)
        end,
        funcInfo = function(strFormat,params,bFinish,p)
            local par1 = params[2] - params[1]
            local par2 = params[1] + 1           
            local prof  = par1 and AchievementCfg:GetRefineDesc(par1) or STRING_ERROR
            local iFinish = bFinish and 1 or 0
            return Format(strFormat, par2, prof)
        end,
    },


and this one show that when it reach +3 it will just get destroyed wth is (d/d)?

Code:
    descFormat = "Refinery +%d %s (%d/%d) times",
        infoFormat = "Refiney +%d %s (%d/%d) times",
        size=2,
        funcDesc = function(strFormat,params,bFinish,p)
            local par1 = params[2] - params[1]
            local par2 = params[1] + 1
            local prof  = par1 and AchievementCfg:GetRefineDesc(par1) or STRING_ERROR
            local nFinish = bFinish and params[3] or GameAI.GetAchCondDataInt(p) or -1
            local num    = params[3] or -1
                  return Format(strFormat, par2, prof, nFinish, num)
        end,
        funcInfo = function(strFormat,params,bFinish,p)
            local par1 = params[2] - params[1]
            local par2 = params[1] + 1
            local prof  = par1 and AchievementCfg:GetRefineDesc(par1) or STRING_ERROR
            local nFinish = bFinish and params[3] or GameAI.GetAchCondDataInt(p) or -1
            local num    = params[3] or -1
                  return Format(strFormat, par2, prof, nFinish, num)
        end,
    },
}

Ecko
Supper Botter
Supper Botter

Male
Number of posts : 236
Age : 29
Location : USA, MD
Points : 298
Reputation : 3
Join date : 2009-05-23

Back to top Go down

Re: anyone good at math to solve this refining?

Post by extremedeath on 05.02.10 16:56

lol this is not math, it's a program.
From the looks of it, it is made in java or pascal platform.

extremedeath
Top Botter
Top Botter

Male
Number of posts : 174
Age : 27
Points : 188
Reputation : 4
Join date : 2009-08-02

Back to top Go down

Re: anyone good at math to solve this refining?

Post by Ecko on 05.02.10 17:04

extremedeath wrote:lol this is not math, it's a program.
From the looks of it, it is made in java or pascal platform.

lol it can be math situation

Refinery +%d %s (%d/%d)

just looking the rate has something to do with those unknown formula Smile.

i made 1 lvl 60 vim armor to +7 with no fail -.- i cant remember how i did it now cuz i was busy trying to solve this formula.

Ecko
Supper Botter
Supper Botter

Male
Number of posts : 236
Age : 29
Location : USA, MD
Points : 298
Reputation : 3
Join date : 2009-05-23

Back to top Go down

Re: anyone good at math to solve this refining?

Post by vuduy on 05.02.10 20:12

That is not math, it's just a lua code to display refine... nothing interesting.

vuduy
Administrator
SINBOT Creator


AdministratorSINBOT Creator

Male
Number of posts : 1033
Age : 40
Points : 1429
Reputation : 107
Join date : 2007-11-15

Back to top Go down

Re: anyone good at math to solve this refining?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum