<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/mod-menu.md, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-30T08:14:07+00:00</updated>
<entry>
<title>Trainer notes: a time of day set while the title loads ended it once; set in the world, the night is right</title>
<updated>2026-11-30T08:14:07+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-30T08:14:07+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=b7bca9eabfbf3e4438c56bf7028eb36d9411f80e'/>
<id>urn:sha1:b7bca9eabfbf3e4438c56bf7028eb36d9411f80e</id>
<content type='text'>
Runs d197 and d199: 23:00 asked 60 s after the start stopped the title within two seconds (an access violation in
KERNELBASE on another thread); asked at 120 s, in the world, it did not, and the night tour's 545 frames show no
one-frame dips or spikes.

AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Game actions: the player's place in the world's coordinates (GET_ENTITY_COORDS); lift &lt;metres&gt;</title>
<updated>2026-11-30T07:20:20+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-30T07:20:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=49e93960cab6b1c4fe08c06efef99635c1d19644'/>
<id>urn:sha1:49e93960cab6b1c4fe08c06efef99635c1d19644</id>
<content type='text'>
Run d195 had the native teleport move the player at once, but into the bay far from the deck: the place read from
the ped (+0x70, as Game::position reads it) is relative to an origin of the title's own, and SET_ENTITY_COORDS takes
the world's coordinates (the native database has GET_ENTITY_COORDS decode +0x70 into them).

- Game::world_position: GET_ENTITY_COORDS on PLAYER_PED_ID's reference (its flag 1), the vector's three floats.
- The title's thread reads it every 15 of its updates while the natives are found; game_actions::position() (the
  menu's Teleport page and its saved spots) gives that place, never the ped's own for it.
- Request::Lift (lift &lt;metres&gt;): that far above the player's place in the world, through Request::Teleport.
- The info line and the teleport's line give both places.

Also seen in d195: 6,805 natives found by their handlers, PLAYER_PED_ID's reference, god mode on and off.

Tests: the game_actions tests pass (lift read in script_commands_read). Not yet seen in the running title.

AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Game actions: teleports by the title's own teleport (SET_ENTITY_COORDS), and a wanted clear the HUD sees</title>
<updated>2026-11-30T06:14:53+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-30T06:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=bbd45f5cc1929ec01817863680535c182da1e9c8'/>
<id>urn:sha1:bbd45f5cc1929ec01817863680535c182da1e9c8</id>
<content type='text'>
- Request::Teleport (	eleport &lt;x&gt; &lt;y&gt; &lt;z&gt;): SET_ENTITY_COORDS on PLAYER_PED_ID's reference, the place as four
  packed floats in two slots, the three axis flags off and the area cleared, the last float 0 (nine slots, as the
  native database has the native take). warp(), which the menu's Teleport page and leonida.teleport call, asks
  for it whenever both natives were found, in place of the experiment that writes the ped's position
  (LEONIDA_GAME_ACTIONS_WARP=1, still there without the natives).
- Request::Wanted(0) also calls CLEAR_PLAYER_WANTED_LEVEL on the player's reference: run d179 had the HUD keep
  two red stars after the title's own function cleared the level.

Hashes from modpapi/scripthook-vi's native database (CC BY 4.0). Tests: the game_actions tests pass (teleport
read in script_commands_read). Not yet seen in the running title.

AI-assisted (Claude).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Trainer: the game actions seen working in the running title (run d179); the HUD's stars after a clear</title>
<updated>2026-11-30T06:12:32+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-30T06:12:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=24ccd36c2ea96350f39a5bfc51aa4b7051290982'/>
<id>urn:sha1:24ccd36c2ea96350f39a5bfc51aa4b7051290982</id>
<content type='text'>
Weather, time, wanted level, the health cheat, and the spawn of any vehicle by its model's name (the airport bus, a
model none of the nine cheats holds, came down just ahead of the player) did what was asked on the title's thread.
The HUD kept two red stars after the wanted level was cleared through the title's own function (its state read 0).

AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Game actions: the title's script natives found by their handlers; god mode through them (god, native &lt;hash&gt;)</title>
<updated>2026-11-30T06:02:21+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-30T06:02:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5f8f20d77463455e48219059b98bb2c593737c52'/>
<id>urn:sha1:5f8f20d77463455e48219059b98bb2c593737c52</id>
<content type='text'>
The natives were never found as a table (docs/mod-menu.md, "Looking for the script natives"): the title builds
its own at run time. Every handler has one shape, though: it checks its argument count first
(`cmp dword [rcx + 10h], 0`) and on a negative one jumps (`js`) to an error block that stores its native's own
64-bit hash where the result goes (`mov rax, [r]; mov r2, imm64; mov [rax], r2`).

