Friday, April 24, 2009

Creating a Grand Chase Private Server

Tutorial Grand Chase

1 Description
2 files [Downloads]
3 Tutorials
3.1 - Restoring the database
3.2 - Setting IP, s
3.3 - Center
3.4 - Gameserver
3.5 - MsgRouter and MsgServer.
3.6 - Create Account
3.6.1 - Hash
3.6.2 - Add Items in Accounts
3.7 - Editing your character
3.8 - Increasing Rates
3.9 - turning on a server.
4 FAQ

- Description --

I am here to teach how to create a server from Grand Chase, is very difficult, but with this tutorial, succeeded in making very fast ...

It is legal to a server to make fun since they not for profit, NOW TO MAKE A SERVER-profit and YOU CAN BE WRONG AND PRISONERS.

- Archives [Downloads] --
Light SQL 1017 - [Mandatory] [Server Files]
Database- [Mandatory] (Newman)
SQL Server 2005 Express
[Required] - Enterprise Management Studio Express
Client Season 1 - Main.exe Edited

[color=Red]you can see the tutorial on how to restor database in first reply
- Setting IP, s --
> Let's start by ODBC.
Open the following file with Notepad:

. \ Server \ Gameserver \ odbc_internal.dsn
. \ Server \ Gameserver \ odbc_stat.dsn
. \ Server \ Center \ odbc_internal.dsn
. \ Server \ Center \ odbc_stat.dsn

And so edit this way:

[ODBC]
DRIVER = SQL Server
UID = SQL Server
Address = 127.0.0.1,1433
Network = dbmssocn
DATABASE = ss
WSID = xmlab-coolcopy
APP = Microsoft Data Access Components
SERVER = (local)
Description = Brazil internal
PWD = Password SQL


> Now the IPS

Open these files with Notepad

. \ Server \ Gameserver \ config_server.LUA
. \ Server \ Gameserver \ ~ config_server.LUA


After going on line 71 with CTRL + G and edit this way:

Init_NCashBillingInfo ( 'YOUR IP HERE', 9500, 5, 0, 'odbc_internal.dsn')

Now let's edit the IPs in sql

Tables in the Open Databse GC i is soh edit the IP

ConnectStatusDB
MsgRouterList
MsgServerList


- Center --

This program is who commands the "Login Server", controls the login and password that will, if it gives a problem, the server will not work.

The Table is that it uses the ConnectStatusDB, then use your local IP there, if you are a free server, use the external IP.

- Gameserver --

This program drives the characters, missions, the pvps, the EXP, well, almost everything you do goes to him.

Setting - Config_Server.lua

Line 71:
PHP Code:
Init_NCashBillingInfo ( 'Use your IP here', 9500, 5, 4, 'odbc_internal.dsn')
Line 31
PHP Code:
- SimLayer: SetBillingType (KGSSimLayer.BT_NCASH)
Remove the --.

- MsgRouter and MsgServer --

These programs take care of "Friend List" or Friends list, if not connected, the buddy list will say "Connection failed with the list" and is one of the most difficult to fix bugs.

Setting

1st MsgRouter

Protocols - config_mr.ini


Logs - config_mr.lua



2 MsgServer

Protocols - config_msg.lua


- Create Account --
Go to the table users ...

LOGIN passwd SEX




Once you click the button ...



Then press the OK ...


- Adding Items accounts --

The next image in the table GoodsObjectList.


- ITEMUID = No need Mecher him. It is Automatic.
- OWNERLOGIN = Set the log of the person who will receive the item.
- BUYERLOGIN = Set the log of the person who will receive the item.
- ItemId = Place the item ID.
- Any REGDATE = date.
- Any StartDate = date.
- END DATE = Any date.
- PERIOD = Time Item. Leg is -1
- Editing the Level, EXP, Win, Lose ... --
To edit your character, just go in the table Characters will have a line with your login, there in front, has the Level, Exp, Win, Lose, simply edit it and restart your game.


PHP Code:
You: How do I put the Lass, Ryan, Ronan?
Andreddj2: Follow the example with my account in the photo ...
CharType column:
0 = Elesis
1 = Lire
2 = Arme
3 = Lass
4 = Ryan
5 = Ronan

PHP Code:
You: How do 2 Class, 3 Class, Class 4?
Column Promotion:
0 = 1 Class
1 = 2 Class
2 = 3 Class
3 = 4 Class

- Editing Rates --
Image Speech Everything!


- Turning on the server --

To connect the server, where everything is set up, open the file StartAll.bat, if any program opens and closes, it's because you do not set it right.

- FAQs --

PHP Code:
You: Oh man, every time I enter the server, the hack detected .. What do I do?
Andreddj2: This problem varies widely, sometimes can be little memory, and sometimes can be the same GameGuard ...
PHP Code:
You: Hey, where you put cash in the account?
Andreddj2: Well, nobody knows yet.
PHP Code:
You: Aff, How do I edit items?
Andreddj2: To edit the items, the database needs to change and the Main.exe, because nobody knows edit the Main, of a!
PHP Code:
You: How do I create a Main to my Server?
Andreddj2: Are you a topic right there ...

