Post: [1.07/Script] Call of Duty: Ghosts All Client Jetpack Mod
02-03-2014, 03:20 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); hey NGU,

Today I was playing Daft Vaders Patch on COD4 and was having a little fun with his 'Jetpack' Mod. So I figured I 'remake' it for Ghosts! Now before I get into all the shitty coding... I have some disclaimers: First off, this doesn't include the fancy hud elements where the fuel meter displays how much 'Fuel' is left... also, when using this, you're going to want to put on some dvars or something to protect against fall damage because fall from big height = owchie. So let's get into the shit coding. Also, I Do Not allow this script on any other Website


How to use:
    
Just press X to jump and blast off Winky Winky
If you're coming down from 'Space' just press X to go back up before you hit the ground Smile


First off, you're going to need some sort of You must login or register to view this content. that can monitor the X button...

My dpad handling will work Winky Winky

    
public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public static bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.GetBytes(0x38A91A52 + ((uint)client * 0x6EA00), 2), 0) == Button)
return true;
else return false;
}


Next you will this script.

    
public uint findPS(int client)
{
return 0x00F21C30 + ((uint)client * 0x3600);
}

public void JetPack(int client)
{
float jH = PS3.Extension.ReadFloat(findPS(client));
jH += 130;
PS3.Extension.WriteFloat(findPS(client), jH);
}


And lastly if you don't know just use it in a background worker or timer like this...

    
for (int i = 0; i < 2; i++)
{
if (ButtonPressed(i, Buttonz.Cross))//You can take the for loop out if you want it for a specific client or whatever just replace I with the client number...
{
JetPack(i);
}
}


Also, if you're not using PS3Lib v4.. then you should, but if you don't want to just replace all the PS3 coding with yours.

If you want to quickly test this here is a tool I made
You must login or register to view this content.
You must login or register to view this content.

Source Code for the C# File...

    
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using PS3Lib;

namespace Jetpack_Mod
{
public partial class Form1 : Form
{
public PS3API PS3 = new PS3API();
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
PS3.ConnectTarget();
PS3.AttachProcess();
button1.Text = "Connected Pls";
}
public uint findPS(int client)
{
return 0x00F21C30 + ((uint)client * 0x3600);
}
public class Buttonz
{
public static int
DpadUp = 13617,
DpadDown = 14129,
DpadLeft = 14641,
DpadRight = 12594,
Cross = 13618,
Square = 12593,
Circle = 13106,
R2 = 53,
R1 = 49,
L2 = 55,
L1 = 13105,
L3 = 57,
R3 = 14130;
}
public bool ButtonPressed(int client, int Button)
{
if (BitConverter.ToInt16(PS3.GetBytes(0x38A91A52 + ((uint)client * 0x6EA00), 2), 0) == Button)
return true;
else return false;
}
private void button2_Click(object sender, EventArgs e)
{
PS3.SetMemory(0x50f708, new byte[] { 0x28, 0x04, 0x00, 0x01 });
timer1.Start();
}
public void JetPack(int client)
{
float jH = PS3.Extension.ReadFloat(findPS(client));
jH += 130;
PS3.Extension.WriteFloat(findPS(client), jH);
}
private void timer1_Tick(object sender, EventArgs e)
{
for (int i = 0; i < 2; i++)
{
if (ButtonPressed(i, Buttonz.Cross))
{
JetPack(i);
}
}
}

private void Form1_Load(object sender, EventArgs e)
{

}

}
}



Credits
    
Me.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 13 users say thank you to Black Panther for this useful post:

-SuperMan, $ticky, ErasedDev, djscoopOwnz, EternalHabit, M-alShammary, Mango_Knife, John, Notorious, xProvXKiller, Source Code, Taylors Bish, xBeaTzMoDz
02-03-2014, 08:44 PM #11
Originally posted by Knife View Post
Nice work man
And if you dont want 'Fall Damage'
Just use no fall damage offset Awesome face


Lol I didn't know what it was at the time
02-03-2014, 08:53 PM #12
Originally posted by Devastation View Post
the magic carpet sounds better :S


Shudup fgt
02-04-2014, 03:54 PM #13
Originally posted by iNCSx View Post
very nice bro <3 Good Job


Thanks

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo