Special Ed
2007-05-07 18:51:02
Alright well I'm trying to make this thing as accurate as possible so I'm going to need some people who really don't have anything better to do to help me out.
For those of you (probably most) that don't know about my MMtoMS project I'll explain what it is. What 'm trying to do is make a procedure that converts the coordinates of the mini map to the main screen coordinates i.e. a tree on the mini map is where on the main screen. I've gotten a decent formula down but it doesn't always hit smaller objects on the main screen i.e. Items dropped (red dot). My goal is to eventually have it be accurate enough to pick up items.
What I need help with exactly is that I need to find accurate corner points of where the main screen is on the mini map (or visa versa) so I need some people to run this script I made to "harvest" the coordinates of the corners. The reason I'm asking for peoples help is so that i have coords from different servers and just more data to work with.
What you need to do is first find a relatively open area, no trees,buildings,ect.
Then All you do is pick a corner and start the script (make sure that the corner coords are right) and make sure that nothing is in the corner of the main screen *other than ground* it will click the mouse and Writeln the coords of the bottom of the flag in the mini map with ClickMouse and Wait, those are for later when I make a scatter plot of all the coordinates and data.
And thats pretty much it, I know its boring but if you are bored or have nothing better to do, or just want this MMtoMS procedure to be successful then why not?
Thanks in Advanced for everyone who helps with this XD.
For those of you (probably most) that don't know about my MMtoMS project I'll explain what it is. What 'm trying to do is make a procedure that converts the coordinates of the mini map to the main screen coordinates i.e. a tree on the mini map is where on the main screen. I've gotten a decent formula down but it doesn't always hit smaller objects on the main screen i.e. Items dropped (red dot). My goal is to eventually have it be accurate enough to pick up items.
What I need help with exactly is that I need to find accurate corner points of where the main screen is on the mini map (or visa versa) so I need some people to run this script I made to "harvest" the coordinates of the corners. The reason I'm asking for peoples help is so that i have coords from different servers and just more data to work with.
What you need to do is first find a relatively open area, no trees,buildings,ect.
Then All you do is pick a corner and start the script (make sure that the corner coords are right) and make sure that nothing is in the corner of the main screen *other than ground* it will click the mouse and Writeln the coords of the bottom of the flag in the mini map with ClickMouse and Wait, those are for later when I make a scatter plot of all the coordinates and data.
And thats pretty much it, I know its boring but if you are bored or have nothing better to do, or just want this MMtoMS procedure to be successful then why not?
Thanks in Advanced for everyone who helps with this XD.
program Corners_of_the_MMtoMS_BOX;
var
x,xx,yy,y,DTM:integer;
zx,zy:extended;
Number47,Number48,Number49,Number50,Number51,Number52,Number53,Number54,Number55,Number56,Number57,Number58,Number59,Number60,Number61,Number62,Number63:integer;
Number610,Number611,Number612,Number613,Number614,Number615,Number616,Number617,Number618,Number619,Number620,Number621,Number622,Number623:integer;
//Gets the point on the minimap where the mainscreen is(shows)
begin
repeat
{
Pick any co-ordinates of the corners of the mainscreen
(make sure they are the absolute corners of where you can click to walk)
My Corners:
Top Left (5,5) or (5,6)
Bottom Left (515,5) or (515,6)
Top Right (5,337) or (5,338)
Bottom Right (515,337) or (515,338)
}
x:= 5;
y:= 6;
//Flag DTM (uses bottom left pixel of the Flag)
DTM := DTMFromString('78DA639CCEC4C0F08901051C0B6301D38C503' +
'EE30C4C35B1C682A86A40E67C24600E48CD2B5435FF6172C876BD' +
'C26F1700C9D40C34');
MoveMouse(x,y);
Wait(50);
ClickMouse(x,y,true);
Wait(100);
FindDTM(DTM,xx,yy,571, 10,725, 155);
zx:= ((xx + zx) / 2);
zy:= ((yy + zy) / 2);
ClearDebug;
Writeln('{'+inttostr(x)+'}[x] - '+floattostr(zx));
Writeln('{'+inttostr(y)+'}[y] - '+floattostr(zy));
repeat
Wait(100);
//Everytime you get to the flag and stop moving press F12 (make sure you stop moving)
until(IsFKeyDown(12));
until(IsFkeyDown(11));
end.