Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 543
» Latest member: Zacku
» Forum threads: 1,663
» Forum posts: 11,939

Full Statistics

Online Users
There are currently 387 online users.
» 0 Member(s) | 383 Guest(s)
Applebot, Bing, Facebook, Google

Latest Threads
Make it to 10,000
Forum: General Discussion
Last Post: Fifty
Yesterday, 10:08 PM
» Replies: 5,677
» Views: 4,184,543
Boot into TT cup selectio...
Forum: Misc/Other
Last Post: lschlick
Yesterday, 06:24 PM
» Replies: 2
» Views: 2,853
Request: Custom brsars pe...
Forum: Code Support / Help / Requests
Last Post: lschlick
Yesterday, 05:45 PM
» Replies: 0
» Views: 20
E-mails not working on th...
Forum: General Discussion
Last Post: Fifty
04-19-2024, 04:56 AM
» Replies: 3
» Views: 236
More missing info from Br...
Forum: Coding & Hacking General Discussion
Last Post: Vega
04-15-2024, 10:04 PM
» Replies: 0
» Views: 179
Request: Custom music vol...
Forum: Code Support / Help / Requests
Last Post: lschlick
04-15-2024, 06:13 PM
» Replies: 0
» Views: 196
Request: Additional sound...
Forum: Code Support / Help / Requests
Last Post: _Ro
04-15-2024, 01:50 AM
» Replies: 6
» Views: 238
Mistake in the Broadway M...
Forum: Coding & Hacking General Discussion
Last Post: Vega
04-14-2024, 11:58 PM
» Replies: 0
» Views: 96
Camera Distance Modifier ...
Forum: Visual & Sound Effects
Last Post: vlonebozo
04-13-2024, 11:05 PM
» Replies: 1
» Views: 6,759
Pretty In Game Item Spy p...
Forum: Online; Item
Last Post: vlonebozo
04-13-2024, 03:52 PM
» Replies: 1
» Views: 577

 
  Anti Online Item Delimiters v1 [Ro]
Posted by: _Ro - 03-01-2024, 12:51 AM - Forum: Online; Item - Replies (1)

Anti Online Item Delimiters v1 [Ro]

This code will prevent you from seeing hacked delimited Lightning, POW and Bloopers. For explanation, during online play there's a timed delay for showing the items mentioned previously, for example, a Lightning can only be seen every ~26 seconds, even if a hacker is spamming it non-stop, however, there's a way to circumvent the delay by using delimiter codes which will show all of the items mentioned previously without any delay. Delimiters work in a way that three said items have a "throw" behavior rather than "use", by this, the item will be used normally, but will also be thrown (dropped), because of the throw, a dragged item event is sent as one of these three items and for some reason that causes the game to use the item on the recieved client. Curiously enough, when one of the three said items are used, they are called by a different function if used by an online player rather than the general one that is called when a player or CPU uses a shock, however, delimited items have the general one get called instead of the online player one. 
I compared the different from a normal shock and a delimited shock and noticed some registers had differences that would not happen if the lightning was fired by myself or a CPU, so I did a check for one of the differences (and made sure it was not a mistake) and if it is in the state that it is when delimited, the function for the item effects will return and never happen.

Unfortunately, this isn't a good approach and not what I planned for, but it's what I was able to do - for now. I wanted to find where the online opponent dragged items was loaded and if it was one of the three items above, return no item (0x14). I found several stuff about these but none of them worked at all. If anyone has it and wants to share, feel free, and thanks.

NTSC-U
C27A91C0 00000002
2C070001 4D820020
9421FFD0 00000000
C27D9580 00000002
2C070001 4D820020
9421FFF0 00000000
C27D4F74 00000002
2C070001 4D820020
9421FFB0 00000000

PAL
C27B7C20 00000002
2C070001 4D820020
9421FFD0 00000000
C27B1B2C 00000002
2C070001 4D820020
9421FFF0 00000000
C26D2908 00000002
2C070001 4D820020
9421FFB0 00000000

