Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Explosive Bullets
#1
Simply enables explsoive bullets (like the Osprey Gunner bullets)

- Requirements:
Addon v1.251+

Video:


Source code:
CSHARP Code
  1. using System;
  2. using Addon;
  3. using System.Runtime.InteropServices;
  4.  
  5. namespace ExplosiveBullets
  6. {
  7. public class ExBullets : 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 };
  17. byte[] dembytes = { 0xC3 };
  18. WriteProcessMemory(((IntPtr)(-1)), 0x0046C1E3, bytes, bytes.Length, out dwout);
  19. WriteProcessMemory(((IntPtr)(-1)), 0x0046C1E9, bytes, bytes.Length, out dwout);
  20. WriteProcessMemory(((IntPtr)(-1)), 0x0046B624, dembytes, dembytes.Length, out dwout);
  21.  
  22. ServerPrint("Plugin: Explosive Bullets by Nukem loaded.");
  23. }
  24. }
  25. }




Attached Files
.zip   ExplosiveBullets.zip (Size: 1.92 KB / Downloads: 235)
[Image: b_560_95_1.png]
Reply

#2
omg, that's good !

Video/Screenshot?

C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
(01-21-2012, 19:44)Se7en Wrote: omg, that's good !

Video/Screenshot?

You can't really show a screenshot of this...and I have nothing to record a video for this.
[Image: b_560_95_1.png]
Reply

#4
Theater mode.
Reply

#5
i tested it with him and it is like HC ricochet but awesomeness involved.
Reply

#6
Explsoive
[Image: MaEIQ.png]
Reply

#7
I use an interpreter and I can not understand what it is.
You can plug more describe and give the command?
Reply

#8
(01-21-2012, 21:47)gato Wrote: I use an interpreter and I can not understand what it is.
You can plug more describe and give the command?

It writes to its own memory, that's all there is.
You need to have the adress and a value to change the adress to in able to do this process.
Reply

#9
nukem better do a no-knife plugin that will be the best for sniper servers
Reply

#10
Code & DLL updated, the turret error should be fixed now.
[Image: b_560_95_1.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Make ac130 shoot custom bullets Ra3shed 0 2,726 07-23-2013, 13:02
Last Post: Ra3shed
  Help Explosive Bullets Wallbang yoloman 3 5,033 05-13-2013, 21:58
Last Post: Yamato
Heart Help give points for the deaths of bullets [HARD] Tony. 11 6,636 03-11-2013, 19:02
Last Post: Nekochan
  [Request] Explosive bullets toggle mod One90NL 3 3,394 01-23-2013, 18:47
Last Post: surtek
  secondary weapon without bullets? kpoviv 0 1,838 07-22-2012, 21:51
Last Post: kpoviv
  [Request] spread of the bullets alex2477 1 2,154 03-09-2012, 10:40
Last Post: d0h!
  Preview Mw3 Explosive Bullets Video barata 7 5,791 01-22-2012, 14:53
Last Post: barata
  Help Explosive Bullets Error Tylerd86 2 62,282 01-22-2012, 02:29
Last Post: Tylerd86
  How i can put the explosive munition FreeD 2 30,455 12-23-2011, 19:25
Last Post: krijnrien
  [Release] Explosive Barrels Yamato 0 1,993 07-20-2011, 16:48
Last Post: Yamato

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.