The following warnings occurred:
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.2.18 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/printthread.php(287) : eval()'d code 2 errorHandler->error_callback
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



Mario Kart Wii Gecko Codes, Cheats, & Hacks
End Race Early [ComputerBot2016] - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51)
+--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53)
+--- Thread: End Race Early [ComputerBot2016] (/showthread.php?tid=1435)

Pages: 1 2


RE: End Race Early [ComputerBot2016] - Zeraora - 02-19-2021

Answer to my question, no. With this code it force brings up the next screen of results which cannot progress the positions. However, to have this effect you can simply have the timer speed up, then use a part of countdowns code to force position updates after a race is over


RE: End Race Early [ComputerBot2016] - Zeraora - 03-27-2021

I am gonna put this here and not to make a new thread. I made a version of the C2 part of this code (with some small help from Vega) to make this code offline only. This is due to in part that the game will progress to the results screen when used online (in MKWBR, it cant do this).

NTSC-U:
C2530808 00000008
3D80809B 898CF0B1
2C0C0001 4182002C
9421FF80 BC610008
38800002 38A00001
3D808052 618CF7A0
7D8803A6 4E800021
B8610008 38210080
88030020 00000000

PAL:
C2535350 00000008
3D80809C 898C38B9
2C0C0001 4182002C
9421FF80 BC610008
38800002 38A00001
3D808053 618C42E8
7D8803A6 4E800021
B8610008 38210080
88030020 00000000

NTSC-J:
C2534CD0 00000008
3D80809B 898C2919
2C0C0001 4182002C
9421FF80 BC610008
38800002 38A00001
3D808053 618C3C68
7D8803A6 4E800021
B8610008 38210080
88030020 00000000

NTSC-K:
C25233A8 00000008
3D80809B 898C1EF9
2C0C0001 4182002C
9421FF80 BC610008
38800002 38A00001
3D808052 618C2340
7D8803A6 4E800021
B8610008 38210080
88030020 00000000


RE: End Race Early [ComputerBot2016] - Vega - 03-27-2021

Hey Ninja,

Looking at Computer Bot's original source,it has a default instruction of lwz r0, 0x0020 (r3). He includes it in the source before the function call for when the button activator is pressed, but afaik it doesn't need to be included at all when the activator is pressed because r0 doesn't get saved (its not a Variable register) thru the function call. Meaning its contents get wiped/changed anyway.

I had you throw it at the end via a branch scheme last night as a 'just because' thing, but here's a technically better way to write your source. Granted it makes almost zero difference.

Code:
lbz r0, 32 (r3) #Default instruction
lis r12, 0x809C
lbz r12, 14521 (r12)
cmpwi r12, 1
beq- the_end
  
  stwu r1, -128(r1)
  stmw r3, 8(r1)
  li r4, 0x2
  li r5, 0x1
  lis r12, 0x8053
  ori r12, r12, 0x42E8
  mtlr r12
  blrl
  lmw r3, 8(r1)
  addi r1, r1, 0x80

the_end:



RE: End Race Early [ComputerBot2016] - Zeraora - 03-27-2021

(03-27-2021, 12:14 PM)Vega Wrote: Hey Ninja,

Looking at Computer Bot's original source,it has a default instruction of lwz r0, 0x0020 (r3). He includes it in the source before the function call for when the button activator is pressed, but afaik it doesn't need to be included at all when the activator is pressed because r0 doesn't get saved (its not a Variable register) thru the function call. Meaning its contents get wiped/changed anyway.

I had you throw it at the end via a branch scheme last night as a 'just because' thing, but here's a technically better way to write your source. Granted it makes almost zero difference.

Code:
lbz r0, 32 (r3) #Default instruction
lis r12, 0x809C
lbz r12, 14521 (r12)
cmpwi r12, 1
beq- the_end
 
  stwu r1, -128(r1)
  stmw r3, 8(r1)
  li r4, 0x2
  li r5, 0x1
  lis r12, 0x8053
  ori r12, r12, 0x42E8
  mtlr r12
  blrl
  lmw r3, 8(r1)
  addi r1, r1, 0x80

the_end:
Huh, good to know. Technically, the sources are different between all regions too so, that also explained my issues with one region working but others not working.