Jump to content
  • 0

[HELP] Custom Spawn Location


Question

Posted

Hi.. I Just Put The Code For Custom Spawn Location But In GameServer Console I See Error On That Code...And Specially It Start With That :

java.lang.NumberFormatException: For input string: "x"

 

Why Error In Word X... Is The X,Y,Z you know... How TO Solve It.. ? ThX....

5 answers to this question

Recommended Posts

  • 0
Posted

Hi.. I Just Put The Code For Custom Spawn Location But In GameServer Console I See Error On That Code...And Specially It Start With That :

java.lang.NumberFormatException: For input string: "x"

 

Why Error In Word X... Is The X,Y,Z you know... How TO Solve It.. ? ThX....

Maybe if u put a screen with the error?It should help
  • 0
Posted

gmtx.jpg

but you will not understand much more thinks..Maybe You Need my source code....what i putted...

 

And Here Is The Error....In These Lines...

 

 

SPAWN_CHAR = Boolean.parseBoolean(L2JModSettings.getProperty("CustomSpawn", "false"));
		SPAWN_X = Integer.parseInt(L2JModSettings.getProperty("SpawnX", ""));
		SPAWN_Y = Integer.parseInt(L2JModSettings.getProperty("SpawnY", ""));
		SPAWN_Z = Integer.parseInt(L2JModSettings.getProperty("SpawnZ", ""));

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..