SRL Archive - RS3 Outdated / Broken Scripts

Finish The Script !


Cigue

2010-03-02 12:58:57

I worked for long hours on an autoectofuntus. I made it my members script, but when college picked on I became increasingly sure I couldn't spend the appropriate time making it stable.

So, if I am not to complete it before this summer, you can ! Over 99% of the work is done anyway :) If you feel like picking up the challenge but need help understanding some procedures and functions, just add me over MSN and we'll figure it out !

This script works only on member's worlds with characters over 58 agility, with Ghosts Ahoy! completed. I understand it's a lot of requirements, but consider the rewards - 400% prayer exp on any bone, without needing to borrow some player's house.

Have fun and good luck scripting !

marpis

2010-03-08 04:21:12


Result := Point(point1.x + xp * Round(Cos(rs_GetCompassAngleRadians)) + yp * Round(Sin(rs_GetCompassAngleRadians)), point1.y - xp * Round(Sin(rs_GetCompassAngleRadians)) + yp * Round(Cos(rs_GetCompassAngleRadians)));
There's already a RotatePoint() and currently you're calling rs_GetCompassAngleRadians 4 times per function call! you should do it like this

var
a, cosa, sina: extended;
begin
a := rs_GetCompassAngleRadians;
cosa := Cos(a);
sina := Sin(a);
Result := Point(point1.x + xp * Round(cosa) + yp * Round(sina), point1.y - xp * Round(sina) + yp * Round(cosa));


But the code looks awesome :) Good job, I really hope someone finishes this!

magixx

2010-03-15 08:22:35

i'll take a look at it ;)