try
{
Memory m = new Memory("nwmain"); // <- A custom wrapper class.
if (m.ProcessLoaded)
{
IntPtr i = m.ProcessHeld.Handle;
IntPtr i2 = new IntPtr((uint)m.ProcessHeld.MainWindowHandle + 0x004D4AF7);
byte[] b = { 0x84, 0xF2, 0x06 };
m.WriteByteArray(m.ProcessHeld.Handle, i2, b);
}
m = null;
}
catch (Exception eA)
{
}
0x004D4AF7 = the offset where the master server connection is configured from.
If you change the 3 bytes at that location to be
84 f2 06 it will stop you from getting that long delay.
If you are scripting savvy, or programmer savvy.
You can use this code, to actually disable the Master Server connection.
I use it in a personal application of mine, that runs at the same time as NWN.
It modifies the active memory, to disable the server authentication.
You should be able to set this up in Visual Studio c# express
Modifié par Baaleos, 08 juin 2012 - 03:52 .