Quick Modding/Hacking Answers Thread

Jun 25, 2013 at 2:49 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
He's saying "where did you pull the number 10% from? Your ass??".
 
Jun 26, 2013 at 9:53 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
Noxid said:
I'm saying you have no idea what you're talking about
So. . . it is legal to port stuff form CS+ to CS????

I thought the most you could do is make patches for CS+.

And isn't the content only found in CS+ copyrighted by Nicalis?

And also. . . doesn't SkyeWelse's thread about Wii-ware version hacking also apply to CS+?


EDIT-

GiR maybe the 10% only applies to written material. . . It's been so long since I've studied that. . . -_-


For some odd reason, the power critter(s) flash in and out of existence when flying. . . why?

I copy/pasted the power critter's code over entity 118# ( I needed two separate entities for the power critter) and I have had problems since.

The problem is not in the framarects.

Code?

CPU Disasm
Address Hex dump Command Comments
0043E9B0 /$ 55 PUSH EBP
0043E9B1 |. 8BEC MOV EBP,ESP
0043E9B3 |. 81EC C4000000 SUB ESP,0C4
0043E9B9 |. C745 A0 00000 MOV DWORD PTR SS:[EBP-60],0
0043E9C0 |. C745 A4 00000 MOV DWORD PTR SS:[EBP-5C],0
0043E9C7 |. C745 A8 18000 MOV DWORD PTR SS:[EBP-58],18
0043E9CE |. C745 AC 18000 MOV DWORD PTR SS:[EBP-54],18
0043E9D5 |. C745 B0 18000 MOV DWORD PTR SS:[EBP-50],18
0043E9DC |. C745 B4 00000 MOV DWORD PTR SS:[EBP-4C],0
0043E9E3 |. C745 B8 30000 MOV DWORD PTR SS:[EBP-48],30
0043E9EA |. C745 BC 18000 MOV DWORD PTR SS:[EBP-44],18
0043E9F1 |. C745 C0 30000 MOV DWORD PTR SS:[EBP-40],30
0043E9F8 |. C745 C4 00000 MOV DWORD PTR SS:[EBP-3C],0
0043E9FF |. C745 C8 48000 MOV DWORD PTR SS:[EBP-38],48
0043EA06 |. C745 CC 18000 MOV DWORD PTR SS:[EBP-34],18
0043EA0D |. C745 D0 48000 MOV DWORD PTR SS:[EBP-30],48
0043EA14 |. C745 D4 00000 MOV DWORD PTR SS:[EBP-2C],0
0043EA1B |. C745 D8 60000 MOV DWORD PTR SS:[EBP-28],60
0043EA22 |. C745 DC 18000 MOV DWORD PTR SS:[EBP-24],18
0043EA29 |. C745 E0 60000 MOV DWORD PTR SS:[EBP-20],60
0043EA30 |. C745 E4 00000 MOV DWORD PTR SS:[EBP-1C],0
0043EA37 |. C745 E8 78000 MOV DWORD PTR SS:[EBP-18],78
0043EA3E |. C745 EC 18000 MOV DWORD PTR SS:[EBP-14],18
0043EA45 |. C745 F0 78000 MOV DWORD PTR SS:[EBP-10],78
0043EA4C |. C745 F4 00000 MOV DWORD PTR SS:[EBP-0C],0
0043EA53 |. C745 F8 90000 MOV DWORD PTR SS:[EBP-8],90
0043EA5A |. C745 FC 18000 MOV DWORD PTR SS:[EBP-4],18
0043EA61 |. C785 40FFFFFF MOV DWORD PTR SS:[EBP-0C0],0
0043EA6B |. C785 44FFFFFF MOV DWORD PTR SS:[EBP-0BC],18
0043EA75 |. C785 48FFFFFF MOV DWORD PTR SS:[EBP-0B8],18
0043EA7F |. C785 4CFFFFFF MOV DWORD PTR SS:[EBP-0B4],30
0043EA89 |. C785 50FFFFFF MOV DWORD PTR SS:[EBP-0B0],18
0043EA93 |. C785 54FFFFFF MOV DWORD PTR SS:[EBP-0AC],18
0043EA9D |. C785 58FFFFFF MOV DWORD PTR SS:[EBP-0A8],30
0043EAA7 |. C785 5CFFFFFF MOV DWORD PTR SS:[EBP-0A4],30
0043EAB1 |. C785 60FFFFFF MOV DWORD PTR SS:[EBP-0A0],30
0043EABB |. C785 64FFFFFF MOV DWORD PTR SS:[EBP-9C],18
0043EAC5 |. C785 68FFFFFF MOV DWORD PTR SS:[EBP-98],48
0043EACF |. C785 6CFFFFFF MOV DWORD PTR SS:[EBP-94],30
0043EAD9 |. C785 70FFFFFF MOV DWORD PTR SS:[EBP-90],48
0043EAE3 |. C785 74FFFFFF MOV DWORD PTR SS:[EBP-8C],18
0043EAED |. C785 78FFFFFF MOV DWORD PTR SS:[EBP-88],60
0043EAF7 |. C785 7CFFFFFF MOV DWORD PTR SS:[EBP-84],30
0043EB01 |. C745 80 60000 MOV DWORD PTR SS:[EBP-80],60
0043EB08 |. C745 84 18000 MOV DWORD PTR SS:[EBP-7C],18
0043EB0F |. C745 88 78000 MOV DWORD PTR SS:[EBP-78],78
0043EB16 |. C745 8C 30000 MOV DWORD PTR SS:[EBP-74],30
0043EB1D |. C745 90 78000 MOV DWORD PTR SS:[EBP-70],78
0043EB24 |. C745 94 18000 MOV DWORD PTR SS:[EBP-6C],18
0043EB2B |. C745 98 90000 MOV DWORD PTR SS:[EBP-68],90
0043EB32 |. C745 9C 30000 MOV DWORD PTR SS:[EBP-64],30
0043EB39 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EB3C |. 8B48 74 MOV ECX,DWORD PTR DS:[EAX+74]
0043EB3F |. 898D 3CFFFFFF MOV DWORD PTR SS:[EBP-0C4],ECX
0043EB45 |. 83BD 3CFFFFFF CMP DWORD PTR SS:[EBP-0C4],5
0043EB4C |. 0F87 84030000 JA 0043EED6
0043EB52 |. 8B95 3CFFFFFF MOV EDX,DWORD PTR SS:[EBP-0C4]
0043EB58 \. FF2495 65B242 JMP DWORD PTR DS:[EDX*4+42B265]
0043EB5F /. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EB62 |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+0C]
0043EB65 |. 81C1 00060000 ADD ECX,600
0043EB6B |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EB6E |. 894A 0C MOV DWORD PTR DS:[EDX+0C],ECX
0043EB71 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EB74 |. C740 74 01000 MOV DWORD PTR DS:[EAX+74],1
0043EB7B |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EB7E |. 8379 78 08 CMP DWORD PTR DS:[ECX+78],8
0043EB82 |. 7C 7E JL SHORT 0043EC02
0043EB84 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EB87 |. 8B42 08 MOV EAX,DWORD PTR DS:[EDX+8]
0043EB8A |. 2D 00000100 SUB EAX,10000
0043EB8F |. 3B05 54E64900 CMP EAX,DWORD PTR DS:[49E654]
0043EB95 |. 7D 6B JGE SHORT 0043EC02
0043EB97 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EB9A |. 8B51 08 MOV EDX,DWORD PTR DS:[ECX+8]
0043EB9D |. 81C2 00000100 ADD EDX,10000
0043EBA3 |. 3B15 54E64900 CMP EDX,DWORD PTR DS:[49E654]
0043EBA9 |. 7E 57 JLE SHORT 0043EC02
0043EBAB |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EBAE |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+0C]
0043EBB1 |. 81E9 00000100 SUB ECX,10000
0043EBB7 |. 3B0D 58E64900 CMP ECX,DWORD PTR DS:[49E658]
0043EBBD |. 7D 43 JGE SHORT 0043EC02
0043EBBF |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EBC2 |. 8B42 0C MOV EAX,DWORD PTR DS:[EDX+0C]
0043EBC5 |. 05 00600000 ADD EAX,6000
0043EBCA |. 3B05 58E64900 CMP EAX,DWORD PTR DS:[49E658]
0043EBD0 |. 7E 30 JLE SHORT 0043EC02
0043EBD2 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EBD5 |. 8B51 08 MOV EDX,DWORD PTR DS:[ECX+8]
0043EBD8 |. 3B15 54E64900 CMP EDX,DWORD PTR DS:[49E654]
0043EBDE |. 7E 0C JLE SHORT 0043EBEC
0043EBE0 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EBE3 |. C740 4C 00000 MOV DWORD PTR DS:[EAX+4C],0
0043EBEA |. EB 0A JMP SHORT 0043EBF6
0043EBEC |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EBEF |. C741 4C 02000 MOV DWORD PTR DS:[ECX+4C],2
0043EBF6 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EBF9 |. C742 68 01000 MOV DWORD PTR DS:[EDX+68],1
0043EC00 |. EB 22 JMP SHORT 0043EC24
0043EC02 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EC05 |. 8378 78 08 CMP DWORD PTR DS:[EAX+78],8
0043EC09 |. 7D 0F JGE SHORT 0043EC1A
0043EC0B |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EC0E |. 8B51 78 MOV EDX,DWORD PTR DS:[ECX+78]
0043EC11 |. 83C2 01 ADD EDX,1
0043EC14 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EC17 |. 8950 78 MOV DWORD PTR DS:[EAX+78],EDX
0043EC1A |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EC1D |. C741 68 00000 MOV DWORD PTR DS:[ECX+68],0
0043EC24 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EC27 |. 0FB682 9C0000 MOVZX EAX,BYTE PTR DS:[EDX+9C]
0043EC2E |. 85C0 TEST EAX,EAX
0043EC30 |. 74 1E JE SHORT 0043EC50
0043EC32 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EC35 |. C741 74 02000 MOV DWORD PTR DS:[ECX+74],2
0043EC3C |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EC3F |. C742 68 00000 MOV DWORD PTR DS:[EDX+68],0
0043EC46 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EC49 |. C740 78 00000 MOV DWORD PTR DS:[EAX+78],0
0043EC50 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EC53 |. 8379 78 08 CMP DWORD PTR DS:[ECX+78],8
0043EC57 |. 7C 6C JL SHORT 0043ECC5
0043EC59 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EC5C |. 8B42 08 MOV EAX,DWORD PTR DS:[EDX+8]
0043EC5F |. 2D 00C00000 SUB EAX,0C000
0043EC64 |. 3B05 54E64900 CMP EAX,DWORD PTR DS:[49E654]
0043EC6A |. 7D 59 JGE SHORT 0043ECC5
0043EC6C |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EC6F |. 8B51 08 MOV EDX,DWORD PTR DS:[ECX+8]
0043EC72 |. 81C2 00C00000 ADD EDX,0C000
0043EC78 |. 3B15 54E64900 CMP EDX,DWORD PTR DS:[49E654]
0043EC7E |. 7E 45 JLE SHORT 0043ECC5
0043EC80 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EC83 |. 8B48 0C MOV ECX,DWORD PTR DS:[EAX+0C]
0043EC86 |. 81E9 00C00000 SUB ECX,0C000
0043EC8C |. 3B0D 58E64900 CMP ECX,DWORD PTR DS:[49E658]
0043EC92 |. 7D 31 JGE SHORT 0043ECC5
0043EC94 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EC97 |. 8B42 0C MOV EAX,DWORD PTR DS:[EDX+0C]
0043EC9A |. 05 00600000 ADD EAX,6000
0043EC9F |. 3B05 58E64900 CMP EAX,DWORD PTR DS:[49E658]
0043ECA5 |. 7E 1E JLE SHORT 0043ECC5
0043ECA7 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ECAA |. C741 74 02000 MOV DWORD PTR DS:[ECX+74],2
0043ECB1 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ECB4 |. C742 68 00000 MOV DWORD PTR DS:[EDX+68],0
0043ECBB |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ECBE |. C740 78 00000 MOV DWORD PTR DS:[EAX+78],0
0043ECC5 \> E9 0C020000 JMP 0043EED6
0043ECCA /. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ECCD |. 8B51 78 MOV EDX,DWORD PTR DS:[ECX+78]
0043ECD0 |. 83C2 01 ADD EDX,1
0043ECD3 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ECD6 |. 8950 78 MOV DWORD PTR DS:[EAX+78],EDX
0043ECD9 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ECDC |. 8379 78 08 CMP DWORD PTR DS:[ECX+78],8
0043ECE0 |. 7E 6D JLE SHORT 0043ED4F
0043ECE2 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ECE5 |. C742 74 03000 MOV DWORD PTR DS:[EDX+74],3
0043ECEC |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ECEF |. C740 68 02000 MOV DWORD PTR DS:[EAX+68],2
0043ECF6 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ECF9 |. C741 14 01FAF MOV DWORD PTR DS:[ECX+14],-5FF
0043ED00 |. 6A 01 PUSH 1
0043ED02 |. 6A 6C PUSH 6C
0043ED04 |. E8 1757FFFF CALL 00434420
0043ED09 |. 83C4 08 ADD ESP,8
0043ED0C |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED0F |. 8B42 08 MOV EAX,DWORD PTR DS:[EDX+8]
0043ED12 |. 3B05 54E64900 CMP EAX,DWORD PTR DS:[49E654]
0043ED18 |. 7E 0C JLE SHORT 0043ED26
0043ED1A |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ED1D |. C741 4C 00000 MOV DWORD PTR DS:[ECX+4C],0
0043ED24 |. EB 0A JMP SHORT 0043ED30
0043ED26 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED29 |. C742 4C 02000 MOV DWORD PTR DS:[EDX+4C],2
0043ED30 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ED33 |. 8378 4C 00 CMP DWORD PTR DS:[EAX+4C],0
0043ED37 |. 75 0C JNE SHORT 0043ED45
0043ED39 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ED3C |. C741 10 00FFF MOV DWORD PTR DS:[ECX+10],-100
0043ED43 |. EB 0A JMP SHORT 0043ED4F
0043ED45 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED48 |. C742 10 00010 MOV DWORD PTR DS:[EDX+10],100
0043ED4F \> E9 82010000 JMP 0043EED6
0043ED54 /. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ED57 |. 8178 14 00020 CMP DWORD PTR DS:[EAX+14],200
0043ED5E |. 7E 34 JLE SHORT 0043ED94
0043ED60 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ED63 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED66 |. 8B42 0C MOV EAX,DWORD PTR DS:[EDX+0C]
0043ED69 |. 8941 24 MOV DWORD PTR DS:[ECX+24],EAX
0043ED6C |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ED6F |. C741 74 04000 MOV DWORD PTR DS:[ECX+74],4
0043ED76 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED79 |. C742 68 03000 MOV DWORD PTR DS:[EDX+68],3
0043ED80 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043ED83 |. C740 78 00000 MOV DWORD PTR DS:[EAX+78],0
0043ED8A |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043ED8D |. C741 78 00000 MOV DWORD PTR DS:[ECX+78],0
0043ED94 \> E9 3D010000 JMP 0043EED6
0043ED99 /. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043ED9C |. 8B42 08 MOV EAX,DWORD PTR DS:[EDX+8]
0043ED9F |. 3B05 54E64900 CMP EAX,DWORD PTR DS:[49E654]
0043EDA5 |. 7D 0C JGE SHORT 0043EDB3
0043EDA7 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EDAA |. C741 4C 02000 MOV DWORD PTR DS:[ECX+4C],2
0043EDB1 |. EB 0A JMP SHORT 0043EDBD
0043EDB3 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EDB6 |. C742 4C 00000 MOV DWORD PTR DS:[EDX+4C],0
0043EDBD |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EDC0 |. 8B48 78 MOV ECX,DWORD PTR DS:[EAX+78]
0043EDC3 |. 83C1 01 ADD ECX,1
0043EDC6 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EDC9 |. 894A 78 MOV DWORD PTR DS:[EDX+78],ECX
0043EDCC |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EDCF |. 8B48 04 MOV ECX,DWORD PTR DS:[EAX+4]
0043EDD2 |. 83E1 07 AND ECX,00000007
0043EDD5 |. 75 09 JNE SHORT 0043EDE0
0043EDD7 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EDDA |. 837A 78 64 CMP DWORD PTR DS:[EDX+78],64
0043EDDE |. 7E 37 JLE SHORT 0043EE17
0043EDE0 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EDE3 |. C780 A4000000 MOV DWORD PTR DS:[EAX+0A4],0C
0043EDED |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EDF0 |. C741 74 05000 MOV DWORD PTR DS:[ECX+74],5
0043EDF7 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EDFA |. C742 68 02000 MOV DWORD PTR DS:[EDX+68],2
0043EE01 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EE04 |. 8B40 10 MOV EAX,DWORD PTR DS:[EAX+10]
0043EE07 |. 99 CDQ
0043EE08 |. 2BC2 SUB EAX,EDX
0043EE0A |. D1F8 SAR EAX,1
0043EE0C |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EE0F |. 8941 10 MOV DWORD PTR DS:[ECX+10],EAX
0043EE12 |. E9 BF000000 JMP 0043EED6
0043EE17 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EE1A |. 8B42 78 MOV EAX,DWORD PTR DS:[EDX+78]
0043EE1D |. 25 03000080 AND EAX,80000003
0043EE22 |. 79 05 JNS SHORT 0043EE29
0043EE24 |. 48 DEC EAX
0043EE25 |. 83C8 FC OR EAX,FFFFFFFC
0043EE28 |. 40 INC EAX
0043EE29 |> 83F8 01 CMP EAX,1
0043EE2C |. 75 0C JNE SHORT 0043EE3A
0043EE2E |. 6A 01 PUSH 1
0043EE30 |. 6A 6E PUSH 6E
0043EE32 |. E8 E955FFFF CALL 00434420
0043EE37 |. 83C4 08 ADD ESP,8
0043EE3A |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EE3D |. 8B51 64 MOV EDX,DWORD PTR DS:[ECX+64]
0043EE40 |. 83C2 01 ADD EDX,1
0043EE43 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EE46 |. 8950 64 MOV DWORD PTR DS:[EAX+64],EDX
0043EE49 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EE4C |. 8379 64 00 CMP DWORD PTR DS:[ECX+64],0
0043EE50 |. 7E 19 JLE SHORT 0043EE6B
0043EE52 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EE55 |. C742 64 00000 MOV DWORD PTR DS:[EDX+64],0
0043EE5C |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EE5F |. 8B48 68 MOV ECX,DWORD PTR DS:[EAX+68]
0043EE62 |. 83C1 01 ADD ECX,1
0043EE65 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EE68 |. 894A 68 MOV DWORD PTR DS:[EDX+68],ECX
0043EE6B |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EE6E |. 8378 68 05 CMP DWORD PTR DS:[EAX+68],5
0043EE72 |. 7E 0A JLE SHORT 0043EE7E
0043EE74 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EE77 |. C741 68 03000 MOV DWORD PTR DS:[ECX+68],3
0043EE7E \> EB 56 JMP SHORT 0043EED6
0043EE80 8B DB 8B
0043EE81 55 DB 55 ; CHAR 'U'
0043EE82 08 DB 08 ; Backspace
0043EE83 8B DB 8B
0043EE84 42 DB 42 ; CHAR 'B'
0043EE85 04 DB 04
0043EE86 83 DB 83
0043EE87 E0 DB E0
0043EE88 08 DB 08 ; Backspace
0043EE89 74 DB 74 ; CHAR 't'
0043EE8A 4B DB 4B ; CHAR 'K'
0043EE8B 8B DB 8B
0043EE8C 4D DB 4D ; CHAR 'M'
0043EE8D 08 DB 08 ; Backspace
0043EE8E C7 DB C7
0043EE8F 81 DB 81
0043EE90 A4 DB A4
0043EE91 00 DB 00
0043EE92 00 DB 00
0043EE93 00 DB 00
0043EE94 02 DB 02
0043EE95 00 DB 00
0043EE96 00 DB 00
0043EE97 00 DB 00
0043EE98 8B DB 8B
0043EE99 55 DB 55 ; CHAR 'U'
0043EE9A 08 DB 08 ; Backspace
0043EE9B C7 DB C7
0043EE9C 42 DB 42 ; CHAR 'B'
0043EE9D 10 DB 10
0043EE9E 00 DB 00
0043EE9F 00 DB 00
0043EEA0 00 DB 00
0043EEA1 00 DB 00
0043EEA2 8B DB 8B
0043EEA3 45 DB 45 ; CHAR 'E'
0043EEA4 08 DB 08 ; Backspace
0043EEA5 C7 DB C7
0043EEA6 40 DB 40 ; CHAR '@'
0043EEA7 78 DB 78 ; CHAR 'x'
0043EEA8 00 DB 00
0043EEA9 00 DB 00
0043EEAA 00 DB 00
0043EEAB 00 DB 00
0043EEAC 8B DB 8B
0043EEAD 4D DB 4D ; CHAR 'M'
0043EEAE 08 DB 08 ; Backspace
0043EEAF C7 DB C7
0043EEB0 41 DB 41 ; CHAR 'A'
0043EEB1 68 DB 68 ; CHAR 'h'
0043EEB2 00 DB 00
0043EEB3 00 DB 00
0043EEB4 00 DB 00
0043EEB5 00 DB 00
0043EEB6 8B DB 8B
0043EEB7 55 DB 55 ; CHAR 'U'
0043EEB8 08 DB 08 ; Backspace
0043EEB9 C7 DB C7
0043EEBA 42 DB 42 ; CHAR 'B'
0043EEBB 74 DB 74 ; CHAR 't'
0043EEBC 01 DB 01
0043EEBD 00 DB 00
0043EEBE 00 DB 00
0043EEBF 00 DB 00
0043EEC0 6A DB 6A ; CHAR 'j'
0043EEC1 01 DB 01
0043EEC2 6A DB 6A ; CHAR 'j'
0043EEC3 1A DB 1A
0043EEC4 E8 DB E8
0043EEC5 57 DB 57 ; CHAR 'W'
0043EEC6 55 DB 55 ; CHAR 'U'
0043EEC7 FF DB FF
0043EEC8 FF DB FF
0043EEC9 83 DB 83
0043EECA C4 DB C4
0043EECB 08 DB 08 ; Backspace
0043EECC 6A DB 6A ; CHAR 'j'
0043EECD 1E DB 1E
0043EECE E8 DB E8
0043EECF 1D DB 1D
0043EED0 42 DB 42 ; CHAR 'B'
0043EED1 FE DB FE
0043EED2 FF DB FF
0043EED3 /. 83C4 04 ADD ESP,4
0043EED6 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EED9 |. 8378 74 04 CMP DWORD PTR DS:[EAX+74],4
0043EEDD |. 74 2A JE SHORT 0043EF09
0043EEDF |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EEE2 |. 8B51 14 MOV EDX,DWORD PTR DS:[ECX+14]
0043EEE5 |. 83C2 20 ADD EDX,20
0043EEE8 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EEEB |. 8950 14 MOV DWORD PTR DS:[EAX+14],EDX
0043EEEE |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EEF1 |. 8179 14 FF050 CMP DWORD PTR DS:[ECX+14],5FF
0043EEF8 |. 7E 0A JLE SHORT 0043EF04
0043EEFA |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EEFD |. C742 14 FF050 MOV DWORD PTR DS:[EDX+14],5FF
0043EF04 |> E9 B4000000 JMP 0043EFBD
0043EF09 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EF0C |. 8B48 08 MOV ECX,DWORD PTR DS:[EAX+8]
0043EF0F |. 3B0D 54E64900 CMP ECX,DWORD PTR DS:[49E654]
0043EF15 |. 7D 11 JGE SHORT 0043EF28
0043EF17 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF1A |. 8B42 10 MOV EAX,DWORD PTR DS:[EDX+10]
0043EF1D |. 83C0 20 ADD EAX,20
0043EF20 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EF23 |. 8941 10 MOV DWORD PTR DS:[ECX+10],EAX
0043EF26 |. EB 0F JMP SHORT 0043EF37
0043EF28 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF2B |. 8B42 10 MOV EAX,DWORD PTR DS:[EDX+10]
0043EF2E |. 83E8 20 SUB EAX,20
0043EF31 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EF34 |. 8941 10 MOV DWORD PTR DS:[ECX+10],EAX
0043EF37 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF3A |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EF3D |. 8B4A 0C MOV ECX,DWORD PTR DS:[EDX+0C]
0043EF40 |. 3B48 24 CMP ECX,DWORD PTR DS:[EAX+24]
0043EF43 |. 7E 11 JLE SHORT 0043EF56
0043EF45 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF48 |. 8B42 14 MOV EAX,DWORD PTR DS:[EDX+14]
0043EF4B |. 83E8 10 SUB EAX,10
0043EF4E |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EF51 |. 8941 14 MOV DWORD PTR DS:[ECX+14],EAX
0043EF54 |. EB 0F JMP SHORT 0043EF65
0043EF56 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF59 |. 8B42 14 MOV EAX,DWORD PTR DS:[EDX+14]
0043EF5C |. 83C0 10 ADD EAX,10
0043EF5F |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EF62 |. 8941 14 MOV DWORD PTR DS:[ECX+14],EAX
0043EF65 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF68 |. 817A 14 00020 CMP DWORD PTR DS:[EDX+14],200
0043EF6F |. 7E 0A JLE SHORT 0043EF7B
0043EF71 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EF74 |. C740 14 00020 MOV DWORD PTR DS:[EAX+14],200
0043EF7B |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EF7E |. 8179 14 00FEF CMP DWORD PTR DS:[ECX+14],-200
0043EF85 |. 7D 0A JGE SHORT 0043EF91
0043EF87 |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EF8A |. C742 14 00FEF MOV DWORD PTR DS:[EDX+14],-200
0043EF91 |> 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EF94 |. 8178 10 00020 CMP DWORD PTR DS:[EAX+10],200
0043EF9B |. 7E 0A JLE SHORT 0043EFA7
0043EF9D |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFA0 |. C741 10 00020 MOV DWORD PTR DS:[ECX+10],200
0043EFA7 |> 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EFAA |. 817A 10 00FEF CMP DWORD PTR DS:[EDX+10],-200
0043EFB1 |. 7D 0A JGE SHORT 0043EFBD
0043EFB3 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EFB6 |. C740 10 00FEF MOV DWORD PTR DS:[EAX+10],-200
0043EFBD |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFC0 |. 8B51 08 MOV EDX,DWORD PTR DS:[ECX+8]
0043EFC3 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EFC6 |. 0350 10 ADD EDX,DWORD PTR DS:[EAX+10]
0043EFC9 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFCC |. 8951 08 MOV DWORD PTR DS:[ECX+8],EDX
0043EFCF |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EFD2 |. 8B42 0C MOV EAX,DWORD PTR DS:[EDX+0C]
0043EFD5 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFD8 |. 0341 14 ADD EAX,DWORD PTR DS:[ECX+14]
0043EFDB |. 8B55 08 MOV EDX,DWORD PTR SS:[EBP+8]
0043EFDE |. 8942 0C MOV DWORD PTR DS:[EDX+0C],EAX
0043EFE1 |. 8B45 08 MOV EAX,DWORD PTR SS:[EBP+8]
0043EFE4 |. 8378 4C 00 CMP DWORD PTR DS:[EAX+4C],0
0043EFE8 |. 75 2B JNE SHORT 0043F015
0043EFEA |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFED |. 8B51 68 MOV EDX,DWORD PTR DS:[ECX+68]
0043EFF0 |. C1E2 04 SHL EDX,4
0043EFF3 |. 8D4415 A0 LEA EAX,[EDX+EBP-60]
0043EFF7 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043EFFA |. 83C1 54 ADD ECX,54
0043EFFD |. 8B10 MOV EDX,DWORD PTR DS:[EAX]
0043EFFF |. 8911 MOV DWORD PTR DS:[ECX],EDX
0043F001 |. 8B50 04 MOV EDX,DWORD PTR DS:[EAX+4]
0043F004 |. 8951 04 MOV DWORD PTR DS:[ECX+4],EDX
0043F007 |. 8B50 08 MOV EDX,DWORD PTR DS:[EAX+8]
0043F00A |. 8951 08 MOV DWORD PTR DS:[ECX+8],EDX
0043F00D |. 8B40 0C MOV EAX,DWORD PTR DS:[EAX+0C]
0043F010 |. 8941 0C MOV DWORD PTR DS:[ECX+0C],EAX
0043F013 |. EB 2C JMP SHORT 0043F041
0043F015 |> 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043F018 |. 8B51 68 MOV EDX,DWORD PTR DS:[ECX+68]
0043F01B |. C1E2 04 SHL EDX,4
0043F01E |. 8D8415 40FFFF LEA EAX,[EDX+EBP-0C0]
0043F025 |. 8B4D 08 MOV ECX,DWORD PTR SS:[EBP+8]
0043F028 |. 83C1 54 ADD ECX,54
0043F02B |. 8B10 MOV EDX,DWORD PTR DS:[EAX]
0043F02D |. 8911 MOV DWORD PTR DS:[ECX],EDX
0043F02F |. 8B50 04 MOV EDX,DWORD PTR DS:[EAX+4]
0043F032 |. 8951 04 MOV DWORD PTR DS:[ECX+4],EDX
0043F035 |. 8B50 08 MOV EDX,DWORD PTR DS:[EAX+8]
0043F038 |. 8951 08 MOV DWORD PTR DS:[ECX+8],EDX
0043F03B |. 8B40 0C MOV EAX,DWORD PTR DS:[EAX+0C]
0043F03E |. 8941 0C MOV DWORD PTR DS:[ECX+0C],EAX
0043F041 |> 8BE5 MOV ESP,EBP
0043F043 |. 5D POP EBP
0043F044 \. C3 RETN
 
