Thread: [PI]Adding an npc to another location..

Results 1 to 3 of 3
  1. #1 [PI]Adding an npc to another location.. 
    Registered Member
    Join Date
    Apr 2010
    Posts
    62
    Thanks given
    4
    Thanks received
    3
    Rep Power
    1
    Files Last Edited: Spawn-config.cfg(autospawn.cfg)


    Yeah this error seems pretty stupid, I tried adding the same Npc in another location and I get this error:

    Code:
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NumberFormatException: For input string: "523 2825"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at server.model.npcs.NPCHandler.loadAutoSpawn(NPCHandler.java:2100)
            at server.model.npcs.NPCHandler.<init>(NPCHandler.java:33)
            at server.Server.<clinit>(Server.java:60)
    Could not find the main class: server.Server.  Program will exit.
    Press any key to continue . . .
    Any idea why it wont work?
     

  2. #2  
    Registered Member
    Join Date
    Dec 2009
    Posts
    52
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Use tabs instead of spaces?
     

  3. #3  
    Registered Member
    Join Date
    Apr 2010
    Posts
    62
    Thanks given
    4
    Thanks received
    3
    Rep Power
    1
    Nevermind, i fixed it. It was from the stupidest little error in the world that i commited rofl.. I accidentally changed the keywords at the top where it said // npc SpawnX SpawnY n yeah... Close Please.
     


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
  •