[unity3d]Help with begone aob
[unity3d]Help with begone aob Posted on: 05/16/2013 9:04am
Quote Post

My objective :stamina hack (freezes stamina at 100)
The function that i think is resposible for updating stamina is below(i might be wrong)

object: playercontroller
method: update()


private void Update()
{
    if (this.isSprinting)
    {
        this.UpdateStamina(-Time.get_deltaTime() * 18f);
    }
    else if (this.isCrouching)
    {
        this.UpdateStamina(Time.get_deltaTime() * 24f);
    }
    else
    {
        this.UpdateStamina(Time.get_deltaTime() * 18f);
    }
    this.UpdateFixedCamera();
}

My aob (i get three results )(thanks to 
Simple_AOB,he taught me the use of wildcards )
02 7B ?? ?? ?? ?? 39 ?? ?? ?? ?? 02 28 ?? ?? ?? ?? 65 22 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 38 ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 39 ?? ?? ?? ?? 02 28 ?? ?? ?? ?? 22 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 38 ?? ?? ?? ?? 02 28 ?? ?? ?? ?? 22 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 02 28 ?? ?? ?? ?? 2A

*I have nop them but no use 
I am lost here can anyone help

Just in case anyone wishes to check the begone source here are the files
http://www.mediafire.com/?gyhaa19hg7gg131










 

RE: [unity3d]Help with begone aob Posted on: 05/16/2013 12:47pm
Quote Post
disgruntled old man

I posted some code in the chat the other day but I guess you weren't paying attention. I nop'd the code and it didn't do anything. I did notice there was a bunch of packets sent to the server every time I pressed the shift key...I'm pretty sure most of what you want to hack is going to be server side...




New to Kong Hack and want to learn the basics? Check out the [Kong Hack 101] and the [Hacking 101].
Wanna learn how we make the hacks? Start with getting [the tools], then check these out: [AoB tutorial] | [.sol guide] | [Unity3d tutorial] | kadat's [video tutorials]
And if you don't already have it, check out the [Kong Hack Ultra Trainer]. You'll be glad you did!
RE: [unity3d]Help with begone aob Posted on: 05/16/2013 1:07pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info

God damn it, let's stick with 1 topic per game.  It seems like this one has 4 or 5 now... wtf...





Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

RE: [unity3d]Help with begone aob Posted on: 05/16/2013 1:23pm
Quote Post

sorry tim but i had to post my findings ..if you see the other threads they are simply asking for the hacks or aob ...am trying to learn here

RE: [unity3d]Help with begone aob Posted on: 05/16/2013 1:29pm
Quote Post
nonomnonom
    IL_0006: brfalse IL_0022 39 17 00 00 00  
    IL_000b: ldarg.0 02  
    IL_000c: call float32 [UnityEngine]UnityEngine.Time::get_deltaTime() 28 ?? ?? ?? ??  
    IL_0011: neg 65 00
    IL_0012: ldc.r4 18 22 ?? ?? ?? ??  
    IL_0017: mul 5a  
    IL_0018: call instance void PlayerController::UpdateStamina(float32) 28 ?? ?? ?? ??  
    IL_001d: br IL_0054 38 32 00 00 00  
     
39 17 00 00 00 02 28 ?? ?? ?? ?? 65 22 ?? ?? ?? ?? 5a 28 ?? ?? ?? ?? 38 32 00 00 00    
39 17 00 00 00 02 28 ?? ?? ?? ?? 00    


edit: fixed and testing
edit2: i'm so bad at fps game, can u tell me is this working?




hello i'm goodknife.
RE: [unity3d]Help with begone aob Posted on: 05/16/2013 1:42pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info

Meh, makes sense.  Whatever.





Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez

RE: [unity3d]Help with begone aob Posted on: 05/16/2013 2:39pm
Quote Post

i did nop it...phew ! no use 

RE: [unity3d]Help with begone aob Posted on: 05/16/2013 2:57pm
Quote Post
disgruntled old man

See if this adds money when you buy...I'm going to bed now, I'll fuck with it some more later...

02 02 28 ?? ?? ?? ?? 03 7B ?? ?? ?? ?? 59 28 ?? ?? ?? ?? 2A
02 02 28 ?? ?? ?? ?? 03 7B ?? ?? ?? ?? 58 28 ?? ?? ?? ?? 2A




New to Kong Hack and want to learn the basics? Check out the [Kong Hack 101] and the [Hacking 101].
Wanna learn how we make the hacks? Start with getting [the tools], then check these out: [AoB tutorial] | [.sol guide] | [Unity3d tutorial] | kadat's [video tutorials]
And if you don't already have it, check out the [Kong Hack Ultra Trainer]. You'll be glad you did!
RE: [unity3d]Help with begone aob Posted on: 05/16/2013 3:06pm
Quote Post

awsome its working.its  the cashmanager methods .i tried messing with the health object and its methods but i cant seem to get my aob o work

my objective:player health should remain at 100 even after getting hit 

object:Health
Method:OnEventPlayerDamage(class EventPlayerDamage e)


Here is the function 

private void OnEventPlayerDamage(EventPlayerDamage e)
{
    if (((e.victimId == this.playerId) && (this.GetHealth() > 0f)) && (Application.get_isEditor() || (BaseRoundMode.GetRoundState() == BaseRoundMode.RoundState.InProgress)))
    {
        this.SetHealth(this.GetHealth() - e.damage);  <--------------------------------------------i tried to change 59 to 58 ,but nothing happens
        if (base.get_enabled() && base.get_audio().get_enabled())
        {
            if (e.damageType == EventPlayerDamage.DamageTypes.Head)
            {
                base.get_audio().set_clip(this.headshot);
                base.get_audio().set_pitch(1f);
                base.get_audio().set_volume(1f);
                base.get_audio().set_maxDistance(50f);
                base.get_audio().Play();
            }
            else if (e.damage >= 10)
            {
                base.get_audio().set_clip(this.painBig);
                base.get_audio().set_pitch(0.9f + ((((float) (e.damage - 0x19)) / 75f) * 0.2f));
                base.get_audio().set_volume(0.9f);
                base.get_audio().set_maxDistance(50f);
                base.get_audio().Play();
            }
            else
            {
                base.get_audio().set_clip(this.painSmall);
                base.get_audio().set_pitch(0.9f + ((((float) e.damage) / 25f) * 0.2f));
                base.get_audio().set_volume(0.9f);
                base.get_audio().set_maxDistance(50f);
                base.get_audio().Play();
            }
        }
        if ((this.playerId == PhotonHelper.localPlayer.playerId) && (this.GetHealth() <= 0f))
        {
            this.SetHealth(0f);
            new EventDeath(this.playerId, e.attackerId, e.damageType, e.weaponType);
        }
    }

il code

  IL_0038:  /* 02   |                  */ ldarg.0
  IL_0039:  /* 02   |                  */ ldarg.0
  IL_003a:  /* 28   | (06)000C10       */ call       instance float32 Health::GetHealth()
  IL_003f:  /* 03   |                  */ ldarg.1
  IL_0040:  /* 7B   | (04)000EA9       */ ldfld      int32 EventPlayerDamage::damage
  IL_0045:  /* 6B   |                  */ conv.r4
  IL_0046:  /* 59   |                  */ sub
  IL_0047:  /* 28   | (06)000C11       */ call       instance void Health::SetHealth(float32)
  IL_004c:  /* 02   |                  */ ldarg.0
  IL_004d:  /* 28   | (0A)00011A       */ call       instance bool [UnityEngine]UnityEngine.Behaviour::get_enabled()
  IL_0052:  /* 39   | 42010000         */ brfalse    IL_0199
  IL_0057:  /* 02   |                  */ ldarg.0
 /* 03   |                  */ ldarg.1
  IL_0001:  /* 7B   | (04)000EAB       */ ldfld      int32 EventPlayerDamage::victimId
  IL_0006:  /* 02   |                  */ ldarg.0
  IL_0007:  /* 7B   | (04)000DF8       */ ldfld      int32 Health::playerId
  IL_000c:  /* 3B   | 01000000         */ beq        IL_0012
  IL_0011:  /* 2A   |                  */ ret
  IL_0012:  /* 02   |                  */ ldarg.0
  IL_0013:  /* 28   | (06)000C10       */ call       instance float32 Health::GetHealth()
  IL_0018:  /* 22   | 00000000         */ ldc.r4     0.0
  IL_001d:  /* 43   | C5010000         */ ble.un     IL_01e7
  IL_0022:  /* 28   | (0A)0001F7       */ call       bool [UnityEngine]UnityEngine.Application::get_isEditor()
  IL_0027:  /* 3A   | 0C000000         */ brtrue     IL_0038
  IL_002c:  /* 28   | (06)000D59       */ call       valuetype BaseRoundMode/RoundState BaseRoundMode::GetRoundState()
  IL_0031:  /* 18   |                  */ ldc.i4.2
  IL_0032:  /* 3B   | 01000000         */ beq        IL_0038
  IL_0037:  /* 2A   |                  */ ret

my aob:
 7b ?? ?? ?? ?? 02 7b ?? ?? ?? ?? 3b ?? ?? ?? ?? 2a 02 28 ?? ?? ?? ?? 22 ?? ?? ?? ?? 43 ?? ?? ?? ?? 28 ?? ?? ?? ?? 3a ?? ?? ?? ?? 28 ?? ?? ?? ?? 18 3b ?? ?? ?? ?? 2a 02 02 28 ?? ?? ?? ?? 03 7b ?? ?? ?? ?? 6b 59 28 ?? ?? ?? ?? 02 28 ?? ?? ?? ?? 39 ?? ?? ?? ?? 02

Any help would be appreciated
 

RE: [unity3d]Help with begone aob Posted on: 05/17/2013 12:10pm
Quote Post
Your resident no-lifer

did you try nopping the "- e.damage" part instead of making it add or changing it to push 0 (instead of getting e.damage)?
Another option might be nopping everything in that function. If those things don't work, it might be somewhere else as well or it's server sided.




Check out this guy, I always laugh at him.

If any of my AoBs are broken, send me a PM and I''ll see what I can do.

RE: [unity3d]Help with begone aob Posted on: 05/17/2013 12:58pm
Quote Post
disgruntled old man

It's even possible you're in the wrong part of the code...




New to Kong Hack and want to learn the basics? Check out the [Kong Hack 101] and the [Hacking 101].
Wanna learn how we make the hacks? Start with getting [the tools], then check these out: [AoB tutorial] | [.sol guide] | [Unity3d tutorial] | kadat's [video tutorials]
And if you don't already have it, check out the [Kong Hack Ultra Trainer]. You'll be glad you did!
RE: [unity3d]Help with begone aob Posted on: 05/17/2013 2:03pm
Quote Post

may be i am in the wrong part of the code ..phew !! gates could you try and mess with the weapons manager methods or health

RE: [unity3d]Help with begone aob Posted on: 05/18/2013 1:22am
Quote Post
disgruntled old man

Maybe in a few days...had some shit come up...




New to Kong Hack and want to learn the basics? Check out the [Kong Hack 101] and the [Hacking 101].
Wanna learn how we make the hacks? Start with getting [the tools], then check these out: [AoB tutorial] | [.sol guide] | [Unity3d tutorial] | kadat's [video tutorials]
And if you don't already have it, check out the [Kong Hack Ultra Trainer]. You'll be glad you did!
RE: [unity3d]Help with begone aob Posted on: 05/18/2013 2:15am
Quote Post
gates Posted on: 05/17/2013 21:22

Maybe in a few days...had some shit come up...



ok ..thanks ...till then i guess am on my own....