Search found 10 matches

by Louro
Mon Jun 04, 2012 2:29 pm
Forum: MicroMacro general & support
Topic: Read String from Memory - Help needed!
Replies: 4
Views: 2574

Re: Read String from Memory - Help needed!

wow
It's that to count the numbers of quest mobs killed in order to do something when task is completed?
by Louro
Fri May 25, 2012 2:44 pm
Forum: MicroMacro general & support
Topic: Mining script
Replies: 4
Views: 2519

Re: Mining script

I'm coding it but I have already notice a problem. I need to add to the mining time the time my char needs to reach the ore. When mining starts a green bar appears so I need to start the mining time count once the mining starts. How to do that? function am_I_mining() r,g,b = getPixel(hdc, x, y); -- ...
by Louro
Wed May 23, 2012 2:25 am
Forum: MicroMacro general & support
Topic: Mining script
Replies: 4
Views: 2519

Re: Mining script

wow, thanks for the hint.
As you can see I'm a total newbie here. Wish me luck :)
by Louro
Mon May 21, 2012 2:51 pm
Forum: MicroMacro general & support
Topic: Mining script
Replies: 4
Views: 2519

Mining script

I would like to code a script for mining but my coding knowledge is really really basic. I have an idea for this and would like to know it this could work. Well, the idea is to scan the screen but the bars zone. So lets say this zone starts in pixel (1,200) and ends in pixel (1000,600). Target = blu...
by Louro
Mon May 21, 2012 5:22 am
Forum: MicroMacro general & support
Topic: Math.random(100) question
Replies: 4
Views: 2505

Re: Math.random(100) question

Well, yesterday was sunday, definitively not the best day for coding. Today worked a bit and get it work :) IT WORKS!!! Here the complete code, in green my changes. -- Credits: -- A. M. "MystikFox" -- "Mangler" ------------------------- -- do NOT edit these!! CLASS_KNIGHT = 0; CL...
by Louro
Sun May 20, 2012 1:40 pm
Forum: MicroMacro general & support
Topic: Math.random(100) question
Replies: 4
Views: 2505

Re: Math.random(100) question

I tried to work it other way, but don't work.
In red my changes.


EDIT: Stupid code deleted
by Louro
Sun May 20, 2012 1:09 pm
Forum: MicroMacro general & support
Topic: Math.random(100) question
Replies: 4
Views: 2505

Re: Math.random(100) question

Well, the code is not mine.
This is on the fiesta bot code by mysticfox.

I don't like too much this part.
With a 5 secs cooldown skill, would be posible to:

"cast skill every (5000+(math.random(100)*100)"
This would output that skill every 5-15 seconds, and that's what I'm looking for.
by Louro
Sat May 19, 2012 4:19 am
Forum: MicroMacro general & support
Topic: Math.random(100) question
Replies: 4
Views: 2505

Math.random(100) question

I assume "match.random(100) creates a random number between 1 and 100. So, this code says "if random number above 92 then if that number above 50 do skill1, else skill2" But, if the number is above 92 is obvios that it will be allways above 50, so it will output skill 1 allways and ne...
by Louro
Sat May 19, 2012 4:10 am
Forum: Game cheating & modding
Topic: How to search for decimals?
Replies: 4
Views: 8231

Re: How to search for decimals?

But all the values will be between 1 and 2 :(
by Louro
Fri May 18, 2012 11:58 am
Forum: Game cheating & modding
Topic: How to search for decimals?
Replies: 4
Views: 8231

How to search for decimals?

I want to hack speed a game, but attack speed numbers have decimals and Cheat Engine do not search for those.
I have to find 1.1, 1.3, 1.5... (that's the attack speed in seconds)

Anyone I can search for this and lock the value?