Post: [Release/.GSC] Makeshift Super Jump
06-23-2014, 10:14 AM #1
Taylor
Former Black Knight.
(adsbygoogle = window.adsbygoogle || []).push({});
Hello everybody!

As you may or may not know, the dvar jump_height (as well as a bunch of other dvars in black ops 1) is cheat protected. So, I made a makeshift super jump function to still bring the fun to the lobby. Yes, I am aware that you can disable cheat protection in memory but I see no point of that right now. So anyway, here is the code. Enjoy.

    
SuperJumpEnable()
{
self endon("disconnect");
self endon("StopJump");
for(;Winky Winky
{
if(self JumpButtonPressed() && !isDefined(self.allowedtopress))
{
for(i = 0; i < 10; i++)
{
self.allowedtopress = true;
self setVelocity(self getVelocity()+(0, 0, 999));
wait 0.05;
}
self.allowedtopress = undefined;
}
wait 0.05;
}
}
ToggleSuperJump()
{
if(!isDefined(!level.superjump))
{
level.superjump = true;
for(i = 0; i < level.players.size; i++)level.players[i] thread SuperJumpEnable();
}
else
{
level.superjump = undefined;
for(x = 0; x < level.players.size; x++)level.players[x] notify("StopJump");
}

self iPrintln("Super Jump "+boolText(level.superjump));
}
boolText(var)
{
if(isDefined(var))
return "Enabled";
else
return "Disabled";
}


Thanks, Taylor! Smile

The following 5 users say thank you to Taylor for this useful post:

A Friend, ImAzazel, iNDMx, WeJailbreakYou
06-24-2014, 12:06 PM #2
Originally posted by Taylor View Post
Hello everybody!

As you may or may not know, the dvar jump_height (as well as a bunch of other dvars in black ops 1) is cheat protected. So, I made a makeshift super jump function to still bring the fun to the lobby. Yes, I am aware that you can disable cheat protection in memory but I see no point of that right now. So anyway, here is the code. Enjoy.

    
SuperJumpEnable()
{
self endon("disconnect");
self endon("StopJump");
for(;Winky Winky
{
if(self JumpButtonPressed() && !isDefined(self.allowedtopress))
{
for(i = 0; i < 10; i++)
{
self.allowedtopress = true;
self setVelocity(self getVelocity()+(0, 0, 999));
wait 0.05;
}
self.allowedtopress = undefined;
}
wait 0.05;
}
}
ToggleSuperJump()
{
if(!isDefined(!level.superjump))
{
level.superjump = true;
for(i = 0; i < level.players.size; i++)level.players[i] thread SuperJumpEnable();
}
else
{
level.superjump = undefined;
for(x = 0; x < level.players.size; x++)level.players[x] notify("StopJump");
}

self iPrintln("Super Jump "+boolText(level.superjump));
}
boolText(var)
{
if(isDefined(var))
return "Enabled";
else
return "Disabled";
}


Thanks, Taylor! Smile



U suk

The following user thanked Black Panther for this useful post:

06-26-2014, 12:38 PM #3
Eddie Mac
At least I can fight
Originally posted by Taylor View Post
Hello everybody!

As you may or may not know, the dvar jump_height (as well as a bunch of other dvars in black ops 1) is cheat protected. So, I made a makeshift super jump function to still bring the fun to the lobby. Yes, I am aware that you can disable cheat protection in memory but I see no point of that right now. So anyway, here is the code. Enjoy.

    
SuperJumpEnable()
{
self endon("disconnect");
self endon("StopJump");
for(;Winky Winky
{
if(self JumpButtonPressed() && !isDefined(self.allowedtopress))
{
for(i = 0; i < 10; i++)
{
self.allowedtopress = true;
self setVelocity(self getVelocity()+(0, 0, 999));
wait 0.05;
}
self.allowedtopress = undefined;
}
wait 0.05;
}
}
ToggleSuperJump()
{
if(!isDefined(!level.superjump))
{
level.superjump = true;
for(i = 0; i < level.players.size; i++)level.players[i] thread SuperJumpEnable();
}
else
{
level.superjump = undefined;
for(x = 0; x < level.players.size; x++)level.players[x] notify("StopJump");
}

self iPrintln("Super Jump "+boolText(level.superjump));
}
boolText(var)
{
if(isDefined(var))
return "Enabled";
else
return "Disabled";
}


Thanks, Taylor! Smile




Or you could just set the jump_height at its offset lol?

Jump_height
0x008CF430
ON- 0x49, 0x00, 0x00
OFF- 0x42, 0x9c, 0x00
06-26-2014, 12:41 PM #4
Taylor
Former Black Knight.
Originally posted by 00 View Post
Or you could just set the jump_height at its offset lol?

Jump_height
0x008CF430
ON- 0x49, 0x00, 0x00
OFF- 0x42, 0x9c, 0x00


Considering this isn't RTM. Did you even read the code? It's gsc.
06-26-2014, 12:46 PM #5
Eddie Mac
At least I can fight
Originally posted by Taylor View Post
Considering this isn't RTM. Did you even read the code? It's gsc.


Yes i know it's .gsc lol but why would you do all that when you can just set one offset, no hate just saying.
06-26-2014, 12:48 PM #6
Taylor
Former Black Knight.
Originally posted by 00 View Post
Yes i know it's .gsc lol but why would you do all that when you can just set one offset, no hate just saying.


Because it's not meant for RTM use. The only use of RTM is for gsc injection. The rest is handled by the game, I want a use to be able to select an option through the menu (Toggle Super Jump) and for it to enable. Simple as that.

The following user thanked Taylor for this useful post:

Eddie Mac
06-26-2014, 12:50 PM #7
Eddie Mac
At least I can fight
Originally posted by Taylor View Post
Because it's not meant for RTM use. The only use of RTM is for gsc injection. The rest is handled by the game, I want a use to be able to select an option through the menu (Toggle Super Jump) and for it to enable. Simple as that.


Fair enough, Well good stuff then :p Hope to see more of .gsc on this game. How would you connect to other players tho if using .gsc?
06-26-2014, 12:53 PM #8
Taylor
Former Black Knight.
Originally posted by 00 View Post
Fair enough, Well good stuff then :p Hope to see more of .gsc on this game. How would you connect to other players tho if using .gsc?


Jake/aerosoul are working on patching the VM so the game doesn't check for a raw file mismatch.
06-26-2014, 12:55 PM #9
Eddie Mac
At least I can fight
Originally posted by Taylor View Post
Jake/aerosoul are working on patching the VM so the game doesn't check for a raw file mismatch.


For sure, well that would be pretty sick to see black ops brought back to life a bit.

The following 2 users say thank you to Eddie Mac for this useful post:

A Friend, TreyarchTragedy
06-26-2014, 06:47 PM #10
SC58
Former Staff
Well making a ghetto gsc code for each dvar that is blocked is dumb tbh

i made a eboot with most useful Dvar's re enabled to work again so you can just do set jump_height 999 or whatever lol

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo