Results 1 to 8 of 8

Thread: Function listings?

  1. #1
    Join Date
    Aug 2008
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Function listings?

    Is there a function listing? Especially for Reflection? If not, can someone answer these questions:

    1. What is the function name for getting if your player is interacting or not.

    2. What is the function name for getting the compass angle.

    3. What is the function name for getting the login index.

    Thanks,
    The!

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Have code hints on, and hit the period (.) key, and wait a few seconds.... Or F1 in SCAR.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Aug 2008
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh, so it's like Easy Eclipse? Well I'll try.


    Edit: OK, so I am now searching for usages of the LoginIndex. I found a "LoginIndex" String... But when I do this:

    SCAR Code:
    Repeat
        writeln(LoginIndex);
    Until (False);

    It prints out:
    ua.b
    Even when your logged in and everything, just the same thing.

    So I tried:

    SCAR Code:
    Var
        Index: LoginIndex;

    And it gave me an error when compiling.

    So how would I get the Login Index??

  4. #4
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    HOLY SHIT!!! i did not know you could do the period thing
    ~ Metagen

  5. #5
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The! View Post
    Is there a function listing? Especially for Reflection? If not, can someone answer these questions:

    1. What is the function name for getting if your player is interacting or not.

    2. What is the function name for getting the compass angle.

    3. What is the function name for getting the login index.

    Thanks,
    The!
    1. GetAnimation is probably what you're looking for. It's what changes when you're fighting, chopping a tree, mining a rock, etc.

    2. MakeCompassR can set the compass to whatever degree you specify. The N, S, E, and W directions also work.

    3. R_LoggedIn will tell you if you're logged in or not.
    :-)

  6. #6
    Join Date
    Aug 2008
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Method View Post
    1. GetAnimation is probably what you're looking for. It's what changes when you're fighting, chopping a tree, mining a rock, etc.

    2. MakeCompassR can set the compass to whatever degree you specify. The N, S, E, and W directions also work.

    3. R_LoggedIn will tell you if you're logged in or not.
    GetAnimation fails. While your player is let's say fighting an NPC the animation goes to -1 but the interacting is still true.

    I don't need to make the compass angle, I need to get the compass angle.

    LoggedIn isn't enough, I need indexes.

    Thanks for trying to help though =).

  7. #7
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by The! View Post
    GetAnimation fails. While your player is let's say fighting an NPC the animation goes to -1 but the interacting is still true.

    I don't need to make the compass angle, I need to get the compass angle.

    LoggedIn isn't enough, I need indexes.

    Thanks for trying to help though =).
    There is no getInteracting or getSelfInteracting (like in RSBot) function currently. You're free to put a function together yourself to see if you're interacting, though.

    GetMinimapAngleDeg.

    Get the LoginIndex yourself, then. The comments by R_LoggedIn show you what means what and you're free to use the snippet of code to find the LoginIndex.
    :-)

  8. #8
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Metagen View Post
    HOLY SHIT!!! i did not know you could do the period thing
    Ctrl + space is much easier.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-27-2008, 05:20 PM
  2. Replies: 2
    Last Post: 02-26-2008, 08:26 PM
  3. [FUNCTION] FindDoorColour: integer; By ZephyrsFury [FUNCTION]
    By ZephyrsFury in forum Research & Development Lounge
    Replies: 10
    Last Post: 07-27-2007, 08:45 AM

Posting Permissions

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