Mario Kart Wii Gecko Codes, Cheats, & Hacks
how to check if a player is in a race? - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Hacks/Modding (https://mariokartwii.com/forumdisplay.php?fid=14)
+--- Forum: Code Support / Help / Requests (https://mariokartwii.com/forumdisplay.php?fid=61)
+--- Thread: how to check if a player is in a race? (/showthread.php?tid=1910)



how to check if a player is in a race? - jawa - 11-10-2021

i tried to find the byte with dolphin memory viewer, but i couldnt find it


RE: how to check if a player is in a race? - Seeky - 11-10-2021

Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?


RE: how to check if a player is in a race? - jawa - 11-10-2021

(11-10-2021, 04:20 PM)Seeky Wrote: Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?

if the game is currently in a race


RE: how to check if a player is in a race? - jawa - 11-14-2021

(11-10-2021, 04:26 PM)jawa Wrote:
(11-10-2021, 04:20 PM)Seeky Wrote: Wdym exactly? How to check if the game is currently in a race, or if a player in a specific slot from 0-11 exists in the current race, or if a local player in splitscreen 1-4 exists, etc?

if the game is currently in a race

i got an idea of how i would do that
i would check the countdown number before the race starts
and if its higher than zero
were kinda in a race, but its good enough for what i need


RE: how to check if a player is in a race? - stebler - 11-16-2021

Check if PlayerHolder (0x809c18f8 PAL) or any of the race-specific globals is NULL.