NTSC-J
C27B728C 00000002
2C070001 4D820020
9421FFD0 00000000
C27B1198 00000002
2C070001 4D820020
9421FFF0 00000000
C26D1F74 00000002
2C070001 4D820020
9421FFB0 00000000

NTSC-K
C27A5FE0 00000002
2C070001 4D820020
9421FFD0 00000000
C279FEEC 00000002
2C070001 4D820020
9421FFF0 00000000
C2796574 00000002
2C070001 4D820020
9421FFB0 00000000

Code creator: Ro
Code credits: 1superchip for Lightning function address (from Force Shock Damage code)

Print this item

  Accurate Item Roulette v2 [Ro]
Posted by: _Ro - 02-29-2024, 07:06 PM - Forum: Online; Item - No Replies

Accurate Item Roulette v2 [Ro]

This is a native one line version of CLF78's Accurate Item Roulette code (https://mariokartwii.com/showthread.php?...te#pid7803).
Special Item Boxes have this property by default so you can modify it to affect any box instead. It will only show items you can actually get.

NTSC-U
047ACE8C 60000000

PAL
047BB8EC 60000000

NTSC-J
047BAF58 60000000

NTSC-K
047BB8EC 60000000

Code creator: Ro
Code credits: CLF78 for original code

Print this item

  Auto POW Hop Dodge Bot w/ Wheelies [Ro]
Posted by: _Ro - 02-29-2024, 01:05 AM - Forum: Online Non-Item - No Replies

Auto POW Hop Dodge Bot w/ Wheelies [Ro]

This code will make you automatically hop dodge POWs, it will also make you wheelie before the POW hits to ensure you will gain enough air to dodge the POW, it will also wheelie after you land from the hop dodge to avoid losing speed. The code also makes sure that you're able to dodge the POW, else, it will avoid trying to dodge it (won't auto hop/wheelie). 
Circumstances that will avoid auto hop/wheelie:


* If the player is not fast enough to be able to perform a wheelie
* If the player is in a Star or Mega and has enough time to dodge POW (if not enough time, e.g: About to end, hop and wheelie will be executed to ensure you are in the air the moment the item ends or will end)
* If the player is in the air
* If the player is not wheeling

The code is not perfect, you can always fail a hop dodge if you are turning, the floor is not that flat and few other scenarios. Some of them can likely be improved. If you want to change or remove some action, check the code source below. I recommend using Seeky's "Automatic POW Dodging" code (https://mariokartwii.com/showthread.php?tid=1393) which makes you always have the less punishing POW damage in case the hop dodge fails.

Unfortunately, this code didn't go as planned, I had many difficulties setting the input bits for wheelie and hop and even if it worked, hop seems to happen even not acceleration (thus why I opted doing all the checks). I couldn't stress it any more and decided to call the functions to do the wheelie and hop instead. I am aware this is not the way to go and that this code is unoptimized, long and ugly. It is painful to see.

I have NOT tested this online and it is a code made FOR FUN AND PRACTICE. I understand it's a very "cheaty" code that can be abused but I am releasing anyways, there are many others codes that can be abused online. I'd not suggest using this code online as it causes unfair advantage and will get you banned. I am not responsible with what you do with this code.

Feel free to modify or recreate this code as you wish.

This code includes Fishguy's "Store Player Index/Slot" code (https://mariokartwii.com/showthread.php?tid=1511) with the index slot value being stored at 0x81500000. 

NOTE: This code makes use of memory addresses 0x81500000 thru 0x81500001 Make sure no other codes in your GCT/Cheat-Manager are using those addresses!


NTSC-U
C2574398 0000001E
9421FF80 BC610008
81830014 718C0002
418200D0 3D80808B
C39D00B0 C3AC1220
FC1CE840 418000BC
81830004 55800631
408200B0 5580035B
418200A8 81630004
81830004 558B00C6
518B0739 40820094
A19D018A 2C0C0032
41810088 A19D0194
2C0C0032 4181007C
3D80809C 818CF798
896C005D 2C0B00B0
41820068 3D408150
880A0000 896A0001
7C005800 41820054
818C0000 2C0C0049
4182000C 2C0C001D
40820018 7FA3EB78
3D808058 618C1B2C
7D8903A6 4E800421
2C0C002E 40820024
8183000C 718C0010
41820018 7FA3EB78
3D808057 618C71F8
7D8903A6 4E800421
B8610008 38210080
A80300A4 00000000
C27D9818 00000002
3D808150 988C0000
80030000 00000000
C252BA08 00000002
9BBF0B84 3EC08150
9BB60001 00000000

PAL
C257ABFC 0000001E
9421FF80 BC610008
81830014 718C0002
418200D0 3D80808B
C39D00B0 C3AC1220
FC1CE840 418000BC
81830004 55800631
408200B0 5580035B
418200A8 81630004
81830004 558B00C6
518B0739 40820094
A19D018A 2C0C0032
41810088 A19D0194
2C0C0032 4181007C
3D80809C 818CF798
896C005D 2C0B00B0
41820068 3D408150
880A0000 896A0001
7C005800 41820054
818C0000 2C0C0049
4182000C 2C0C001D
40820018 7FA3EB78
3D808058 618C1B2C
7D8903A6 4E800421
2C0C002E 40820024
8183000C 718C0010
41820018 7FA3EB78
3D808057 618C71F8
7D8903A6 4E800421
B8610008 38210080
A80300A4 00000000
C27B1DC4 00000002
3D808150 988C0000
80030000 00000000
C252E3D0 00000002
9BBF0B84 3EC08150
9BB60001 00000000

NTSC-J
C257A57C 0000001E
9421FF80 BC610008
81830014 718C0002
418200D0 3D80808B
C39D00B0 C3AC1220
FC1CE840 418000BC
81830004 55800631
408200B0 5580035B
418200A8 81630004
81830004 558B00C6
518B0739 40820094
A19D018A 2C0C0032
41810088 A19D0194
2C0C0032 4181007C
3D80809C 818CF798
896C005D 2C0B00B0
41820068 3D408150
880A0000 896A0001
7C005800 41820054
818C0000 2C0C0049
4182000C 2C0C001D
40820018 7FA3EB78
3D808058 618C1B2C
7D8903A6 4E800421
2C0C002E 40820024
8183000C 718C0010
41820018 7FA3EB78
3D808057 618C71F8
7D8903A6 4E800421
B8610008 38210080
A80300A4 00000000
C27B1430 00000002
3D808150 988C0000
80030000 00000000
C252DD50 00000002
9BBF0B84 3EC08150
9BB60001 00000000

NTSC-K
C2568C54 0000001E
9421FF80 BC610008
81830014 718C0002
418200D0 3D80808B
C39D00B0 C3AC1220
FC1CE840 418000BC
81830004 55800631
408200B0 5580035B
418200A8 81630004
81830004 558B00C6
518B0739 40820094
A19D018A 2C0C0032
41810088 A19D0194
2C0C0032 4181007C
3D80809C 818CF798
896C005D 2C0B00B0
41820068 3D408150
880A0000 896A0001
7C005800 41820054
818C0000 2C0C0049
4182000C 2C0C001D
40820018 7FA3EB78
3D808058 618C1B2C
7D8903A6 4E800421
2C0C002E 40820024
8183000C 718C0010
41820018 7FA3EB78
3D808057 618C71F8
7D8903A6 4E800421
B8610008 38210080
A80300A4 00000000
C27A0184 00000002
3D808150 988C0000
80030000 00000000
C251C428 00000002
9BBF0B84 3EC08150
9BB60001 00000000

Code:
Code (main code only):
stwu r1,-128(r1)
stmw r3,8(r1) # Push stack (Function call is performed in this code)
# Check if player is you
lwz r12, 0x14 (r3)            # Load value for type of player (isMaster, isCPU, isNetSend, isNetReceive etc)
andi. r12, r12, 2             # Check for isMaster (if real human local player)
beq end             # If not, skip all the code
# Check if speed is fast enough to wheelie
lis r12, 0x808B            
lfs f28, 0xB0 (r29)         # Load player speed
lfs f29, 0x1220 (r12) #        # Load wheelie speed threshold
fcmpo cr0, f28, f29            # Compare wheelie speed threshold against player speed
blt end             # If not fast enough to wheelie, skip all the code
# Check if in air
lwz r12, 4 (r3)         # Load some player statuses
rlwinm.    r0,r12,0,24,24
bne end             # If in air, skip all the code
rlwinm. r0,r12,0,13,13
beq end             # If in air, skip all the code
# Check if drifting
lwz r11, 4 (r3)        # Load some player statuses
lwz r12, 4 (r3)        # Load some player statuses
rlwinm r11, r12, 0, 3,3
rlwimi. r11, r12, 0, 28, 28
bne end             # If drifting, skip all the code
# Check if Star timer is safe enough to dodge POW
lhz r12, 0x18A (r29)        # Load Star timer
cmpwi r12, 0x32
bgt end             # If timer is safe enough to dodge, skip all the code
# Check if Mega timer is safe enough to dodge POW
lhz r12, 0x194 (r29)        # Load Mega timer
cmpwi r12, 0x32
bgt end             # If timer is safe enough to dodge, skip all the code
# Check if POW Block is on the screen (POW affecting other positions but not yours)
lis r12, 0x809C
lwz r12, -0x868 (r12)        # Load POW pointer
lbz r11, 0x5D (r12)            # Load POW Block state (If on screen or not)
cmpwi r11, 0xB0
beq end             # If POW Block is not on the screen (not affecting your position), skip all the code
# Check if POW was used by you
lis r10, 0x8150
lbz r0, 0 (r10)            # Load player ID of who used POW
lbz r11, 1 (r10)        # Load your player ID    
cmpw r0, r11        # Is POW user you?
beq end             # If POW was used by you, skip all the code
# Check POW timer to do actions
lwz r12,0(r12)        # Load POW Timer
cmpwi r12, 0x49        # Is POW timer on the exact moment to wheelie?
beq wheelie            # If POW is almost hitting, start wheeling
cmpwi r12, 0x1D        # Is POW timer on the exact moment to wheelie again?
bne hop             # If POW time is not on the moment to wheelie after landing, skip to check if exact time to hop
# Call wheelie function
wheelie:
mr r3, r29
lis r12, 0x8058
ori r12, r12, 0x1B2C
mtctr r12
bctrl             # Call hop function
hop:
# Call hop function
cmpwi r12, 0x2E
bne end             # If POW is not on the exact time to hop dodge, end all the code
lwz r12, 0xC (r3)        # Load some player statuses
andi. r12, r12, 0x10        # Is wheeling?
beq end             # If not wheeling, skip all the code
mr r3, r29
lis r12, 0x8057
ori r12, r12, 0x71F8
mtctr r12
bctrl             # Call hop function
end:
lmw r3,8(r1)
addi r1,r1,128             # Pop stack
lha r0, 0xA4 (r3)

