Jump to content
  • 0
Sign in to follow this  
penzances

Please Help Me With These Compile Errors For Slayer

Question

starting...
src\com\rs\game\player\dialogues\SlayerMaster.java:16: error: cannot find symbol

Master master = player.getSlayerMaster();
^
symbol: method getSlayerMaster()
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:18: error: cannot find symbol

player.setSlayerMaster(Master.SPRIA);
^
symbol: method setSlayerMaster(Master)
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:26: error: cannot find symbol

Master master = playergetSlayerMaster();
^
symbol: method playergetSlayerMaster()
location: class SlayerMaster
src\com\rs\game\player\dialogues\SlayerMaster.java:30: error: cannot find symbol

if (player.getSlayerTask() != null) {
^
symbol: method getSlayerTask()
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:48: error: cannot find symbol

SlayerTask task = player.getSlayerTask();
^
symbol: method getSlayerTask()
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:66: error: cannot find symbol


+ player.getSlayerTask().getName()

^
symbol: method getSlayerTask()
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:99: error: cannot find symbol

if (player.getSlayerTask() != null) {
^
symbol: method getSlayerTask()
location: variable player of type Player
src\com\rs\game\player\dialogues\SlayerMaster.java:112: error: cannot find symbo
l
player.setSlayerMaster(Master.forId(npcI
d));
^
symbol: method forId(int)
location: class Master
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
8 errors
Press any key to continue . . .

Someone please help me thanks :]

didnt post out right the arrows are pointing at the dots like this player"."getslayertask

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
[quote name='redevolutionX']never heard of an code tag? BCH[/QUOTE]

how :p?

Share this post


Link to post
Share on other sites
  • 0
Make sure you've imported Master and Player.

Share this post


Link to post
Share on other sites
  • 0
Sorry im very new to this how would i go about doing that can you link me to a guide?

Share this post


Link to post
Share on other sites
  • 0
[quote name='penzances']any ideas?[/QUOTE]

Move to a lower revision. :D

Share this post


Link to post
Share on other sites
Sign in to follow this  

×