Results 1 to 4 of 4

Thread: grandExchange API not working

  1. #1
    Join Date
    Jun 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default grandExchange API not working

    Hi,

    I am trying to incorporate some of the grand exchange functions within my script using the GE API in SRL, however it seems all the co-ords and offsets for slots and boxes and such are meesed up. I tried fixing it myself but it seemed to make matters worst. I was wondering if anyone a) knows that it is broken at the moment or not? or b) It's just me having this problem?

    Many thanks,

  2. #2
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by Zallen93 View Post
    Hi,

    I am trying to incorporate some of the grand exchange functions within my script using the GE API in SRL, however it seems all the co-ords and offsets for slots and boxes and such are meesed up. I tried fixing it myself but it seemed to make matters worst. I was wondering if anyone a) knows that it is broken at the moment or not? or b) It's just me having this problem?

    Many thanks,
    Are you calling grandExchange.isOpen( ) before making any of the other calls?

    Simba Code:
    if grandExcahnge.isOpen() then
    begin

      //stuff

    end;

    isOpen sets the interface's bounds.

  3. #3
    Join Date
    Jun 2014
    Posts
    6
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Haha that will teach me for just doing a bit of casual debug, many thanks buddy! Wondering where self.x1 and self.y1 was set!

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Are you calling grandExchange.isOpen( ) before making any of the other calls?

    Simba Code:
    if grandExcahnge.isOpen() then
    begin

      //stuff

    end;

    isOpen sets the interface's bounds.
    Quote Originally Posted by Zallen93 View Post
    Haha that will teach me for just doing a bit of casual debug, many thanks buddy! Wondering where self.x1 and self.y1 was set!
    I believe you can also call GrandExchange._find() or something of the like, although I think the underscore means that Mayor doesn't want you to use it in your script or something. I don't really know how that works.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

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
  •