Skip to content
Guest Big Announcement

Can anyone help me unlink my and enemy health?

Featured Replies

In shmoo's tutorial on dealing with vectors he said a little about unlinking mine and enemy health.

Here's what he said

 

1. Set a breakpoint on your offset.

2. Let the enemy hit you, and your breakpoint should hit. Now type "bt", which means "backtrace". Copy the backtrace onto notepad or something convienent and label it "my health backtrace".

3. Now continue, but this time you hurt the enemy, and your breakpoint should hit. Do a backtrace again and copy it onto notepad and label it "enemy health backtrace".

4. See which frame first differs between the two backtraces (you'll know what I mean by frame when you backtrace) and NOP the branch that connects them.

So I've copied down both of the backtraces and I cant find any differences.

Can anyone spot the difference?

My Health Backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010036a208 battleplans`_mh_execute_header + 2793992
    frame #1: 0x0000000100424fbc battleplans`_mh_execute_header + 3559356
    frame #2: 0x0000000100dd0b34 battleplans`_mh_execute_header + 13699892
    frame #3: 0x0000000101761e04 battleplans`plcrash::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next(unsigned int*, plcrash::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1512316
    frame #4: 0x000000010101bf2c battleplans`_mh_execute_header + 16105260
    frame #5: 0x000000010101bef8 battleplans`_mh_execute_header + 16105208
    frame #6: 0x000000010100fe84 battleplans`_mh_execute_header + 16055940
    frame #7: 0x0000000100eced14 battleplans`_mh_execute_header + 14740756
    frame #8: 0x0000000100fc9288 battleplans`_mh_execute_header + 15766152
    frame #9: 0x000000010127e9bc battleplans`_mh_execute_header + 18606524
    frame #10: 0x00000001000ccd9c battleplans`_mh_execute_header + 52636
    frame #11: 0x00000001000ccc98 battleplans`_mh_execute_header + 52376
    frame #12: 0x000000018c0d2f24 QuartzCore`CA::Display::DisplayLinkItem::dispatch(unsigned long long) + 44
    frame #13: 0x000000018c0d2dd0 QuartzCore`CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 444
    frame #14: 0x00000001890ea094 IOKit`IODispatchCalloutFromCFMessage + 372
    frame #15: 0x0000000188e12e50 CoreFoundation`__CFMachPortPerform + 180
    frame #16: 0x0000000188e2b218 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
    frame #17: 0x0000000188e2a9cc CoreFoundation`__CFRunLoopDoSource1 + 436
    frame #18: 0x0000000188e284b0 CoreFoundation`__CFRunLoopRun + 1840
    frame #19: 0x0000000188d562b8 CoreFoundation`CFRunLoopRunSpecific + 444
    frame #20: 0x000000018a80a198 GraphicsServices`GSEventRunModal + 180
    frame #21: 0x000000018ed9d7fc UIKit`-[UIApplication _run] + 684
    frame #22: 0x000000018ed98534 UIKit`UIApplicationMain + 208
    frame #23: 0x00000001000c6a6c battleplans`_mh_execute_header + 27244
    frame #24: 0x0000000187d395b8 libdyld.dylib`start + 4
Enemy Health Backtrace
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 7.1
  * frame #0: 0x000000010036a208 battleplans`_mh_execute_header + 2793992
    frame #1: 0x0000000100424fbc battleplans`_mh_execute_header + 3559356
    frame #2: 0x0000000100dd0b34 battleplans`_mh_execute_header + 13699892
    frame #3: 0x0000000101761e04 battleplans`plcrash::async::dwarf_cfa_state_iterator<unsigned long long, long long>::next(unsigned int*, plcrash::async::plcrash_dwarf_cfa_reg_rule_t*, unsigned long long*) + 1512316
    frame #4: 0x000000010101bf2c battleplans`_mh_execute_header + 16105260
    frame #5: 0x000000010101bef8 battleplans`_mh_execute_header + 16105208
    frame #6: 0x000000010100fe84 battleplans`_mh_execute_header + 16055940
    frame #7: 0x0000000100eced14 battleplans`_mh_execute_header + 14740756
    frame #8: 0x0000000100fc9288 battleplans`_mh_execute_header + 15766152
    frame #9: 0x000000010127e9bc battleplans`_mh_execute_header + 18606524
    frame #10: 0x00000001000ccd9c battleplans`_mh_execute_header + 52636
    frame #11: 0x00000001000ccc98 battleplans`_mh_execute_header + 52376
    frame #12: 0x000000018c0d2f24 QuartzCore`CA::Display::DisplayLinkItem::dispatch(unsigned long long) + 44
    frame #13: 0x000000018c0d2dd0 QuartzCore`CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 444
    frame #14: 0x00000001890ea094 IOKit`IODispatchCalloutFromCFMessage + 372
    frame #15: 0x0000000188e12e50 CoreFoundation`__CFMachPortPerform + 180
    frame #16: 0x0000000188e2b218 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
    frame #17: 0x0000000188e2a9cc CoreFoundation`__CFRunLoopDoSource1 + 436
    frame #18: 0x0000000188e284b0 CoreFoundation`__CFRunLoopRun + 1840
    frame #19: 0x0000000188d562b8 CoreFoundation`CFRunLoopRunSpecific + 444
    frame #20: 0x000000018a80a198 GraphicsServices`GSEventRunModal + 180
    frame #21: 0x000000018ed9d7fc UIKit`-[UIApplication _run] + 684
    frame #22: 0x000000018ed98534 UIKit`UIApplicationMain + 208
    frame #23: 0x00000001000c6a6c battleplans`_mh_execute_header + 27244
    frame #24: 0x0000000187d395b8 libdyld.dylib`start + 4

Nevermind finding the difference, there is no difference, so how can I unlink my health and enemy health then?

There is no difference

  • Author
Just now, Zimon said:

There is no difference

That's why I'm confused, there's supposed to be a difference :(

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.