Jump to content

Error coding enchantment script


Potenti

Recommended Posts

Hi all, 

 

Im new to scripting and try to code an enchantment script. However, I want to automated the buying of the resources on the GE, but im having errors which I can not resolve. same applies to the error on the symbol of 'spell'. I thought this had somehting to with my import, but can't seem to figure out what is the problem. Any help is appreciated!

 

code-1.png

 

This is the project import:

import-2.png

Link to comment
Share on other sites

16 hours ago, Potenti said:

Hi all, 

 

Im new to scripting and try to code an enchantment script. However, I want to automated the buying of the resources on the GE, but im having errors which I can not resolve. same applies to the error on the symbol of 'spell'. I thought this had somehting to with my import, but can't seem to figure out what is the problem. Any help is appreciated!

 

code-1.png

 

This is the project import:

import-2.png



You are looking for this I believe:

getGrandExchange().getOverallPrice(ID)

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...