Thread: Rocktail help....

Results 1 to 6 of 6
  1. #1 Rocktail help.... 
    Registered Member
    Join Date
    Apr 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    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.
    Working on a Project......:trollface:
    Reply With Quote  
     

  2. #2  
    Member

    Join Date
    Nov 2008
    Age
    24
    Posts
    4,861
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    Wrong section. Plus try changing ROCKTAIL to eatFood
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    oops someone move please

    and ill try RuneScape.
    Working on a Project......:trollface:
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2010
    Posts
    740
    Thanks given
    32
    Thanks received
    51
    Rep Power
    35
    just put it in with the other food in their format
    [SPOIL]
    Quote Originally Posted by Archon Server View Post
    What do you mean compile?
    Quote Originally Posted by Hughes View Post
    I don't know the program i need to open a CLASS file since every time i try to open one in notepad it brings up random symbols.

    Quote Originally Posted by Flux View Post
    Quote Originally Posted by Tyluur View Post
    your better
    my better
    [/SPOIL]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2010
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by 666is1337 View Post
    just put it in with the other food in their format
    Did that.

    Everything i try gets me the same error..

    im just really confused.. i even copied from my other source. into this one and it still gives the same error.
    Working on a Project......:trollface:
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Dec 2009
    Posts
    250
    Thanks given
    30
    Thanks received
    4
    Rep Power
    1
    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;
    Code:
    		MANTA(391,22,"Manta Ray"), //First food
    		ROCKTAIL(15272,23,"Rocktail"); // Second food
    		PINEAPPLE_CHUNKS(2116,2,"Pineapple Chunks"); // Last food
    There are more foods, i know, this was just an example.
    If you have 2x ";" it will give that
    Only the last food can have it.
    All of the others have to be with a ","

    Code:
                   ROCKTAIL(15272,23,"Rocktail");
    this should work due i've tested the error.

    I know my explaining is nerdish, but, aslong it helps others i'm fine ;D
    [Only registered and activated users can see links. ]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [614][Monk To Rocktail][Scripts]
    By davio147 in forum Configuration
    Replies: 11
    Last Post: 09-26-2010, 11:22 PM
  2. Need Rocktail Client model.
    By R_3_V_0_L in forum Requests
    Replies: 0
    Last Post: 02-22-2010, 06:36 AM
  3. rocktail on a 525?
    By Boxxy in forum Requests
    Replies: 7
    Last Post: 01-08-2010, 06:24 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •