SRL Archive - OSR Help

need very good scripter help for hunt


ogustuce

2012-05-08 22:57:50

i need help for my falconry script. the 'frame' of the script is done but i need help to improve it ( mostly failsafes but also a bit of TPA help) so if u interested in helping me, ill send u the script so u can suggest stuff to improve it.

thanks alot

Recursive

2012-05-08 23:11:54

Send to me, I can look over it. Falconry isn't that complicated; I did it when I was training hunter so I know a thing or 2 of what a good bot should contain.

ogustuce

2012-05-09 11:40:40

any1 else?

Er1k

2012-05-09 11:42:43

From: Chig
Send to me, I can look over it. Falconry isn't that complicated; I did it when I was training hunter so I know a thing or 2 of what a good bot should contain.


Those kebbits move fast. It is a nightmare to trace them like a human does with a FindObject like object-finder.

Kyle Undefined

2012-05-09 11:48:51

Couldn't you use MMToMS to track them?

ogustuce

2012-05-09 11:52:03

what is MMtoMS?

ogustuce

2012-05-09 12:19:15

ive tried to search it with poor results….eny1 knows a tutorial or somewhere where it says what MMtoMS is and how to use it?

ogustuce

2012-05-09 12:58:17

i found a bit about MMtoMS (MiniMap to Main Screen i presume) but i still dont understand how tyo use it to track kebbits. ne1 knows aguide or tutorial that could teach me about MMtoMS?

Er1k

2012-05-10 01:35:55

It is possible but still MMToMS has inaccuracies with the MS box area for searching. Back then I tried ATPA, but mouse isn't as fast as the kebbit and the tracing is often off the track because kebbits move too much.

J J

2012-05-10 06:34:08

From: ogustuce
i found a bit about MMtoMS (MiniMap to Main Screen i presume) but i still dont understand how tyo use it to track kebbits. ne1 knows aguide or tutorial that could teach me about MMtoMS?

http://villavu.com/forum/showthread.php?t=71412
http://villavu.com/forum/showthread.php?t=72985
http://villavu.com/forum/showthread.php?t=55095


I haven't really used it much myself, but MMtoMs should convert a NPC dot from the minimap to a tile on your screen. You can use it to track the kebbits and it will then click on the mainscreen tile that matches the NPC dot on the minimap.

ogustuce

2012-05-10 11:35:36

ok but howcan i make something like (and using the above functions)


var
MyTPA : TPointArray;
MyPoint : TPoint;
x, y, i : Integer;
p := GetMiniMapDots(WhatDot);
If (whatDot = 'npc', 'n', 'yellow', 'y': Col := clYellow) then
begin
getIntToBox(x1,y1,x2,y2) //get dimenson of the yellow square
begin
(idk what to write to make it searche the yellow square only) //searches the yellow square
FindColorsTolerance(MyTPA, 4414308, MSx1, MSy1, MSx2, MSy2, 5);
if Length(MyTPA) = 0 then
FindColorsTolerance(MyTPA, 4414308, MSX1, MSY1, MSX2, MSY2, 5);
for i := 0 to High(MyTPA)do
begin
MyPoint := MyTPA[i]
MMouse (MyPoint.x, MyPoint.y, 3, 3);
if (IsUpTextMultiCustom(['potted', 'tted kebbit'])) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, False);
ChooseOption('atch');
Wait(2000+random(250));
emd;
end;
end;
end;

ogustuce

2012-05-10 15:10:25

seems like ppl with the skills wont bother =(