Credits to:
Andreddj2
Black Khaos
Davisson
Ragezone BR

Make Flyff Private Server

what is flyff online??you can look this http://flyff.gpotato.com

Firstly, let's anwser some questions.

What is Private Server?
Private server is just like the original, gPotato game, FlyFF. Though, private servers usually use higher exp, penya and fxp rates.

What do I need for Private server?
You need a good computer, that can handle the server, internet connection. If the computer, and internet connection is good, the server won't lag, but if it's crapy, It most probably will. You'll also need MySQL, NaviCat, Server files, FlyFF Client, and a database.

Now that's anwsered, let's get things we need.
Since you're reading this, I assume you already have a computer, and internet connection, so here are links to MySQL, NaviCat, Server Files, and the Database.

Server Files: http://rapidshare.com/files/180318995/flyff.rar.html
MySQL: http://dev.mysql.com/downloads/mysql/5.1.html
NaviCat: http://www.navicat.com/download.html
Database works with v12): http://www.megaupload.com/?d=KO4FHBD3

Now, Install MySQL and NaviCat.

When you installed it, Go to Start -> All Programs -> MySQL -> MySQL Server 5.1 -> MySQL Server Instance Config Wizard

Then do the following:

Then Open NaviCat.
Click "Connections", and fill it up like this:

Double Click "localhost" so it opens. Then Right click somewhere under the "localhost" and click "New Database"

Then enter the database name, as you wish. It's recomended to use FlyFF, because when you're using server files, and if you're using downloaded WebSite, they all use database name "flyff" so you'd have to change everything.

Double click the database you created. Then Right click it, and click "Execute batch file..."

When the window appears, click the three(3) dots "...", and find the database you downloaded.

When you select it, click "Open", and then "Start". When it's done, you will get a message like this:

Code:


[Msg] Finished - 27 queries executed successfully --------------------------------------------------


Side note: I only used a small database. Your should have more queries executed.

After that is done, we're ready to use the server files, and start up the server.

You can close NaviCat, and everything you don't need for now.

Now, Open the server files, that you downloaded, and find this 3 files:

1. login_server.ini
2. char_server.ini
3. world_server.ini


Open one by one. Firstly, open login_server.ini. Use NotePad.

login_server.ini

Code:
[server]
ip=127.0.0.1 //this is the IP. 127.0.0.1 is local IP for your computer. If you're using Hamachi, put in it's IP, if you're using No-IP, put in the URL of your host.
port=23000
minAccessLevel=0
id=1
name=LoginServer
use_flyff_a=1

[isc]
ip=127.0.0.1
port=29300

[mysql]
server=localhost //leave this as it is, and everything above.
database=flyff //database name. If you did as I said before, put flyff here.
username=root //leave this Root.
password=password //this is the password you set, when you was creating Database.
char_server.ini

Code:
[server]
ip=127.0.0.1 //again, put in Hamachi IP if using it, or No-IP URL if using No-IP. If you're only testing, leave it this.
port=28000
minAccessLevel=0
id=2
owner=1
name=CharServer

[isc]
ip=127.0.0.1
port=29300

[mysql]
server=localhost //all the same as before
database=flyff
username=root
password=password
world_server.ini

Code:
[server]
ip=127.0.0.1 //same as before
port=15400
minAccessLevel=0
id=3
owner=2
name=FLYFAR //name of the server
exprate=250.0 //Exp rate.
fxprate=500.0 //flying exp rate.
droprate=200.0 //drop rate
questdroprate=200.0 //quest drop rate
motd=Welcome! //welcome message
weather=0
random_weather=1
random_weather_interval=300000
can_trade_quest_items=0
can_drop_quest_items=0
can_player_shop_quest_items=0
can_mail_quest_items=0
can_guild_bank_quest_items=0
use_item_cooldown=1
use_item_casting_timers=1
use_action_slot_cooldown=0
guild_rejoin_waiting_time=0
#guild_rejoin_waiting_time=172800
allowPK=0 //change to 1 if you allow PK
allowKS=0 //change to 1 if you allow KS
everywherePVP=1
allowGuildBank=1

[isc]
ip=127.0.0.1
port=29300

[mysql]
server=localhost //same as before
database=flyfar
username=root
password=password
Okay. Now, you're ready to run your server

RUN IN THIS ORDER!

1. Login Server
2. Char Server
3. World Server


You can find files to run in the server files, you downloaded.

Now, if you want to play your server, you'll need 2 more files.
Neuz
http://rapidshare.com/files/149043419/neuz.zip

Place the files into your FlyFF directory, then create shortcut to Neuz.exe on your desktop. Open the properties, and add "sunkist" on the end of shortcut path.