At the request of some people, here it is.
Does as the title says: Fixes the respawn delay in hardcore modes.
Requirements:
- Server addon version v1.251 or higher
Does as the title says: Fixes the respawn delay in hardcore modes.
Requirements:
- Server addon version v1.251 or higher
Code:
using System;
using System.Runtime.InteropServices;
using Addon;
namespace RespawnDelay
{
public class Class1 : CPlugin
{
[DllImport("kernel32.dll", SetLastError = true)]
public static extern bool WriteProcessMemory(IntPtr hProcess, int lpBaseAddress, byte[] lpBuffer, int nSize, out int lpNumberOfBytesWritten);
public override void OnServerLoad()
{
int dwout = 0;
byte[] bytes = { 0x90, 0x90, 0x90, 0x90, 0x90 };
WriteProcessMemory(((IntPtr)(-1)), 0x004F3024, bytes, bytes.Length, out dwout);
ServerPrint("Plugin: Respawn delay fixer by Nukem loaded.");
}
}
}


, but i cant host a server -> nat type moderate ffs