|
You last visited: Today at 14:48
Advertisement
[RELEASE] Grimoire
Discussion on [RELEASE] Grimoire within the Rappelz Private Server forum part of the Rappelz category.
09/12/2015, 17:36
|
#1
|
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
|
Nulled
Nulled
|
|
|
09/12/2015, 19:39
|
#2
|
elite*gold: 0
Join Date: Oct 2013
Posts: 474
Received Thanks: 41
|
thanx :*
|
|
|
09/12/2015, 21:10
|
#3
|
elite*gold: 0
Join Date: Nov 2011
Posts: 978
Received Thanks: 1,011
|
Quote:
Originally Posted by SilentWisdom
Special Thanks
- gr4ph0s and Raskim for being my faithful haters 
|
my Favorite Part :P
Will have a look on it and you will get my Opinion about it here ;D
Edit: First try and found a nooby fail :P
Anyway... even IF you just copied another Project, it cost's time and you get a lil thanks xD
|
|
|
09/12/2015, 22:18
|
#4
|
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
|
Quote:
Originally Posted by TheOnlyOneRaskim
my Favorite Part :P
Will have a look on it and you will get my Opinion about it here ;D
Edit: First try and found a nooby fail :P
Anyway... even IF you just copied another Project, it cost's time and you get a lil thanks xD
|
The project was written from scratch (the only borrowed code is XOR.cs and StringCipher.cs
The error isn't due to the '/\' (through testing I've found the computer couldn't care less abotu that), before I released I added 'File.Exists' checks for loading dataXXX files and input files etc, but there was no reason for if (File.Exists(outPath)){File.Delete(outPath);} else { //MessageBox Error } as it only checks for the file to delete it if it does exist. However, thanks for the heads up, can't catch all mistakes :P
OLD Code:
Code:
public static void ExportFile(ref BackgroundWorker exportWorker, string dataXXX_path, string outPath, int offset, int length)
{
if (File.Exists(dataXXX_path))
{
using (FileStream dataXXX_stream = new FileStream(dataXXX_path, FileMode.Open, FileAccess.Read))
{
dataXXX_stream.Position = offset;
byte[] fileBytes = new byte[length];
dataXXX_stream.Read(fileBytes, 0, length);
if (XOR.Encrypted(Path.GetExtension(outPath).Remove(0, 1)))
{
byte b = 0;
XOR.Cipher(ref fileBytes, ref b);
}
if (File.Exists(outPath)) { File.Delete(outPath); }
else { MessageBox.Show(string.Format("Cannot locate:\n{0}", outPath), "Data000 ExportFile Exception", MessageBoxButtons.OK, MessageBoxIcon.Error); return; }
using (BinaryWriter bw = new BinaryWriter(File.Create(outPath), Encoding.Default))
{
//Set the chunkSize to 2% of the total bytes in the file
int chunkSize = Math.Max(64000, (int)(length * .02));
//Set maximum of 'ProgressBar'
exportWorker.ReportProgress(99, length);
//Foreach byteCount if the count is below the fileLength
for (int byteCount = 0; byteCount < length; byteCount += Math.Min(length - byteCount, chunkSize))
{
bw.Write(fileBytes, byteCount, Math.Min(length - byteCount, chunkSize));
exportWorker.ReportProgress(100, byteCount);
}
}
}
}
else { MessageBox.Show(string.Format("Cannot locate:\n{0}", dataXXX_path), "Data000 ExportFile Exception", MessageBoxButtons.OK, MessageBoxIcon.Error); }
}
NEW code:
Code:
public static void ExportFile(ref BackgroundWorker exportWorker, string dataXXX_path, string outPath, int offset, int length)
{
if (File.Exists(dataXXX_path))
{
using (FileStream dataXXX_stream = new FileStream(dataXXX_path, FileMode.Open, FileAccess.Read))
{
dataXXX_stream.Position = offset;
byte[] fileBytes = new byte[length];
dataXXX_stream.Read(fileBytes, 0, length);
if (XOR.Encrypted(Path.GetExtension(outPath).Remove(0, 1)))
{
byte b = 0;
XOR.Cipher(ref fileBytes, ref b);
}
if (File.Exists(outPath)) { File.Delete(outPath); }
using (BinaryWriter bw = new BinaryWriter(File.Create(outPath), Encoding.Default))
{
//Set the chunkSize to 2% of the total bytes in the file
int chunkSize = Math.Max(64000, (int)(length * .02));
//Set maximum of 'ProgressBar'
exportWorker.ReportProgress(99, length);
//Foreach byteCount if the count is below the fileLength
for (int byteCount = 0; byteCount < length; byteCount += Math.Min(length - byteCount, chunkSize))
{
bw.Write(fileBytes, byteCount, Math.Min(length - byteCount, chunkSize));
exportWorker.ReportProgress(100, byteCount);
}
}
}
}
else { MessageBox.Show(string.Format("Cannot locate:\n{0}", dataXXX_path), "Data000 ExportFile Exception", MessageBoxButtons.OK, MessageBoxIcon.Error); }
}
|
|
|
09/12/2015, 23:35
|
#5
|
elite*gold: 0
Join Date: Jul 2012
Posts: 227
Received Thanks: 65
|
Well done, but one thing. You switched the links of the source & the .exe after updating the thread, complaints will come if you don't fix it
|
|
|
09/12/2015, 23:57
|
#6
|
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
|
Quote:
Originally Posted by eziorav
Well done, but one thing. You switched the links of the source & the .exe after updating the thread, complaints will come if you don't fix it 
|
Corrected, thank you!
|
|
|
09/13/2015, 20:08
|
#7
|
elite*gold: 0
Join Date: Apr 2012
Posts: 99
Received Thanks: 35
|
Tanks a lot, it's a nice tool .
|
|
|
09/14/2015, 18:44
|
#8
|
elite*gold: 0
Join Date: Oct 2012
Posts: 101
Received Thanks: 83
|
Nice release.
|
|
|
12/10/2015, 11:19
|
#9
|
elite*gold: 50
Join Date: Mar 2012
Posts: 1,038
Received Thanks: 430
|
This tool is realy fast if u compare it with others
|
|
|
12/10/2015, 16:37
|
#10
|
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
|
Quote:
Originally Posted by needsellfast
This tool is realy fast if u compare it with others
|
Thank you so much, wait til you see Grimoire v2 powered by DataCore v3
The current one is powered by v1 of datacore :P v3 is about x3 faster
|
|
|
02/04/2020, 06:45
|
#11
|
elite*gold: 0
Join Date: Jan 2016
Posts: 23
Received Thanks: 1
|
People are awesome who are in this forum..!
Thank you for this brilliant release..
|
|
|
02/04/2020, 16:03
|
#12
|
elite*gold: 0
Join Date: Jul 2015
Posts: 479
Received Thanks: 639
|
Quote:
Originally Posted by brkhnsvr94
People are awesome who are in this forum..!
Thank you for this brilliant release.. 
|
DO NOT USE
See 'Grimoire v4' in my signature
|
|
|
02/04/2020, 18:28
|
#13
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,916
Received Thanks: 1,492
|
Should I close this thread out so it stops getting bumped?
|
|
|
Similar Threads
|
Grimoire Heart Clan Open Recruitment
01/25/2011 - Facebook - 1 Replies
Join Us Now
we only create this clan 3 days ago and now we already in rank 609
Sent a massage to http://www.facebook.com/profile.php?id=10000074174 6842
with this format
ID Ninja Saga :
Current Tokens :
Country :
OL Hours/Day :
|
All times are GMT +1. The time now is 14:48.
|
|