Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

3D Fantasy MMORPG ybtx(佣兵天下) full source

Joined
Mar 25, 2007
Messages
660
Reaction score
309
offcial website :
english website :

SVN link :
use SVN client program like tortoisesSVN...
and cmb is our leader. he manage the tbyx SVN developement.
if you want to join SVN developement group, send a private message to cmb

download link for resource with DB/server/client resource
Link 1 : ,
Link 2 :
.
.
.
don't forget click 'Like' ^^
.
.

---------------------------------- Setup guide --------------------------

This guide will show you how to compile the 佣兵天下 (refered to ybtx below) game, setup the server in Windows or Linux, and play the game in local.

Compile
I compiled the code in VC2005(VC8). There are a lot of compilation errors in VC2008, most are attributable to c++ templates (or you can disable the security check for STL in VC2008 by specifying /D_SECURE_SCL). I just reverted the .sln and .vcproj files from VC2008 to match VC2005 (seems someone messed this up using VC2008).

Step:

  1. Go to folder code\home\all, open complete.sln with VS2005 (VC8).
  2. Go to ToolsàOptionsàProjects and SolutionsàVC++ Directories, add DXSDK Include and Lib paths (use this one I included in the pack: code\dxsdk_mar2008)
  3. Change the compile mode to Release (Debug is OK too, have a try yourself).
  4. Compile the RunModule, GameGac, GameGas projects:
5. The compiled binaries are in code\bin\Release. GameGac is the client binary, and GameGas is the server binary. RunModule is the invokers for both the server and client, that it calls LoadLibrary to get the exposed entry point SqrMain (of GameGac or GameGas) to execute the client or server logic.

Setup the Server in Windows
Let’s start MySQL first. I’ve made one copy in code\bin\DB, so just double click the 0.Start_MySQL.bat in code\bin folder (root account password: 123456).

The following steps only need to be done for the first time before you can start up your server. You don’t have to do it again since I’ve done it already.

  1. You have to install Cygwin, and make sure the Cygwin path is in the first place in the windows %PATH%. Or
    1. Fire up cmd (do not close it, it will be used later)
    2. Type:
Set PATH=<path_to_your_cygwin_bin_folder>;%PATH%

  1. Fire up cmd (skip if you’ve done this in above step)
  2. Change directory to code\bin
  3. Type and enter:
sh AutoConfig.sh
After that, change the directory path settings in code\etc\common\Directory.xml.This is very important, otherwise the server would fail to start.

  1. Type and enter:
sh ReCreateDB_cygwin.sh
This will initialize the database, such creating schemas, tables, and inserting data records.

  1. Type and enter:
sh AddGameDBUser.sh
This will add a new db user ybtx and grant full privileges.

  1. NOTE: I’ve made other changes to the configuration files in code\etc, please use a diff tool to see the detail. I just don’t remember all.

Up to now and later, you only need to double click the 1.StartGameServer.bat file to start the server. Wait about 1 minute, the server will be started.

Compile and Setup the Server in Linux
First you need to install a 64bit version of Linux. The product server must be of 64bit, otherwise the code could not compile (BTW, the 3rd party shared library files are of 64bit). I’ve installed CentOS 5.8 x86_64 in my VM box.

Ensure the following are also installed:

  1. MySQL
  2. gcc
  3. uuid-dev

Create your workspace and copy two folders to it: cfg and code.

Change directory to the code folder, type make to compile the code (I’ve made minor changes to the Makefile scripts so it could be compiled successfully).

The following steps are similar to those in Windows:

  1. Change directory to code\bin
  2. Type and enter:
./AutoConfig.sh
After that, change the directory path settings in code\etc\common\Directory.xml.This is very important, otherwise the server would fail to start.

  1. Type and enter:
./ReCreateDB.sh
This will initialize the database, such creating schemas, tables, and inserting data records.

  1. Type and enter:
./AddGameDBUser.sh
This will add a new db user ybtx and grant full privileges.

It’s time to start the server:
./rungame.sh

Don’t forget to open the ports in iptables: 52520, 52530 and 10077. (if you don’t know how, google it)


Start the Game in Windows
Simple, double click the 2.StartGame.bat under code\bin.
The startup parameters are in this file: code\etc\gac\GacConfig.lua

After you start up the client, type any name and password to enter the game. If the name you entered is not existed in database (tbl_user_static), the server would create one for you. After all this is a dev box settingJ

Now please enjoy the game.


