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!

[RELEASE] CHS C9 Server Files

Status
Not open for further replies.
Experienced Elementalist
Joined
Jan 21, 2015
Messages
235
Reaction score
202
@LegalSin
Divin3 - [RELEASE] CHS C9 Server Files - RaGEZONE Forums
 
Banned
Banned
Joined
Dec 17, 2011
Messages
470
Reaction score
245
Unable to load C9CfsInfo.xml Please regenerate it.
Do: Tools-> Update C9CfsInfo.xml

After you finished working on any cfs file dont forget to click tools->Save C9CfsInfo.dat :) so the client will still run :D

I will inporve this tool as we go atm need to focus on other tools:)
 
Banned
Banned
Joined
Dec 17, 2011
Messages
470
Reaction score
245

its not mine i just imported it... by the look it seams it can import/export c9d
 
Elite Diviner
Joined
Apr 28, 2012
Messages
420
Reaction score
439
@LegalSin - thx for CHSC9FileManager and add to tutorial :)
hemaprince - yes, my list was incomplete
in your list of commands and the average player, not GM
 
Elite Diviner
Joined
Apr 28, 2012
Messages
420
Reaction score
439
Do you have Skype? maybe we can work together on decoding GameData.c9d
i'm just doing this
as far as i understand it DropRate, GoldRate, ItemRate, LevelUpExp
there is a small problem - in the client's ok (well documented (as far as can be)), but the client does not read the full file GameData.c9d
in the server, this function is a little different
i compare the client - server, in order to find the file structure
p/s/ skype -> see PM (forum buggy - Database error (i can not send PM))
 
Last edited:
Newbie Spellweaver
Joined
Aug 23, 2015
Messages
16
Reaction score
3
We can use QuickBMS for unpack .cfs (only unpack)
 
Last edited:
Skilled Illusionist
Joined
Jul 8, 2008
Messages
306
Reaction score
338
I found an interesting post on Xentax about .c9u file, member "Brouznouf" share his decode/encode tool src code :


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ConsoleApplication1
{
class Program
{

static void Main(string[] args)
{
Int32 mode;
//First Args the Mode
mode = Int32.Parse(args[0]);
//Second Args the C9U File
String c9uName = args[1];

byte testByte;
Int32 textSize;
FileStream c9u = File.Open(c9uName + ".c9u", FileMode.Open);
FileStream translateFile = File.Open(c9uName + "_translate_file.txt", FileMode.Create);
FileStream newC9u = File.Open(c9uName + ".new.c9u", FileMode.Create);
StreamReader lineReadFile = null;
if (mode != 0)
{
lineReadFile = File.OpenText(c9uName + "_line_file.txt");
}
BinaryWriter tWriter = new BinaryWriter(translateFile);
BinaryReader c9uReader = new BinaryReader(c9u, Encoding.Unicode);
BinaryWriter c9uWriter = new BinaryWriter(newC9u, Encoding.Unicode);

//On recherche une occurent de BaseFont
while (c9uReader.BaseStream.Position < c9uReader.BaseStream.Length)
{
testByte = c9uReader.ReadByte();
if (mode != 0) {
c9uWriter.Write(testByte);
}
if (testByte == 0x09 && ((c9uReader.BaseStream.Position + 12) < c9uReader.BaseStream.Length))
{
if (mode == 0) {
c9uReader.ReadBytes(3);
} else {
c9uWriter.Write(c9uReader.ReadBytes(3));
}
Int64 baseFont = c9uReader.ReadInt64();

if (mode != 0) {
c9uWriter.Write(baseFont);
}

if (baseFont == 8389765503978266946)
{
if (mode == 0)
{
c9uReader.ReadByte();
textSize = c9uReader.ReadInt32();

if (textSize > 0)
{
//c9uReader.ReadChar();
String text = new String(c9uReader.ReadChars(textSize));
//c9uReader.ReadChar();

tWriter.Write(text.ToCharArray());
tWriter.Write('\n');
}
}
else
{
c9uWriter.Write(c9uReader.ReadByte());

textSize = c9uReader.ReadInt32();

if (textSize > 0)
{
c9uReader.ReadChars(textSize);

String newText = lineReadFile.ReadLine();

c9uWriter.Write(newText.Length + 1);

c9uWriter.Write(newText.ToCharArray());
c9uWriter.Write('\0');
}
}
}
else
{
if (mode != 0)
{
c9uWriter.BaseStream.Seek(-11, SeekOrigin.Current);
}
c9uReader.BaseStream.Seek(-11, SeekOrigin.Current);
}
}
if (testByte == 0x0c && ((c9uReader.BaseStream.Position + 15) < c9uReader.BaseStream.Length))
{
if (mode == 0)
{
c9uReader.ReadBytes(3);
}
else
{
c9uWriter.Write(c9uReader.ReadBytes(3));
}
String baseFont = new String(c9uReader.ReadChars(12));

if (mode != 0)
{
c9uWriter.Write(baseFont.ToCharArray());
}

if (baseFont.Equals("BaseFontS12", StringComparison.InvariantCultureIgnoreCase))
{
if (mode == 0)
{
textSize = c9uReader.ReadInt32();

if (textSize > 0)
{
//c9uReader.ReadChar();
String text = new String(c9uReader.ReadChars(textSize));
//c9uReader.ReadChar();

tWriter.Write(text.ToCharArray());
tWriter.Write('\n');
}
}
else
{
c9uWriter.Write('\0');

textSize = c9uReader.ReadInt32();

if (textSize > 0)
{
c9uReader.ReadChars(textSize);

String newText = lineReadFile.ReadLine();

c9uWriter.Write(newText.Length + 1);

c9uWriter.Write(newText.ToCharArray());
c9uWriter.Write('\0');
}
}
}
else
{
if (mode != 0)
{
c9uWriter.BaseStream.Seek(-14, SeekOrigin.Current);
}
c9uReader.BaseStream.Seek(-14, SeekOrigin.Current);
}
}
}

c9uReader.Close();
}
}
}

Go to page 5 on the same post, member "Zhade" did a search on .c9t file :

 
Experienced Elementalist
Joined
Jan 21, 2015
Messages
235
Reaction score
202
:tongue: this picture release fist by @lastfun bro, in this topic ^^

hhhhhhh of course i know that but some commands here :)
anyway , does any one tried /admin commands
i saw picture that it bring up an admin tool window ,
i tried it but nothing happened maybe it need something from database ,
i dnt know
 
Newbie Spellweaver
Joined
Jan 30, 2011
Messages
9
Reaction score
0
hey i found how to get an item from the database
Divin3 - [RELEASE] CHS C9 Server Files - RaGEZONE Forums

u can see the cItemId table and in game u can use command
/itemkey [cItemId] [Number u want to get]
its like :
/itemkey 11175 1
its will give u a unique necklace . i tried to find skill book but i cant . can someone help
 
Junior Spellweaver
Joined
Jun 14, 2012
Messages
137
Reaction score
24
hey i found how to get an item from the database
Divin3 - [RELEASE] CHS C9 Server Files - RaGEZONE Forums

u can see the cItemId table and in game u can use command
/itemkey [cItemId] [Number u want to get]
its like :
/itemkey 11175 1
its will give u a unique necklace . i tried to find skill book but i cant . can someone help

Export the list to .txt or whatever you want and then translate them with google.
 
Newbie Spellweaver
Joined
Jan 27, 2015
Messages
46
Reaction score
5
hhhhhhh of course i know that but some commands here :)
anyway , does any one tried /admin commands
i saw picture that it bring up an admin tool window ,
i tried it but nothing happened maybe it need something from database ,
i dnt know

I post all Item ID translated in TUT topic of Juntoa
i only know some command like :
/enchant
/itemkey

BTW : what is ladderpoint ?

And i think question about command, item... we should talk in help topic or TUT
 
Status
Not open for further replies.
Back
Top