Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

error :(

Newbie Spellweaver
Joined
Aug 15, 2011
Messages
9
Reaction score
0
i try to add XPbar but
-------------------------------
Code:
Path: null
Wed Nov 23 08:07:20 PST 2011 INFO:Initialising sounds..
Wed Nov 23 08:07:20 PST 2011 INFO:Slick Build #266
Wed Nov 23 08:07:20 PST 2011 INFO:LWJGL Version: 2.2.1
Wed Nov 23 08:07:20 PST 2011 INFO:OriginalDisplayMode: 1920 x 1080 x 32 @60Hz
Wed Nov 23 08:07:20 PST 2011 INFO:TargetDisplayMode: 800 x 600 x 0 @0Hz
Wed Nov 23 08:07:20 PST 2011 INFO:- Sound works
Wed Nov 23 08:07:20 PST 2011 INFO:- 64 OpenAL source available
Wed Nov 23 08:07:20 PST 2011 INFO:- Sounds source generated
Wed Nov 23 08:07:20 PST 2011 INFO:Starting display 800x600
Wed Nov 23 08:07:20 PST 2011 INFO:Use Java PNG Loader = true
Wed Nov 23 08:07:20 PST 2011 INFO:Controllers not available
Wed Nov 23 08:07:21 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:21 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: res/skin/shared/verdana.png
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: res/fonts/dp.png
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: res/fonts/dp-small.png
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: res/skin/simple/closewindow.png
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: res/ui/loading.png
Wed Nov 23 08:07:21 PST 2011 INFO:Early loading of deferred resource due to req: bg
INFO: Items database loaded.
Move Learning Manager started.
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:22 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:23 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:24 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:24 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:24 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:24 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:25 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:25 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:26 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:26 PST 2011 WARN:class org.newdawn.slick.opengl.PNGImageData failed to read the data
Wed Nov 23 08:07:42 PST 2011 ERROR:Unresolved compilation problems: 
	Syntax error, insert "}" to complete MethodBody
	playerXP cannot be resolved to a variable
	playerXP cannot be resolved
	playerXP cannot be resolved
	Syntax error, insert ")" to complete Expression
	playerXP cannot be resolved
	playerXP cannot be resolved
	The method updatePlayerXP(int) is undefined for the type BattleCanvas
	playerXP cannot be resolved
	playerHXP cannot be resolved to a variable

java.lang.Error: Unresolved compilation problems: 
	Syntax error, insert "}" to complete MethodBody
	playerXP cannot be resolved to a variable
	playerXP cannot be resolved
	playerXP cannot be resolved
	Syntax error, insert ")" to complete Expression
	playerXP cannot be resolved
	playerXP cannot be resolved
	The method updatePlayerXP(int) is undefined for the type BattleCanvas
	playerXP cannot be resolved
	playerHXP cannot be resolved to a variable

	at org.pokenet.client.ui.BattleCanvas.<init>(BattleCanvas.java:122)
	at org.pokenet.client.backend.BattleTimeLine.<init>(BattleTimeLine.java:32)
	at org.pokenet.client.backend.BattleManager.<init>(BattleManager.java:41)
	at org.pokenet.client.ui.Ui.<init>(Ui.java:79)
	at org.pokenet.client.GameClient.update(GameClient.java:322)
	at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:616)
	at org.newdawn.slick.AppGameContainer.gameLoop(AppGameContainer.java:408)
	at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:318)
	at org.pokenet.client.GameClient.main(GameClient.java:900)
Wed Nov 23 08:07:42 PST 2011 ERROR:Game.update() failure - check the game code.
org.newdawn.slick.SlickException: Game.update() failure - check the game code.
	at org.newdawn.slick.GameContainer.updateAndRender(GameContainer.java:622)
	at org.newdawn.slick.AppGameContainer.gameLoop(AppGameContainer.java:408)
	at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:318)
	at org.pokenet.client.GameClient.main(GameClient.java:900)

Sorry i forgot a "}" .. managed to fix it
 
Last edited by a moderator:
Joined
Aug 16, 2006
Messages
1,251
Reaction score
199
ur code is messed up;
Please note
Code:
Syntax error, insert "}" to complete MethodBody
	playerXP cannot be resolved to a variable
	playerXP cannot be resolved
	playerXP cannot be resolved
	Syntax error, insert ")" to complete Expression
	playerXP cannot be resolved
	playerXP cannot be resolved
	The method updatePlayerXP(int) is undefined for the type BattleCanvas
	playerXP cannot be resolved
	playerHXP cannot be resolved to a variable

Your missing some brackets, "}" & ")"

If you post your code i might be able to help.
 
Newbie Spellweaver
Joined
Aug 15, 2011
Messages
9
Reaction score
0
i am using pokenet ofc :) .I am not an experienced coder but i try to add somethings to make it better :/ have any body managed to add XPbar ?
 
Newbie Spellweaver
Joined
Aug 15, 2011
Messages
9
Reaction score
0
Default when you are going to public your work ?
 
Back
Top