Thread: [PI] Error when creating a shop

Results 1 to 5 of 5
  1. #1 [PI] Error when creating a shop 
    Registered Member
    Join Date
    Jul 2014
    Posts
    66
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    When i'm adding a new shop i get this error when i run the server

    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NumberFormatException: For input string: "27 Aubury's_Run
    es"
    at java.lang.NumberFormatException.forInputString(Unk nown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at server.world.ShopHandler.loadShops(ShopHandler.jav a:140)
    at server.world.ShopHandler.<init>(ShopHandler.java:4 5)
    at server.Server.<clinit>(Server.java:61)
    Tryck ned valfri tangent för att fortsätta...

    What've i done wrong?
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Aug 2009
    Posts
    490
    Thanks given
    22
    Thanks received
    3
    Rep Power
    0
    Are you using using the Tab bar to space things out ?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2014
    Posts
    66
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by i Leo i View Post
    Are you using using the Tab bar to space things out ?
    yeah... i don't know what's wrong
    Reply With Quote  
     

  4. #4  
    Donator
    Smile Cow's Avatar
    Join Date
    Apr 2014
    Posts
    214
    Thanks given
    51
    Thanks received
    34
    Rep Power
    40
    You are messing up the format, as simple as that. You can add my Skype if you need: smilec0w
    Also, if this is a shop that deals with things other than gold coins, you will need a few more lines of code in shopassistant.java, but that doesn't look like the issue here..
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Apr 2014
    Posts
    68
    Thanks given
    14
    Thanks received
    7
    Rep Power
    0
    You did it wrong add my skype : achtertuin1
    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. [PI] Error When I Enter a Region
    By Vault in forum Help
    Replies: 39
    Last Post: 06-16-2015, 07:26 PM
  2. Error when creating a shop?
    By chains424 in forum Help
    Replies: 7
    Last Post: 07-23-2012, 04:45 PM
  3. [pi]Error when startup client[pi]
    By Zattion in forum Help
    Replies: 4
    Last Post: 05-03-2011, 04:45 PM
  4. [PI] error when starting server [PI]
    By Sillhouette in forum Help
    Replies: 6
    Last Post: 04-22-2011, 05:17 AM
  5. [PI]Error when trying to wear item
    By zivkovic in forum Help
    Replies: 2
    Last Post: 12-22-2010, 10:05 PM
Tags for this Thread

View Tag Cloud

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