• 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

Aug 28, 2016 at 7:28 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Aug 28, 2016
Location:
Posts: 9
Age: 35
I want use 'frog balrog' boss
But when i open original game
There only 'BOA' command
I expectation 'CNP" command
How use frog boss?
 
Aug 28, 2016 at 3:28 PM
The TideWalker
Modding Community Discord Founder
"That dog!"
Join Date: Apr 5, 2013
Location: In my mind and of my body.
Posts: 1642
Age: 27
<BOA is the equivalent to <CNP just for special bosses because Balfrog is a special boss.
 
Aug 29, 2016 at 10:54 AM
Junior Member
"It's dangerous to go alone!"
Join Date: Sep 4, 2014
Location: South Korea
Posts: 44
Pronouns: he/him
MEDIA]help! - YouTube by modmake posted Yesterday at 9:33 PM
I want to be a missile destroyed hits player or wall or floor .
I would like to place a missile out at the sparkling reluctance .
 
Sep 7, 2016 at 12:34 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
99% sure this has been asked before but I'm too lazy to go through 370 pages, but, How does one use the <IMG command to have images appear in their mod? I want to have short animations in my mod. Is there an easier way than using the <IMG command followed by a <WAI command over and over to make animations? Thanks.
 
Sep 7, 2016 at 1:36 AM
Senior Member
"Wahoo! Upgrade!"
Join Date: Aug 14, 2016
Location: somewhere in Louisiana
Posts: 65
99% sure this has been asked before but I'm too lazy to go through 370 pages, but, How does one use the <IMG command to have images appear in their mod? I want to have short animations in my mod. Is there an easier way than using the <IMG command followed by a <WAI command over and over to make animations? Thanks.
As far as I know, there is a way to play videos through some CS Editor that I forgot's name and that i don't use.
Sorry if that doesn't help :P
 
Sep 7, 2016 at 1:41 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
As far as I know, there is a way to play videos through some CS Editor that I forgot's name and that i don't use.
Sorry if that doesn't help :p
Cool, but how do I use the <IMG command? That was my main question.
 
Sep 7, 2016 at 2:11 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
<IMGboat draws the image timgboat.bmp in the data folder.
How would I use it though? It's not in the TSC. How do I add the command? Also, is there a way to add multiple images?
 
Sep 7, 2016 at 3:57 AM
Snacker
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2861
Age: 30
Pronouns: She/Her
How would I use it though? It's not in the TSC. How do I add the command? Also, is there a way to add multiple images?
Install it through the TSC+ hack on Booster's Lab.
 
Sep 7, 2016 at 2:11 PM
Junior Member
"It's dangerous to go alone!"
Join Date: Sep 4, 2014
Location: South Korea
Posts: 44
Pronouns: he/him
um,,,, i use trolly by npc 189 and change npc table by the way is still pass block how can change that???
 
Sep 7, 2016 at 3:02 PM
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
um,,,, i use trolly by npc 189 and change npc table by the way is still pass block how can change that???
There is a limit to how wide or tall hitbox can be. For size 0, 1, 2 npc this is two tiles (32px). For size 3 npc it is three tiles (48px)
 
Sep 8, 2016 at 8:01 AM
Junior Member
"It's dangerous to go alone!"
Join Date: Sep 4, 2014
Location: South Korea
Posts: 44
Pronouns: he/him
There is a limit to how wide or tall hitbox can be. For size 0, 1, 2 npc this is two tiles (32px). For size 3 npc it is three tiles (48px)
p219264-0-full.png

how change that??
 
