Results 1 to 10 of 10
  1. #1
    lavamaker7 is offline Member
    Join Date
    Aug 2012
    Posts
    5
    Rep Power
    0

    Unhappy Using java for a Runescape PrivateServer

    im still a begin but i know a little bit about coding..
    but on sad day i got this message while starting up the server


    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.NumberFormatExeption: For input string: ""
    at java.lang.NumberFormatException.forInputString(Num berFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:470)
    at java.lang.Integer.parseInt(Integer.java:499)
    at server.world.ItemHandler.loadItemPrices(ItemHandle r.java:318)
    at server.world.ItemHandler.(init)(ItemHandler.java:3 5)
    at server.Server.(clinit)(Server.java:67)
    Could not find the main class: server.Server. Program will exit.
    Press any key to continue . . .


    I have no clue how to fix this...
    some please help :(..
    the compiler works fine.
    i do have teamviewer
    Last edited by lavamaker7; 08-13-2012 at 04:03 AM.

  2. #2
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Using java for a Runescape PrivateServer

    Can you copy the error-message into a post? The image isn't viewable for me.
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  3. #3
    lavamaker7 is offline Member
    Join Date
    Aug 2012
    Posts
    5
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    i edited my post

  4. #4
    awinston is offline Student
    Join Date
    Jul 2012
    Location
    United States
    Posts
    328
    Rep Power
    3

    Default Re: Using java for a Runescape PrivateServer

    It looks like there is a problem in the format of the numbers that are being loaded as prices for items in your game. Do you have the code that you can post?
    "Success is not final, failure is not fatal: it is the courage to continue that counts." - Winston Churchill

  5. #5
    lavamaker7 is offline Member
    Join Date
    Aug 2012
    Posts
    5
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    do u want the code for loadItemPrices?
    or the prices.txt document?

  6. #6
    noctarius is online now Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    There is some wrong prices value. If you want to run a private server it should be possible for you to find the wrong price by your own. The problem is not the servercode but the value in the prices.txt file. That's all informations you need.

  7. #7
    lavamaker7 is offline Member
    Join Date
    Aug 2012
    Posts
    5
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    thank youu :D soo much
    by the way the server doesn't run so i have to find it by scroll through all the 20,000 items

  8. #8
    noctarius is online now Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    use some grep :D

  9. #9
    lavamaker7 is offline Member
    Join Date
    Aug 2012
    Posts
    5
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    grep?

  10. #10
    noctarius is online now Member
    Join Date
    Jun 2012
    Location
    Remscheid, Germany
    Posts
    61
    Rep Power
    0

    Default Re: Using java for a Runescape PrivateServer

    grep! Never had any linux clue? Do you run the server on windows?

Similar Threads

  1. RuneScape Private Servers & RuneScape development forums.
    By Zack' in forum Reviews / Advertising
    Replies: 2
    Last Post: 06-17-2012, 03:10 PM
  2. need help with runescape bot
    By help_me_make_it_work in forum Java Gaming
    Replies: 5
    Last Post: 02-10-2012, 01:34 AM
  3. Recruiting developers for Runescape/FPS bot (Java)
    By crikey in forum Jobs Offered
    Replies: 0
    Last Post: 08-12-2010, 04:59 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
  •