Results 1 to 9 of 9

Thread: GetBones

  1. #1
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default GetBones

    here is my getbones function, and I have 2 things to ask of you all;
    1) Check the script (please!)
    2) I'm getting an Identifier Expected error, but I have counted time and time again, and I'm getting the right # of identifiers.

    SCAR Code:
    Function GetBones: Boolean;
      Begin
        Result:=False;
        Var
          i, q:Integer;
          coords: TPoint;
        If(Not(LoggedIn))Then
          Begin
            Players[CurrentPlayer].Active:=False;
            Exit;
          End;
        For q:= 0 to 1 do
          Begin
            For i:= 0 to 3 do
              Begin
                If FindObjMultiText(coords.x,coords.y,'Bones','nes','ones',BoneColor[i],20) then
                   Begin
                     Mouse(coords.x,coords.y,2,2,false);
                     If (PopUp('up Bones')) then
                       Begin
                         Result:=True;
                         Exit;
                       End;
                   End;
              End;
          End;
      End;
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  2. #2
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The Vars have to go before the begin:

    SCAR Code:
    Function GetBones: Boolean;
      Var
          i, q:Integer;
          coords: TPoint;
      Begin
        Result:=False;
        If(Not(LoggedIn))Then...

  3. #3
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Oh, but is it good otherwise?
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

  4. #4
    Join Date
    Apr 2007
    Location
    Laguna Beach, California
    Posts
    231
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Umm, don't use pop up that is for the chat box popups like when you gain a level. You can you the srl functions ChooseOption or ChooseOptionEx instead.

  5. #5
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I prefer ClickOption...
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  6. #6
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by SantaClause View Post
    I prefer ClickOption...
    You prefer ClickOption isnt it the same thing ChooseOption?

  7. #7
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Nope. ClickOption is a boolean..not sure about ChooseOption though. Also, ClickOption has different parameters that let you set where it's meant to search the popup box.

    1 is for Mainscreen...2 for Inventory and 3 for Chat.
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  8. #8
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by markuska815 View Post
    Umm, don't use pop up that is for the chat box popups like when you gain a level. You can you the srl functions ChooseOption or ChooseOptionEx instead.
    No it is for the little message box that pops up when u right click.

  9. #9
    Join Date
    Jun 2007
    Location
    I'm not sure...
    Posts
    581
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by jhildy View Post
    No it is for the little message box that pops up when u right click.
    Thats what I thought. I looked at the script and the Bitmaps it loads are for the top and bottom of the lil right-click box XD
    ---------------------------------------------------------


    Pm me if you need any math functions made. Me = l0ving t3h mathz

    ---------------------------------------------------------

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
  •