Nice work will have a look when I get home hope there isn't anything suspicious going on in there![]()
Nice work will have a look when I get home hope there isn't anything suspicious going on in there![]()
I can now set a point in the minimap to the code as x and y coordinate and it is able to calculate the screen coordinates for the same pixel in ingame minimap and click on it regardless of the direction you are looking at. Now i just have to work out how to make it walk well over those minimap image changes so it doesnt go to wrong direction.
Could someone of higher knowledge confirm the .exe that Release.rar contains please? :/
I know, i said it was messy cause i didnt clean it up and the send hook is disabled there atm, ill delete it today.
Meh, ran it and gave me 0.00's in the corner, probs did something wrong. Was in a VM that probs has an old ass DirectX installed so...
The ID will stay the same when looking from any angle. It was probably your directx, i compiled this with june 2010 sdk so you need to have d3dx9_43.dll in the system files somewhere, it uses the d3dx library to do matrix math and save textures and some other stuff.
EDIT: I made a bit more code to the minimap coordinate system, it now uses a offset so that when the runescape loads a new minimap image the coordinates will stay the same. I will make it so that if you would be using for example a miner and banker with this, you would walk to some pre-defined spot and press a hotkey so that it resets the coordinates to (0, 0) at you. Then the script maker would have saved the walking points to the bank and mine and it could walk on them very long distances very accurately.
Ill next make some walking code and try to make it walk from place A to place B.
EDIT2: Walking works perfectly now. I hardcoded some points to the code and it walked from varrock to lumbridge 3 times, everytime with different looking angle.
Last edited by Mato; 05-27-2012 at 01:38 PM.
You could add the rar to the mainpost so nobody misses it![]()
I dont know if its worth adding to the mainpost, all you can do with it is see the float type coordinates of the minimap in the left upper corner and the object ID's so you can really do anything with it :P
And it isnt very easy to use yet.
Oh and did you try it and did it work for you?
Good work mate have you created a function to return the coord(s) of the object ID's yet. Still aint had a look on pc yet and cant view whole code on phone for some reason.
And what I guess your using an exe to hook couldn't you have it in the dll and then called from simba?.
Starting to give me a bit motivation keep it up![]()
The function to get the object ID's isnt ready yet, and the exe is used only to inject the dll to the process. I havent looked yet at how to make it work with simba, ill make the most important functions work fully before that.
Using with simba shouldn't be a problem we can already call functions from dynamically loaded librarys for instance smart is library we use.

This is beautiful Nice work Mato
"Previously known as Leetsxc''
Nope I couldnt get it to work at all actuallyI did what your post said and it told me it injecting and I changed to DirectX and all that good stuff but nothing happend :/
You have to have 32 bit java also and you will need d3dx9_43.dll also if you dont have the lastest directx version.
I worked on inventory item recognition today and got it pretty good:
As you can see the items with basically same image such as ores and runes have the same ID because it generates the ID by counting the fully transparent pixels in the sprite. The colors change always little every time rs is restarted so i couldnt make a accurate ID for every individual item. But i think its good enough if your miner doesnt for example mine many different ores in one load.
Problem: Infinite loops for the "while(GetModuleHandleA("d3d9.dll") == 0)"
and the way you find the windows, if Jagex changes window size by just one pixel, you'd have to recompile your DLL :c
Other than that, looks nice.
I am Ggzz..
Hackintosher
I know theres a infinite loop for finding d3d9.dll, but i cant really do it any other way. Thats just meant to wait until the dll is loaded, because my dll cant hook the directx functions before its loaded and without hooking them its useless.
And i dont think jagex is going to change the window size because then they would have to remake the border sprites so there wouldnt be any gaps between them. And if they did it, it would take me like 5min to find the new dimensions and recompile it.
I looked at other ways to find the rs window, but it didnt have any caption and the window class it uses isnt anyhow unique so i decided to use the dimensions to find it. If you know any other better solution let me know.
OHH gawd this looks very interesting!
Subscribed. c:

Mato that's awesome dude, with Item's with the Same Id's it wouldn't make any difference since they only need a ColorSpeedTolerance(0) 1 Pixel Color Check on each of them to Differentiate
"Previously known as Leetsxc''
Uptext recognition is almost done, i will make it so it saves the uptext each frame and the function to get the uptext just returns a pointer to the uptext string so its really fast because it doesnt need any image recognition this way. It doesnt detect spaces in the string but that doesnt really matter.
I dont think should be too much of a problem since in most cases you dont search for more then one word
This seems like it is getting somewhere. There was talk of this after the first bot nuke, but no-one carried it on. Does this script/idea have anti-ban? You also seem like you are having fun too.
There are currently 1 users browsing this thread. (0 members and 1 guests)