183603xoor9lr05l1r55rx - 3D Fantasy MMORPG ybtx(佣兵天下) full source - RaGEZONE Forums


------------------------- added for packaging and translation -----------------------------

How to make .pkg files

1. make .log file using DIR command and notepad - ex: dir chinese_simple /b /s > shinese_simple.log --> then edit with notepad
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/fonts
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/gui
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/guitex
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/table
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/fonts/dis_youyuan
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/fonts/FontConfig.xml
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/fonts/fz26.TTF
chinese_simple###D:/BERESIS/MakePackage/chinese_simple/fonts/fzzhunyuan.TTF
.
.

2. make .pkg file using MakePackage.exe - ex: MakePackage.exe chinese_simple.log --> chinese_simple.pkg
ofcourse chinese_simple folder must exist in same folder



for english translation, you can use bellow indonesian language files
it was extracted from indonesian.pkg rhen arranged into Lang folder

 

Attachments

You must be registered for see attachments list
Last edited:
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: 3D Fantagy MMORPG ybtx server and client, guide release

Can be translated? I mean client..

May i call this game is BOI2?
 
Last edited:
Joined
Mar 25, 2007
Messages
660
Reaction score
309
Re: 3D Fantagy MMORPG ybtx server and client, guide release

Of course, yes!
all of the word in game can be translated
you can find the lang. files in ybtx_full\GPH\Client\lang folder

111 - 3D Fantasy MMORPG ybtx(佣兵天下) full source - RaGEZONE Forums 222 - 3D Fantasy MMORPG ybtx(佣兵天下) full source - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: 3D Fantagy MMORPG ybtx server and client, guide release

what the password of 7-zip file?
 
Joined
Mar 25, 2007
Messages
660
Reaction score
309
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I have the full source code of ybtx

If many people interest in this section, I will release it here
every parts of the sources are compiled successfully and most of them are work well
Memiko, do you have any interest in this game?
if yes, let's make it complete
 
Newbie Spellweaver
Joined
Apr 9, 2012
Messages
11
Reaction score
4
Re: 3D Fantagy MMORPG ybtx server and client, guide release

no like
i have full source code
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I have the full source code of ybtx

If many people interest in this section, I will release it here
every parts of the sources are compiled successfully and most of them are work well
Memiko, do you have any interest in this game?
if yes, let's make it complete

Yes, I'm interesting in this game and hope you release the source..

We can make it complete like translating etcs and new section will begin!
 
Joined
Mar 25, 2007
Messages
660
Reaction score
309
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I will wait till tomorrow
then make a decision whether release or not
I hope many people join this section

and GameDebug, your source is not complete
just join here, let's make it better
I really want to make a new game with this source
 
Experienced Elementalist
Joined
Nov 17, 2009
Messages
255
Reaction score
157
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I will wait till tomorrow
then make a decision whether release or not
I hope many people join this section

and GameDebug, your source is not complete
just join here, let's make it better
I really want to make a new game with this source

I will wait for good-news till tomorrow, I will join you team and section to make it work..

+1 Share it and request to make section :wink:
 
Newbie Spellweaver
Joined
Jul 22, 2006
Messages
84
Reaction score
12
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I will wait for good-news till tomorrow, I will join you team and section to make it work..

+1 Share it and request to make section :wink:

Of course , you can PM with Metal.:laugh:
 
Newbie Spellweaver
Joined
Feb 13, 2012
Messages
89
Reaction score
25
Re: 3D Fantagy MMORPG ybtx server and client, guide release

THANK FOR SHARE

i will test how game...!!!!
 
Experienced Elementalist
Joined
Dec 16, 2010
Messages
233
Reaction score
75
Re: 3D Fantagy MMORPG ybtx server and client, guide release

I'm with Memiko, I'm interested too, and if you will release Source Code, I will help RZ with developing :)
 
Joined
Jul 1, 2008
Messages
422
Reaction score
42
Re: 3D Fantagy MMORPG ybtx server and client, guide release

! D:\Downloads\ybtx_full.7z: The archive is either in unknown format or damaged


DAMN ERRORRRRR
 
Experienced Elementalist
Joined
Feb 7, 2010
Messages
213
Reaction score
15
Re: 3D Fantagy MMORPG ybtx server and client, guide release

Can someone upload the files on a better hoster ;)
 
Experienced Elementalist
Joined
Feb 7, 2010
Messages
213
Reaction score
15
Re: 3D Fantagy MMORPG ybtx server and client, guide release

Btw. the english title of the game is "Warrior King" ( - )
 
Back
Top