Code creator: Ro
Code credits: JoshuaMK (Wheelie Threshold code that helped me to know the speed that a wheelie can be performed - https://mariokartwii.com/showthread.php?...24#pid3024) and Fishguy (Store Player Index/Slot code (https://mariokartwii.com/showthread.php?tid=1511)

Print this item

  No Lightning Flash v2 [Ro]
Posted by: _Ro - 02-28-2024, 06:37 AM - Forum: Visual & Sound Effects - No Replies

No Lightning Flash v2 [Ro]

This version of the code does not cause visual side effects that are caused with Anarion's code

NTSC-U
04549C74 4E800020

PAL
0454F1B0 4E800020

NTSC-J
0454EB30 4E800020

NTSC-K
0453D208 4E800020

Code creator: Ro

Print this item

  Remove Invincibility Period After Hitting Cars/Trucks in Moonview Highway [Ro]
Posted by: _Ro - 02-28-2024, 06:35 AM - Forum: Offline Non-Item - No Replies

Remove Invincibility Period After Hitting Cars/Trucks in Moonview Highway [Ro]

This code removes the invincibility period that the player has against the cars and trucks in Moonview Highway if getting hit by them. This only happens in the Moonview Highway slot and code can be written to only affect specific custom track slots. The timer can be configured by modifying the compare next to the address of my code.

NTSC-U
046C85CC 38000200

PAL
046D740C 38000200

NTSC-J
046D6A78 38000200

NTSC-K
046C57B4 38000200

Code creator: Ro

Print this item

  Use CPU Voice Clips [Ro]
Posted by: _Ro - 02-28-2024, 06:31 AM - Forum: Visual & Sound Effects - No Replies

Use CPU Voice Clips [Ro]

This code will make you use the CPU voice variants instead of the regular player's voice. Some voices such as boosting and using a power item are the same all the time. Spamming stars while using Daisy will make her always say: YEAAAAH HUUU!!

NTSC-U
0485F744 60000000

PAL
04863B74 60000000

NTSC-J
0485F744 60000000

NTSC-K
04851F34 60000000

Code creator: Ro

Print this item

  Disconnecting Redirects Directly to Main Menu [Ro]
Posted by: _Ro - 02-28-2024, 06:28 AM - Forum: Online Non-Item - No Replies

Disconnecting Redirects Directly to Main Menu [Ro]

This code will make it so when you disconnect, you'll be redirected directly to main menu instead of going to the disconnect screen then going to the main menu

NTSC-U
04617148 38800041

PAL
04649958 38800041

NTSC-J
04648FC4 38800041

NTSC-K
04637C70 38800041

Code creator: Ro

Print this item

  Always Throw Bombs at Furthest Distance Independently of Stick [Ro]
Posted by: _Ro - 02-28-2024, 06:25 AM - Forum: Online; Item - Replies (3)

Always Throw Bombs at Furthest Distance Independently of Stick [Ro]

This code will make you throw bombs at the furthest distance without having to have the stick all the way up (or the wii wheel tilted all the way down)

NTSC-U
0479BAD0 60000000

PAL
047A4ADC 60000000

NTSC-J
047A4148 60000000

NTSC-K
04792E9C 60000000

Code creator: Ro

Print this item

  No Shell Tail Dissolve [Ro]
Posted by: _Ro - 02-28-2024, 06:23 AM - Forum: Visual & Sound Effects - No Replies

No Shell Tail Dissolve [Ro]

This code will make the shell tail (or trail? The particle that moves with the shell) never disappear, even if the shell is moving for a while or bouncing walls.

NTSC-U
046898E0 38600000

PAL
0468DD68 38600000

NTSC-J
0468D3D4 38600000

NTSC-K
0467C110 38600000

Code creator: Ro

Print this item

  Disable Engine Pitch Sound Limit [Ro]
Posted by: _Ro - 02-28-2024, 06:21 AM - Forum: Visual & Sound Effects - No Replies

Disable Engine Pitch Sound Limit [Ro]

This code removes the vehicle's engine pitch limit, if driving at max speed normally, no difference can be heard, but if using speed hacks, the pitch different is noticeable and the fastest you are, the highest the pitch is. This code will make the vehicle sound exactly the same when you use speed hacks in MKDS.

NTSC-U
0489CA60 7F800000

PAL
048A1168 7F800000

NTSC-J
048A02C8 7F800000

NTSC-K
0488F5C8 7F800000


Code creator: Ro

Print this item