• Hey everyone happy Christmas Eve we're aware of what's happened with the source code so to keep this simple absolutely don't post it on the site or use it to make mods with (it's not particularly preferable toward this end anyway) and tread lightly in general until we see how this settles, thanks to all and have a great holiday season -DT

Quick Modding/Hacking Answers Thread

Apr 23, 2016 at 8:45 PM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1104
Age: 27
Pronouns: none
@Glag

0x1DC15
all levels
 
Apr 23, 2016 at 9:22 PM
Senior Member
"Master using it, and you can have this!"
Join Date: Apr 7, 2014
Location: tired
Posts: 71
Pronouns: she/her
Thanks!
 
Apr 24, 2016 at 9:43 PM
Neophyte Member
"Fresh from the Bakery"
Join Date: Feb 16, 2016
Location:
Posts: 2
Age: 20
Pronouns: he/him
to change the tile types open up one of the tile sets in CE and right click one of the tiles and it will let you change the tile type. if you want to change what the tile looks like then just edit the BMP of the tile set you want to edit.
Where can I find the bmp files of the tileset ?
 
Apr 24, 2016 at 9:56 PM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1104
Age: 27
Pronouns: none
in the data folder
 
Apr 25, 2016 at 11:54 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
Hey Hina do you have the offsets for the bubbler?

It wasn't included with the other weapons.
Bullets:
0x405F30 - Bubbler level 1
0x406190 - Bubbler level 2
0x4064D0 - Bubbler level 3
0x4068B0 - Bubbler level 4 (Popped level 3 bubbles)

0x409190 & 0x4095C0 - Something related to Bubbler?
Bubbler Gun
0x41EFD0 - Bubbler level 1
0x41F280 - Bubbler level 2 & 3
 
Apr 25, 2016 at 12:58 PM
Been here way too long...
"What're YOU lookin' at?"
Join Date: Oct 17, 2011
Location: probably somewhere else
Posts: 1104
Age: 27
Pronouns: none
Hey Hina do you have the offsets for the bubbler?

It wasn't included with the other weapons.
if you wanted the general ASM offsets, Thomas already posted them
unless you wanted the maximum number of bullets allowed on screen
0x1EFDF - Bubbler level 1
0x1F28F - Bubbler level 2
0x1F28F - Bubbler level 3
 
Apr 26, 2016 at 12:02 AM
2dbro
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Jan 10, 2014
Location: yes
Posts: 481
Age: 21
Pronouns: he/him
i forget how you remove the studio pixel logo on the title screen and the version number and all that stuff
 
Apr 26, 2016 at 12:03 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
Apr 26, 2016 at 12:09 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
well that is how you do it though so, make sure you save it or something
 
Apr 26, 2016 at 12:09 AM
me when bro says be holly and jolly for $20
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2854
Age: 30
Pronouns: She/Her
i forget how you remove the studio pixel logo on the title screen and the version number and all that stuff
There's an option to remove those on the title screen hacker in BL.
 
Apr 26, 2016 at 3:57 PM
beep boop
Bobomb says: "I need a hug!"
Join Date: Aug 16, 2014
Location: no
Posts: 848
Age: 23
Pronouns: he/him
@Bionicobot:
I'm pretty sure you have to call each entity animation separately, for horizontal blocks I think use this
<ANP0149:0011:0000 to get them moving left and
<ANP0149:0021:0002 to move them right.

So, you can't move them all at once by giving them the same event number?
 
Apr 26, 2016 at 8:56 PM
Senior Member
"Master using it, and you can have this!"
Join Date: Apr 7, 2014
Location: tired
Posts: 71
Pronouns: she/her
So, you can't move them all at once by giving them the same event number?
giving multiple entities the same event number and using <ANP on that number will do it to all of them, yeah
 
Apr 27, 2016 at 6:42 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
So, you can't move them all at once by giving them the same event number?
giving multiple entities the same event number and using <ANP on that number will do it to all of them, yeah
This varies for different entities. For some, you can, and for some, you can't. Feel free to experiment with the function.
EDIT: How do I make more space for assembly in the exe? I noticed that if you embedded a bigger .org or bitmap file in the game it would make the .exe bigger. Would it be possible to extend the exe by, for example, adding a whole bunch of random notes after the repeat in a music file to add in extra assembly space, then using that space to code something else?
Thanks!


When I try to delete Ballos this happens:

EDIT: Also, the <FLA command doesn't work until all the commands on that event have finished running. Any help?

EDIT: I think I fixed the <FLA problem. I used <PRI and not <KEY

EDIT: I still can't fix Ballos.
I know it's been a long time, and I think I really shouldn't reply to this, but just in case anyone else encounters this problem, use a <DNA0341 after deleting Ballos. The Ballos entity was never meant to be deleted.
 
Last edited:
Apr 28, 2016 at 12:04 AM
beep boop
Bobomb says: "I need a hug!"
Join Date: Aug 16, 2014
Location: no
Posts: 848
Age: 23
Pronouns: he/him
This varies for different entities. For some, you can, and for some, you can't. Feel free to experiment with the function.
Yep, only works with one at a time. Time to make a wall of blocks with different event ids... Ugh...