Jun 27, 2013 at 3:52 PM
Forever 12
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: May 24, 2013
Location:
Posts: 539
Pronouns: he/him
Hey, Im having issues with my Quote Sprite Sheet Pallet.
It has been happening for my other sprites to.
Is it because I was using MS Paint or do I need to Configure Something?
 
Jun 27, 2013 at 5:09 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
Parkraft123 said:
Hey, Im having issues with my Quote Sprite Sheet Pallet.
It has been happening for my other sprites to.
Is it because I was using MS Paint or do I need to Configure Something?
Issues. . .?

You have to be a little more specific then that for an answer to be provided.

i.e. colors are wacked out, sprites not showing up, ect.
 
Jun 27, 2013 at 5:35 PM
Forever 12
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: May 24, 2013
Location:
Posts: 539
Pronouns: he/him
Bombchu Link said:
Issues. . .?

You have to be a little more specific then that for an answer to be provided.

i.e. colors are wacked out, sprites not showing up, ect.
Well, I think Fadonik had the same problem in his (crappy) Cave Story 2 Demo Mod. All the black and Blue coloured Pixels on Quote's Sprite are transperant. Also, some colors on the other sprite sheets are all wacked up as well.
 
Jun 27, 2013 at 5:38 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
Jul 1, 2013 at 3:20 AM
Member Title
"All your forum are belong to us!"
Join Date: Mar 9, 2011
Location:
Posts: 629
Pronouns: he/him
After not visiting the CSTSF for quite some time, my modding prowess and knowledge in regards to the capabilities of the modding community has deteriorated. After a few quick searches, I turn to this thread with my queries.

