View Full Version : .u retlock aint working!!! :(
RuffianSoldier
18th June 2005, 23:32
So, last night Kizzamp and dtp' were helping me make a hack - just a simple norecoil .u for testing purposes.
Today I added retlock - the compilation was fine, I know the scripts are right, and I type my exec command in console - seems fine - but I dont have retlock.
Here is all the stuff in my .uc that has to do with retlock:
var config bool bretlock;
var config bool bperfectaim;
function Retlock (Pawn me)
{
if ( bperfectaim )
{
R6Weapons.m_stAccuracyValues.fAccuracyChange = 0.0;
R6Weapons.m_stAccuracyValues.fReticuleTime = 0.1;
R6Weapons.m_stAccuracyValues.fRunningAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fShuffleAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingFastAccuracy = 0.0;
me.EngineWeapon.PerfectAim();
}
}
exec function lret ()
{
bperfectaim = !bperfectaim;
}
What did I do wrong?
XeiaieX Jigsaw
18th June 2005, 23:48
pretty sure the function cant start with a number
DotProduct
18th June 2005, 23:54
make sure its sumwehre thats called at least once..
RuffianSoldier
19th June 2005, 00:14
what do you mean? the function doesnt start with a number........
dtp can you explain a bit more?
I looked through like 4 .u hacks I had to see if they have soemthing mine doesnt - I dont see anything else I need.
Well, I tried adding godmode and speedhack but those didnt work either.
I dont know what im doing wrong :-/
DotProduct
19th June 2005, 00:40
let me know if you need any more help..
superdupe
19th June 2005, 00:41
can be what XELELEX has learned during his long journey as a professional single player hacking career... im not too sure if an exec can start with a number...
but like deeteepee said , that function has to be placeed within another function which gets called at least once by the game
RuffianSoldier
19th June 2005, 00:55
I got Speedhack working - But God and Retlock dont work.
Here is what I have:
class R6Consolel extends R6Console config(lR6Game);
var config bool bnorecoil;
var config bool bperfectaim;
var config bool bspeedhack;
var config bool bgodmode;
var Pawn Me;
var PlayerController MyController;
var MyInteraction MyInteraction;
var Canvas MyCanvas;
var R6Weapons R6Weapons;
var R6Pawn R6Pawn;
event Tick (float Delta)
{
Super.Tick(Delta);
MyController = ViewportOwner.Actor;
if ( MyInteraction == None )
{
MyInteraction = MyInteraction(MyController.Player.InteractionMaste r.AddInteraction("lR6Game.MyInteraction", MyController.Player));
MyInteraction.R6Consolel = self;
}
}
function MyPostRender (Canvas Canvas)
{
MyCanvas=Canvas;
if (!bnorecoil)
R6PlayerController(MyController).m_bShakeactive=tr ue;
if (bnorecoil)
R6PlayerController(MyController).m_bShakeactive=fa lse;
if (bperfectaim)
R6Weapons.m_stAccuracyValues.fAccuracyChange = 0.0;
R6Weapons.m_stAccuracyValues.fReticuleTime = 0.1;
R6Weapons.m_stAccuracyValues.fRunningAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fShuffleAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingFastAccuracy = 0.0;
me.EngineWeapon.PerfectAim();
if (bgodmode)
R6Pawn(me).ServerForceKillResult(10000);
R6Pawn(me).m_iForceKill = 10000;
R6Pawn.ServerGod(True,True,True,MyController.Playe rReplicationInfo.PlayerName,True);
if (bspeedhack)
R6Pawn(me).ServerSetRoundTime(1000);
R6PlayerController(MyController).SetCrouchBlend(10 00.0);
R6Pawn.ServerSetBetTime(1000);
R6PlayerController(MyController).ServerSetCrouchBl end(1000.0);
R6Pawn.SetCrouchBlend(1000.0);
R6Pawn(me).SetCrouchBlend(1000.0);
R6Pawn(me).ServerSetBetTime(1000);
R6Pawn.ServerSetRoundTime(1000);
}
exec function lrec ()
{
bnorecoil = !bnorecoil;
}
exec function lret ()
{
bperfectaim = !bperfectaim;
}
exec function lspe ()
{
bspeedhack = !bspeedhack;
}
exec function lgod ()
{
bgodmode = !bgodmode;
}
Fluid
19th June 2005, 02:01
I got Speedhack working - But God and Retlock dont work.
Here is what I have:
class R6Consolel extends R6Console config(lR6Game);
var config bool bnorecoil;
var config bool bperfectaim;
var config bool bspeedhack;
var config bool bgodmode;
var Pawn Me;
var PlayerController MyController;
var MyInteraction MyInteraction;
var Canvas MyCanvas;
var R6Weapons R6Weapons;
var R6Pawn R6Pawn;
event Tick (float Delta)
{
Super.Tick(Delta);
MyController = ViewportOwner.Actor;
if ( MyInteraction == None )
{
MyInteraction = MyInteraction(MyController.Player.InteractionMaste r.AddInteraction("lR6Game.MyInteraction", MyController.Player));
MyInteraction.R6Consolel = self;
}
}
function MyPostRender (Canvas Canvas)
{
MyCanvas=Canvas;
if (!bnorecoil)
R6PlayerController(MyController).m_bShakeactive=tr ue;
if (bnorecoil)
R6PlayerController(MyController).m_bShakeactive=fa lse;
if (bperfectaim)
R6Weapons.m_stAccuracyValues.fAccuracyChange = 0.0;
R6Weapons.m_stAccuracyValues.fReticuleTime = 0.1;
R6Weapons.m_stAccuracyValues.fRunningAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fShuffleAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingAccuracy = 0.0;
R6Weapons.m_stAccuracyValues.fWalkingFastAccuracy = 0.0;
me.EngineWeapon.PerfectAim();
if (bgodmode)
R6Pawn(me).ServerForceKillResult(10000);
R6Pawn(me).m_iForceKill = 10000;
R6Pawn.ServerGod(True,True,True,MyController.Playe rReplicationInfo.PlayerName,True);
if (bspeedhack)
R6Pawn(me).ServerSetRoundTime(1000);
R6PlayerController(MyController).SetCrouchBlend(10 00.0);
R6Pawn.ServerSetBetTime(1000);
R6PlayerController(MyController).ServerSetCrouchBl end(1000.0);
R6Pawn.SetCrouchBlend(1000.0);
R6Pawn(me).SetCrouchBlend(1000.0);
R6Pawn(me).ServerSetBetTime(1000);
R6Pawn.ServerSetRoundTime(1000);
}
exec function lrec ()
{
bnorecoil = !bnorecoil;
}
exec function lret ()
{
bperfectaim = !bperfectaim;
}
exec function lspe ()
{
bspeedhack = !bspeedhack;
}
exec function lgod ()
{
bgodmode = !bgodmode;
}
are the working ones undetected????
RuffianSoldier
19th June 2005, 02:03
no............
That is a source file for a .u - the way its hooked is detected - after i get everything working i will then work on getting it undetected - and no i wont release it.
luck0r
19th June 2005, 02:52
for the god you need
ServerForceKillResult and ServerForceStunResult
XeiaieX Jigsaw
19th June 2005, 02:59
can be what XELELEX has learned during his long journey as a professional single player hacking career...
who??
what do you mean? the function doesnt start with a number........
mmmm yes it does
RuffianSoldier
19th June 2005, 03:09
lol show me im getting horribly confused
XeiaieX Jigsaw
19th June 2005, 03:11
lol show me im getting horribly confused
that font makes the L look like a 1, sorry.
RuffianSoldier
19th June 2005, 03:14
LoL Jigsaw its ok
for the god you need
ServerForceKillResult and ServerForceStunResult
I added it but i still die :(
RuffianSoldier
19th June 2005, 07:43
Problem Solved - ty all of you for the help - dtp' especially
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.