Edit: Is there any way I can make them phase through walls and do damage on contact? Like, what offsets would I be looking at.
 
Last edited:
Apr 28, 2016 at 7:27 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
Yep, only works with one at a time. Time to make a wall of blocks with different event ids... Ugh...

Edit: Is there any way I can make them phase through walls and do damage on contact? Like, what offsets would I be looking at.
Ummm... You COULD do that in assembly, but probably it'll be easier to edit npc.tbl...
0x0445170:
E8 EE 67 04 00 90
0x0446ca0:
E8 BE 4C 04 00 90
0x048b963:
5A C8 18 00 00 8B 4D 08 83 79 2C 00 75 02 52 C3
57 8B 7D 08 C7 47 50 0C 04 00 00 83 C7 54 C6 47
50 0A 5F 52 C3
I used EDI, just cause I could!
If you want a different amount of damage other than 10, change 0A in the 3rd patch to the preferred amount in hex.
This does 10 damage BTW, and the blocks will go through walls & do damage ONLY if their FlagID is not 0.
 
Last edited:
Apr 28, 2016 at 2:20 PM
beep boop
Bobomb says: "I need a hug!"
Join Date: Aug 16, 2014
Location: no
Posts: 848
Age: 23
Pronouns: he/him
Ummm... You COULD do that in assembly, but probably it'll be easier to edit npc.tbl...
0x0445170:
E8 EE 67 04 00 90
0x0446ca0:
E8 BE 4C 04 00 90
0x048b963:
5A C8 18 00 00 8B 4D 08 83 79 2C 00 75 02 52 C3
57 8B 7D 08 C7 47 50 0C 04 00 00 83 C7 54 C6 47
50 0A 5F 52 C3
I used EDI, just cause I could!
If you want a different amount of damage other than 10, change 0A in the 3rd patch to the preferred amount in hex.
This does 10 damage BTW, and the blocks will go through walls & do damage ONLY if their FlagID is not 0.
Thanks, I wasn't able to make it do any damage through the npc.tbl, so I figured that it could only really work through assembly.

Edit: Are you sure it was the horizontal blocks? Because they at the same for me.
 
Last edited:
Apr 29, 2016 at 12:21 AM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 25
Pronouns: he/him
So i'm having a problem with the lift NPC, for some reason, it's like, off-centered.

upload_2016-4-28_18-18-17.png

I was coding it a little, but I don't know how that affected it. I also tried fixing it in the npc.tbl but that didn't really work...

Yes I know the animation part is extremely inefficient, I just wanted it to work ok?!?
Code:
0042B280   55               PUSH EBP
0042B281   89E5             MOV EBP,ESP
0042B283   83EC 10          SUB ESP,10
0042B286   C745 F0 00000000 MOV DWORD PTR SS:[EBP-10],0
0042B28D   C745 F4 00000000 MOV DWORD PTR SS:[EBP-C],0
0042B294   C745 F8 00000000 MOV DWORD PTR SS:[EBP-8],0
0042B29B   C745 FC 00000000 MOV DWORD PTR SS:[EBP-4],0
0042B2A2   8B4D 08          MOV ECX,DWORD PTR SS:[EBP+8]
0042B2A5   B8 40000000      MOV EAX,40
0042B2AA   8379 74 01       CMP DWORD PTR DS:[ECX+74],1
0042B2AE   74 35            JE SHORT FS_SF.0042B2E5
0042B2B0   8379 74 02       CMP DWORD PTR DS:[ECX+74],2
0042B2B4   74 55            JE SHORT FS_SF.0042B30B
0042B2B6   8379 74 03       CMP DWORD PTR DS:[ECX+74],3
0042B2BA   74 6C            JE SHORT FS_SF.0042B328
0042B2BC   8379 74 04       CMP DWORD PTR DS:[ECX+74],4
0042B2C0   74 50            JE SHORT FS_SF.0042B312
0042B2C2   8379 74 05       CMP DWORD PTR DS:[ECX+74],5
0042B2C6   74 69            JE SHORT FS_SF.0042B331
0042B2C8   8341 0C 00       ADD DWORD PTR DS:[ECX+C],0
0042B2CC   C741 54 00010000 MOV DWORD PTR DS:[ECX+54],100
0042B2D3   C741 5C 20010000 MOV DWORD PTR DS:[ECX+5C],120
0042B2DA   8941 58          MOV DWORD PTR DS:[ECX+58],EAX
0042B2DD   83C0 10          ADD EAX,10
0042B2E0   8941 60          MOV DWORD PTR DS:[ECX+60],EAX
0042B2E3   EB 6C            JMP SHORT FS_SF.0042B351
0042B2E5   8141 0C 01FDFFFF ADD DWORD PTR DS:[ECX+C],-2FF
0042B2EC   FF41 64          INC DWORD PTR DS:[ECX+64]
0042B2EF   8379 64 05       CMP DWORD PTR DS:[ECX+64],5
0042B2F3  ^7E D7            JLE SHORT FS_SF.0042B2CC
0042B2F5   B8 50000000      MOV EAX,50
0042B2FA   8379 64 10       CMP DWORD PTR DS:[ECX+64],10
0042B2FE   7D 02            JGE SHORT FS_SF.0042B302
0042B300  ^EB CA            JMP SHORT FS_SF.0042B2CC
0042B302   C741 64 00000000 MOV DWORD PTR DS:[ECX+64],0
0042B309  ^EB C1            JMP SHORT FS_SF.0042B2CC
0042B30B   8141 0C FF020000 ADD DWORD PTR DS:[ECX+C],2FF
0042B312   FF41 64          INC DWORD PTR DS:[ECX+64]
0042B315   8379 64 05       CMP DWORD PTR DS:[ECX+64],5
0042B319  ^7E B1            JLE SHORT FS_SF.0042B2CC
0042B31B   B8 50000000      MOV EAX,50
0042B320   8379 64 10       CMP DWORD PTR DS:[ECX+64],10
0042B324  ^7D DC            JGE SHORT FS_SF.0042B302
0042B326  ^EB A4            JMP SHORT FS_SF.0042B2CC
0042B328   8141 0C 01FFFFFF ADD DWORD PTR DS:[ECX+C],-0FF
0042B32F   EB 00            JMP SHORT FS_SF.0042B331
0042B331   8141 0C FF000000 ADD DWORD PTR DS:[ECX+C],0FF
0042B338   FF41 64          INC DWORD PTR DS:[ECX+64]
0042B33B   8379 64 05       CMP DWORD PTR DS:[ECX+64],5
0042B33F  ^7E 8B            JLE SHORT FS_SF.0042B2CC
0042B341   B8 50000000      MOV EAX,50
0042B346   8379 64 10       CMP DWORD PTR DS:[ECX+64],10
0042B34A  ^7D B6            JGE SHORT FS_SF.0042B302
0042B34C  ^E9 7BFFFFFF      JMP FS_SF.0042B2CC
0042B351   89EC             MOV ESP,EBP
0042B353   5D               POP EBP
0042B354   C3               RETN
 