1. What is the state of modding CS+?
2. Is it possible to alter higher res tilesets?
3. Is it possible to alter the existing music?
4. Can more "skins" be added? (Existing "skins" include the original, higher res, Christmas, etc.)
5. Can more music sets be added? (Existing music sets include original, remastered, and new)
6. How much time/knowledge would implementing changes 2-5 take?
7. How legal/easy is it to port CS+ to Linux without Steam integration, if I only own a copy of CS+ on Steam for Windows. (Obtained for free as a result of participating in beta testing, no less.)

Provided CS+ modding is against the rules/against Nicalis' will/impossible, I ask these queries about the original game.
1. How much knowledge would be required to create a second "skin" for the original game? This would function in the same manner as tileset swapping, but would be accessible through an added button/sub-menu on the main menu.
2. How much knowledge would be required to create a second music set for the original game? This would function identically to a music swap, but would be accessible through a button/sub-menu on the main menu.

I've seen similar queries scattered about the forums, but I haven't drawn any definitive answers. If any of my queries has been answered, I apologize for overlooking it. I made several forum searches prior to writing this post, as I stated in the introduction, but none of the threads/posts I came across were able to deliver pertinent answers.
Thanks for the help.
 
Jul 1, 2013 at 4:17 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Cave Story said:
1. What is the state of modding CS+?
In terms of legal issues? It's legal to distribute mods of Cave Story+ by putting them into a package that makes them compatible with the challenge menu (NICALiS actually made this easy to do), provided that in the process you do not distribute any of NICALiS' 2x res graphics or new/remastered music.

