OceanCycle emu

10/05/2008 11:43 inv123#1
download from here(SVN!!!):
[Only registered and activated users can see links. Click Here To Register...]

Quote:
OceanCycle
****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
-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 first thing we need to do is add in our mysql account info and database name to 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
Quote:
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);
- ("127.0.0.1") is your machine , you should not change this.
-("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


This part refers more to compiling the emulator using C# compiler
Compiling OceanCycle


-Once again we are going to use the 2 main folder of this emulator which you should know already.
-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 [Only registered and activated users can see links. Click Here To Register...]
-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


Part 3

This section covers on how to install the Database and use it for the emulator

Now this is the most easiest part of the book.
-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 [Only registered and activated users can see links. Click Here To Register...]
-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 [Only registered and activated users can see links. Click Here To Register...]
- 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.
I stucked, when i start sro client, in the server list there is no any servers, i check the mysql-"server" "table, ServerStatus" was on "0" i changed it to "1" but still there is no servers on the list

and i made a register page for this emu :P
You must edit:
Quote:
<?php
//Database Information

= "localhost";
= "sroemu";
= "csovis";
= "root";
in register.php!
passwords in md5:
[Only registered and activated users can see links. Click Here To Register...]
pass not in md5:
[Only registered and activated users can see links. Click Here To Register...]
10/05/2008 14:32 GMBot#2
aha,ecsro server files thx^^
10/05/2008 15:05 inv123#3
No its no ecsro server files :) its srelite emulator(someone took it)

btw: i made a register page :P
You must edit:
Quote:
<?php
//Database Information

= "localhost";
= "sroemu";
= "csovis";
= "root";
in register.php!
passwords in md5:
[Only registered and activated users can see links. Click Here To Register...]
pass not in md5:
[Only registered and activated users can see links. Click Here To Register...]
10/05/2008 17:24 reptilee#4
I'm going to test it now
10/05/2008 19:02 hambal#5
if its work put it here i register i will play ur server :D
10/05/2008 19:05 SGTCl0wn#6
Quote:
Originally Posted by hambal View Post
if its work put it here i register i will play ur server :D
dont think its that simple lol
10/05/2008 19:07 HaGsTeR#7
is it 100% working? quests pvp n stuff?
10/05/2008 19:07 hambal#8
Quote:
Originally Posted by SGTCl0wn View Post
dont think its that simple lol
yep i know its not that simple but if someone can figure it out and can put it on i would play ur server :D
10/05/2008 19:32 lordjaggi#9
Quote:
Originally Posted by hagahaga View Post
is it 100% working? quests pvp n stuff?
use your brain man if it was 100% wouldnt he post it as a new server opening?
10/05/2008 20:39 MrIGM#10
Quote:
Originally Posted by lordjaggi View Post
yours your brain man if it was 100% wouldnt he post it as a new server opening?
You said that in stupid way, but i still agree.
10/05/2008 21:11 inv123#11
This source is from SRELITE! as you think they didnt did so much....
10/06/2008 05:13 reptilee#12
Anyone who don't know how to download

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
10/06/2008 18:24 inv123#13
But you must config something in the source file! So if you download this, you it will dont work for you
10/07/2008 06:38 lagard2#14
so whats the difrence from this and VBEMU from Darkink?
10/07/2008 15:06 karodbz#15
post the full guide please :D