Anyone who can help me , code Problem

Status
This thread has been locked.

LauGLau

Banned
Feedback score
0
Posts
132
Reactions
12
Resources
0
Hello guys anyone can explain me why i have this type of erros and how to fix it.
dfe7264e6698342d95614413c1c944c5.png
8d1808649e6922da83286fda5ec43419.png

Please tell me how to fix it. if u need to see the code add me in skype.

( My SKype : Laug.lau )
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Skionz

ogminecraft.com
Premium
Feedback score
1
Posts
1,544
Reactions
1,527
Resources
0
I still haven't seen someone to help this guy
Literally the first post tells him exactly what the problem is. Since you obviously can't find it, here it is:
You are declaring variables twice.
That is the solution to this problem, but the real problem is that he doesn't know Java or understand any of the code he's writing.
 

Camaloony

Front-End Web Developer
Premium
Feedback score
0
Posts
169
Reactions
75
Resources
0
Some people have different views. Maybe he just wants to be able to make a few simple plugins..
You're arguing a pointless case... Skionz and Shadow are both completely correct. Attempting to code the most basic of plugins without knowing basic Java is strictly a dead end, no arguing about it.

However, as you said, maybe he wants to make a few simple plugins, the answers were actually posted on the thread before any of this 'learn basic Java' even began.
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
You're arguing a pointless case... Skionz and Shadow are both completely correct. Attempting to code the most basic of plugins without knowing basic Java is strictly a dead end, no arguing about it.

However, as you said, maybe he wants to make a few simple plugins, the answers were actually posted on the thread before any of this 'learn basic Java' even began.
He may not know how to code, but this thread went off-topic a long time ago. Just help him out. No need to be a dickhead...
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
The very first comment was the answer...
He said he needed help FIXING it too.... Than everyone else just started derailing and said "You should have learned how to code beore doing this"...
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
Yes, he should of. Thank you for agreeing with us ;)
I am not agreeing with you :p, i am quoting what a dickhead would say ;). Think before you post.
 

Skionz

ogminecraft.com
Premium
Feedback score
1
Posts
1,544
Reactions
1,527
Resources
0
He said he needed help FIXING it too.... Than everyone else just started derailing and said "You should have learned how to code beore doing this"...
Nobody is going to do it for him. We told him exactly what to do and if he can't figure out how to solve a problem stemming from the most basic principle after we told him exactly what to do then he shouldn't even be writing a plugin in the first place.
 

Camaloony

Front-End Web Developer
Premium
Feedback score
0
Posts
169
Reactions
75
Resources
0
I am not agreeing with you :p, i am quoting what a dickhead would say ;). Think before you post.
So, now I'm a dickhead? What for? For saying the truth, for posting constructive criticism, for encouraging him to learn basic Java? Alright, well in that case, what does this make you???
 

_Wild_Dog_

Feedback score
1
Posts
179
Reactions
30
Resources
0
Hello guys anyone can explain me why i have this type of erros and how to fix it.
dfe7264e6698342d95614413c1c944c5.png
8d1808649e6922da83286fda5ec43419.png

Please tell me how to fix it. if u need to see the code add me in skype.

( My SKype : Laug.lau )
first image it should be "int" not "Integer"
second image you did OfflinePlayer twice.
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
Nobody is going to do it for him. We told him exactly what to do and if he can't figure out the how to solve a problem stemming from the most basic principle after we told him exactly what to do then he shouldn't even be writing a plugin in the first place.
What's wrong with asking for help?
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
So, now I'm a dickhead? What for? For saying the truth, for posting constructive criticism, for encouraging him to learn basic Java? Alright, well in that case, what does this make you???
You where not the one who quoted "You should have learned how to code before doing this". You simply agreed to Skionz...[DOUBLEPOST=1470080928][/DOUBLEPOST]
Asking for help is fine, asking for someone to do it for you is not.
Ok than... :p
 

WhereDidMyNameGo

Feedback score
1
Posts
400
Reactions
145
Resources
0
So, now I'm a dickhead? What for? For saying the truth, for posting constructive criticism, for encouraging him to learn basic Java? Alright, well in that case, what does this make you???
He strickly asked for help. If you read the first post... "Hello guys anyone can explain me why i have this type of erros and how to fix it. "He never ask for someone to do it for him. He asked how to fix it...
 

Skionz

ogminecraft.com
Premium
Feedback score
1
Posts
1,544
Reactions
1,527
Resources
0
first image it should be "int" not "Integer"
second image you did OfflinePlayer twice.
Incorrect. A primitives can't be null which seems to be the reason he's using wrapper class. Using a wrapper class is fine, generally redundant, but if he switched to using primitives he would run to more issues. Issues I am confident that he would have no idea how to solve.
 

Camaloony

Front-End Web Developer
Premium
Feedback score
0
Posts
169
Reactions
75
Resources
0
He strickly asked for help. If you read the first post... "Hello guys anyone can explain me why i have this type of erros and how to fix it. "He never ask for someone to do it for him. He asked how to fix it...
Yes, and CybersWaffles stated "You are declaring variables twice." which is the answer he was looking for, meaning, we did help him. We also stated he should try and learn basic Java giving him even more help... what else do you want us to do? Make him some milk & cookies and tuck him in at night?
 

_Wild_Dog_

Feedback score
1
Posts
179
Reactions
30
Resources
0
Incorrect. A primitives can't be null which seems to be the reason he's using wrapper class. Using a wrapper class is fine, generally redundant, but if he switched to using primitives he would run to more issues. Issues I am confident that he would have no idea how to solve.
wtf are you talking about+_+
this is the correct answer,maybe you should learn java too.
 
Status
This thread has been locked.
Top