Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
Hycker
@
lastfun
this query what you comment out is in c9world db / stored procedures?
my client stuck after login, its nothing happens no one a single error message, or something. even nothing shows on servers too. i think something messed up with my db
if i shut down the servers i gets server connection lost message in client
no, no need comment db
if the screen freezes with a clean (without a window, "Connection"), the error is not in the database
1. check the game server (run he?)
2. === to all===
As far as i understand...
Game server can perform multiple functions. If you look at LMSConfig.DAT:
Code:
<Data>
<Zone No>
<Common>
<ConnectDB Name="Unity".../>
<ConnectDB Name="Service".../>
<Server Param="ServerType=Auth ServerNo.../>
<Server Param="ServerType=AuthBroker ServerNo.../>
<Server Param="ServerType=MemCached ServerNo..." />
<!-- this param will be applied for all game servers in this zone -->
<!--
KeepAliveInterval : Fixed Value
KeepAliveCheckThreshold : Max alive wait-time between client and server
MaxSkillCountPerSec : Max skill count per second
SpeedHackCheckThreshold : Max interval tick time between client and server
-->
<Default Param...." />
</Common>
<World Param="ServerType=World ServerNo...">
<Common>
<ConnectDB Name="World".../>
<ConnectDB Name="Log".../>
<ConnectDB Name="Rank".../>
<ContentSwitches.../>
<!-- ITC_SERVER Connection Information -->
<ChinaBilling.../>
<!-- this param will be applied for all game servers in this world -->
<Default Param...>
<Default Param.../>
<DailyReset TimeHour.../>
</Common>
<!-- Lobby -->
<Server Param="ServerType=Game ServerNo=1...GameServerType=LOB.../>
<!-- Guild House -->
<Server Param="ServerType=Game ServerNo=2...GameServerType=GHS.../>
<!-- PVP -->
<Server Param="ServerType=Game ServerNo=3...GameServerType=PVP.../>
<!-- Fortune Survival -->
<Server Param="ServerType=Game ServerNo=4...GameServerType=CTS.../>
<!-- Arena -->
<Server Param="ServerType=Game ServerNo=5...GameServerType=NOR.../>
<!-- Channels -->
<Server Param="ServerType=Game ServerNo=6...GameServerType=NOR.../>
<Server Param="ServerType=Game ServerNo=7...GameServerType=NOR.../>
<Server Param="ServerType=Game ServerNo=8...GameServerType=NOR.../>
<Server Param="ServerType=Auction ServerNo.../>
<Server Param="ServerType=Relay ServerNo.../>
<Server Param="ServerType=Community ServerNo.../>
<Server Param="ServerType=Log ServerNo.../>
<Server Param="ServerType=DataCache ServerNo.../>
<Server Param="ServerType=Stun ServerNo.../>
</World>
</Zone>
</Data>
Several types of servers: Lobby=LOB; Guild House=GHS; PVP=PVP; Fortune Survival=CTS;Arena=NOR; Channels=NOR.
Thus, to enter the game, it is necessary to run Lobby & Channels, others do not necessarily (just not maps).
At the moment i do not run GHS, PVP, CTS, Arena because they take up computer resources.
- configuration in the LMSConfig.DAT and ServerBaseConfig.dat must be the same.
- numbering game servers must be in order.
A common mistake - runs only game server 1 and get a blank screen at the login.
for example (minimum start, only Lobby & Channel):
LMSConfig.DAT:
Code:
...
<!-- Lobby -->
<Server Param="ServerType=Game ServerNo=1 IP=10.1.25.7 PublicIP=10.1.25.7 TcpPort=10501 ChannelNo=1 GameServerType=LOB MapKey=56 MaxUser=4000 Community=0 Auction=0 ChatLog=1 LogServer=1 DataCache=1 LogFile=1 LogConsole=1 LogLevel=8 Autoblock=0 Threshold=0 PcTradeThreshold=0 " />
<!-- Channels -->
<Server Param="ServerType=Game ServerNo=2 IP=10.1.25.7 PublicIP=10.1.25.7 TcpPort=10506 ChannelNo=1 GameServerType=NOR MapKey=10 MaxUser=500 Community=1 Auction=1 ChatLog=1 LogServer=1 DataCache=1 LogFile=1 LogConsole=1 LogLevel=8 Autoblock=0 Threshold=0 PcTradeThreshold=0 " />
...
ServerBaseConfig.dat:
Code:
...
<!-- Lobby -->
<Server Param="ServerType=Game ServerNo=1 IP=10.1.25.7 PublicIP=10.1.25.7 TcpPort=10501 ChannelNo=1 GameServerType=LOB MapKey=56 MaxUser=4000 Community=0 Auction=0 ChatLog=1 LogServer=1 DataCache=1 LogFile=1 LogConsole=1 LogLevel=8 Autoblock=0 Threshold=0 PcTradeThreshold=0 " />
<!-- Channels -->
<Server Param="ServerType=Game ServerNo=2 IP=10.1.25.7 PublicIP=10.1.25.7 TcpPort=10506 ChannelNo=1 GameServerType=NOR MapKey=10 MaxUser=500 Community=1 Auction=1 ChatLog=1 LogServer=1 DataCache=1 LogFile=1 LogConsole=1 LogLevel=8 Autoblock=0 Threshold=0 PcTradeThreshold=0 " />
...
start_gs.bat:
Code:
start C9GameServer.exe 1
start C9GameServer.exe 2
result:
http://screenshot.ru/upload/images/2...gs52e35.md.png
p/s/ while i writing a message, NaiWan ahead of me)
Re: [RELEASE] CHS C9 Server Files
good job and good Note LastFun
hmmm wanna ask how can i give my char. GM permission ?
Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
lastfun
he had to be you
C9Unity->TblAccount->cAuthLevel=6
my account master is cAuthLevel=6
but when i use gm command nothing happened !
shouldn't i use it in chat ? or is there a special console window ?!
Re: [RELEASE] CHS C9 Server Files
again about shop
shop is configured in mssql
C9Service ->
->TblShopMenuInfo
->TblShopProductDetailInfo
->TblShopProductInfo
there are a lot of fields, but almost all of them are intuitive, it is necessary to try to change something and see what happens
for example (price change item):
TblShopProductInfo-> column "cPrice" - displayed price (what we see in the store)
TblShopProductDetailInfo-> column "cPrice" - the real price (what will be debited from your account when you buy)
after edit need reboot worldserver
p.s. add point - C9World->TblPcInfo-> column "cWB"
need relogin account
Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
Memiko
----
can you teach me for Translate ? bro
Re: [RELEASE] CHS C9 Server Files
Please post your questions inside the help section.
I notice that a lot of users post their errors in this thread. Warnings will be given out!
Re: [RELEASE] CHS C9 Server Files
hmm , i think there is a little problem with English translation !
now in any shop view the price does not show it just like that
purchase price : gold
and it should be like :
purchase price : 30 gold
----------------------------
found new translation bug :(
http://iupcloud.com/uploads/up280471...9_01000000.JPG
Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
hemaprince
hmm , i think there is a little problem with English translation !
now in any shop view the price does not show it just like that
purchase price : gold
and it should be like :
purchase price : 30 gold
----------------------------
found new translation bug :(
https://forum.ragezone.com/cache.php...9_01000000.JPG
Hi. here the fix for you. Extract in root client.
This fix almost all. items/items infos/ quests / skills infos/ nps buys and sells/
.
https://mega.nz/#!HFEy3QJC!RIi2dzwTV7kqJcFzgsj5_5QuUIIpbZSCYOVsl70fzBA
https://forum.ragezone.com/cache.php...2_17_53_41.jpg
https://forum.ragezone.com/cache.php...2_17_54_45.jpg
https://forum.ragezone.com/cache.php...2_17_54_55.jpg
https://forum.ragezone.com/cache.php...2_17_55_38.jpg
https://forum.ragezone.com/cache.php...2_17_55_42.jpg
https://forum.ragezone.com/cache.php...2_17_56_22.jpg
https://forum.ragezone.com/cache.php...2_17_56_50.jpg
https://forum.ragezone.com/cache.php...2_17_57_45.jpg
I will try everything :D
Re: [RELEASE] CHS C9 Server Files
again,please can i have a clean guide with all the links in 1 single post..?its annoying to go through 20 pages
Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
xlw00tlx
again,please can i have a clean guide with all the links in 1 single post..?its annoying to go through 20 pages
this is what I exactly meant :)
Re: [RELEASE] CHS C9 Server Files
Lastfun pls link your cfs tool too in that tutorial post.
Thank you m8
Tapatalk-kal küldve az én GT-I9300-el
Re: [RELEASE] CHS C9 Server Files
Quote:
Originally Posted by
lastfun
2-3 hours, you will be a tutorial
Thank you lastfun,looking forward to play the most awesome c9 ever:ott:
Re: [RELEASE] CHS C9 Server Files
C9 server installation tutorial.
1. MS SQL (2005 or higher, i'm use 2008 R2 )
***************************************
Big thank @Juntoa
He made for you a video tutorial.
***************************************
I will not describe in detail the mssql server installation, configuration odbs - all as standard, as well as any other textbook. There are several features.
1. Download database.
2. Open "01_CH_C9 DB Create.sql" and change ALL (16 times) path (here will be stored database on disk):
3. Execute the query in folder CH_C9_DB_server in order filenames (1-18).
4. Create ODBC for each database (C9World, C9Web, C9Unity, C9Service, C9Resource, C9Rank, C9Log, C9Audit ).
for x64 system cmd->odbcad32
5. Create account:
Code:
USE [C9Unity]
GO
INSERT INTO Auth.TblAccount([cAccId], [cPassword], [cAuthLevel])
VALUES ('you_login', 'you_pass', 'AuthLevel');
AuthLevel: 1- player; 6 - GM.
2. Server
-note-
=======================================================================
Initially, the server files have been about six months ago share the Divine
they did not work "as is". What has been done me:
- found that the client was able to work with C9.exe (C9.exe was to assemble server)
- C9.exe patched (changed the type of authorization -> turn on window login and password)
- patched the login server (changed the type of authorization)
- patched all server modules (prohibition of rewriting the configuration files)
- patched gameserver (no binding to the key)
- and on the little things ... parse cfs format, parse C9CfsInfo, save the earth from alien invasion (the latter - just kidding)
=======================================================================
1. Download server files.
2. Run server (server is configured to IP = 127.0.0.1)
- start_min.bat -> only Lobby and 1 map, no Guild, no Arena, no Fortune Survival, no other maps (less demanding of computer resources)
- start_max.bat -> a full server with all maps (more demanding of computer resources)
- stop.bat -> i think no need to explain :)
script startup rewrites config (LMSConfig.DAT & ServerBaseConfig.dat) in folder ServerData
if you want to change the config (LMSConfig.DAT & ServerBaseConfig.dat), you need to edit folder max_config or folder min_config
a little bit about the maps can be found here
3. Client
1. Download client (v.2000)
c9_setup_2000.exe
c9_setup_2000_bin.7z.001
c9_setup_2000_bin.7z.002
c9_setup_2000_bin.7z.003
c9_setup_2000_bin.7z.004
2. Download patch + language patch.
3. About language patch can be read here and here
4. Some tools
1. Many thanks @LegalSin his version (GUI) tool for cfs
CHSC9FileManager
2. cfsTool
===============================================
Short instructions (for example translation maps):
The source files (donor) i used epic client (can be any other what you have and what have the necessary files)
1. Go to epic\Ui\ENG\ENG_Stagemap\ENG_TownMap\
put in ENG_TownMap folder
- cfsTool (cfsTool.exe & tool.exe)
2. Unpack CHI_TownMap.cfs (here are the files with maps in English)
Code:
cfsTool CHI_TownMap.cfs
Maps will be unpacked in the directory Unpack\CHI_TownMap\
3. Repeat steps 1 and 2 for our Chinese client (patient)
path - c9\Ui\CHI\CHI_Stagemap\CHI_TownMap\
4. We compare the extracted files in the donor and the patient:
http://screenshot.ru/upload/images/2.../1eda0f.md.png
the same number of files, the files differ only in the file name prefix ENG_ - CHI_
5. The donor folder rename ENG_*.dds in CHI_*.dds
6. Create a new directory (eg 'temp'), put it:
- All of the renamed files
- CHI_TownMap.cfs (patient)
- From the root directory (the patient) C9CfsInfo.dat
http://screenshot.ru/upload/images/2.../25c74e.th.png
7. Add one files in the archive CHI_TownMap.cfs
Code:
cfsTool.exe CHI_TownMap.cfs CHI_Ensilrot.dds
rewritten archive will appear in the folder Repack\
8. Delete the added file (CHI_Ensilrot.dds) from the folder "temp", delete the folder "temp" CHI_TownMap.cfs (it does not interfere)
9. -Important!-
Copy the newly created archive from the folder Repack\ to the root folder temp\
10. Repeat steps 7-9 for the remaining files *.dds
The output is 2 files:
-C9CfsInfo.dat
-CHI_TownMap.cfs
We put them in the appropriate folders of our Chinese client (patient)
that's it) Good luck! )
===============================================
3. C9CfsInfo (generates xml of C9CfsInfo.dat... put in the same folder and run ... it's a long time process )
4. repack tool
5. Additions
1.=============external ip!=============
Quote:
Originally Posted by
c9lover
Thats is true. LastFun alredy conected in my home server.
The magic is put you root gear in bridge mode.
Change the ip in sql conection to your external like this
https://forum.ragezone.com/cache.php...7ikt%2Fsql.jpg
change all 127.0.0.1 from server config to external ip.
change your start.bat game ip to extenal ip and have fun.
Dont forget your root need to be in Bridge mode.
=====================================
2.======DB backup (at your own risk)======
https://mega.nz/#!Xd12kB6b!d94o0VQD3...KYgu_KVoSSiZ98
=====================================
3.=========translation pic maps==========
thanks @c9lover
https://forum.ragezone.com/redirect-...HHqyboO29fD8Gc
=====================================
4.=========C9 - Adding Resurrection Scrolls into the Database. (author @Juntoa)==========
https://forum.ragezone.com/f858/c9-a...abase-1084772/
=============================================================================
5.=========Add item, fashion to my character (author @WildWild)==========
https://forum.ragezone.com/f858/vide...0/#post8534110
=============================================================================
Big thanks:
@Divin3 - for server files
@Memiko and @c9lover +1 - language patch (thanks guys)
Achtung!!!
=====================================================================
All questions about installation, configuration, error, etc. - HERE.
In this topic, i will ignore such questions... and moderators will be put on a stake for them, he-he)
=====================================================================
p.s. this post will be supplemented and edited
Re: [RELEASE] CHS C9 Server Files
I tried with 192.x.x.x ip its works well
Tapatalk-kal küldve az én GT-I9300-el
Re: [RELEASE] CHS C9 Server Files
at the moment we need to know:
- The server can not "look" to the external network physically (as it is written).... (login, game, world, etc)
- The server can not "look" to the external network because of constraints (checks) code
Both of these options can be solved.