Jump to content
  • 0
Sign in to follow this  
DirtyBubble

wc errors

Question

i found some wc code and when i compile it gives me some errors. ive got help and managed to fix some of them but i cant figure the rest of them out. theres 26 left.

src\server\model\players\skills\Woodcutting.java:111: error: cannot find symbol
if (c.getPA().addItem(c,logType,1)) {
^
symbol: method addItem(Client,int,int)
location: class PlayerAssistant
src\server\model\players\skills\Woodcutting.java:115: error: cannot find symbol
c.getPA().addSkillXP(exp * Config.WOODCUTTING_EXPERIENCE, c.playerWo
odcutting);
^
symbol: variable Config
location: class Woodcutting
src\server\model\players\skills\Woodcutting.java:116: error: method refreshSkill
in class PlayerAssistant cannot be applied to given types;
c.getPA().refreshSkill(c.playerWoodcutting);
^
required: Client,int
found: int
reason: actual and formal argument lists differ in length
src\server\model\players\skills\Woodcutting.java:119: error: method resetVariabl
es in class PlayerAssistant cannot be applied to given types;
c.getPA().resetVariables();
^
required: Client
found: no arguments
reason: actual and formal argument lists differ in length
src\server\model\players\skills\Woodcutting.java:120: error: cannot find symbol
c.frame1();
^
symbol: method frame1()
location: variable c of type Client
src\server\model\players\skills\Woodcutting.java:124: error: cannot find symbol
}else if(c.getItems().freeSlots() >= 1){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\skills\Woodcutting.java:127: error: cannot find symbol
c.getItems().addItem(logType,1);
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\skills\Woodcutting.java:129: error: cannot find symbol
c.getPA().addSkillXP(exp * Config.WOODCUTTING_EXPERIENCE, c.playerWo
odcutting);
^
symbol: variable Config
location: class Woodcutting
src\server\model\players\skills\Woodcutting.java:133: error: method resetVariabl
es in class PlayerAssistant cannot be applied to given types;
c.getPA().resetVariables();
^
required: Client
found: no arguments
reason: actual and formal argument lists differ in length
src\server\model\players\skills\Woodcutting.java:134: error: cannot find symbol
c.frame1();
^
symbol: method frame1()
location: variable c of type Client
src\server\model\players\skills\Woodcutting.java:233: error: cannot find symbol
addItem(Client, reward, 3 + Misc.random(5));
^
symbol: variable Client
location: class Woodcutting
src\server\model\players\skills\Woodcutting.java:234: error: cannot find symbol
deleteItem(itemId, 1);
^
symbol: method deleteItem(int,int)
location: class Woodcutting
src\server\model\players\packets\ClickItem.java:49: error: cannot find symbol
c.getItems().addItem(5075, 1);
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\packets\ClickItem.java:50: error: cannot find symbol
c.getItems().handleNests (itemId);
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:476: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:486: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:490: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:500: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:504: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:514: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:518: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:528: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:532: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:542: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:546: error: canno
t find symbol
if(c.getItems().freeSlots() <= 0){
^
symbol: method getItems()
location: variable c of type Client
src\server\model\players\content\objects\FirstObjectClick.java:556: error: canno
t find symbol
c.getWoodcutting().startWoodcutting(c.woodcut[0], c.woodcut[1], c.woodc
ut[2], c.woodcut[3], c.woodcut[4], c.woodcut[5], c.woodcut[6]);
^
symbol: method getWoodcutting()
location: variable c of type Client
26 errors
Press any key to continue . . .


if anyone can help i would greatly appreciate it :D
i know for some errors i need to add the function getItems to client.java i just dont know how lol
i got this code from some tut i found.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Sign in to follow this  

×