Results 1 to 3 of 3

Thread: Finish The Script !

  1. #1
    Join Date
    Sep 2009
    Posts
    580
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Finish The Script !

    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 !
    I don't check this place often, sorry.

    Currently working on - Software Engineering degree. Thank you SRL for showing me the one true path

  2. #2
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    SCAR Code:
    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
    SCAR Code:
    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!

  3. #3
    Join Date
    Mar 2007
    Location
    in Holland
    Posts
    50
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •