Jump to content

20 posts in this topic

Recommended Posts

Posted
4 minutes ago, Ted2 said:

yes, the breakpoint gets hit & game freezes.

When I get hit, breakpoint doesn't get hit & doesn't freeze.

 

When I change the code, like I wrote. It apparently is my health function too, so I find it strange xD 

What you need to do is use the backtrace function and check the functions even though you hit the enemy ;)

Posted
9 minutes ago, K_K said:

What you need to do is use the backtrace function and check the functions even though you hit the enemy ;)

what is backtrace function? when we are using this and how?

Posted
4 minutes ago, Goran said:

what is backtrace function? when we are using this and how?

When you have set a watch point and the game freezes you type bt gives you a list of address which are associated with that address /function :)

Posted
56 minutes ago, Goran said:

you need to check places where is goes in ida to compare.... and then try that to watch....

why'd u watchpoint an IDA offset .-.

59 minutes ago, Ted2 said:

yes, the breakpoint gets hit & game freezes.

When I get hit, breakpoint doesn't get hit & doesn't freeze.

 

When I change the code, like I wrote. It apparently is my health function too, so I find it strange xD 

exactly as King says, use backtrace and find the right offset

Posted
54 minutes ago, Mr Cub3s said:

why'd u watchpoint an IDA offset .-.

exactly as King says, use backtrace and find the right offset

 

1 hour ago, K_K said:

When you have set a watch point and the game freezes you type bt gives you a list of address which are associated with that address /function :)

It drops me here:

loc_494DFC
CMP             R4, R5
BGE             loc_494E08
MOV             R0, R11
BL              sub_4956E8
ADDS            R4, R0, R5

R4 = Max Damage I can give
R5 = Damage I give

 

Posted

edit this accordingly :)

Posted (edited)
1 minute ago, K_K said:

edit this accordingly :)

I tried to swap r4 with r5, which would basicly set the damage as max damage & max damage as damage. But no effect, maybe ADDS R4, R0, R7? but think will crash

Updated by Ted2
Posted
3 minutes ago, Ted2 said:

I tried to swap r4 with r5, which would basicly set the damage as max damage & max damage as damage. But no effect, maybe ADDS R4, R0, R7? but think will crash

Have a look @ the function it compares it at the top nop that and see

Posted (edited)
5 minutes ago, K_K said:

Have a look @ the function it compares it at the top nop that and see

I think I did that, but not sure. Lemme see :p

 

yea, crashes the game when attacking

Updated by Ted2
Posted
6 minutes ago, Ted2 said:

I think I did that, but not sure. Lemme see :p

 

yea, crashes the game when attacking

pm me the game details ill take a look 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines