Declare the variables..
|
So i just added claws in my server and then i got this compiler error
Code:src\server\model\players\CombatAssistant.java:2010: cannot find symbol symbol : variable clawDamage location: class server.model.players.Client c.clawDamage = 0; ^ src\server\model\players\CombatAssistant.java:2015: cannot find symbol symbol : variable clawDamage location: class server.model.players.Client c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc .random(4)); ^ src\server\model\players\CombatAssistant.java:2017: cannot find symbol symbol : variable clawIndex location: class server.model.players.Client c.clawIndex = c.playerIndex; ^ src\server\model\players\CombatAssistant.java:2018: cannot find symbol symbol : variable clawType location: class server.model.players.Client c.clawType = 1; ^ src\server\model\players\CombatAssistant.java:2022: cannot find symbol symbol : variable clawDamage location: class server.model.players.Client c.clawDamage = Misc.random(calculateMeleeMaxHit() + Misc .random(2)); ^ src\server\model\players\CombatAssistant.java:2024: cannot find symbol symbol : variable clawIndex location: class server.model.players.Client c.clawIndex = c.npcIndex; ^ src\server\model\players\CombatAssistant.java:2025: cannot find symbol symbol : variable clawType location: class server.model.players.Client c.clawType = 2; ^ src\server\model\players\CombatAssistant.java:2029: cannot find symbol symbol : variable usingClaws location: class server.model.players.Client c.usingClaws = true; ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 8 errors
Declare the variables..
You can't just copy and paste claws using combatassistant.. you have to add all the variables.
how xD?
can someone help me through teamviewer?
In player.java
Code:public int clawDamage = 0; public int clawType = 0; public int clawIndex = 0;
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |