PDA

View Full Version : [Essentials script] Pokémon Essentials With Online Features - Markz88 MMO Kit


aegisrox
February 13th, 2013, 04:14 PM
http://imageshack.us/a/img692/1286/markz88logo.png



Intro:


Markz MMO Kit is an attemp to make a Pokemon MMO With online features. Right now the engine is still on beta, but is totally playable and is a very promising project. Thank you very much to Poccil,Flameguru,Maruno for his started kit with sprites, pokemon, attacks, etc.


Storyline:


Same as Pokemon Essentials


Features:



Multi player game at same time
Savegame in a remote database online
Chat system and command system
Administrative tools for GameMasters
Debug mode only for GameMasters
Auto update system
Much more


To do:


Trade system - Markz is working on that right now
PvP System


Screenshots:


http://imageshack.us/a/img593/2314/49015317.pnghttp://imageshack.us/a/img708/7658/43562515.png


http://imageshack.us/a/img854/2852/18428811.pnghttp://imageshack.us/a/img825/6543/90238954.png


http://imageshack.us/a/img40/9641/63609410.pnghttp://imageshack.us/a/img827/6375/75831490.png
Videos:

Coming soon

Keys:

ESC - Back/Pause Menu
ENTER - Choose/Interaction/Confirm
F5 - Use registered item
F6 - Show/Hide Chat
F7 - Activate/Deactivate Chat
SHIFT - Run

commands:

see available commands: /help
add friend: /baddname
remove friend: /bremove name
Show friend list: /bshow
Create guild: /gcreate Name Password

Eliminar guild: /gdisband
Invite to a guild: /ginvite Name
Exit from a guild: /gleave
Guild information: /ginfo
Send PM: /pmsend Name message

Send PM to all friends: /pmall Name Message




Team:


Markz88
Aegisrox



Download:

http://pokemmokit.altervista.org



Setting up Tutorial


1) Intro
First of all, English is not my main language, so there may be some errors in this guide. Sorry for this.

Also this guide is based on a Windows server. I can’t and will not help with a linux server.
In this guide I made the server on windows vista (the hardest one) personal I suggest to build it
on one that runs Windows XP or windows 7 (but all 3 windows should work roughly the same).

2) Before starting up:
Before you start you need to know how a MMO (Massive Multiplayer online) works and
what comes in to run it.
- First of all, MMO's normally run on a server, that’s a PC that’s on 24h a day and is always
connected to the internet with a big bandwidth. Without it you can’t run your MMO.
- Second, if you can’t run this for yourself (AKA an extra pc in your home on-line for 24h a day) than
you need an online server.

3) What do I need?
If your reading this than I guess that you already looked into the manual that’s included in blizzard
his awesome RMX-OS. If not I suggest to read it before starting. otherwise continue reading

Before we start lest first see what you need:


Ruby 1.8.6 (get it here: http://www.ruby-lang.org/en/downloads/ )
You want the Ruby 1.8.6 One-Click Installer
Ruby 1.9.1 package (get it here: http://rubyforge.org/frs/?group_id=167 )
You want the ruby-1.9.1-p243-doc-chm-rc1.7z
Something to open 7-zip (get it here: http://www.7-zip.org/ )
MySQL Server (get it here: http://dev.mysql.com/downloads/ )
You want at least version 5 or higher (for this TUT I used version 5.1.41)
MySQL management software (I suggest: http://www.navicat.com/en/download/download.html )
Any other program that can manage MySQL will also do



4) Let’s get started:
4.1)Installing Ruby
First of all install the Ruby 1.8.6 somewhere on your server. This should be a straight forward job
and if you fail you can stop right here and cry in a corner. When you installed it, Extract the
Ruby 1.9.1 package to the 1.8.6 install path and replace the needed files.
Congratulations, you just installed Ruby 1.9.1.

4.2) Installing the RMX-OS server

Simply unzip the server folder where you want

4.3) Installing MySQL Database
Next we can get on with installing the MySQL Database. You need this because this is where all
the data of the players get saved, its the new save system of your game. This is also where most
people get stuck. MySQL has some nasty stuff in store. First of all you need to make sure your
logged in into the administrator account of your PC (in XP this is every account).
when your in the Administrator go ahead and install MySQL. this should be straight forward job.
until you get to a screen like below:

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB1.png

make sure you have "Configure the Mysql Server now" on
and the "Register the MySQL Server now" off like the screen above. and press finish.
the Configuration will pop up like below:

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB2.png
Press next and the next screen will appear.

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB3.png
make sure that you have the "Detailed Confuguration" on like the above screen and press next
you will get the following screen

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB4.png
Here you see 3 options. now its the time to think ahead. if the PC your installing the MySQL on
is going to run other applications than its suggested to use the top option (like in the screen shot).
If the PC is only going to run the MySQL than you can choose one of the other 2 options. If you made
your selection press next and it will change to the following screen:

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB5.png
For RMX-OS you need to select the "Multifunctional Databas". If you selected this press next

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB6.png
Next you get to choose where the database will be saved. personal I suggest somewhere you can
find it back easily. I installed mine into the Database folder of the "RMX-OS Server", but any
place will do. if done, press next

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB7.png
This screen you need to decide how many people will connect to your server at the same time.
Its kinda the server limit. For a starting server I suggest to have around 20 peep and chose the
top option "Decision Support (DSS)/OLAP". If you want to have more people than chose the lower
option "Manual Setting" and fill in the right amount of people. Remember that the more people are
connecting to your server the more bandwidth it will take.

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB8.png
In the next screen make sure that "Enable TCP/IP Networking" is turned on or else the whole server
might crash. for simple keep the port that is put up (3306). Also if your not a star in Firewalls make
sure that "add firewall exception for this port" is turned on.
Also make sure that "Enable Strict Mode" is on. than press next.

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB9.png
next up is setting up the Default Characters.
just enable "Best Support for Multilingualism" and everything should work fine. Press next

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB10.png
This screen is to set up the Windows Service. put both "Install As Windows Service" and
"Include Bin Directory in Windows PATH" on
also make sure that Service Name: is set to MySQL.
to automatic start up the database when windows start enable "Launch the MySQL Server automatically"
This is Recommended because lots of stuff can go wrong starting it manual every time.
Press next when ready

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB11.png
The next 1 is important. this is where you set up the Root password. YOU NEED THIS PASS LATER so write it down.
Make sure that "Modify Security Settings" is on and fill in a password.
Do NOT turn "Enable root access from remote Machines" and "Create An Anonymous Account"
when you filled in the pass press on next

http://i102.photobucket.com/albums/m99/aqua_nl/PK%20Game/Setup%20server/MySQLDB12.png
Now is the moment of truth and to see if you followed the tutorial.
if everything is correct than the Database will be set up as soon as you press Execute.
Press Execute and see what happens.

If everything is done correctly you will see 4 blue V in the circles.
if the wizard is stopped at "Start Service" or a error popped up look into the FAQ 1.1
Otherwise, Congratulations. you just successfully created the hardest thing of RMX-OS

5) Managing the MySQL database

5.1) Install navicat

Its very simple, no problem here

5.2) Create connection

After installing, open navicat and Go to File > New connections > Mysql...

Then a windows pops up, and you need to complete with the information that you filled in the instalation of Mysql

Image
http://imageshack.us/a/img23/3395/navicats.png



*In connection name: Put the name you want, recommended "test
*In hostname / ipadress: Put the ip where the database are located, by default "127.0.0.1" or "localhost"
*In port: Put the default port 3306
*In username and password: Put the user and password that you filled in the installation of mysql by default "root" and password in blank


This is important: Before click "OK", press the button "Test Connection", if

5.3) Create the database

Go to the window division "Connections" > Secondary click on the connection that you just created ("test") > Select "New Database"

Then a new windows pops up, and you need to complete with the database name, the name of the database need to be "rmxosdb"

image
http://imageshack.us/a/img4/426/navicat2.png

For last, click "OK"

