Wrong section. Plus try changing ROCKTAIL to eatFood
|
|
ok so i added rocktail via Garykings guide.
however ive added these before no issues.
i tried adding into my new source and get this error....
Code:src\server\model\players\Food.java:28: invalid method declaration; return type r equired ROCKTAIL(15272,23,"Rocktail"); ^ src\server\model\players\Food.java:28: illegal start of type ROCKTAIL(15272,23,"Rocktail"); ^ src\server\model\players\Food.java:28: illegal start of type ROCKTAIL(15272,23,"Rocktail"); ^ src\server\model\players\Food.java:28: illegal start of type ROCKTAIL(15272,23,"Rocktail"); ^ 4 errors Press any key to continue . . .
i am using Project Insanity Base btw..
the part im confuesed on is that i used that exact same thing on another PI Source and now it wont work? o.O
If you can help please post how to fix.
Thanks in Advance.

Wrong section. Plus try changing ROCKTAIL to eatFood
oops someone move please
and ill try RuneScape.
You might have added a ";" instead of a ","
Add it above
MANTA(391,22,"Manta Ray"),
and replace the ";" with a ","
The ";" is only needed when you finished the last line, so if you have the ";" double, you'll probably get the error.
Example;
There are more foods, i know, this was just an example.Code:MANTA(391,22,"Manta Ray"), //First food ROCKTAIL(15272,23,"Rocktail"); // Second food PINEAPPLE_CHUNKS(2116,2,"Pineapple Chunks"); // Last food
If you have 2x ";" it will give that
Only the last food can have it.
All of the others have to be with a ","
this should work due i've tested the error.Code:ROCKTAIL(15272,23,"Rocktail");
I know my explaining is nerdish, but, aslong it helps others i'm fine ;D
| « [pi]client launch error | Sara plate » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |