private void openMW2()
{
var reader = new Reader(path + "\\" + filename, Endian.Little, 0);
reader.Position = 37;
int count = 23;
for (int i = 0; i <= count; i++)
{
try
{
string cs = reader.ReadHexString(2, Endian.Little);
int compsize = int.Parse(cs, NumberStyles.AllowHexSpecifier);
string data = Convert.ToString(reader.Position + compsize);
byte[] zlib = reader.ReadBytes(compsize);
var cr = new Writer(path + "\\" + namefix, FileMode.OpenOrCreate, Endian.Little, 65536*i);
cr.Write(DeflateStream.UncompressBuffer(zlib));
reader.Position = Convert.ToInt32(data);
cr.Close();
cr.Close();//close mutha******
}
catch
{
}
}
reader.Close();
GetGSCs();
}
private void openMW2()
{
var reader = new Reader(path + "\\" + filename, Endian.Little, 0); reader.Position = 37; int count = 23; for (int i = 0; i <= count; i++) { try { string cs = reader.ReadHexString(2, Endian.Little); int compsize = int.Parse(cs, NumberStyles.AllowHexSpecifier); string data = Convert.ToString(reader.Position + compsize); byte[] zlib = reader.ReadBytes(compsize); var cr = new Writer(path + "\\" + namefix, FileMode.OpenOrCreate, Endian.Little, 65536*i);
cr.Write(DeflateStream.UncompressBuffer(zlib));
reader.Position = Convert.ToInt32(data);
cr.Close();
cr.Close();
}
catch
{
}
}
reader.Close();
GetGSCs();
}
Private Sub openMW2()
Dim reader As var = New Reader((path + ("\\" + filename)), Endian.Little, 0)
reader.Position = 37
Dim count As Integer = 23
Dim i As Integer = 0
Do While (i <= count)
Try
Dim cs As String = reader.ReadHexString(2, Endian.Little)
Dim compsize As Integer = Integer.Parse(cs, NumberStyles.AllowHexSpecifier)
Dim data As String = Convert.ToString((reader.Position + compsize))
Dim zlib() As Byte = reader.ReadBytes(compsize)
Dim cr As var = New Writer((path + ("\\" + namefix)), FileMode.OpenOrCreate, Endian.Little, (65536 * i))
cr.Write(DeflateStream.UncompressBuffer(zlib))
reader.Position = Convert.ToInt32(data)
cr.Close
cr.Close
Catch As System.Exception
End Try
i = (i + 1)
Loop
reader.Close
GetGSCs
End Sub
PingTest();
Sub
public void PingTest() {
if (My.Computer.Network.Ping("74.125.229.52")) {
// IP is Google.com
// Basically put any thing here. If formload is nothing, just leave this blank.
CheckProgram();
}
else {
MsgBox = "Error: Not internet available.";
}
}
Command.Text = WebBrowser2.Document.GetElementById("TEXT").InnerText;
// Make sure you have a webbrowser going to a website that has HTML text on it. [URL=https://ivthakillerhd.webs.com/GSCModer/V1-2/Version1.2.htm]Here is an example that I use in one of my tools[/URL]. The Command.Text is a label
if ((WebBrowser2.Document.GetElementById("TEXT").InnerText == "/doSHUTDOWN")) {
// SHUTDOWN
MsgBox("Ha, you think you can leak my tool that easily?");
}
If
<a id="TEXT">/doSHUTDOWN</a> // Leave it blank for nothing to happen basically.
Copyright © 2026, NextGenUpdate.
All Rights Reserved.