• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Pokenet - MMO

Experienced Elementalist
Joined
Jun 2, 2012
Messages
225
Reaction score
50
Features:
- Gen 1-5
- Buttom to synchronizm (Q bind key)
- Pokemon Followers
- Pokemon Movement .gif on battle
- Pokemon Movement attack on battle
- Buttom to Fly , to another city
- No more jesus bug
- Gif Pokemon
- 6 Regions [Kanto,Johto,Hoenn,Sinnoh,Orange Islands,Orre]
- Tiled Mapping
- Admin Tools

Downloads:
- Client & Server:

- Website :

- Admin Tools :

Video:
Admin Tools :


Map Tour:



Battle System:



How to Compile:
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.

How to Compile:



How to set up server:
Index:
1. Server Installation
-1.2 Installing/Setting up MySQL
-1.3 Installing/Setting up Database
-1.4 Downloading/Installing JRE & JDK
-1.5 Server .bat Explained[/color]
2. Running the server
3. Client Setup

4. Setting up a Website
-4.1 Downloading/Installing/Starting Xampp
-4.2 Setting a website in Xampp

5. GM, Commands and Extras
-5.1 Commands
-5.2 Extras

6. Problems & Errors
7. Credits
8. Updates



1. Server Installation

1.2 Installing/Setting up MySQL
Now we are going to set up a MySQL Server.
This is for the database of all the accounts/characters that will be created.
Now we are going to download the MySQL Setup.
Link:

