Jump to content
  • 0
Sign in to follow this  
Hydrass

718 compile error, please help?

Question

Got these errors, dunno what to do :S
[QUOTE]starting...
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:11: error: cannot find sym
bol
import com.rs.game.npc.slayer.GanodermicBeast;
^
symbol: class GanodermicBeast
location: package com.rs.game.npc.slayer
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:26: error: inconvertible t
ypes
GanodermicBeast npc = (GanodermicBeast) n;
^
required: GanodermicBeast
found: NPC
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:27: error: cannot find sym
bol
NPCCombatDefinitions defs = npc.getCombatDefinitions();
^
symbol: method getCombatDefinitions()
location: variable npc of type GanodermicBeast
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:29: error: no suitable met
hod found for withinDistance(GanodermicBeast,int)
if (player.withinDistance(npc, 3)) {
^
method WorldTile.withinDistance(WorldTile) is not applicable
(actual and formal argument lists differ in length)
method WorldTile.withinDistance(WorldTile,int) is not applicable
(actual argument GanodermicBeast cannot be converted to WorldTile by metho
d invocation conversion)
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:36: error: method getRando
mMaxHit in class CombatScript cannot be applied to given types;
getRandomMaxHit(npc, 400
,
^
required: NPC,int,int,Entity
found: GanodermicBeast,int,int,Entity
reason: actual argument GanodermicBeast cannot be converted to NPC by method i
nvocation conversion
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:38: error: cannot find sym
bol
npc.setNextAnimation(new Animation(15470));
^
symbol: method setNextAnimation(Animation)
location: variable npc of type GanodermicBeast
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:39: error: cannot find sym
bol
npc.setNextGraphics(new Graphics(2034));
^
symbol: method setNextGraphics(Graphics)
location: variable npc of type GanodermicBeast
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:40: error: no suitable met
hod found for sendProjectile(GanodermicBeast,Entity,int,int,int,int,int,int,int)

World.sendProjectile(npc, target, 2034, 10, 18, 50, 50,
0, 0);
^
method World.sendProjectile(WorldObject,WorldTile,WorldTile,int,int,int,int,
int,int,int) is not applicable
(actual and formal argument lists differ in length)
method World.sendProjectile(Entity,Entity,int,int,int,int,int,int,int) is no
t applicable
(actual argument GanodermicBeast cannot be converted to Entity by method i
nvocation conversion)
method World.sendProjectile(Entity,WorldTile,int,int,int,int,int,int,int) is
not applicable
(actual argument GanodermicBeast cannot be converted to Entity by method i
nvocation conversion)
method World.sendProjectile(WorldTile,Entity,int,int,int,int,int,int,int) is
not applicable
(actual argument GanodermicBeast cannot be converted to WorldTile by metho
d invocation conversion)
method World.sendProjectile(Entity,WorldTile,WorldTile,int,int,int,int,int,i
nt,int) is not applicable
(actual and formal argument lists differ in length)
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:49: error: method getRando
mMaxHit in class CombatScript cannot be applied to given types;
getRandomMaxHit(npc, 400
,
^
required: NPC,int,int,Entity
found: GanodermicBeast,int,int,Entity
reason: actual argument GanodermicBeast cannot be converted to NPC by method i
nvocation conversion
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:51: error: cannot find sym
bol
npc.setNextAnimation(new Animation(15470));
^
symbol: method setNextAnimation(Animation)
location: variable npc of type GanodermicBeast
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:52: error: cannot find sym
bol
npc.setNextGraphics(new Graphics(2034));
^
symbol: method setNextGraphics(Graphics)
location: variable npc of type GanodermicBeast
src\com\rs\game\npc\combat\impl\GanodermicCombat.java:53: error: no suitable met
hod found for sendProjectile(GanodermicBeast,Entity,int,int,int,int,int,int,int)

World.sendProjectile(npc, target, 2034, 10, 18, 50, 50,
0, 0);
^
method World.sendProjectile(WorldObject,WorldTile,WorldTile,int,int,int,int,
int,int,int) is not applicable
(actual and formal argument lists differ in length)
method World.sendProjectile(Entity,Entity,int,int,int,int,int,int,int) is no
t applicable
(actual argument GanodermicBeast cannot be converted to Entity by method i
nvocation conversion)
method World.sendProjectile(Entity,WorldTile,int,int,int,int,int,int,int) is
not applicable
(actual argument GanodermicBeast cannot be converted to Entity by method i
nvocation conversion)
method World.sendProjectile(WorldTile,Entity,int,int,int,int,int,int,int) is
not applicable
(actual argument GanodermicBeast cannot be converted to WorldTile by metho
d invocation conversion)
method World.sendProjectile(Entity,WorldTile,WorldTile,int,int,int,int,int,i
nt,int) is not applicable
(actual and formal argument lists differ in length)
src\com\rs\game\npc\dungeonnering\AsteaFrostweb.java:64: error: cannot find symb
ol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\AsteaFrostweb.java:65: error: cannot find symb
ol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\CopyOfDungeonBoss.java:31: error: cannot find
symbol
return dungeon.getDungeon();
^
symbol: method getDungeon()
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\DungeonBoss.java:14: error: cannot find symbol

super(id, tile, dungeon.getDungeonBossRoomHash(), false, true);
^
symbol: method getDungeonBossRoomHash()
location: variable dungeon of type Dungeon
src\com\rs\game\npc\dungeonnering\DungeonBoss.java:23: error: cannot find symbol

dungeon.openStairs();
^
symbol: method openStairs()
location: variable dungeon of type Dungeon
src\com\rs\game\npc\dungeonnering\Glutenus.java:45: error: cannot find symbol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Glutenus.java:46: error: cannot find symbol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Tokash.java:29: error: cannot find symbol
this.getCombatDefinitions().setMaxHit((this.getCombatLevel() * 2
) + 50);
^
symbol: method setMaxHit(int)
location: class NPCCombatDefinitions
src\com\rs\game\npc\dungeonnering\Tokash.java:44: error: cannot find symbol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Tokash.java:45: error: cannot find symbol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
22 errors
Press any key to continue . . .[/QUOTE] Edited by Hydrass

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
The simplest thing to do is yust delete GanodermicCombat.java
And then compiling it.

Share this post


Link to post
Share on other sites
  • 0
[quote name='shershah']The simplest thing to do is yust delete GanodermicCombat.java
And then compiling it.[/QUOTE]

I did, got these errors by doing so.[QUOTE]starting...
src\com\rs\game\npc\dungeonnering\AsteaFrostweb.java:64: error: cannot find symb
ol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\AsteaFrostweb.java:65: error: cannot find symb
ol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\CopyOfDungeonBoss.java:31: error: cannot find
symbol
return dungeon.getDungeon();
^
symbol: method getDungeon()
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\DungeonBoss.java:14: error: cannot find symbol

super(id, tile, dungeon.getDungeonBossRoomHash(), false, true);
^
symbol: method getDungeonBossRoomHash()
location: variable dungeon of type Dungeon
src\com\rs\game\npc\dungeonnering\DungeonBoss.java:23: error: cannot find symbol

dungeon.openStairs();
^
symbol: method openStairs()
location: variable dungeon of type Dungeon
src\com\rs\game\npc\dungeonnering\Glutenus.java:45: error: cannot find symbol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Glutenus.java:46: error: cannot find symbol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Tokash.java:29: error: cannot find symbol
this.getCombatDefinitions().setMaxHit((this.getCombatLevel() * 2
) + 50);
^
symbol: method setMaxHit(int)
location: class NPCCombatDefinitions
src\com\rs\game\npc\dungeonnering\Tokash.java:44: error: cannot find symbol
dungeon.stairs(this.reference, 7, 0);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
src\com\rs\game\npc\dungeonnering\Tokash.java:45: error: cannot find symbol
dungeon.stairs(this.reference, 7, 15);
^
symbol: method stairs(RoomReference,int,int)
location: variable dungeon of type DungeonManager
10 errors
Press any key to continue . . .[/QUOTE]

Share this post


Link to post
Share on other sites
  • 0
Use Eclipse it will guide you through all these errors. If you need help setting up eclipse add me on skype: Lolugotpked6

Share this post


Link to post
Share on other sites
  • 0
Ok delete now: AsteaFrostweb.java

Share this post


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

×