Jump to content
  • 0
Sign in to follow this  
Sprints

Crystal Key Errors Help Please :)

Question

I was adding Crystal Chest to my server and I got just a couple of errors, they seem minor but I can not seem to find out what is wrong! Please help me, greatly appreciated. :)

[QUOTE]src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
compiled Player folder
src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
compiled Server folder
src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
compiling Dialogues
src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
compiled Main Server Folder
src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
compiled Main Server Folder
src\com\rs\game\player\Player.java:101: error: cannot find symbol
private transient CrystalChest crystalChest;
^
symbol: class CrystalChest
location: class Player
src\com\rs\game\player\Player.java:231: error: cannot find symbol
public CrystalChest getCrystalChest() {
^
symbol: class CrystalChest
location: class Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.
2 errors
Compiled all Successfully
Press any key to continue . . .[/QUOTE]

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Also I know its cause it doesn't recognize CrystalChest but that's basically the question, how to get it to recognize it, thanks again :)

Share this post


Link to post
Share on other sites
  • 0
[CODE]private transient CrystalChest crystalChest;[/CODE]

player java with other transients. :P

Now scroll down and add this with the other getters.
[CODE]
public CrystalChest getCrystalChest() {
return crystalChest;
}[/CODE]

Back to the error:
It cannot find that symbol which means that you didn't add it.

Share this post


Link to post
Share on other sites
  • 0
Hey thanks for the reply :) I did that but it doesn't seem to catch it, any advice on how to add it?

Share this post


Link to post
Share on other sites
  • 0
[quote name='Sprints']Hey thanks for the reply :) I did that but it doesn't seem to catch it, any advice on how to add it?[/QUOTE]

... Skype: NexonLTD

Share this post


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

×