Cave Story said:
2. Is it possible to alter higher res tilesets?
Yes. Obviously, you can edit the image for the tileset with your preferred image editing program. And as for the attributes of the tiles, those are stored in .pxa files located in the stage folder, and have the exact same architecture as those found in the original Cave Story.

Cave Story said:
3. Is it possible to alter the existing music?
Yes. The files for the original music are located in Cave Story+\data\base\Org, the new in Cave Story+\data\base\Ogg, and the remastered Cave Story+\data\base\Ogg11. People have replaced the latter before.

Cave Story said:
4. Can more "skins" be added? (Existing "skins" include the original, higher res, Christmas, etc.)
I am currently not aware of any way to do that, nor do I think anyone else on these forums is.

Cave Story said:
5. Can more music sets be added? (Existing music sets include original, remastered, and new)
Refer to my answer to number 4.

Cave Story said:
6. How much time/knowledge would implementing changes 2-5 take?
4 and 5 aren't possible, so I'll disregard those. 2 and 3 wouldn't really take that long. For editing tilesets, if you've got the graphics you want to add, then simply add them to the image file of the tileset you want to add, and copy its respective .pxa file into a mod compatible with Cave editor, edit the attributes to match those of your 2x res tileset, and then copy that .pxa file back into your CS+ mod. You can also open up CS+ with Booster's lab and have some CS+ modding functionality, so it might be easier to do this in there, but I've hardly used Booster's so it's mostly uncharted territory for me. Either way, editing the tileset would be fairly quick. If you've already made your own music that you want to swap, then replacing it for CS+ would be pretty quick. Simply browse to the directories posted in my answer to number 3, and add your song in the right format. It's pretty quick.

