Results 1 to 5 of 5

Thread: Find Item ChatBox using Refleciton??

  1. #1
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default Find Item ChatBox using Refleciton??

    KK I have learned nice reflection procedures in 2.5 days.. Im quite good at it I think? But now Im stuck..


    I know R_ItemExists checks if an item is in the invent.. But lets say your making a fletching bot using reflection only.. Example:

    Items in the invent: Knife & Logs..

    R_clickItem knife, R_clickItem Log...

    Then in the chat box, that thing button comes up.. and now U gotta click it.. to make all..

    How do I "Click that with reflection" or Check if that box is there or not?
    OR
    Check what item is showing in that box.. I didnt wanna use DTM's but I may have to if no one has the answers..

    Help please.
    I am Ggzz..
    Hackintosher

  2. #2
    Join Date
    Dec 2010
    Posts
    431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    r_GetInterface..
    TBox := r_GetInterfaceAbsoluteBounds
    r_ClickMouseBox(..);

    Get the interface, get the absolute bounds, then click it. : ] Easy as pie.

  3. #3
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    not as easy as u make it out to be... I got the following information from Interface Explorer.. It never finds it when I try to find if the interface is up.. it always says valid even when its not :S Well I guess the interface is always there but I do not see the Make All box.. and even when that is up, it never finds it or clicks it..

    I followed this tutorial: http://villavu.com/forum/showthread....ction+december

    And got this info:


    Simba Code:
    [B]Make All Box:[/B]

    Interface 905
    Component 14
    Actiontype :-1
    Type:0
    SpecialType:0
    TextureID:-1
    ParentID: 59310093
    Text:
    ToolTip: MakeAll
    SelActionName:
    Component ID:-1
    Component Stack Size: 0
    Relative Location (7,13)
    Absolute Location: (205, 393)


    [B]Picture of Item on the Make all Box:[/B]

    Component 56
    Type 5
    bounds 10
    ParentID 59310094
    Component ID 99
    Stacksize 1
    rel Loc 35,4
    Abs Loc 240,397


    [B]Text On the Make All Box:[/B]

    Component 57
    Action type: -1
    Type:4
    Special: 0
    Bounds Index: 10
    Model ID;0
    Texture ID:-1
    ParentID: 59310094
    Text: Ranarr potion (unf)
    tooltip:null
    SelActionName:
    Component ID: -1
    Component Stack Size :0
    Rel Location (4,33)
    Abs Location (209,426

    I used Ranarr Potion unf to test it :S not sure if that works or not.. But I did it like this: Withdrew 2 vials of water, 2 ranarrs, cuz thats all my bank has.. then click a vial of water and a ranarr and the interface came up.. and I grabbed that info.

    P.S. The commands you gave me above does not exist.. It exists without the R_ for "getinterface" and "MouseBox"
    Last edited by Brandon; 03-08-2011 at 06:55 AM.
    I am Ggzz..
    Hackintosher

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

    Default

    I just use color for that stuff usually. It doesn't often change, so it should work fine. Check out text.scar in SRL.


    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!

  5. #5
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Basic coord clicking should work also, just make a failsafe to make sure the interface is open.
    There used to be something meaningful here.

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
  •