5.4) Importing database

Right now you have your rmxosdb database created, the secondary click on it, a select "EXECUTE SQL File..."

A new windows pops up, then you need to select the location of the sql file where the database are located

Image
http://imageshack.us/a/img690/2156/navicat3.png

Click on the "..." button, Go to the server folder you unzipped in the point 4.2, then go to the folder "Database" and select the file "RMX-OS SQL Database.sql",

Finally click on "START"

If everything is Okay, do double click on the Rmxosdb database, and you will see all the tables that were created.

6) Config RMX-OS

6.1) Go to the server folder that you unzipped in the point 4.2 and open the file "cfg.ini":
Edit this file in the following lines:

SQL_HOSTNAME = 'localhost'
SQL_USERNAME = 'your MySQL username' - by default "root"
SQL_PASSWORD = 'your MySQL password' - by default in blank
SQL_DATABASE = 'your database name' - needs to be "rmxosdb"

6.2) Run the file "start server.bat"

7) Extra point: Other users connect in your server

In order to another player connect in your server you will need to edit 2 things:

a. In the server folder: Edit the file "cfg.ini" and in the line "HOST = '127.0.0.1'" put the IP of your machine, in order to know it go to http://www.ipchicken.com/

b. In the client folder: Edit the file "Game.rxproj", select the Script Editor tool, then go to the script "(RMX-OS) Options", and in the line "SERVERS.push(['Tepig', '127.0.0.1', 54269])" Replace the ip 127.0.0.1 with the ip of your machine that you obtain in the point above.

image
http://imageshack.us/a/img9/4742/usersonline.png

8) For All question and bugs please go to: http://pokemmokit.altervista.org

9) Have fun!

Credits:

Poccil/Flameguru/Maruno - Pokemon Essentials Version 11
Gamefreak - for Pokemon Sprites and trademark
Jackolas for part of the tutorial
Blizzard for RMX-OS System

oxysoft
February 16th, 2013, 05:40 PM
Interesting, I did not even know you could have online capabilities with RPG maker

LexTheGreat
February 16th, 2013, 09:25 PM
Really nice I've been experimenting with this. Any downsides? seams like everything but player data is client side?..

Edit:
"Auto update system"
I didn't see this in the code.. how does it work?

aegisrox
February 16th, 2013, 10:20 PM
Hi! Glat you liked! I fact the database system is very secure, so there are no problem with data loses.

The only that is client side is the "username and password", in a file that it can be deleted, but the real data is stored in the database.

The auto update is a extension called versioning! It will be posted in the forum !http://pokemmokit.altervista.org/

Check for updates!

Regards

Ayutac
February 17th, 2013, 12:54 AM
So lets see if I got this right: You created a Pokemon Starter Kit like Essentials, but not Essentials. It has online features unlike Essentials. But these online features are only für MMOs, not so much for basic networking, e.g. Two-Players or LAN-Parties. (To add this would be great.)
Is that right?

I would like to state some questions: Did you use Essentials in any way? If not, where did you got the sprites etc. from? In any case please add Credits clearly visible to the first post. I know from trying by myself that creating such a thing all by oneself is difficult, so I'm a little bit sceptical about you two doing everything starting from ripping tiles of ROM hacks or similar.

So, if this is not compatible with Pokemon Essentials (e.g. because you have a completely different Ruby-Script in the background), I would encourage you to change this because it would suck if people would have to completely change their games or build them up from scratch to add online features. In case it isn't compatible/something complete new I would respect the hard work even more but on the other side I think – again – that it is not quite productive to develop independent engines with more or less the same functionality, because this will double possible bugs and divide support users can give to themselves, because it's likely to have them either using one or the other engine. Of course Essentials has the upper hand right now, but I just see the possibilities.

Some last notes: If you want to have people ask questions in your board please make at least the forum of this project visible to guests. I can't speak to others, but I usually lurk around a board for some time before I register so I will know what awaits me. Oh, and you have a typo in your thread title.

venom12
February 17th, 2013, 04:04 AM
Awesome man :D Great work waiting for more features :D

p.claydon
February 17th, 2013, 07:33 AM
this does use essentials version 11 but adds online support

aegisrox
February 17th, 2013, 08:28 AM
I edited the post with more visible credits! Tell me if you find another thing.

I will contact markz in order to repair the problem in the forum, meanwhile you can register using the "Tab key" instead of clicking, to fill the information to register.

Is you have little question, you can post here, but forum is more active, and are more chances to answer quickly.

My best regards

Aegis

p.claydon
February 17th, 2013, 03:32 PM
using this system would it be possible for a player to deposit one of there pokemon and/or item in a 'community' storage for someone else to pic up (would be bit like trading i guess)

Markz88
February 19th, 2013, 03:46 AM
Change log:
v1.1
Removed SAVE from Pause Menu
Added Mystery Gift support

DOWNLOAD :P
Visit the official forum

Imags
February 19th, 2013, 11:05 PM
Does it work with RPG MAker VX Ace?

martinx09
February 26th, 2013, 08:01 AM
So lets see if I got this right: You created a Pokemon Starter Kit like Essentials, but not Essentials. It has online features unlike Essentials. But these online features are only für MMOs, not so much for basic networking, e.g. Two-Players or LAN-Parties. (To add this would be great.)
Is that right?

I would like to state some questions: Did you use Essentials in any way? If not, where did you got the sprites etc. from? In any case please add Credits clearly visible to the first post. I know from trying by myself that creating such a thing all by oneself is difficult, so I'm a little bit sceptical about you two doing everything starting from ripping tiles of ROM hacks or similar.

So, if this is not compatible with Pokemon Essentials (e.g. because you have a completely different Ruby-Script in the background), I would encourage you to change this because it would suck if people would have to completely change their games or build them up from scratch to add online features. In case it isn't compatible/something complete new I would respect the hard work even more but on the other side I think – again – that it is not quite productive to develop independent engines with more or less the same functionality, because this will double possible bugs and divide support users can give to themselves, because it's likely to have them either using one or the other engine. Of course Essentials has the upper hand right now, but I just see the possibilities.

Some last notes: If you want to have people ask questions in your board please make at least the forum of this project visible to guests. I can't speak to others, but I usually lurk around a board for some time before I register so I will know what awaits me. Oh, and you have a typo in your thread title.

It is just Essentials with RMX-OS system.
You can make any RPGXP game online with RMX-OS system. :)

partyghoul2000
March 22nd, 2013, 05:16 PM
kind of curious about the status of this. is trading or battling others available yet?

Dradier234
March 23rd, 2013, 05:36 AM
This looks good! You must have some good scripters with you! This will certainly help anyone wanting to make a pokemon MMO.

Nyndyll
March 26th, 2013, 09:54 AM
I can't seem to connect to my server. I constantly get an offline signal

Elyssia
May 14th, 2013, 12:34 AM
Lovely project!
However, I do found one problem which I have no idea how to fix this. o.o
Sometimes whenever your game crashes too often (I think it happened after 3x crashes in a row), you'll somehow lose your entire save from the server... but the database records are still there :s
Unless I did something wrong that is...
I'll be looking forward to the next updates when you have the time for it Markz :)
And good luck with your studies though (if you ever have the time reading forum posts <3)

I can't seem to connect to my server. I constantly get an offline signal

Easy to fix, try changing the IP in your RMX-OS Server launcher from Localhost(127.0.0.1) to your Computer's Local IP. (that's actually how I managed to get passed this issue after having loads of problems with the RUBY versions, guess it's something Router related... really have no idea since I barely understand the entire RMX-OS script made by Blizzard)

