Jump to content
  • 0
drakthuro

718 Construction missing symbols.

Question

heya. i have no clue what to do now.

i was trying to add construction through a snippet from rune-server. 

everything works except for 3 missing symbol errors.

i imported everything that was needed to import.

 

the thread which holds the snippet is this one.

https://www.rune-server.org/runescape-development/rs-503-client-server/snippets/483327-667-718-construction-probably-30-40-a.html

all help is appreciated.

my errors**

starting...src\com\rs\game\player\Player.java:488: error: cannot find symbol
house = new House(this);
^
symbol: variable house
location: class Player
src\com\rs\game\player\Player.java:490: error: cannot find symbol
furnInterface = new FurnitureInterface(house);
^
symbol: variable house
location: class Player
src\com\rs\game\player\Player.java:3421: error: cannot find symbol
return house;
^
symbol: variable house
location: class Player
Note: src\com\rs\content\exchange\GrandExchange.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
Press any key to continue . . .

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

The 'house' variable seems to have gone missing! I haven't taken a look at any code yet, but try adding in class Player: public House house;

This will indicate this variable 'house' is a class variable from the House class and will allow you to call upon it for later use.

Edited by Gemu

Share this post


Link to post
Share on other sites
  • 0

house, furnInterface have missing values. When using a variable you need to have a reference for it.. e.g

 

private House house;//the full variable

house = new House();//when calling/setting the variable.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×