Apr 29, 2016 at 1:11 PM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
Thanks, I wasn't able to make it do any damage through the npc.tbl, so I figured that it could only really work through assembly.

Edit: Are you sure it was the horizontal blocks? Because they at the same for me.
Oh right. The damage thing doesn't work if it's like that. The code for the blocks automatically undo my hack if the block isn't crushing you against a wall!
Try this.
EDIT: FUCK THERE ARE SO MANY UNDOING FUNCTIONS IN THE CODE
Ceebs doing it right; I'll just NOP them.
0x445170
E8 EE 67 04 00 90 8B 45 08 8B 48 74 89 4D E8 83
7D E8 15 0F 87 1F 04 00 00 8B 55 E8 0F B6 82 3B
56 44 00 FF 24 85 23 56 44 00 8B 4D 08 8B 51 08
81 C2 00 10 00 00 8B 45 08 89 50 08 8B 4D 08 8B
51 0C 81 C2 00 10 00 00 8B 45 08 89 50 0C 8B 4D
08 83 79 4C 00 75 0C 8B 55 08 C7 42 74 0A 00 00
00 EB 0A 8B 45 08 C7 40 74 14 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 14 00 00 00
00 8B 45 08 0F B7 48 50 83 C9 40 8B 55 08 66 89
4A 50 E9 A1 03 00 00 8B 45 08 0F B7 48 50 81 E1
7F FF FF FF 8B 55 08 66 89 4A 50 8B 45 08 90 90
90 90 90 90 90 90 90 90 8B 4D 08 8B 51 08 81 C2
00 32 00 00 39 15 54 E6 49 00 7D 4F 8B 45 08 8B
48 08 81 E9 00 20 03 00 39 0D 54 E6 49 00 7E 3B
8B 55 08 8B 42 0C 05 00 32 00 00 39 05 58 E6 49
00 7D 28 8B 4D 08 8B 51 0C 81 EA 00 32 00 00 39
15 58 E6 49 00 7E 14 8B 45 08 C7 40 74 0B 00 00
00 8B 4D 08 C7 41 78 00 00 00 00 E9 18 03 00 00
8B 55 08 8B 42 78 83 C0 01 8B 4D 08 89 41 78 8B
55 08 8B 42 78 99 B9 0A 00 00 00 F7 F9 83 FA 06
75 0C 6A 01 6A 6B E8 85 B3 FD FF 83 C4 08 8B 55
08 8B 42 04 83 E0 01 0F 84 AC 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 4C 02 00 00
00 8B 45 08 C7 40 74 14 00 00 00 6A 0A E8 1E A0
FC FF 83 C4 04 6A 01 6A 1A E8 42 B3 FD FF 83 C4
08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC 83 C1 01
89 4D EC 83 7D EC 04 7D 5B 68 00 01 00 00 6A 00
6A 00 6A 00 68 00 FA FF FF E8 22 A0 FC FF 83 C4
08 50 68 55 01 00 00 68 AB FE FF FF E8 0F A0 FC
FF 83 C4 08 50 6A 0C 6A F4 E8 02 A0 FC FF 83 C4
08 C1 E0 09 8B 55 08 03 42 0C 50 8B 45 08 8B 48
08 81 E9 00 20 00 00 51 6A 04 E8 61 9C 02 00 83
C4 20 EB 96 E9 2F 02 00 00 8B 15 3C E6 49 00 83
E2 01 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00
00 8B 55 08 66 89 4A 50 8B 45 08 90 90 90 90 90
90 90 90 90 90 EB 21 8B 4D 08 0F B7 51 50 81 E2
7F FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90
90 90 90 90 90 90 90 90 8B 55 08 8B 42 10 83 E8
20 8B 4D 08 89 41 10 E9 CC 01 00 00 8B 55 08 0F
B7 42 50 25 7F FF FF FF 8B 4D 08 66 89 41 50 8B
55 08 90 90 90 90 90 90 90 90 90 90 8B 45 08 8B
48 08 81 E9 00 32 00 00 39 0D 54 E6 49 00 7E 4F
8B 55 08 8B 42 08 05 00 20 03 00 39 05 54 E6 49
00 7D 3C 8B 4D 08 8B 51 0C 81 C2 00 32 00 00 39
15 58 E6 49 00 7D 28 8B 45 08 8B 48 0C 81 E9 00
32 00 00 39 0D 58 E6 49 00 7E 14 8B 55 08 C7 42
74 15 00 00 00 8B 45 08 C7 40 78 00 00 00 00 E9
44 01 00 00 8B 4D 08 8B 51 78 83 C2 01 8B 45 08
89 50 78 8B 4D 08 8B 41 78 99 B9 0A 00 00 00 F7
F9 83 FA 06 75 0C 6A 01 6A 6B E8 B1 B1 FD FF 83
C4 08 8B 55 08 8B 42 04 83 E0 04 0F 84 A9 00 00
00 8B 4D 08 C7 41 10 00 00 00 00 8B 55 08 C7 42
4C 00 00 00 00 8B 45 08 C7 40 74 0A 00 00 00 6A
0A E8 4A 9E FC FF 83 C4 04 6A 01 6A 1A E8 6E B1
FD FF 83 C4 08 C7 45 EC 00 00 00 00 EB 09 8B 4D
EC 83 C1 01 89 4D EC 83 7D EC 04 7D 5B 68 00 01
00 00 6A 00 6A 00 6A 00 68 00 FA FF FF E8 4E 9E
FC FF 83 C4 08 50 68 55 01 00 00 68 AB FE FF FF
E8 3B 9E FC FF 83 C4 08 50 6A 0C 6A F4 E8 2E 9E
FC FF 83 C4 08 C1 E0 09 8B 55 08 03 42 0C 50 8B
45 08 8B 48 08 81 C1 00 20 00 00 51 6A 04 E8 8D
9A 02 00 83 C4 20 EB 96 EB 5E 8B 15 3C E6 49 00
83 E2 04 74 23 8B 45 08 0F B7 48 50 81 C9 80 00
00 00 8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00
00 00 64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81
E2 7F FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90
90 90 90 90 90 90 90 90 90 8B 55 08 8B 42 10 83
C0 20 8B 4D 08 89 41 10 8B 55 08 81 7A 10 00 02
00 00 7E 0A 8B 45 08 C7 40 10 00 02 00 00 8B 4D
08 81 79 10 00 FE FF FF 7D 0A 8B 55 08 C7 42 10
00 FE FF FF 8B 45 08 8B 48 08 8B 55 08 03 4A 10
8B 45 08 89 48 08 C7 45 F0 10 00 00 00 C7 45 F4
00 00 00 00 C7 45 F8 30 00 00 00 C7 45 FC 20 00
00 00 8B 4D 08 83 C1 54 8B 55 F0 89 11 8B 45 F4
89 41 04 8B 55 F8 89 51 08 8B 45 FC 89 41 0C 8B
E5 5D C3 9A 51 44 00 07 52 44 00 90 52 44 00 DC
53 44 00 64 54 44 00 A8 55 44 00 00 05 05 05 05
05 05 05 05 05 01 02 05 05 05 05 05 05 05 05 03
04 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC

0x446CA0
E8 BE 4C 04 00 90 8B 45 08 8B 48 74 89 4D E8 83
7D E8 15 0F 87 1D 04 00 00 8B 55 E8 0F B6 82 69
71 44 00 FF 24 85 51 71 44 00 8B 4D 08 8B 51 08
81 C2 00 10 00 00 8B 45 08 89 50 08 8B 4D 08 8B
51 0C 81 C2 00 10 00 00 8B 45 08 89 50 0C 8B 4D
08 83 79 4C 00 75 0C 8B 55 08 C7 42 74 0A 00 00
00 EB 0A 8B 45 08 C7 40 74 14 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 14 00 00 00
00 8B 45 08 0F B7 48 50 83 C9 40 8B 55 08 66 89
4A 50 E9 9F 03 00 00 8B 45 08 0F B7 48 50 81 E1
7F FF FF FF 8B 55 08 66 89 4A 50 8B 45 08 90 90
90 90 90 90 90 90 90 90 8B 4D 08 8B 51 0C 81 C2
00 32 00 00 39 15 58 E6 49 00 7D 4F 8B 45 08 8B
48 0C 81 E9 00 20 03 00 39 0D 58 E6 49 00 7E 3B
8B 55 08 8B 42 08 05 00 32 00 00 39 05 54 E6 49
00 7D 28 8B 4D 08 8B 51 08 81 EA 00 32 00 00 39
15 54 E6 49 00 7E 14 8B 45 08 C7 40 74 0B 00 00
00 8B 4D 08 C7 41 78 00 00 00 00 E9 16 03 00 00
8B 55 08 8B 42 78 83 C0 01 8B 4D 08 89 41 78 8B
55 08 8B 42 78 99 B9 0A 00 00 00 F7 F9 83 FA 06
75 0C 6A 01 6A 6B E8 55 98 FD FF 83 C4 08 8B 55
08 8B 42 04 83 E0 02 0F 84 AB 00 00 00 8B 4D 08
C7 41 14 00 00 00 00 8B 55 08 C7 42 4C 02 00 00
00 8B 45 08 C7 40 74 14 00 00 00 6A 0A E8 EE 84
FC FF 83 C4 04 6A 01 6A 1A E8 12 98 FD FF 83 C4
08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC 83 C1 01
89 4D EC 83 7D EC 04 7D 5A 68 00 01 00 00 6A 00
6A 00 6A 00 68 00 FA FF FF E8 F2 84 FC FF 83 C4
08 50 68 55 01 00 00 68 AB FE FF FF E8 DF 84 FC
FF 83 C4 08 50 8B 55 08 8B 42 0C 2D 00 20 00 00
50 6A 0C 6A F4 E8 C6 84 FC FF 83 C4 08 C1 E0 09
8B 4D 08 03 41 08 50 6A 04 E8 32 81 02 00 83 C4
20 EB 97 E9 2E 02 00 00 8B 15 3C E6 49 00 83 E2
02 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00 00
8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00 00 00
64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81 E2 7F
FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90 90
90 90 90 90 90 90 90 8B 55 08 8B 42 14 83 E8 20
8B 4D 08 89 41 14 E9 CB 01 00 00 8B 55 08 0F B7
42 50 25 7F FF FF FF 8B 4D 08 66 89 41 50 8B 55
08 90 90 90 90 90 90 90 90 90 90 8B 45 08 8B 48
0C 81 E9 00 32 00 00 39 0D 58 E6 49 00 7E 4F 8B
55 08 8B 42 0C 05 00 20 03 00 39 05 58 E6 49 00
7D 3C 8B 4D 08 8B 51 08 81 C2 00 32 00 00 39 15
54 E6 49 00 7D 28 8B 45 08 8B 48 08 81 E9 00 32
00 00 39 0D 54 E6 49 00 7E 14 8B 55 08 C7 42 74
15 00 00 00 8B 45 08 C7 40 78 00 00 00 00 E9 43
01 00 00 8B 4D 08 8B 51 78 83 C2 01 8B 45 08 89
50 78 8B 4D 08 8B 41 78 99 B9 0A 00 00 00 F7 F9
83 FA 06 75 0C 6A 01 6A 6B E8 82 96 FD FF 83 C4
08 8B 55 08 8B 42 04 83 E0 08 0F 84 A8 00 00 00
8B 4D 08 C7 41 14 00 00 00 00 8B 55 08 C7 42 4C
00 00 00 00 8B 45 08 C7 40 74 0A 00 00 00 6A 0A
E8 1B 83 FC FF 83 C4 04 6A 01 6A 1A E8 3F 96 FD
FF 83 C4 08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC
83 C1 01 89 4D EC 83 7D EC 04 7D 5A 68 00 01 00
00 6A 00 6A 00 6A 00 68 00 FA FF FF E8 1F 83 FC
FF 83 C4 08 50 68 55 01 00 00 68 AB FE FF FF E8
0C 83 FC FF 83 C4 08 50 8B 55 08 8B 42 0C 05 00
20 00 00 50 6A 0C 6A F4 E8 F3 82 FC FF 83 C4 08
C1 E0 09 8B 4D 08 03 41 08 50 6A 04 E8 5F 7F 02
00 83 C4 20 EB 97 EB 5E 8B 15 3C E6 49 00 83 E2
08 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00 00
8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00 00 00
64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81 E2 7F
FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90 90
90 90 90 90 90 90 90 8B 55 08 8B 42 14 83 C0 20
8B 4D 08 89 41 14 8B 55 08 81 7A 14 00 02 00 00
7E 0A 8B 45 08 C7 40 14 00 02 00 00 8B 4D 08 81
79 14 00 FE FF FF 7D 0A 8B 55 08 C7 42 14 00 FE
FF FF 8B 45 08 8B 48 0C 8B 55 08 03 4A 14 8B 45
08 89 48 0C C7 45 F0 10 00 00 00 C7 45 F4 00 00
00 00 C7 45 F8 30 00 00 00 C7 45 FC 20 00 00 00
8B 4D 08 83 C1 54 8B 55 F0 89 11 8B 45 F4 89 41
04 8B 55 F8 89 51 08 8B 45 FC 89 41 0C 8B E5 5D
C3 CA 6C 44 00 37 6D 44 00 C0 6D 44 00 0B 6F 44
00 93 6F 44 00 D6 70 44 00 00 05 05 05 05 05 05
05 05 05 01 02 05 05 05 05 05 05 05 05 03 04 CC

