Thread: please help with error on donaterzone teleport

Results 1 to 6 of 6
  1. #1 please help with error on donaterzone teleport 
    Registered Member
    Join Date
    Jul 2010
    Posts
    1
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    here is the code for the donaterzone 474 soulsplit base
    if (playerCommand.equals

    ("donaterzone") && donater== 1) {
    c.getPA().startTeleport

    (3363, 3318, 0, "modern");
    }



    and here is the one and only error i get.

    src\server\model\players\packets\Commands.java:414 : cannot find symbol
    symbol : variable donater
    location: class server.model.players.packets.Commands
    if (playerCommand.equals("donaterzone") && donater== 1) {
    ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2009
    Posts
    794
    Thanks given
    128
    Thanks received
    49
    Rep Power
    0
    Try that one.

    Code:
    if (playerCommand.equals("donaterzone") && donater== 1) {
    c.getPA().startTeleport
    (3363, 3318, 0, "modern");
    }
    Something wrong with this:

    donater.

    Cant find the name or something.

    You have Added the "donater" right?
    or is it "donator"?

    Did any of this help you?
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Dec 2008
    Posts
    1,010
    Thanks given
    0
    Thanks received
    1
    Rep Power
    271
    int donater isn't declared..
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2009
    Posts
    608
    Thanks given
    1
    Thanks received
    17
    Rep Power
    6
    Or misspelled the word donator.
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Oct 2009
    Posts
    794
    Thanks given
    128
    Thanks received
    49
    Rep Power
    0
    Ye, that is what i thought.
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Mar 2010
    Posts
    1,048
    Thanks given
    239
    Thanks received
    226
    Rep Power
    0
    Either donater is supposed to be donator (which isn't even a real word either lol), or donater doesn't exist.
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •