****If your going to use this guide , than you must know how to install MYSQL by your self.
I wont be convering installing the MYSQL system here******
-Index-
-Configuring OceanCycle Mysql
-Compiling OceanCycle
-Installing Database
---------------------------------------------------------
---------------------------------------------------------
---------------------------------------------------------
Part 1
Code:
-Part 1 goes with Configuring OceanCycle Mysql -Alright lets begin -If you have reached this far , than by now you must have already downloaded tortoise svn and have gotten the svn files for the emulator.
-The two main folders of this emulator is "ServerLogin" and "GameServer"
-Inside Serverlogin you will find a file called "Server.cs" you must open this file up.
-Once you have that file opened, lets do a search for the following section
Code:
public void StartServer()
{
Database.Connect("127.0.0.1", "sro", "root", "748596001");
m_mainSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
IPEndPoint ipLocal = new IPEndPoint(IPAddress.Any, 15779);
-("sro") is the database name , you must change this to the name you gave to your own database.
-("root") is the mysql username.Usually is root but if you put another different username , than put it there.
-("748596001") is the mysql password you provided on installation.Put your password here.
-Than save and close the file.
-Now we are going to do the same process and same format we did with Serverlogin to Gameserver.
-Open Server.cs in Gameserver and follow the same process
Part 2
Code:
Part 2 This part refers more to compiling the emulator using C# compiler Compiling OceanCycle
-But first we need to have a special system installed in our computer before we continue on.
-This system is called MYSQL CONNECTER.NET
-So lets download it and install it , lets go to this site

-Choose your mirror to download , and install.
-Once Connecter.Net 5.2 is installed , lets proceed with compiling.
-Now lets go to the Gameserver folder this time we need to open file that holds the project of this emulator which will make it compile.
-Inside Gameserver folder open up the file called GameServer.sln it should open up with C# compiler.
-Now to the top of the compiler , you should see a tab saying Build click it and click Build again
-Do the same thing with the Serverlogin folder which is Serverlogin.sln
Code:
Part 3 This section covers on how to install the Database and use it for the emulator
-For this kind of stuff you need to have a MYSQL SQL MANAGER in your computer which are "HeidiSQL, Navicat or SQLyog.
-You guys should know how to upload a Database to thoes Managers, is self explanatory.
Connecting to Client
-If your a good coder than you could code the emulator to read the latest client packets.
-Otherwise use a 1.157 client uploaded here by Venice

-You must also patch your client or media.pk2 file to your ip so your server comes up , since thats where the server is being hosted on right?
-For a media patcher you can download here uploaded from us

- In Ip1 you put the ip your server is being hosted on which is usually 127.0.0.1
- In Ip2 you put the ip your server is being hosted on which is usually 127.0.0.1
- Than Click Patch
-Your client is now available to hold the server your hosting.
EMULATOR
REAL JOYMAX SERVER