Cave Story said:
7. How legal/easy is it to port CS+ to Linux without Steam integration, if I only own a copy of CS+ on Steam for Windows.
Uh, it you wanted to get a DRM-free version of Cave Story+ without Steam involved, you'd have to get Cave Story+ in a Humble Bundle. You can't simply "port" the steam version to my awareness.
 
Jul 2, 2013 at 8:37 PM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Nov 14, 2012
Location:
Posts: 167
Pronouns: he/him
On the Mychar there is an upside-down quote. What is that for?
 
Jul 2, 2013 at 8:49 PM
Senior Member
"I, Ikachan. The Life and Documentary of the OrigiNAL SQuiD."
Join Date: Oct 29, 2012
Location: England
Posts: 178
Age: 26
Pronouns: he/him

When Quote is falling during the normal ending. To get Quote to go into that animation when using <ANP set the middle value to 0060.
 
Jul 2, 2013 at 9:27 PM
Sincerity will always triumph over irony.
Modding Community Discord Admin
"What're YOU lookin' at?"
Join Date: Apr 23, 2013
Location: In a cave above the surface.
Posts: 1079
Age: 26
Pronouns: He/Him
Okay... I'm currently working on something that requires some mass TSC script usage, and I would like to know if something is possible (and worthwhile to implement into this... "Project"):

