SRL Archive - Reflection Discussion

Walking idea


Gu3st...

2008-08-15 20:41:12

function WalkToPoint(TileX, TileY, Rx, Ry, Tryes: Integer): Boolean;
var
Tw, MyPosPoint: TPoint;
I : Integer;
begin
Tw := TiletoMM(Point(Tilex, Tiley));
if(not InCircle(Tw.x, Tw.y, MMCX, MMCY, 74))then
begin
Writeln('Tile off minimap!');
while I > Tryes do
begin
MyPosPoint := GetMyPos;
if TileX >= MyPosPoint.X and TileY >= MyPosPoint.Y then
begin

end else
if TileX <= MyPosPoint.X and TileY >= MyPosPoint.Y then
begin

end else
if TileX <= MyPosPoint.X and TileY <= MyPosPoint.Y then
begin

end else
if TileX >= MyPosPoint.X and TileY <= MyPosPoint.Y then
begin

end;
Inc(I);
end;
Result:= False;
Exit;
end;
Mouse(Tw.x, Tw.y, Rx, Rx, True);
Result:= True;
end;
This script (if you insert code for walking in the diferent directions) would try to walk to a point for as many times as you input in 'Tryes', I have'nt tested it, and i just made a fast scetch so that you guys can get the idea.

for example:

You start in Warrock and want to walk to barbarian willage
then you do:
WalkToPoint(BarbarianWillageTile[10].x, BarbarianWillageTile[10].y, 10, 10, 20);

Then the script will walk west 20 times, or until it hits the tile.
Remember, the script i posted is not a working script, its just a scetch.

Do you think it will work?

0wn 4 skill

2008-08-16 10:12:01

I think this is a gr8 idea. I would definately use!

Gu3st...

2008-08-25 01:35:10

Well, I hope someone will notice my thread soon, and discuss it too…

Thanks Own 4 Skill. ;)

EvilChicken!

2008-08-25 01:38:34

I don't understand what it is you're trying to accomplish.

Gu3st...

2008-08-25 01:47:15

Hmm… Well, the script will find out where you stands and will then try to walk to a specific tile, for example:

You start in Warrock and want to walk to barbarian willage
then you do:
WalkToPoint(BarbarianWillageTile[10].x, BarbarianWillageTile[10].y, 10, 10, 20);

Then the script will walk west 20 times, or until it hits the tile.
Remember, the script i posted is not a working script, its just a scetch.

Narcle

2008-08-25 01:51:36

wth… thought I posted

Anyways, this is similar to Jukka's WebWalk/WindPath in his air crafter. I'm using it in my new script. Its uba.

Method

2008-08-25 09:47:55

I'd much rather have some type of world map walking like AryanWeb (what iBot uses) instead of blindly clicking around the map. It's quite a large task to accomplish, but I'd think if we actually did do it that we'd find more use in it then just clicking blindly (and maybe even in places we can't travel to) in order to get somewhere.

Good work, nonetheless. :)

akkida2

2008-08-27 14:49:56

Hmm, this would maybe work better than what we got now.

Da 0wner

2008-08-29 23:46:08

From: akkida2
Hmm, this would maybe work better than what we got now.


Wtf? This IS what we have now. It is using functions from Reflection.

And like you would know. You joined 6 days ago.

0wn 4 skill

2008-09-02 17:59:00

@ Da Owner, i think that is a legitamate comment akkida. Has your post actually contributed to this thread at all? In addition to this, some SRL members have a low number of posts but a great amount of knowledge so you never know… Some people dont post but then come out with a kick ass script.

@Zytex! I dont think wizzup is keen on the idea because he doesnt want things at scar to get "too" easy :p

Da 0wner

2008-09-02 19:10:02

Own 4 skill, I never implied that he had no skill. I don't see anything wrong with this function. It is useful. I was replying to akadia's comment because how could it be better then itself? It is using functions from Reflection in it.

SubiN

2008-09-12 04:54:41

Umm is there anyway to rotate screen while walking. If so it will be aweome , getting detected will go down by alot. Is there anyway to implement this .

Lee Lok Hin

2008-09-12 05:59:39

Meh, Instead of using Flag, use

 
while FlagPresent do
Makecompass(inttostr(random(360));

if you catch my drift.

Drakan

2008-09-12 23:08:28

From: Lee Lok Hin
Meh, Instead of using Flag, use

 
while FlagPresent do
Makecompass(inttostr(random(360));

if you catch my drift.


err, this would just rotate the screen the entire time rofl :P I dont think humans do that much xD. Would make more sense to make a function kinda like what I'm just about to make to post on here.

procedure AntiBanFlag;
begin
While FlagPresent do
begin
case Random(30) of
0..4: SleepAndMoveMouse(500+Random(500));
5..6: Makecompass(inttostr(random(360));
7..29: wait(400+Random(200));
end;
end;

This way it doesn't do TOO much. I know I don't do much when I walk, but every person is different. Also, just to throw this in there, I don't like the idea of blind walking. Why not just make a path? If you want the most human walking, you want something that walks to the tile as soon as its on the mm, and not after you stop. *Coughs and points to sig* *Cough if you didn't catch that, in my include is a path walker like this* *Cough I think I'm getting sick*

Anywho…