ItsMods

Full Version: HC respawn delay fixer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
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

CSHARP Code
  1. using System;
  2. using System.Runtime.InteropServices;
  3. using Addon;
  4.  
  5. namespace RespawnDelay
  6. {
  7. public class Class1 : CPlugin
  8. {
  9. [DllImport("kernel32.dll", SetLastError = true)]
  10. public static extern bool WriteProcessMemory(IntPtr hProcess, int lpBaseAddress, byte[] lpBuffer, int nSize, out int lpNumberOfBytesWritten);
  11.  
  12. public override void OnServerLoad()
  13. {
  14. int dwout = 0;
  15.  
  16. byte[] bytes = { 0x90, 0x90, 0x90, 0x90, 0x90 };
  17. WriteProcessMemory(((IntPtr)(-1)), 0x004F3024, bytes, bytes.Length, out dwout);
  18.  
  19. ServerPrint("Plugin: Respawn delay fixer by Nukem loaded.");
  20. }
  21. }
  22. }
(02-04-2012, 17:10)Nukem Wrote: [ -> ]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.204 or higher

Thanks Nukem. Play on hardcore unranked can be more fun.

Greetings
thats nice Big Grin, but i cant host a server -> nat type moderate ffs
Thanks you Nukem at last HC without the respawn delay.

you made this in a plugin good work. Can you post the source code? im interested.
EDIT: Thanks for the source code.
Thnks nukem. but is there anyway to disable ff (friendly fire) and enable killcam in hardcore mode?
(02-04-2012, 17:10)Nukem Wrote: [ -> ]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.204 or higher

[Image: clap-animated-animation-clap-smiley-emot...-large.gif]

A VERY BIG THANK YOU!!!

Thank you so much for this, and all your other hard work. Very much appreciated by all our clan, and people who play on our server.

Fuck activision for making everything so hard!

Thanks again Nukem.
Are you releasing the source of the plugin? I'm curious about the offsets, as I'm trying to put together a sort of HC fix (enabled killcam, disabled or at least reduced respawn time and probably disabled friendly fire) and I had no luck finding the respawn delay. Thanks and keep up the good work!
Due to requests the code for the plugin has been posted.
Pages: 1 2 3 4 5