My basic end goal is to have multiple scripts, and making it so that random probability determines which script to execute.

I don't really know how to word this question, but would any of you know how to make something simulating a random 50%-50% choosing, so that every time you use/execute it, it perhaps sets one of two flags at random or at least is able to get some probability so that it's not a TSC script that must run events in the static order it is given...



...And I'm sorry if my request confuses anyone, but I can't think of a way to have random probability implemented...
 
Jul 2, 2013 at 11:54 PM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
The game's time can be used as a semi random number generator, which can be accessed by using flags beyond the recommended 7999. According to RuneLancer, this should work for flags 8800-8831.

Here's this little concept I tried out with a signpost just now, and it seemed to work:
Code:
#0400
<KEY<FLJ8800:0401<MSGNo.<NOD<END

#0401
<KEY<MSGYES!<NOD<END
I've tried this with flags 8800-8802 and they've worked for me. I haven't tried any beyond that, but I'd assume that it would also work up to 8831.
 
Jul 3, 2013 at 2:55 AM
Sincerity will always triumph over irony.
Modding Community Discord Admin
"What're YOU lookin' at?"
Join Date: Apr 23, 2013
Location: In a cave above the surface.
Posts: 1079
Age: 26
Pronouns: He/Him
Thanks, flag 8800 works perfectly for my purposes...