Changing RMX-OS Config and Localizing your Local IP (I only know the Windows Vista/7 way since i've never experimented with Windows 8 before + it has been a very long time since i've last used Windows XP)
Go to Start > Configuration Panel > Network Center. In the middle you see the Category named 'View your active networks'. On the right side, click once on 'Local Area Connection'(blue coloured) and a Window should pop-up. After that click on Details button. Your local IP is listed in the name 'IPv4-address'. As example most uses the IP range "192.168.x.x", but not all router or modem devices uses this IP range but even in a complete different IP range. But isn't really important to know at this point...
After you've found your IPv4 Address, let's change it as well in your cfg.ini configuration. Change '127.0.0.1' in 'HOST' config to your Local IP address and you should be good to go. As example it should look like this: HOST = '192.168.x.x' (don't forget to replace the x letter to your IP Numbers)
Don't forget changing it in your RPG MAKER XP Script as well!

Also checking Firewall Settings wouldn't hurt either for both Router and Local/Server Computer <3
Wouldn't be the first time if a firewall blocks the connection entirely.

But I assume this issue is already fixed :)


(sorry if I broke a rule about reviving forum posts, wasn't my meaning to do so)

Pia Carrot
May 14th, 2013, 02:21 AM
(sorry if I broke a rule about reviving forum posts, wasn't my meaning to do so)

You're fine, it hasn't been 2 months quite yet.

@OP, I absolutely love you for this and I hope you update us eventually with the trade system and PvP. So many things I could do with this...

Tayuya of the Sound Four
May 16th, 2013, 10:33 AM
It is just Essentials with RMX-OS system.
You can make any RPGXP game online with RMX-OS system. :)

The tutorial only seems to be how to set up RMX-OS with a Pokemon Essentials version that is already ready for online, I don't have any of those scripts like the chat position and etc in my Essentials. He wants to know if it's possible to convert a game that has a lot of things completed or is completed without having to remake the game in order to set up RMX-OS. In other words, you could you provide a tutorial on how to add this to an existing game.

Qhauriq
August 24th, 2013, 08:30 PM
love the project I will be experimenting with this

frank_da_tank99
August 31st, 2013, 07:29 PM
How long do you think until you finish trading and PVP?

Markz88
September 21st, 2013, 12:12 AM
How long do you think until you finish trading and PVP?

The trade is already available!
Go to the official site for latest news.

khkramer
October 7th, 2013, 10:34 AM
I took a look at this and it looks like this just uses the Pokemon Nox scripts released on Ragezone.
I don't mind you using this for a kit otherwise I wouldn't have released the files, but credit would be appreciated.

Starshinypichu ukeele
December 28th, 2013, 12:23 AM
Help me?
i have problem after register and login
Loading...
Proof error
undefined method `species' for 7:Fixnum
PokemonUtilities:1123:in `pbPokemonIconFile'
HUD:73:in `createHud'
HUD:71:in `each'
HUD:71:in `createHud'
HUD:30:in `initialize_rmxos_later'
(MRMX-OS) Scenes:78:in `initialize'
Scene_Map:29:in `new'
Scene_Map:29:in `createSpritesets'
Scene_Map:28:in `each'
Scene_Map:28:in `createSpritesets'
Scene_Map:63:in `main_rmxos_later'
(RMX-OS) Script:3738:in `main'
(RMX-OS) Main:47
undefined method `species' for 7:Fixnum
PokemonUtilities:1123:in `pbPokemonIconFile'
HUD:73:in `createHud'
HUD:71:in `each'
HUD:71:in `createHud'
HUD:30:in `initialize_rmxos_later'
(MRMX-OS) Scenes:78:in `initialize'
Scene_Map:29:in `new'
Scene_Map:29:in `createSpritesets'
Scene_Map:28:in `each'
Scene_Map:28:in `createSpritesets'
Scene_Map:63:in `main_rmxos_later'
(RMX-OS) Script:3738:in `main'
(RMX-OS) Main:47

dydd90
January 23rd, 2014, 05:10 AM
Nice job!!thank you for this, i will wait for more features

PokémonSpecialFan
February 25th, 2014, 06:42 PM
I have been trying to make this work for a few days and I can run the server perfectly, but with my external (router) ip on the RPG Maker XP configuration, it just appears as offline and I can't do a single thing. I have done everything you can imagine with my router's ports and I have tried No-IP and Hamachi. Please, do any of you have any idea of what I can do? If not, do you know any website I can host my server? Thanks in advance!

Elyssia
February 26th, 2014, 10:45 AM
1. Make sure that your LAN IP is corresponding to the correct IP number where the server's being ran, as example 192.168.1.5, your external IP or vice versa. It can be checked using CMD's "ipconfig" command, don't add the quotes to the command... Else it won't recognize the command properly. The IPv4-Address should be the IP of your computer that needs to be forwarded with the correct Port. (Note: Your computer's IP may change automatically after a while if not using a Static configured IP address, Subnet settings, Gateway etc. The only thing that should change is your IP address, all the other information will remain untouched unless there's a new device that replaces the previous router or modem that may picks up information different then the previous device did.)
Else the server will not respond to your ping pong request. It doesn't matter if you're connecting to own External IP, in most cases the result will always be the same to any other users attempting to connect to your port.
Make sure that your External IP is setup correctly in the script. There are websites such as www.whatismyip.com (http://www.whatismyip.com) which reveals your External IP. However, do be careful with sharing this information since it's extremely sensitive from the outside.

2. Make sure that your firewall software is configured correctly.
If it's turned on, it may be blocking the port you're requesting connection to.
This is a well known issue when it comes to online gaming.


I say again, be careful sharing your external IP address, only share this with those who you do trust!
Don't even think of posting it on public forums or other public sources!
Your external IP address should remain private unless you know what risks hangs onto it...

Neozep
December 19th, 2014, 12:59 PM
(First of all, sorry for my bad english, I'm from Brazil and I'm using google translator, and has no pokémon community and rpg maker active here at the moment ...)

Hello, I am trying to use Pokemon MMO Kit Markz88, but someone is messing me, time to log into the server, always appears "offline"
Already researched a lot, tried everything but nothing works, just look at my situation

* Already deactivated the firewall but it did not work
* I have already put the direct ethernet cable to the modem (router for use) and it did not work
* I tried to start the server with the ip "localhost" and it did not work

I'm using:

* MySQL 5.1.41
* Navicat latest version
* Ruby 2.0.0 P247
* Last released version of the official site -3.2.2

Nothing's right, guys please help me, I'm crazy, nothing works, already checked in with the CMD ipconfig several times, that's right tude, the server is also starting correctly, do not ever, EVER appear offline.
Please, I need your help.

Zeak6464
December 21st, 2014, 08:05 AM
change localhost to 127.0.0.1 , make sure the port is right . Make you sure all your setting are correct... it works you just need to take your time , and problem solve , also can't help if no screenshots of stuff like configuration on both Game & Server ...
You need RMXP for one to even put the Online script to 127.0.0.1 in client ...

Neozep
December 22nd, 2014, 05:19 PM
change localhost to 127.0.0.1 , make sure the port is right . Make you sure all your setting are correct... it works you just need to take your time , and problem solve , also can't help if no screenshots of stuff like configuration on both Game & Server ...
You need RMXP for one to even put the Online script to 127.0.0.1 in client ...

Sorry, I forgot to put the screenshots, but, I did everything right, you can take a look:

(Screenshots in attachments)

I've tried both 127.0.0.1 as 192.168.0.100, but none it works, you can help-me? Thanks.

Zeak6464
December 25th, 2014, 04:40 PM
Sorry, I forgot to put the screenshots, but, I did everything right, you can take a look:

(Screenshots in attachments)

I've tried both 127.0.0.1 as 192.168.0.100, but none it works, you can help-me? Thanks.

Looks like ... the game it self isn't reading the server is on ...
so im thinking your Virtual Box or something might be the issue here

khkramer
December 27th, 2014, 01:37 AM
Sorry, I forgot to put the screenshots, but, I did everything right, you can take a look:

(Screenshots in attachments)

I've tried both 127.0.0.1 as 192.168.0.100, but none it works, you can help-me? Thanks.

I think you might've made a typo in your server config.

The client checks for a server on port 54269 by default, you have your server port set to 54296.