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!

[Guide]Compiling PokeNet

Joined
Aug 16, 2006
Messages
1,251
Reaction score
199
A quick tutorial since i shouldnt have to go into detail.

1. Download eclipse.


2. Right click package explorer in eclipse and import the root folder that you want to start working on.

(ex. Client)

3. Open the file you want to edit.
(ex GameClient.java)

4. Save file (ctrl+s)

5. Right click package.
(the one you imported)

6. Expand Java, select JAR File, then next.

7. Deselect everything except the src folder, then select the export destination and click next.

8. Leave the defaults, click next.

9. Select "use existing manifest from workspace" - then browse to the manifest.mf file then click finish.

10. Ignore any warnings, and your done.

Quick video included.



Enjoy.
 
Last edited:
Newbie Spellweaver
Joined
Dec 3, 2008
Messages
28
Reaction score
2
Thanks for this wonderful guide.. Imma try it :)
EDIT: which one should I download here in Eclipse? Sorry for noobie question..
 
Last edited:
Newbie Spellweaver
Joined
Apr 19, 2011
Messages
36
Reaction score
0
Thanks for this wonderful guide.. Imma try it :)
EDIT: which one should I download here in Eclipse? Sorry for noobie question..
Latest Java:
JRE 6:

Eclipse:
JDK 6:
 
Newbie Spellweaver
Joined
Dec 3, 2008
Messages
28
Reaction score
2
Thanks :)
Also, good luck to all compiling and establishing their server client :)
 
Initiate Mage
Joined
Jun 30, 2011
Messages
3
Reaction score
0
Thank you kindly ^^ Very easy to understand, the video really helped as well.
 
Initiate Mage
Joined
Jun 9, 2013
Messages
2
Reaction score
0
So i compiled it like in the video but after i run the sh (im on mac) the window opens and closes not more than 1 seconds after.
My console gives me this error:
I checked my res/music/ and there is a index.txt in it.

Path: null
java.io.FileNotFoundException: res/music/index.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at org.pokenet.client.backend.FileLoader.loadFile(FileLoader.java:23)
at org.pokenet.client.backend.FileLoader.loadTextFile(FileLoader.java:33)
at org.pokenet.client.backend.SoundManager.loadFileList(SoundManager.java:42)
at org.pokenet.client.backend.SoundManager.<init>(SoundManager.java:33)
at org.pokenet.client.GameClient.<clinit>(GameClient.java:138)
Failed to load music
java.io.FileNotFoundException: res/language/english/_MUSICKEYS.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at org.pokenet.client.backend.FileLoader.loadFile(FileLoader.java:23)
at org.pokenet.client.backend.FileLoader.loadTextFile(FileLoader.java:33)
at org.pokenet.client.backend.SoundManager.loadLocations(SoundManager.java:68)
at org.pokenet.client.backend.SoundManager.<init>(SoundManager.java:34)
at org.pokenet.client.GameClient.<clinit>(GameClient.java:138)
Exception in thread "Thread-1" java.lang.NullPointerException
at org.pokenet.client.backend.SoundManager.loadFiles(SoundManager.java:89)
at org.pokenet.client.backend.SoundManager.run(SoundManager.java:109)
Sun Jun 09 14:32:34 CEST 2013 INFO:Slick Build #266
Sun Jun 09 14:32:34 CEST 2013 INFO:LWJGL Version: 2.2.1
Sun Jun 09 14:32:34 CEST 2013 INFO:OriginalDisplayMode: 1680 x 1050 x 32 @0Hz
Sun Jun 09 14:32:34 CEST 2013 INFO:TargetDisplayMode: 800 x 600 x 0 @0Hz
Sun Jun 09 14:32:35 CEST 2013 INFO:Starting display 800x600
Sun Jun 09 14:32:35 CEST 2013 INFO:Use Java PNG Loader = true
Sun Jun 09 14:32:35 CEST 2013 INFO:Controllers not available
java.lang.RuntimeException: Resource not found: res/load.jpg
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at org.newdawn.slick.opengl.InternalTextureLoader.getTexture(InternalTextureLoader.java:169)
at org.newdawn.slick.Image.<init>(Image.java:189)
at org.newdawn.slick.Image.<init>(Image.java:165)
at org.newdawn.slick.Image.<init>(Image.java:153)
at org.newdawn.slick.Image.<init>(Image.java:131)
at org.pokenet.client.GameClient.init(GameClient.java:171)
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390)
at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314)
at org.pokenet.client.GameClient.main(GameClient.java:900)
 
Last edited:
Back
Top