(Now let's hope I don't confuse myself with all of these events).
 
Jul 3, 2013 at 4:09 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Great! Glad it's working out for you.

Now it's my turn.

I've tried to make my own TSC command which I call the <MOLXXXX (MOve a Little) command. It's quite simple. What it's supposed to do is move the character over to the side by X number of pixels. So I replaced the code for the second <FAC with this:
Code:
Address   Hex dump          Command                                  Comments
00424EAF  |> \A1 D85A4A00   MOV EAX,DWORD PTR DS:[4A5AD8]
00424EB4  |.  0305 E05A4A00 ADD EAX,DWORD PTR DS:[4A5AE0]
00424EBA  |.  0FBE48 01     MOVSX ECX,BYTE PTR DS:[EAX+1]
00424EBE      83F9 4D       CMP ECX,4D				//Check for the letter M
00424EC1  |.  75 70         JNE SHORT 00424F33
00424EC3  |.  8B15 D85A4A00 MOV EDX,DWORD PTR DS:[4A5AD8]
00424EC9  |.  0315 E05A4A00 ADD EDX,DWORD PTR DS:[4A5AE0]
00424ECF  |.  0FBE42 02     MOVSX EAX,BYTE PTR DS:[EDX+2]
00424ED3      83F8 4F       CMP EAX,4F				//Check for the letter O
00424ED6  |.  75 5B         JNE SHORT 00424F33
00424ED8  |.  8B0D D85A4A00 MOV ECX,DWORD PTR DS:[4A5AD8]
00424EDE  |.  030D E05A4A00 ADD ECX,DWORD PTR DS:[4A5AE0]
00424EE4  |.  0FBE51 03     MOVSX EDX,BYTE PTR DS:[ECX+3]
00424EE8      83FA 4C       CMP EDX,4C				//Check for the letter L
00424EEB  |.  75 46         JNE SHORT 00424F33
00424EED  |.  A1 E05A4A00   MOV EAX,DWORD PTR DS:[4A5AE0]
00424EF2  |.  83C0 04       ADD EAX,4
00424EF5  |.  50            PUSH EAX                                 
00424EF6  |.  E8 05CAFFFF   CALL 00421900                            
00424EFB  |.  83C4 04       ADD ESP,4				//Get the argument from the <MOL command, and store it into EAX
00424EFE      89C1          MOV ECX,EAX
00424F00      A1 54E64900   MOV EAX,DWORD PTR DS:[49E654]
00424F05      01C8          ADD EAX,ECX
00424F07      A3 54E64900   MOV DWORD PTR DS:[49E654],EAX	//Add EAX to the X position of the player
00424F0C      8B15 E05A4A00 MOV EDX,DWORD PTR DS:[4A5AE0]
00424F12      83C2 08       ADD EDX,8
00424F15      8915 E05A4A00 MOV DWORD PTR DS:[4A5AE0],EDX	//Fix the script position
00424F1B      E9 87030000   JMP 004252A7			//Jump back to the beginning of the TSC parser
What happens when I execute an <MOL0006? Nothing. For some reason it doesn't seem to want to alter the X position of the player even though I'm telling it to. I originally didn't have the commands from address 00424EFE to 00424F07 the way they are as above, and simply added the argument directly to the X position via one line of "ADD DWORD PTR DS:[49E654],EAX," but nothing happened in that case either, which made me see if for some reason it didn't like me adding a number directly into a memory location. But my alternative above didn't fix it. What am I doing wrong here that's making my TSC command not work?
 
