SRL Archive - OSR Help

RadialWalk vs. SPSWalk vs. DTMs


Vusn

2013-04-04 14:20:57

Hello guys, I have been working on a script for a few days now. The only issues I have are with pathing. I've spent countless hours experimenting with the different types of mapwalking. I am a very self sufficient person, and it takes a lot for me to ask for help, but I feel that I am stuck. After working with each method of mapwalking, here are my reviews of each:

SPSPathing:
Very well put together, and is not too difficult to code, once you get the hang of it. Although, making a custom map irritates the hell out of me. Works great until I log out and the map shifts. The script that I'm writing requires me to to walk on a 2 square wide path. When the map is shifted (compass is north, but map is at about 4 degrees), the pathing becomes very prone to failing. I attempted to add failsafes that detect if you made it to the current position or not, but when the map shifts, my DTMs become unstable, as well.

My script enters a different area 4 times during the duration of it. Do you think it would be better to make custom maps, or to combine numerous portions from the default 07 map included in the SPS?

DTMWalking:
Although it was a bit fun to make the paths, it turned out being very unstable after logging out and refreshing RS. I feel that this method is the most unreliable of the three, due to mapshifting.

RadialWalking:
The method that I am currently using. I feel that this method of walking may be the most reliable, to work with the automatic shifting of the map. I am just having issues with it stopping in a 4 squared box after walking 5+ points, with each point usually straying at least one box per radialwalk pass.

I also can't seem to grasp the concept of autocoloring and getroad methods. How stable are these functions in OSRS, anyway? Also, how would I detect if the character made it to the desired point successfully

Any, and all help/discussion is welcome. If anybody would rather talk through Skype, my ID is 'chase.hxc'. I would prefer not to release the script on here in regards to anti-goldfarming.

Thanks guys :)

Wu-Tang Clan

2013-04-04 15:21:38

Tried using all 3? Thats a failsafe right there. If you aren't in your desired position, then do (Radialwalk,SPS,DTM). And in regards to antigoldfarming- you'll be surprised at how few downloads your first few scripts will get. Only people like Ashaman or Sin need to worry about goldfarmers

Vusn

2013-04-04 18:04:29

From: Joseph D
Tried using all 3? Thats a failsafe right there. If you aren't in your desired position, then do (Radialwalk,SPS,DTM). And in regards to antigoldfarming- you'll be surprised at how few downloads your first few scripts will get. Only people like Ashaman or Sin need to worry about goldfarmers


I have tried using all 3, but I will randomly get that Jagex map that doesn't doesn't cooperate with my script. I have noticed that the bank symbol color changes at times as well. Could this be a way for the script to determine which version of pathing to use?

Do you think that the thousands(est.) of new "members" even know who Ashaman and Sin are? :\

My first script has had 1.5k+ downloads..

Vusn

2013-04-05 17:01:55

bump

Sjoe

2013-04-05 17:05:11

Walking with simba…

I'm clueless like many others

NKN

2013-04-05 17:08:23

I use DDTMs for autocoloring and walking.

You use a function like:

function returnColour(Color:integer):integer;
var
TPA:TPointArray;
begin
if(FindColorsSpiralTolerance(MMCX,MMCY,TPA,Color,MMx1,MMY1,MMX2,MMY2,10)) then
result := GetColor(TPA[0].x,TPA[0].y);
end;

You then use this with the DDTM points. It's how I autocolor a DDTM. (Can be used for normal autocoloring, with some modifications.)

Have you tried TPA Walking? I use it also, and it's accurate. Check out mapwalk.simba, the function: TPAWalk It's super easy to use, and is accurate.

Mikkoz99

2013-04-05 17:23:57

Vusn, can you give me an example of SPS path walking , I can't get it to work.
Trying to make a mining script in east varrock mine+bank.

Vusn

2013-04-05 19:57:15

From: Sjoekeloe
Walking with simba…

I'm clueless like many others


I'm not sure if you are really clueless, or you are being an ass.

From: NKN
I use DDTMs for autocoloring and walking.

You use a function like:

function returnColour(Color:integer):integer;
var
TPA:TPointArray;
begin
if(FindColorsSpiralTolerance(MMCX,MMCY,TPA,Color,MMx1,MMY1,MMX2,MMY2,10)) then
result := GetColor(TPA[0].x,TPA[0].y);
end;

You then use this with the DDTM points. It's how I autocolor a DDTM. (Can be used for normal autocoloring, with some modifications.)

Have you tried TPA Walking? I use it also, and it's accurate. Check out mapwalk.simba, the function: TPAWalk It's super easy to use, and is accurate.


I am going to look into TPAWalk, it sounds promising :D! I'll let you know how it goes.

From: Mikkoz99
Vusn, can you give me an example of SPS path walking , I can't get it to work.
Trying to make a mining script in east varrock mine+bank.


It looks like you already got it working :)

Sjoe

2013-04-05 20:18:04

From: Vusn
I'm not sure if you are really clueless, or you are being an ass.


Wtf, I'm being serious

Thanatos

2013-04-05 20:23:18

From: Sjoekeloe
Wtf, I'm being serious


You're one of the few promoted to SRL members without a script correct?

Sjoe

2013-04-05 20:23:48

From: Thanatos
You're one of the few promoted to SRL members without a script correct?


Read my siggy -.-

I did however get SRL Member without any application, scripting knowledge :)
Tried my best to improve that during my return last year.

NKN

2013-04-05 20:36:01

From: Sjoekeloe
Read my siggy -.-


He meant you didn't apply.

Sjoe

2013-04-05 20:36:50

From: NKN
He meant you didn't apply.


yeah, editted my post newb :)