- leonida_loader::natives: scan() reads that hash from every such handler in the code and keeps the start of the
  function it lies in (from .pdata, at most 0x20 bytes before the check); a hash at two handlers names neither.
  find() does it over the mapped image. In the 1.0.2.1 executable: more than 6,000 natives, PLAYER_PED_ID's and
  SET_ENTITY_INVINCIBLE's hashes among them (the handler with the latter is the one El1xr's trainer calls for it).
- Game actions: call_native() passes a handler its call context (argument slots, the results' slots, the count;
  16-byte aligned slots), on the title's thread that runs its cheats. New requests: God(on), SET_ENTITY_INVINCIBLE
  on PLAYER_PED_ID's reference (`god &lt;0|1&gt;`), and Native { hash, args } (`native &lt;0x hash&gt; [slots]`, for tests).
  The natives are scanned at install and counted in the console.

The shape and the call context are kylepelham/El1xr's findings (third_party/victory/.../modmenu/natives.rs,
GPL-3.0); the hashes are modpapi/scripthook-vi's native database's (CC BY 4.0). Written here anew.

Tests: natives::tests (a handler's hash names it, near and far jumps; a hash at two handlers, a handler outside the
unwind table, other registers or a load through rsp or a check too deep name nothing; the unwind table read
sorted; the retail executable's natives with LEONIDA_GAME_DIR), game_actions spawn_tests
a_native_call_hands_its_handler_the_slots_and_the_count, and the new commands in script_commands_read. All pass.
Not yet seen in the running title.

AI-assisted (Claude). Tested on an RTX 4060 Ti 16 GB, driver 616.64, Ryzen 5 7600X (unit tests and the
executable check only).

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Docs: the keyboard and mouse keys for players, and how the layout knows what the player is in</title>
<updated>2026-11-27T23:02:38+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T23:02:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=89991dc8e0d28845082956529007f30ebeb74c19'/>
<id>urn:sha1:89991dc8e0d28845082956529007f30ebeb74c19</id>
<content type='text'>
d3d12/README.md lists the keys on foot and in a vehicle. docs/gameinput.md
has the two tables with the pad button of each key, the GTA V keys left
out and why, the hand-over rule, what is read from the title (and that it
was read from the code, not yet seen running), the speed rule's limits and
the switches. docs/mod-menu.md counts the eleventh place.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Trainer menu: game actions through the title's own cheat system (LEONIDA_GAME_ACTIONS=1)</title>
<updated>2026-11-27T17:17:56+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T17:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=68a13c4d5e41d57477eb03d49729b5c49332b1bc'/>
<id>urn:sha1:68a13c4d5e41d57477eb03d49729b5c49332b1bc</id>
<content type='text'>
The title has a cheat system of its own: a table of sixteen handlers without
arguments, and the functions those call take plain arguments. Ten places in
its code are found by short byte signatures (each once in the executable),
which give the cheat dispatcher and table, the title's deferred call, the
player's ped, the functions that set a ped's wanted level, the time of day
and the forced weather type, and the globals they work on.

The title's once-a-frame call of its cheat input function becomes a call of
ours (a near stub, written before any title code runs); the menu only queues
a request, and the hook hands the title's own deferred-call queue (the one
its cheats go through) the work. Wanted level, clear, never wanted, hour,
clock paused, sync with system, weather by name, freeze weather, the health
cheat and the nine vehicle cheats are wired; the player's position and
heading come from the ped itself. Moving the player, god mode and the rest
still say why they are not there.

Off unless LEONIDA_GAME_ACTIONS=1: built and unit-tested, not yet run in the
title. LEONIDA_GAME_ACTIONS_RUN scripts commands for a test without the
keyboard and logs to %TEMP%\leonida-actions.

docs/mod-menu.md: how it was found, with counts; the 6,811 script command
wrappers (each carries its own 64-bit hash) and what was tried to find the
table that binds them.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Teleport writer: skip zero or distant members; finder: leave camera-focus vectors out; record the result in docs</title>
<updated>2026-11-27T09:43:51+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T09:43:51+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=590bc35a6c5e0c45e963243e9c07da98bbd41aba'/>
<id>urn:sha1:590bc35a6c5e0c45e963243e9c07da98bbd41aba</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Probe: batches with bisection, wider z window, sector-relative frames, upstream detection; teleport waits for the finder</title>
<updated>2026-11-27T09:29:07+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T09:29:07+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=57e9ec4bf0bf85b0d9ad3c2db5cf563fcae0b87f'/>
<id>urn:sha1:57e9ec4bf0bf85b0d9ad3c2db5cf563fcae0b87f</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Finder: write probe finds what the derived position follows; teleport waits for it; threaded pointer scan on that struct</title>
<updated>2026-11-27T09:08:30+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T09:08:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=630446029772adfe1f564c6948ce25acb5343231'/>
<id>urn:sha1:630446029772adfe1f564c6948ce25acb5343231</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
