Jump to content
  • 0

[HELP] Custom Spawn Location


sweetparanoid

Question

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....

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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", ""));

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...