Hi.
i have some problems with my compiler. it give's me 1 error.
im a basic coder so can you tell me how you solved this so i can learn from it
AND YES I USE POANIZER PROJECT 667, DONT CALL ME A NOOB. dont come here and tell me that only noobs use 667's.
here is my error:
Code:
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
compiled Player folder
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
compiled Server folder
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
compiling Dialogues
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
compiled Main Server Folder
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
compiled Main Server Folder
src\com\rs\game\player\content\AshScattering.java:66: error: cannot find symbol
if (player.getAshDelay() >
^
symbol: method getAshDelay()
location: variable player of type Player
Note: src\com\rs\game\player\Inventory.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
Compiled all Successfully
Press any key to continue . . .
here is my ashscattering.java with maybe the problem in it
Code:
}
public static boolean scatter(final Player player, int slotId) {
final Item item = player.getInventory().getItem(slotId);
if (item == null || Ash.forId(item.getId()) == null)
return false;
if (player.getAshDelay() >
Utils.currentTimeMillis())
return true;
final Ash ash = Ash.forId(item.getId());
player.addStopDelay(4);
player.setNextAnimation(new Animation(445));
player.setNextGraphics(ash.getGraphics());
WorldTasksManager.schedule(new WorldTask() {
i hope you can solve this i really appreciate it