0x48B963
5A C8 18 00 00 8B 4D 08 83 79 2C 00 75 02 52 C3
57 8B 7D 08 C7 47 50 0D 00 00 00 83 C7 54 C6 47
50 0A 5F 52 C3
^This should work on both vertical and horizontal, maybe I broke the original versions; they can't crush you now...
 
Last edited:
Apr 29, 2016 at 7:30 PM
beep boop
Bobomb says: "I need a hug!"
Join Date: Aug 16, 2014
Location: no
Posts: 848
Age: 23
Pronouns: he/him
Oh right. The damage thing doesn't work if it's like that. The code for the blocks automatically undo my hack if the block isn't crushing you against a wall!
Try this.
EDIT: FUCK THERE ARE SO MANY UNDOING FUNCTIONS IN THE CODE
Ceebs doing it right; I'll just NOP them.
0x445170
E8 EE 67 04 00 90 8B 45 08 8B 48 74 89 4D E8 83
7D E8 15 0F 87 1F 04 00 00 8B 55 E8 0F B6 82 3B
56 44 00 FF 24 85 23 56 44 00 8B 4D 08 8B 51 08
81 C2 00 10 00 00 8B 45 08 89 50 08 8B 4D 08 8B
51 0C 81 C2 00 10 00 00 8B 45 08 89 50 0C 8B 4D
08 83 79 4C 00 75 0C 8B 55 08 C7 42 74 0A 00 00
00 EB 0A 8B 45 08 C7 40 74 14 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 14 00 00 00
00 8B 45 08 0F B7 48 50 83 C9 40 8B 55 08 66 89
4A 50 E9 A1 03 00 00 8B 45 08 0F B7 48 50 81 E1
7F FF FF FF 8B 55 08 66 89 4A 50 8B 45 08 90 90
90 90 90 90 90 90 90 90 8B 4D 08 8B 51 08 81 C2
00 32 00 00 39 15 54 E6 49 00 7D 4F 8B 45 08 8B
48 08 81 E9 00 20 03 00 39 0D 54 E6 49 00 7E 3B
8B 55 08 8B 42 0C 05 00 32 00 00 39 05 58 E6 49
00 7D 28 8B 4D 08 8B 51 0C 81 EA 00 32 00 00 39
15 58 E6 49 00 7E 14 8B 45 08 C7 40 74 0B 00 00
00 8B 4D 08 C7 41 78 00 00 00 00 E9 18 03 00 00
8B 55 08 8B 42 78 83 C0 01 8B 4D 08 89 41 78 8B
55 08 8B 42 78 99 B9 0A 00 00 00 F7 F9 83 FA 06
75 0C 6A 01 6A 6B E8 85 B3 FD FF 83 C4 08 8B 55
08 8B 42 04 83 E0 01 0F 84 AC 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 4C 02 00 00
00 8B 45 08 C7 40 74 14 00 00 00 6A 0A E8 1E A0
FC FF 83 C4 04 6A 01 6A 1A E8 42 B3 FD FF 83 C4
08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC 83 C1 01
89 4D EC 83 7D EC 04 7D 5B 68 00 01 00 00 6A 00
6A 00 6A 00 68 00 FA FF FF E8 22 A0 FC FF 83 C4
08 50 68 55 01 00 00 68 AB FE FF FF E8 0F A0 FC
FF 83 C4 08 50 6A 0C 6A F4 E8 02 A0 FC FF 83 C4
08 C1 E0 09 8B 55 08 03 42 0C 50 8B 45 08 8B 48
08 81 E9 00 20 00 00 51 6A 04 E8 61 9C 02 00 83
C4 20 EB 96 E9 2F 02 00 00 8B 15 3C E6 49 00 83
E2 01 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00
00 8B 55 08 66 89 4A 50 8B 45 08 90 90 90 90 90
90 90 90 90 90 EB 21 8B 4D 08 0F B7 51 50 81 E2
7F FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90
90 90 90 90 90 90 90 90 8B 55 08 8B 42 10 83 E8
20 8B 4D 08 89 41 10 E9 CC 01 00 00 8B 55 08 0F
B7 42 50 25 7F FF FF FF 8B 4D 08 66 89 41 50 8B
55 08 90 90 90 90 90 90 90 90 90 90 8B 45 08 8B
48 08 81 E9 00 32 00 00 39 0D 54 E6 49 00 7E 4F
8B 55 08 8B 42 08 05 00 20 03 00 39 05 54 E6 49
00 7D 3C 8B 4D 08 8B 51 0C 81 C2 00 32 00 00 39
15 58 E6 49 00 7D 28 8B 45 08 8B 48 0C 81 E9 00
32 00 00 39 0D 58 E6 49 00 7E 14 8B 55 08 C7 42
74 15 00 00 00 8B 45 08 C7 40 78 00 00 00 00 E9
44 01 00 00 8B 4D 08 8B 51 78 83 C2 01 8B 45 08
89 50 78 8B 4D 08 8B 41 78 99 B9 0A 00 00 00 F7
F9 83 FA 06 75 0C 6A 01 6A 6B E8 B1 B1 FD FF 83
C4 08 8B 55 08 8B 42 04 83 E0 04 0F 84 A9 00 00
00 8B 4D 08 C7 41 10 00 00 00 00 8B 55 08 C7 42
4C 00 00 00 00 8B 45 08 C7 40 74 0A 00 00 00 6A
0A E8 4A 9E FC FF 83 C4 04 6A 01 6A 1A E8 6E B1
FD FF 83 C4 08 C7 45 EC 00 00 00 00 EB 09 8B 4D
EC 83 C1 01 89 4D EC 83 7D EC 04 7D 5B 68 00 01
00 00 6A 00 6A 00 6A 00 68 00 FA FF FF E8 4E 9E
FC FF 83 C4 08 50 68 55 01 00 00 68 AB FE FF FF
E8 3B 9E FC FF 83 C4 08 50 6A 0C 6A F4 E8 2E 9E
FC FF 83 C4 08 C1 E0 09 8B 55 08 03 42 0C 50 8B
45 08 8B 48 08 81 C1 00 20 00 00 51 6A 04 E8 8D
9A 02 00 83 C4 20 EB 96 EB 5E 8B 15 3C E6 49 00
83 E2 04 74 23 8B 45 08 0F B7 48 50 81 C9 80 00
00 00 8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00
00 00 64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81
E2 7F FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90
90 90 90 90 90 90 90 90 90 8B 55 08 8B 42 10 83
C0 20 8B 4D 08 89 41 10 8B 55 08 81 7A 10 00 02
00 00 7E 0A 8B 45 08 C7 40 10 00 02 00 00 8B 4D
08 81 79 10 00 FE FF FF 7D 0A 8B 55 08 C7 42 10
00 FE FF FF 8B 45 08 8B 48 08 8B 55 08 03 4A 10
8B 45 08 89 48 08 C7 45 F0 10 00 00 00 C7 45 F4
00 00 00 00 C7 45 F8 30 00 00 00 C7 45 FC 20 00
00 00 8B 4D 08 83 C1 54 8B 55 F0 89 11 8B 45 F4
89 41 04 8B 55 F8 89 51 08 8B 45 FC 89 41 0C 8B
E5 5D C3 9A 51 44 00 07 52 44 00 90 52 44 00 DC
53 44 00 64 54 44 00 A8 55 44 00 00 05 05 05 05
05 05 05 05 05 01 02 05 05 05 05 05 05 05 05 03
04 CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC

0x446CA0
E8 BE 4C 04 00 90 8B 45 08 8B 48 74 89 4D E8 83
7D E8 15 0F 87 1D 04 00 00 8B 55 E8 0F B6 82 69
71 44 00 FF 24 85 51 71 44 00 8B 4D 08 8B 51 08
81 C2 00 10 00 00 8B 45 08 89 50 08 8B 4D 08 8B
51 0C 81 C2 00 10 00 00 8B 45 08 89 50 0C 8B 4D
08 83 79 4C 00 75 0C 8B 55 08 C7 42 74 0A 00 00
00 EB 0A 8B 45 08 C7 40 74 14 00 00 00 8B 4D 08
C7 41 10 00 00 00 00 8B 55 08 C7 42 14 00 00 00
00 8B 45 08 0F B7 48 50 83 C9 40 8B 55 08 66 89
4A 50 E9 9F 03 00 00 8B 45 08 0F B7 48 50 81 E1
7F FF FF FF 8B 55 08 66 89 4A 50 8B 45 08 90 90
90 90 90 90 90 90 90 90 8B 4D 08 8B 51 0C 81 C2
00 32 00 00 39 15 58 E6 49 00 7D 4F 8B 45 08 8B
48 0C 81 E9 00 20 03 00 39 0D 58 E6 49 00 7E 3B
8B 55 08 8B 42 08 05 00 32 00 00 39 05 54 E6 49
00 7D 28 8B 4D 08 8B 51 08 81 EA 00 32 00 00 39
15 54 E6 49 00 7E 14 8B 45 08 C7 40 74 0B 00 00
00 8B 4D 08 C7 41 78 00 00 00 00 E9 16 03 00 00
8B 55 08 8B 42 78 83 C0 01 8B 4D 08 89 41 78 8B
55 08 8B 42 78 99 B9 0A 00 00 00 F7 F9 83 FA 06
75 0C 6A 01 6A 6B E8 55 98 FD FF 83 C4 08 8B 55
08 8B 42 04 83 E0 02 0F 84 AB 00 00 00 8B 4D 08
C7 41 14 00 00 00 00 8B 55 08 C7 42 4C 02 00 00
00 8B 45 08 C7 40 74 14 00 00 00 6A 0A E8 EE 84
FC FF 83 C4 04 6A 01 6A 1A E8 12 98 FD FF 83 C4
08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC 83 C1 01
89 4D EC 83 7D EC 04 7D 5A 68 00 01 00 00 6A 00
6A 00 6A 00 68 00 FA FF FF E8 F2 84 FC FF 83 C4
08 50 68 55 01 00 00 68 AB FE FF FF E8 DF 84 FC
FF 83 C4 08 50 8B 55 08 8B 42 0C 2D 00 20 00 00
50 6A 0C 6A F4 E8 C6 84 FC FF 83 C4 08 C1 E0 09
8B 4D 08 03 41 08 50 6A 04 E8 32 81 02 00 83 C4
20 EB 97 E9 2E 02 00 00 8B 15 3C E6 49 00 83 E2
02 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00 00
8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00 00 00
64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81 E2 7F
FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90 90
90 90 90 90 90 90 90 8B 55 08 8B 42 14 83 E8 20
8B 4D 08 89 41 14 E9 CB 01 00 00 8B 55 08 0F B7
42 50 25 7F FF FF FF 8B 4D 08 66 89 41 50 8B 55
08 90 90 90 90 90 90 90 90 90 90 8B 45 08 8B 48
0C 81 E9 00 32 00 00 39 0D 58 E6 49 00 7E 4F 8B
55 08 8B 42 0C 05 00 20 03 00 39 05 58 E6 49 00
7D 3C 8B 4D 08 8B 51 08 81 C2 00 32 00 00 39 15
54 E6 49 00 7D 28 8B 45 08 8B 48 08 81 E9 00 32
00 00 39 0D 54 E6 49 00 7E 14 8B 55 08 C7 42 74
15 00 00 00 8B 45 08 C7 40 78 00 00 00 00 E9 43
01 00 00 8B 4D 08 8B 51 78 83 C2 01 8B 45 08 89
50 78 8B 4D 08 8B 41 78 99 B9 0A 00 00 00 F7 F9
83 FA 06 75 0C 6A 01 6A 6B E8 82 96 FD FF 83 C4
08 8B 55 08 8B 42 04 83 E0 08 0F 84 A8 00 00 00
8B 4D 08 C7 41 14 00 00 00 00 8B 55 08 C7 42 4C
00 00 00 00 8B 45 08 C7 40 74 0A 00 00 00 6A 0A
E8 1B 83 FC FF 83 C4 04 6A 01 6A 1A E8 3F 96 FD
FF 83 C4 08 C7 45 EC 00 00 00 00 EB 09 8B 4D EC
83 C1 01 89 4D EC 83 7D EC 04 7D 5A 68 00 01 00
00 6A 00 6A 00 6A 00 68 00 FA FF FF E8 1F 83 FC
FF 83 C4 08 50 68 55 01 00 00 68 AB FE FF FF E8
0C 83 FC FF 83 C4 08 50 8B 55 08 8B 42 0C 05 00
20 00 00 50 6A 0C 6A F4 E8 F3 82 FC FF 83 C4 08
C1 E0 09 8B 4D 08 03 41 08 50 6A 04 E8 5F 7F 02
00 83 C4 20 EB 97 EB 5E 8B 15 3C E6 49 00 83 E2
08 74 23 8B 45 08 0F B7 48 50 81 C9 80 00 00 00
8B 55 08 66 89 4A 50 8B 45 08 C7 80 A4 00 00 00
64 00 00 00 EB 21 8B 4D 08 0F B7 51 50 81 E2 7F
FF FF FF 8B 45 08 66 89 50 50 8B 4D 08 90 90 90
90 90 90 90 90 90 90 8B 55 08 8B 42 14 83 C0 20
8B 4D 08 89 41 14 8B 55 08 81 7A 14 00 02 00 00
7E 0A 8B 45 08 C7 40 14 00 02 00 00 8B 4D 08 81
79 14 00 FE FF FF 7D 0A 8B 55 08 C7 42 14 00 FE
FF FF 8B 45 08 8B 48 0C 8B 55 08 03 4A 14 8B 45
08 89 48 0C C7 45 F0 10 00 00 00 C7 45 F4 00 00
00 00 C7 45 F8 30 00 00 00 C7 45 FC 20 00 00 00
8B 4D 08 83 C1 54 8B 55 F0 89 11 8B 45 F4 89 41
04 8B 55 F8 89 51 08 8B 45 FC 89 41 0C 8B E5 5D
C3 CA 6C 44 00 37 6D 44 00 C0 6D 44 00 0B 6F 44
00 93 6F 44 00 D6 70 44 00 00 05 05 05 05 05 05
05 05 05 01 02 05 05 05 05 05 05 05 05 03 04 CC

0x48B963
5A C8 18 00 00 8B 4D 08 83 79 2C 00 75 02 52 C3
57 8B 7D 08 C7 47 50 0D 00 00 00 83 C7 54 C6 47
50 0A 5F 52 C3
^This should work on both vertical and horizontal, maybe I broke the original versions; they can't crush you now...

Well, one effect, the hurt on touch, works, but they don't go through walls.
 
Back
Top