A noob , as you've said , at least he's helping people . Unless your worthless comment which creating a false point 100%. If he's a noob , we should teach him how to manage these ***** , To become a pro.
"we should teach him how to manage these *****, to become a pro..." xDDD WE SHOULD xDDD No you wont. Coz youre a little soft rabbit too. ^^
You will have troubles if there are multiple files with the same name and taking count that his searching method for a single file it's too slow O(n) everytime.
we are getting reports that the files were infected on the new version, so for transparency reasons, im restoring the old links and files and removing the new one that REALLY didnt need to get updated
I have written a better implementation for READING and WRITING into a Pk2 Stream directly from C#, it's faster for searching although it does a lot initializing because of the writing stuffs. I sliced a bit of my time to fix everything a few hours ago, so everyone is able to be use it without worries.
Not sure if I should make a new thread just for this library so I'm just leaving a reference to the and a little code example for a full usage:
PHP Code:
using (var pk2 = new Pk2Stream("C:\\Silkroad\\VSRO_Client\\Media.pk2", "169841", FileMode.Open))
{
// File content
var file = pk2.GetFile("Type.txt");
var bytes = file.GetContent();
Console.WriteLine(Encoding.UTF8.GetString(bytes) + Environment.NewLine);
// List files from root folder
var root = pk2.GetFolder("");
Console.WriteLine("Files:");
foreach (var path in root.Files.Keys)
{
Console.WriteLine(" - " + path);
}
// List folders from root folder
Console.WriteLine("Folders:");
foreach (var path in root.Folders.Keys)
{
Console.WriteLine(" - " + path);
}
[Release] Der Reader 12/22/2013 - Metin2 PServer Guides & Strategies - 130 Replies Guten Abend Volk.
Ich Präsentiere euch heute Der Reader.
Was zum Teufel ist Der Reader?!
Der Reader ist ein Tool was euch hilft Archiver für fremde Client´s zu erstellen.
Was ließt er aus?
Er ließt folgendes aus:
[Release]Base Reader 02/27/2013 - Last Chaos - 39 Replies Hey,
Ich hatte mir gestern die Engine.dll mal genaue angeschaut und einige interessante Funktionen gefunden! Gleich mal ein kleines Tool gebastelt das die besagten Funktionen ausliest.
Screenshot :
http://grabilla.com/02b03-725bc792-1eca-43e3-bc45 -68b3e31abc17.png
Download
[Release] Compose Log Reader - PHP 09/28/2012 - EO PServer Guides & Releases - 9 Replies Since alot of servers lately that I have seen are over ran with auto composing, I figured I would create something that allows
server owners and their staff to check the compose logs easier than using notepad.
What this does:
Owners put their compose logs in the folder, and go to the index.php page, enter the name of the file, example: sacrifice 2012-9-20.log
Then hit the "Run" buttonNote: if your compose log is huge, this may take some time to insert the data. The script
goes through...
[Release] IniFile Reader! 02/27/2012 - CO2 PServer Guides & Releases - 15 Replies Greetings Guys,
I was bored so I made a dll to read your Ini files.
all you need is to add the dll as a reference to your project and start using it.
an example:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;