Anti Lag/Late Start Online [Ro]
#1
Anti Lag/Late Start Online [Ro]

This code helps avoid lag or late starts in online races by starting the countdown as soon as all players are ready (When everyone sends the READY event).

Normally, the countdown can only start once the starting camera is finished. So, if you load in late, you'll send the "READY" event before the camera is done. The countdown will start for everyone else, but yours will be delayed until the camera finishes, causing you to start later than everyone else.

This code lets the countdown start as soon as everyone is ready, even if the camera isn’t done yet.

It’s a remake of MrBean’s (I believe) code from CTGP-R, and it works exactly the same. The code is safe and doesn’t cause any issues.

NTSC-U
C252E8E8 00000004
819E8F68 818C0B70
2C0C0007 41800008
38600001 2C030000
60000000 00000000

PAL
C2533430 00000004
819E28D8 818C0B70
2C0C0007 41800008
38600001 2C030000
60000000 00000000

NTSC-J
C2532DB0 00000004
819EC788 818C0B70
2C0C0007 41800008
38600001 2C030000
60000000 00000000

NTSC-K
C2521488 00000004
819E4298 818C0B70
2C0C0007 41800008
38600001 2C030000
60000000 00000000

Code creator: Ro
Code credits: davidevgen (Address), MrBean35000vr ? (original code)
mtctr r0 ~ bctrl / BLX R0
Reply
#2
CTGPR checks for 0xB74 == 6 and 0xB70 == 7 through 0xA
Reply
#3
(12-01-2024, 01:30 AM)Gearworks Wrote: CTGPR checks for 0xB74 == 6 and 0xB70 == 7 through 0xA


Ii originally checked 7 thru 0xA but all after 0xA are offline modes that have no countdown (not race), so no need to check
mtctr r0 ~ bctrl / BLX R0
Reply
#4
NTSC-J is definitely not working properly. It is starting the race instantly offline
Reply
#5
Updated code. Can you please confirm it works now?
mtctr r0 ~ bctrl / BLX R0
Reply
#6
Will do tomorrow

EDIT: Seems to work
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)