Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Bug Can't use Inventory items on GameObjects anymore

Joined
Nov 6, 2015
Messages
533
Hi,

I am wiritng a quest bot and this is the second time this comes along I think it might had to do with an update somehow because the same piece of code worked before!

Code:
if (coffinOpened != null) {
                                SpriteItem ghostSkull = Inventory.getItems("Ghost's skull").first();

                                if (Inventory.getSelectedItem() != null && Inventory.getSelectedItem().toString().contains("Ghost's skull")) {
                                    coffinOpened.click();
                                }

                                if (ghostSkull.click()) {
                                    if (Inventory.getSelectedItem() != null && Inventory.getSelectedItem().toString().contains("Ghost's skull")) {
                                        coffinOpened.click();
                                    }
                                }
                            }

It just hovers above the coffin and then just repeats it also says this in the debug:

00:07:42 INFO [OSRS Glitch] The OSRS game engine has a glitch when using consumable items on entities. This breaks most bots, so we're correcting things.

While it's a Ghost's skull and not a consumable item I quess this is a bug and has nothing to do with my own code!
 
Joined
Jan 17, 2017
Messages
312
00:07:42 INFO [OSRS Glitch] The OSRS game engine has a glitch when using consumable items on entities. This breaks most bots, so we're correcting things.
It's almost like the client is telling you the engine has a glitch that breaks most bots, and will be fixed as soon as possible. Unfortunately, Cloud is away for thanksgiving with his family meaning he isn't able to fix it at the moment. People really need to be patient and realize that he's allowed to have time to himself lol. It sucks, but Cloud does amazing work and is well over-due for some time off.
 
Top