SRL Archive - Outdated / Broken

Map Walking - Scripting Assistant


Flyboy

2006-10-25 05:05:25

This is a tool that I made for myself which I thought some of you might find handy. Since I had no intention of releasing this… its very rough and hard to understand. If you are writing walking scripts it will be worth your time to grasp how to use this tool… it will save you hours during your script development stage.

this eliminates the need to guess what angle you need to get the road but not the building beside the road…

Please leave feedback as to other features I should add. Better yet Add the features that should be there and post it below, I can update the version at the top if others think your addition rocks :f:

edit: I guess this should now be ver: 0.02 beta

Quick rundown:
Load and run this in SCAR.
Select the RS window / bmp picture, or whatever source you are using as reference to script from

Press: Action:
'p' ———-Pauses Script, do this before typing in your text editor or other scar window where you are scripting
When paused: 'F2'———-This will release it from pause and once again wait anciously for your every wish and command
'c' ———- This will allow you to manually pick the road color from the minimap using your mouse. Must do prior to using the FindRoads
'a' ——— This combines FindRoads and the angle assistant. FindRoads will give you a simplistic report as to what directions the road is from you. its very usefull as a triger within your script. A simple way to spot when you have reached an intersection [repeat / until (RoadToNorth, RoadToEast, RoadToSouth, RoadToWest).

After the road report it will give you the critical angle info you need. Just hover your mouse over a spot on your minimap when you press 'a' and it will give you data using GetMousePos(x,y) and relate the data to you for use in the RadialRoadWalk Commands.
Radius - from (MMCX, MMCY)
Angle - the value you will put in for yout StartAng or EndAngle
x - x value relative to (MMCX, MMCY) / x value on the client
y - y value relative to (MMCX, MMCY) / y value on the client

l - Automaticly logs you in. Don't know about you but i HATE doing this manually
'n' ——— Logs out, closes bank if needed and Logs in next player

Current:
0.03 –> Added: 'n' ——— Logs out, closes bank if needed and Logs in next player

History:
WalkingScriptAssistant.scar (6.0 KB, 6 views)

Boreas

2006-10-25 08:20:02

Not sure what you mean by building beside the road but I'll check it out.

Edit can't see the file, Ill check back later

Wizzup?

2006-10-25 08:30:03

From: Boreas
Not sure what you mean by building beside the road but I'll check it out.

Edit can't see the file, Ill check back later


Same, I don't see it either.

Ruroken

2006-10-25 15:21:20

there isnt a file….

bullzeye95

2006-10-25 17:19:04

Why does it say it uses SRL Version 3.5?

Flyboy

2006-10-25 21:10:41

Sorry guys… Uploading now

From: bullzeye95
Why does it say it uses SRL Version 3.5?

That means if it doesn't work for you, its because it is using the latest SRL ver of the developers which will be out in the next version.

Merged since it became double posting:

Double Sorry… Me bad. Posted then got called away before uploading.

Sorry to all. Hope you like the little script. I am about to edit 1st post to explain more what it does.

XcanadamanX

2007-01-07 16:25:13

i get this error. maybe its because im using srl 3.6. i don't know.
 Line 182: [Error] (17842:1): Unknown identifier 'locform' in script