• Log in or sign up for an account here: https://www.sythe.org/login

Autospawn.cfg error

faor734dpd

Newcomer
Joined
Aug 6, 2011
Sythe Gold
0
Messages
1
I am trying to add a new shop into my server and everything is correct apart from the new addition to autospawn.cfg. I first used spaces but to try and fix I used tabs but even after that I get an error when I open Run.bat:

Code:
Starting System...
Enforcing client requirement.
Settings Loaded Seccessfully!
Exception in thread "main" java.lang.NumberFormatException: For input string: "1
       Fire giant Dungeon"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at NPCHandler.loadAutoSpawn(NPCHandler.java:2334)
        at NPCHandler.<init>(NPCHandler.java:623)
        at server.main(server.java:122)
Online.
Any help?
 
I can provide assistance via MSN if you still need it.
 
It's rather simple, but annoying.

Somewhere in that autospawn.cfg file, you've either missed a value, or added an extra one. This is pretty easy to do by accident, re-type the whole file (or at least the parts you've changed/edited). Make sure to use TAB and NO spaces.

example:
Code:
spawn = 548		2944	3385	0	2945	3386	2943	3384	1	THESSALIA - CLOTHES SHOP

so...

Code:
spawn[COLOR="Lime"][space][/COLOR]=[COLOR="Lime"][space][/COLOR]548[COLOR="Magenta"][tab][/COLOR]2944[COLOR="Magenta"][tab][/COLOR]3385[COLOR="Magenta"][tab][/COLOR]0[COLOR="Magenta"][tab][/COLOR]2945[COLOR="Magenta"][tab][/COLOR]3386[COLOR="Magenta"][tab][/COLOR]2943[COLOR="Magenta"][tab][/COLOR]3384[COLOR="Magenta"][tab][/COLOR]1[COLOR="Magenta"][tab][/COLOR]CLOTHES[COLOR="Lime"]space[/COLOR]SHOP
 
Runescape Gamblingrunescape gambling
Back
Top