Thread: I need help with this error

Results 1 to 7 of 7
  1. #1 I need help with this error 
    ™Sm3xy D0n4t0r™
    $anta2's Avatar
    Join Date
    Dec 2006
    Age
    31
    Posts
    165
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Hi im getting this error when i edit anything in the autospawn i get this error

    Exception in thread "main" java.lang.NumberFormatException: For input string: "3
    089 "
    at java.lang.NumberFormatException.forInputString(Unk nown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at NPCHandler.loadAutoSpawn(NPCHandler.java:1967)
    at NPCHandler.<init>(NPCHandler.java:548)
    at server.main(


    if anyone can help it would be greatly appreciated

    ~$anta2~
    Reply With Quote  
     

  2. #2  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Autospawn is to large or u missed place something
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jan 2007
    Posts
    260
    Thanks given
    3
    Thanks received
    5
    Rep Power
    0
    Code:
    "3089 "
    You have an extra space at the end of 3089.
    Reply With Quote  
     

  4. #4  
    ™Sm3xy D0n4t0r™
    $anta2's Avatar
    Join Date
    Dec 2006
    Age
    31
    Posts
    165
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    thanks tip

    ---------- Post added at 03:06 AM ---------- Previous post was at 02:55 AM ----------

    i checked everything over and i cant find anything
    Reply With Quote  
     

  5. #5  
    Registered Member
    Firefight's Avatar
    Join Date
    Aug 2007
    Posts
    1,506
    Thanks given
    6
    Thanks received
    31
    Rep Power
    160
    Use tab instead of spaces.
    Back for now...
    Reply With Quote  
     

  6. #6  
    ™Sm3xy D0n4t0r™
    $anta2's Avatar
    Join Date
    Dec 2006
    Age
    31
    Posts
    165
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    didnt work
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Jul 2008
    Posts
    939
    Thanks given
    0
    Thanks received
    3
    Rep Power
    781
    Something is wrong with the input string, 3. Make sure that when you create a new line in the Autospawn file, to use this rule as most servers are configured to support it:

    spawn[SPACE]=[SPACE]150[TAB]3500[TAB]3505[TAB]
    It goes on, but this is just a example. Any other input's followed after 3505 must be properly indented with a tab.
    I'm Rog3r, fool.
    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
  •