Save it also somewhere safe. Now start the installer.
Once it's loaded, click th button "Next >".
Now make sure Typical is checked. and click the button "Next >".
And than just click on "Install".
Now it's installing MySQL. (Wait till it's done)
Now there will open a new window.
Click there on "Next >" and again on "Next >"
Than it will close.
Now we go back to the install window.
Make sure "Configure the MySQL Server now" is checked.
and that "Register the MySQL Server now" is unchecked.
Than click on Finish.
Now there will open a new window.
There just click on "Next >".
Now make sure "Detailed Configuration" is checked and click on "Next >". Check "Developer Machine" and click on "Next >".
Here make sure "Multifunctional Database is checked and click on "Next >" and click again on "Next >".
Now make sure "Online Transaction Processing (OLTP)" is checked and click on "Next >".
Here make sure everything is Checked and click on "Next >".
Now we have to check "Standard Character Set" and click on "Next >".
Make sure "Include Bin Directory in Windows PATH"is unchecked and click "Next >"
Now Check "Modify Security Settings" and fill in your passwords(Make sure they aren't easy).
And make sure Create An Anonymous Account is unchecked and than click "Next >" and click "Execute". (wait till it's finished)
And click on "Finish".

Congratulations! You setup your own MySQL Server.
[mysql setup portion thanks to nyaa]

1.3 Installing/Setting up Database

Now we are going to setup your database in MySQL for your PokeNet server.
First we are going to download Navicat(Lite).
Link:

Next, locate your pokemon.sql file located in the server files from the SVN

Install it. Now start it.
Click on Connection > MySQL.
Than you have to fill in like this:
Code:
Connection Name: localhost
Hostname/IP address: localhost
Port: 3306
Username: root
Password: (here your password you used when you created your MySQL Server)

And click "Test Connection".
-If it's Successfull click ok.
-If it's Failure check everything if everything is filled out right and try again.

Now dubble click on "localhost_3306".
You will get 3 new things underneed it.
(Ignore these don't touch these databases.)
Now do a right click on "localhost_3306".
And click "New Database..."
Fill by "Enter database name:" this in: pokenet.
Now you created a new database which your going to use for your PokeNet server.
Now do a dubble click on "pokenet" it will open some new stuff ignore that.
Now do right click on "pokenet" and do "Execut SQL file..."
Go to the SQL file you downloaded. With the opener.
And search for pokenetdb_blank.sql and use that file only.
(should be located in the server files)

and click on "start".
Now it's installing the SQL file to your Database.
Just wait untill it's finished.
When it's Finished click on "Close".
And than quit/close Navicat.

Congratulations! You setup your own PokeNet Server Database.

1.4 Downloading/Installing JRE & JDK
Since this server/client run through java, your going to need up to date JRE and JDK files and runtimes.

Download them here:
JRE 6:
JDK 6:

Follow any install wizards and your good to go.

1.5 Server .bat Explained

The server uses a .bat file to start the server .jar file. There some parameters you should know about in case you want to edit it. .bat files are edited by notepad or any text editor so configuring this file is extremely easy.

The current command line is:
Code:
java -jar PocketMonsutaServer.jar -s high -p 500
(the name of the .jar might be different then yours)
-s and -p parameters indicate the quality settings and player amount settings.

The recommended settings for PokeNet are as follows:
Code:
-low
  		< 1.86ghz
  		< 256MB Ram
  		< 1mbps Up/Down Connection
  		75 Players
  -medium
  		< 2ghz
  		512MB - 1GB Ram
  		1mbps Up/Down Connection
  		200 Players
  -high
  		> 1.86ghz
  		> 1GB Ram
  		> 1mbps Up/Down Connection
  		> 500 Players

Set your .bat (or .sh if on linux) accordingly.

2. Running the server

Running your server is easy.
Open the Server Folder.
If your on windows, run the SERVER_START.bat else if your on linux then use the run_pokenet.sh file.
Once you run one of these files you will get a command prompt popup, then a little java window.
It should look something like this:
Code:
0 players online
[No record]
Start Server
Stop Server
Save Settings
blah
blah
blah
blah
blah
Quit
The 'blahs' are where your going to put in your configurations for your database, etc.

For the first textbox put in the host of the SQL in which case it will be "localhost".
Next is the name of the table that we put pokenet sql into which we called it in this tutorial "pokenet".
The next two textboxes are for the username and password of the SQL, the username unless you changed it, should be "root" and the password was set by you.
And finally the last textbox is the name of your server.

Click save settings and then start the server up.
Congratulations you just started your own pokenet server!

3. Client Setup



If your going to distribute your client, the users only need the .bat, .jar, and lib/res folders.

Once you have installed the client where you want it, make sure you go to the /res folder and edit the servers.txt

It should have a bunch of writing but this is the format:
Example:
Code:
Admin Server
127.0.0.1
Pocket Monsuta [USA]
pocket-monsuta.dyndns.org

As the admin if your playing your server from the machine that is hosting it, then you going to need to connect via 127.0.0.1 or localhost, the first line is the name of the server, this will show up on the client and the second is the ip/hostname.

4. Setting up a Website

4.1 Downloading/Installing/Starting Xampp

Download Xampp lite and install it.
Link:

Start up Xampp Control Panel (You can find it in Menu>Progams)
And check Svc that stays before Apache and start Apache and close Xampp Control Panel.

4.2 Setting a Website in Xampp

Coming Soon

5. GM, Commands and Extras

5.1 Commands
Code:
/announce [message]	- announcement
/jumpto [username]		- teleport to a user
/mute [username]		- mute a user
/unmute [username]		- umute a user
/kick [username]		- kick a user
/ban [username]		- ban a user
/unban [username]		- unban a user
/playercount		- show the # of players online
/changeweather		- change the weather of the map
	- normal		- change weather to normal (sunny)
	- rain		- change weather to rainy
	- snow		- change weather to snowy
	- fog		- change weather to foggy
	- sandstorm	- change weather to sandstorm
	- random		- random weather change
	-Ex: /changeweather rain
/stopserver		- stops server

5.2 Extras
[There are extra things here so let me explain and feel free to download if you want them.]
- The thin client was made to install the game client from the svn - i guess if you edit the source and put your own svn up, then its useful.
- the svn client actually updates the current client files,but it downloads from an svn.
- A separate chat server for staff + users, never got it to work since we didnt have the SQL etc. Might set this up later though.
- Same as chat server.
- Basically just takes all the info off of Bubapedia and puts it into a format that the client can read for move lists, evolutions, etc.
Excel Spread Sheet w/ Pokemon Spawns & type chart:



6. Problems & Errors

Server
Error:
Code:
The account server is currently offline. Please try again later
Fix: Ensure that when you turn your server on, you have it configured correctly first. The proper configuration will look something like this:

Code:
database host
database name
database username 
database password
server name

Client
Unable to run client (.bat opens then closes rly fast)

Put that in your client folder replacing the /lib directory.

Web
N/A

7. Credits

Guide Structure: Nyaa [aka Aukemon0NL]
Emulator: Pokenet Dev Team
Website: NorFuzzor
Errors/Problems: Zeak6464
Hosting Files: Tanomist
Everything Else: -DefaulT
Addons - Arthur Padilha
 
Last edited by a moderator:
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
get ready for an avalanche of leechers and questions about how to conect game/server to sql :)
+1 for release
 
Junior Spellweaver
Joined
Sep 5, 2014
Messages
141
Reaction score
65
Why intentionally posting into the wrong section? Since you're active in the pokemon zone . .
 
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
Some additional Info:
For a working Time-Service edit TimeService.java in org.pokemonium.server.feature line 147, comment out line 149 (says: in.readline(); ) and create a new time.php on your corresponding webserver containing the following:

Code:
<?php
date_default_timezone_set('YOUR_TIMEZONE_HERE');
echo date('w h i');
?>

For a list of supported timezones go to:

 
Last edited:
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
the sql file says
Code:
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
SET FOREIGN_KEY_CHECKS=0' at line 1
[Err] 
SET FOREIGN_KEY_CHECKS=0;
[Err] 1215 - Cannot add foreign key constraint
procesed 110 errors 51
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
Check File & Import Encoding. File Encoding is UTF-8

tried with that and ascii and latin 1,also seachd for fixes in bing but nothing worked well
in utf-8 gives that,the others give 160 errors each,i need a clean sql file
beside that it works
the client freezes when i click register too, im trying to recompile again
 
CATMAGEDDON
Loyal Member
Joined
Aug 17, 2014
Messages
1,669
Reaction score
294
@zeak6464 edit the sql querry ,delete the first commented part and put set foreign_key_checks=0 and use heidi sql instead of navicat
now database restores ok and i can play
 
Last edited by a moderator:
Junior Spellweaver
Joined
Oct 31, 2007
Messages
192
Reaction score
59
tried with that and ascii and latin 1,also seachd for fixes in bing but nothing worked well
in utf-8 gives that,the others give 160 errors each,i need a clean sql file
beside that it works
the client freezes when i click register too, im trying to recompile again

Watch out, we have a BING user here. And stay polite - insulting a releaser is never good.
 
Newbie Spellweaver
Joined
Apr 29, 2011
Messages
18
Reaction score
0
Hope there will be a complete guide for linux
but nice great job :)
 
Joined
Aug 8, 2007
Messages
471
Reaction score
82
Does anyone understand why leveling up Pokemon sometimes doesn't allow you to learn moves? After battle the text shows you want to learn a move, but then ends with no screen to choose a spot to learn it.
 
Newbie Spellweaver
Joined
Jul 16, 2013
Messages
41
Reaction score
13
I really do not mind you are posting this again, but put the correct credits.
 
Newbie Spellweaver
Joined
Jun 18, 2012
Messages
19
Reaction score
3
I'm working on a Dutch version of the server.
When I give the Dutch version release is still uncertain as there are in some buggs
 
Last edited by a moderator:
Newbie Spellweaver
Joined
Feb 20, 2014
Messages
31
Reaction score
0
guys sorry for this silly question but in server file there is not .jar file so the .bat file can start the server.
 
Back
Top