Register for your free account! | Forgot your password?

You last visited: Today at 17:23

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



read/write play.dat

Discussion on read/write play.dat within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
read/write play.dat

i can't call this encrypt/decrypt...

Quote:
if (args == null || args.Length == 0)
{
Console.WriteLine("Please insert the file.");
Console.ReadKey();
return;
}

Console.WriteLine("Please select the option:");
Console.WriteLine("1.Encrypt");
Console.WriteLine("2.Decrypt");

byte[] data = File.ReadAllBytes(args[0]);
int option = 0;
if (int.TryParse(Console.ReadLine(), out option))
{
switch (option)
{
case 1:
{
for (int x = 0; x < data.Length; x++)
data[x] = (byte)(data[x] - 250);
break;
}
case 2:
{
for (int x = 0; x < data.Length; x++)
data[x] = (byte)(data[x] + 250);
break;
}
}
File.WriteAllBytes(args[0], data);
}
Console.WriteLine("Done.");

Console.ReadKey();
teroareboss1 is offline  
Reply


Similar Threads Similar Threads
cant play cabal my computer cant read .dat file
06/28/2008 - Cabal Online - 0 Replies
what do i need to download to get it working..??
How to open .dat file(monster.dat, levelexp.dat)
10/28/2006 - Conquer Online 2 - 5 Replies
someone can tell me how to open .dat file i search but didint fing nothing
Automatic itemtype.dat and monster.dat changer.
10/02/2006 - CO2 Exploits, Hacks & Tools - 5 Replies
Automatic itemtype.dat and monster.dat changer. (to turn item quality on ground detection on/off and to shink guards/reborn guards on/off) Ok. All you gotta do is put it into your conquer 'ini' directory, if you installed conquer to its default path it would be C:&#092;Program Files&#092;Conquer 2.0&#092;ini&#092; then all you need to do is run Item+Monster.bat every time u want it to swap around. (probally for quick use, chuck a short cut on your desktop like i have :P)
server.dat/version.dat back upfiles
04/19/2006 - Conquer Online 2 - 3 Replies
Hi, could anyone please post some back up files of the .dats mentioned in the thread name? i kind of screwed it all up when geting Qo to work :P thnx in advance, pokey :)
New Item.dat / Monster.dat Needed
12/23/2005 - Conquer Online 2 - 7 Replies
ayyy will anyone upgdate the monster and item.dat files cause since dec 21 server maintenace and the update them two files dont work no more :?



All times are GMT +1. The time now is 17:23.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.