Sep 14, 2016 at 4:07 AM
Junior Member
"It's dangerous to go alone!"
Join Date: Sep 4, 2014
Location: South Korea
Posts: 44
Pronouns: he/him
I change by npc81 use cord npc153 is pretty much work, but i can't find graphic render cord
[cord]
CPU Disasm
Address Hex dump Command Comments
004370F0 /$ 55 PUSH EBP
004370F1 |. 8BEC MOV EBP,ESP
004370F3 |. 51 PUSH ECX
004370F4 |. A1 54E64900 MOV EAX,DWORD PTR DS:[49E654]
004370F9 |. 05 00800200 ADD EAX,28000
004370FE |. 8B4D 08 MOV ECX,DWORD PTR SS:[ARG.1]
00437101 |. 3941 08 CMP DWORD PTR DS:[ECX+8],EAX
00437104 |. 7F 3A JG SHORT 00437140
00437106 |. 8B15 54E64900 MOV EDX,DWORD PTR DS:[49E654]
0043710C |. 81EA 00800200 SUB EDX,28000
00437112 |. 8B45 08 MOV EAX,DWORD PTR SS:[ARG.1]
00437115 |. 3950 08 CMP DWORD PTR DS:[EAX+8],EDX
00437118 |. 7C 26 JL SHORT 00437140
0043711A |. 8B0D 58E64900 MOV ECX,DWORD PTR DS:[49E658]
00437120 |. 81C1 00E00100 ADD ECX,1E000
00437126 |. 8B55 08 MOV EDX,DWORD PTR SS:[ARG.1]
00437129 |. 394A 0C CMP DWORD PTR DS:[EDX+0C],ECX
0043712C |. 7F 12 JG SHORT 00437140
0043712E |. A1 58E64900 MOV EAX,DWORD PTR DS:[49E658]
00437133 |. 2D 00E00100 SUB EAX,1E000
00437138 |. 8B4D 08 MOV ECX,DWORD PTR SS:[ARG.1]
0043713B |. 3941 0C CMP DWORD PTR DS:[ECX+0C],EAX
0043713E |. 7D 05 JGE SHORT 00437145
00437140 |> E9 47040000 JMP 0043758C
00437145 |> 8B55 08 MOV EDX,DWORD PTR SS:[ARG.1]
00437148 |. 8B42 74 MOV EAX,DWORD PTR DS:[EDX+74]
0043714B |. 8945 FC MOV DWORD PTR SS:[LOCAL.1],EAX
0043714E |. 837D FC 15 CMP DWORD PTR SS:[LOCAL.1],15
00437152 |. 0F87 6B030000 JA 004374C3
00437158 |. 8B4D FC MOV ECX,DWORD PTR SS:[LOCAL.1]
0043715B |. 0FB691 E06444 MOVZX EDX,BYTE PTR DS:[ECX+4464E0] ; Switch (cases 0..7, 8 exits)
00437162 \. FF2495 C06444 JMP DWORD PTR DS:[EDX*4+4464C0]
00437169 /. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043716C |. C740 74 01000 MOV DWORD PTR DS:[EAX+74],1
00437173 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437176 |. C741 10 00000 MOV DWORD PTR DS:[ECX+10],0
0043717D |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437180 |. C742 68 00000 MOV DWORD PTR DS:[EDX+68],0
00437187 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043718A |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+0C]
0043718D |. 81C1 00060000 ADD ECX,600
00437193 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437196 |. 894A 0C MOV DWORD PTR DS:[EDX+0C],ECX
00437199 |. 6A 64 PUSH 64
0043719B |. 6A 00 PUSH 0
0043719D |. E8 7E92FCFF CALL 00400420
004371A2 |. 83C4 08 ADD ESP,8
004371A5 |. 83F8 01 CMP EAX,1
004371A8 |. 75 1E JNE SHORT 004371C8
004371AA |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004371AD |. C740 74 02000 MOV DWORD PTR DS:[EAX+74],2
004371B4 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004371B7 |. C741 68 01000 MOV DWORD PTR DS:[ECX+68],1
004371BE |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004371C1 |. C742 78 00000 MOV DWORD PTR DS:[EDX+78],0
004371C8 |> 6A 64 PUSH 64
004371CA |. 6A 00 PUSH 0
004371CC |. E8 4F92FCFF CALL 00400420
004371D1 |. 83C4 08 ADD ESP,8
004371D4 |. 83F8 01 CMP EAX,1
004371D7 |. 75 1F JNE SHORT 004371F8
004371D9 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004371DC |. 8378 4C 00 CMP DWORD PTR DS:[EAX+4C],0
004371E0 |. 75 0C JNE SHORT 004371EE
004371E2 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004371E5 |. C741 4C 02000 MOV DWORD PTR DS:[ECX+4C],2
004371EC |. EB 0A JMP SHORT 004371F8
004371EE |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004371F1 |. C742 4C 00000 MOV DWORD PTR DS:[EDX+4C],0
004371F8 |> 6A 64 PUSH 64
004371FA |. 6A 00 PUSH 0
004371FC |. E8 1F92FCFF CALL 00400420
00437201 |. 83C4 08 ADD ESP,8
00437204 |. 83F8 01 CMP EAX,1
00437207 |. 75 0A JNE SHORT 00437213
00437209 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043720C |. C740 74 0A000 MOV DWORD PTR DS:[EAX+74],0A
00437213 \> E9 AB020000 JMP 004374C3
00437218 /. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043721B |. 8B51 78 MOV EDX,DWORD PTR DS:[ECX+78]
0043721E |. 83C2 01 ADD EDX,1
00437221 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437224 |. 8950 78 MOV DWORD PTR DS:[EAX+78],EDX
00437227 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043722A |. 8379 78 14 CMP DWORD PTR DS:[ECX+78],14
0043722E |. 7E 14 JLE SHORT 00437244
00437230 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437233 |. C742 74 01000 MOV DWORD PTR DS:[EDX+74],1
0043723A |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043723D |. C740 68 00000 MOV DWORD PTR DS:[EAX+68],0
00437244 \> E9 7A020000 JMP 004374C3
00437249 /. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043724C |. C741 74 0B000 MOV DWORD PTR DS:[ECX+74],0B
00437253 |. 6A 64 PUSH 64
00437255 |. 6A 19 PUSH 19
00437257 |. E8 C491FCFF CALL 00400420
0043725C |. 83C4 08 ADD ESP,8
0043725F |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437262 |. 8942 78 MOV DWORD PTR DS:[EDX+78],EAX
00437265 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437268 |. C740 68 02000 MOV DWORD PTR DS:[EAX+68],2
0043726F |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437272 |. C741 64 00000 MOV DWORD PTR DS:[ECX+64],0
00437279 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043727C |. 8B42 64 MOV EAX,DWORD PTR DS:[EDX+64]
0043727F |. 83C0 01 ADD EAX,1
00437282 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437285 |. 8941 64 MOV DWORD PTR DS:[ECX+64],EAX
00437288 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043728B |. 837A 64 03 CMP DWORD PTR DS:[EDX+64],3
0043728F |. 7E 19 JLE SHORT 004372AA
00437291 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437294 |. C740 64 00000 MOV DWORD PTR DS:[EAX+64],0
0043729B |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043729E |. 8B51 68 MOV EDX,DWORD PTR DS:[ECX+68]
004372A1 |. 83C2 01 ADD EDX,1
004372A4 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004372A7 |. 8950 68 MOV DWORD PTR DS:[EAX+68],EDX
004372AA |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004372AD |. 8379 68 05 CMP DWORD PTR DS:[ECX+68],5
004372B1 |. 7E 0A JLE SHORT 004372BD
004372B3 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004372B6 |. C742 68 02000 MOV DWORD PTR DS:[EDX+68],2
004372BD |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004372C0 |. 8378 4C 00 CMP DWORD PTR DS:[EAX+4C],0
004372C4 |. 75 0C JNE SHORT 004372D2
004372C6 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004372C9 |. C741 10 00FEF MOV DWORD PTR DS:[ECX+10],-200
004372D0 |. EB 0A JMP SHORT 004372DC
004372D2 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004372D5 |. C742 10 00020 MOV DWORD PTR DS:[EDX+10],200
004372DC |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004372DF |. 8378 78 00 CMP DWORD PTR DS:[EAX+78],0
004372E3 |. 74 11 JE SHORT 004372F6
004372E5 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004372E8 |. 8B51 78 MOV EDX,DWORD PTR DS:[ECX+78]
004372EB |. 83EA 01 SUB EDX,1
004372EE |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004372F1 |. 8950 78 MOV DWORD PTR DS:[EAX+78],EDX
004372F4 |. EB 1E JMP SHORT 00437314
004372F6 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004372F9 |. C741 74 01000 MOV DWORD PTR DS:[ECX+74],1
00437300 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437303 |. C742 68 00000 MOV DWORD PTR DS:[EDX+68],0
0043730A |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043730D |. C740 10 00000 MOV DWORD PTR DS:[EAX+10],0
00437314 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437317 |. 8379 4C 00 CMP DWORD PTR DS:[ECX+4C],0
0043731B |. 75 43 JNE SHORT 00437360
0043731D |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437320 |. 8B42 04 MOV EAX,DWORD PTR DS:[EDX+4]
00437323 |. 83E0 01 AND EAX,00000001
00437326 |. 74 38 JZ SHORT 00437360
00437328 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043732B |. C741 68 02000 MOV DWORD PTR DS:[ECX+68],2
00437332 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437335 |. C742 14 01FAF MOV DWORD PTR DS:[EDX+14],-5FF
0043733C |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043733F |. C740 74 14000 MOV DWORD PTR DS:[EAX+74],14
00437346 |. 0FB60D 38E649 MOVZX ECX,BYTE PTR DS:[49E638]
0043734D |. 83E1 02 AND ECX,00000002
00437350 |. 75 0C JNZ SHORT 0043735E
00437352 |. 6A 01 PUSH 1
00437354 |. 6A 1E PUSH 1E
00437356 |. E8 B5A3FDFF CALL 00411710
0043735B |. 83C4 08 ADD ESP,8
0043735E |> EB 4A JMP SHORT 004373AA
00437360 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437363 |. 837A 4C 02 CMP DWORD PTR DS:[EDX+4C],2
00437367 |. 75 41 JNE SHORT 004373AA
00437369 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043736C |. 8B48 04 MOV ECX,DWORD PTR DS:[EAX+4]
0043736F |. 83E1 04 AND ECX,00000004
00437372 |. 74 36 JZ SHORT 004373AA
00437374 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437377 |. C742 68 02000 MOV DWORD PTR DS:[EDX+68],2
0043737E |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437381 |. C740 14 01FAF MOV DWORD PTR DS:[EAX+14],-5FF
00437388 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043738B |. C741 74 14000 MOV DWORD PTR DS:[ECX+74],14
00437392 |. 0FB615 38E649 MOVZX EDX,BYTE PTR DS:[49E638]
00437399 |. 83E2 02 AND EDX,00000002
0043739C |. 75 0C JNZ SHORT 004373AA
0043739E |. 6A 01 PUSH 1
004373A0 |. 6A 1E PUSH 1E
004373A2 |. E8 69A3FDFF CALL 00411710
004373A7 |. 83C4 08 ADD ESP,8
004373AA \> E9 14010000 JMP 004374C3
004373AF /. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004373B2 |. 8378 4C 00 CMP DWORD PTR DS:[EAX+4C],0
004373B6 |. 75 1C JNE SHORT 004373D4
004373B8 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004373BB |. 8B51 04 MOV EDX,DWORD PTR DS:[ECX+4]
004373BE |. 83E2 01 AND EDX,00000001
004373C1 |. 74 11 JZ SHORT 004373D4
004373C3 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004373C6 |. 8B48 6C MOV ECX,DWORD PTR DS:[EAX+6C]
004373C9 |. 83C1 01 ADD ECX,1
004373CC |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004373CF |. 894A 6C MOV DWORD PTR DS:[EDX+6C],ECX
004373D2 |. EB 2F JMP SHORT 00437403
004373D4 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004373D7 |. 8378 4C 02 CMP DWORD PTR DS:[EAX+4C],2
004373DB |. 75 1C JNE SHORT 004373F9
004373DD |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004373E0 |. 8B51 04 MOV EDX,DWORD PTR DS:[ECX+4]
004373E3 |. 83E2 04 AND EDX,00000004
004373E6 |. 74 11 JZ SHORT 004373F9
004373E8 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004373EB |. 8B48 6C MOV ECX,DWORD PTR DS:[EAX+6C]
004373EE |. 83C1 01 ADD ECX,1
004373F1 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004373F4 |. 894A 6C MOV DWORD PTR DS:[EDX+6C],ECX
004373F7 |. EB 0A JMP SHORT 00437403
004373F9 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004373FC |. C740 6C 00000 MOV DWORD PTR DS:[EAX+6C],0
00437403 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437406 |. 8379 6C 0A CMP DWORD PTR DS:[ECX+6C],0A
0043740A |. 7E 1F JLE SHORT 0043742B
0043740C |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043740F |. 837A 4C 00 CMP DWORD PTR DS:[EDX+4C],0
00437413 |. 75 0C JNE SHORT 00437421
00437415 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437418 |. C740 4C 02000 MOV DWORD PTR DS:[EAX+4C],2
0043741F |. EB 0A JMP SHORT 0043742B
00437421 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437424 |. C741 4C 00000 MOV DWORD PTR DS:[ECX+4C],0
0043742B |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043742E |. 837A 4C 00 CMP DWORD PTR DS:[EDX+4C],0
00437432 |. 75 0C JNE SHORT 00437440
00437434 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437437 |. C740 10 00FFF MOV DWORD PTR DS:[EAX+10],-100
0043743E |. EB 0A JMP SHORT 0043744A
00437440 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437443 |. C741 10 00010 MOV DWORD PTR DS:[ECX+10],100
0043744A |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043744D |. 8B42 04 MOV EAX,DWORD PTR DS:[EDX+4]
00437450 |. 83E0 08 AND EAX,00000008
00437453 |. 74 40 JZ SHORT 00437495
00437455 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437458 |. C741 74 15000 MOV DWORD PTR DS:[ECX+74],15
0043745F |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437462 |. C742 68 14000 MOV DWORD PTR DS:[EDX+68],14
00437469 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043746C |. C740 78 00000 MOV DWORD PTR DS:[EAX+78],0
00437473 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437476 |. C741 10 00000 MOV DWORD PTR DS:[ECX+10],0
0043747D |. 0FB615 38E649 MOVZX EDX,BYTE PTR DS:[49E638]
00437484 |. 83E2 02 AND EDX,00000002
00437487 |. 75 0C JNZ SHORT 00437495
00437489 |. 6A 01 PUSH 1
0043748B |. 6A 17 PUSH 17
0043748D |. E8 7EA2FDFF CALL 00411710
00437492 |. 83C4 08 ADD ESP,8
00437495 \> EB 2C JMP SHORT 004374C3
00437497 /. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043749A |. 8B48 78 MOV ECX,DWORD PTR DS:[EAX+78]
0043749D |. 83C1 01 ADD ECX,1
004374A0 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004374A3 |. 894A 78 MOV DWORD PTR DS:[EDX+78],ECX
004374A6 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004374A9 |. 8378 78 0A CMP DWORD PTR DS:[EAX+78],0A
004374AD |. 7E 14 JLE SHORT 004374C3
004374AF |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004374B2 |. C741 74 01000 MOV DWORD PTR DS:[ECX+74],1
004374B9 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004374BC |. C742 68 00000 MOV DWORD PTR DS:[EDX+68],0
004374C3 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004374C6 |. 8B48 14 MOV ECX,DWORD PTR DS:[EAX+14]
004374C9 |. 83C1 40 ADD ECX,40
004374CC |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004374CF |. 894A 14 MOV DWORD PTR DS:[EDX+14],ECX
004374D2 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004374D5 |. 8178 14 FF050 CMP DWORD PTR DS:[EAX+14],5FF
004374DC |. 7E 0A JLE SHORT 004374E8
004374DE |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004374E1 |. C741 14 FF050 MOV DWORD PTR DS:[ECX+14],5FF
004374E8 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004374EB |. 8B42 08 MOV EAX,DWORD PTR DS:[EDX+8]
004374EE |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
004374F1 |. 0341 10 ADD EAX,DWORD PTR DS:[ECX+10]
004374F4 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
004374F7 |. 8942 08 MOV DWORD PTR DS:[EDX+8],EAX
004374FA |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
004374FD |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+0C]
00437500 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437503 |. 034A 14 ADD ECX,DWORD PTR DS:[EDX+14]
00437506 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437509 |. 8948 0C MOV DWORD PTR DS:[EAX+0C],ECX
0043750C |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043750F |. 8379 4C 00 CMP DWORD PTR DS:[ECX+4C],0
00437513 |. 75 2C JNE SHORT 00437541
00437515 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437518 |. 8B42 68 MOV EAX,DWORD PTR DS:[EDX+68]
0043751B |. C1E0 04 SHL EAX,4
0043751E |. 05 A0824900 ADD EAX,OFFSET 004982A0
00437523 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437526 |. 83C1 54 ADD ECX,54
00437529 |. 8B10 MOV EDX,DWORD PTR DS:[EAX]
0043752B |. 8911 MOV DWORD PTR DS:[ECX],EDX
0043752D |. 8B50 04 MOV EDX,DWORD PTR DS:[EAX+4]
00437530 |. 8951 04 MOV DWORD PTR DS:[ECX+4],EDX
00437533 |. 8B50 08 MOV EDX,DWORD PTR DS:[EAX+8]
00437536 |. 8951 08 MOV DWORD PTR DS:[ECX+8],EDX
00437539 |. 8B40 0C MOV EAX,DWORD PTR DS:[EAX+0C]
0043753C |. 8941 0C MOV DWORD PTR DS:[ECX+0C],EAX
0043753F |. EB 2B JMP SHORT 0043756C
00437541 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
00437544 |. 8B51 68 MOV EDX,DWORD PTR DS:[ECX+68]
00437547 |. C1E2 04 SHL EDX,4
0043754A |. 81C2 F0834900 ADD EDX,OFFSET 004983F0
00437550 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
00437553 |. 83C0 54 ADD EAX,54
00437556 |. 8B0A MOV ECX,DWORD PTR DS:[EDX]
00437558 |. 8908 MOV DWORD PTR DS:[EAX],ECX
0043755A |. 8B4A 04 MOV ECX,DWORD PTR DS:[EDX+4]
0043755D |. 8948 04 MOV DWORD PTR DS:[EAX+4],ECX
00437560 |. 8B4A 08 MOV ECX,DWORD PTR DS:[EDX+8]
00437563 |. 8948 08 MOV DWORD PTR DS:[EAX+8],ECX
00437566 |. 8B52 0C MOV EDX,DWORD PTR DS:[EDX+0C]
00437569 |. 8950 0C MOV DWORD PTR DS:[EAX+0C],EDX
0043756C |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043756F |. 8178 40 D9030 CMP DWORD PTR DS:[EAX+40],3D9
00437576 |. 7F 14 JG SHORT 0043758C
00437578 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043757B |. C741 28 9A000 MOV DWORD PTR DS:[ECX+28],9A
00437582 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
00437585 |. C742 74 00000 MOV DWORD PTR DS:[EDX+74],0
0043758C |> 8BE5 MOV ESP,EBP
0043758E |. 5D POP EBP
0043758F \. C3 RETN
[/cord]
where this cord can i find that

Edit by DT: Shrunk
 
Last edited:
Sep 14, 2016 at 4:54 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
Wow dude that is one massive post.
Next time you post something as big as that, consider putting it in a spoiler.

As for why your code isn't working, you can't just simply binary copy codes from one location to another if the codes use CALLs. For example, there is a CALL in your copied code that goes to 0x400420, which is actually an invalid command. If you view it, it's just a bunch of zeroes, which means they'll assemble to ADD BYTE PTR [EAX], AL, which is useless to your NPC AI functions.
 
Sep 18, 2016 at 4:04 PM
Senior Member
"Wahoo! Upgrade!"
Join Date: Aug 14, 2016
Location: somewhere in Louisiana
Posts: 65
Hello me again.

Let's say that after triggering an h/v, i want the screen to shake. How do I do that?
 
Back
Top