Jul 3, 2013 at 4:22 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
I'm guessing you should be shifting left 9 or so before adding to the position
 
Jul 3, 2013 at 4:45 AM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
Yeah 6 in game units is like 1/100th of a pixel or so.
 
Jul 3, 2013 at 5:24 AM
Based Member
"Life begins and ends with Nu."
Join Date: Dec 31, 2011
Location: United States
Posts: 2326
Age: 28
Pronouns: he/him
Aha! Thanks! Went ahead and reverted back to my more efficient method now that I know it's not a problem with my assembly code, but rather my TSC script. It's working now. I tried amping the parameter up before, but not that high. I find the assembly compendium to be rather misleading by saying that that memory location holds the player x position in pixels, rather than 512ths of pixels.
 
Jul 3, 2013 at 5:29 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
probably gardebiter or runelancer's ancient description that never got looked at when I copy pasted it. I changed it.
 
Jul 4, 2013 at 3:22 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
So I went amd applied the animated tiles to my mod (through noxid's open source) and well, It works great and I don't mean to whine but. . . the animation only works for solid, water, and air tiles. I *Would* like to make it also work with sloping floor water tiles as well.

Is this do-able?
 
Jul 4, 2013 at 3:25 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
Uhhh, I'm pretty sure from what I remember of the hack that the right side of the tile types just mirrors the behaviour of the original ones, but is animated. Did you set it to the right type?

I'm pretty sure KSS used a slope-water animated tile.
 
Back
Top