SRL Archive - RS3 Help

grandExchange API not working


FooJoo

2015-03-25 16:29:03

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,

The Mayor

2015-03-25 16:30:33

From: Zallen93
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?


if grandExcahnge.isOpen() then
begin

//stuff

end;

isOpen sets the interface's bounds.

FooJoo

2015-03-25 16:34:36

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!

3Garrett3

2015-03-25 17:21:31

From: The Mayor
Are you calling grandExchange.isOpen( ) before making any of the other calls?


if grandExcahnge.isOpen() then
begin

//stuff

end;

isOpen sets the interface's bounds.


From: Zallen93
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.