<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/docs/lua-modding.md, branch codex/full-precompile-default</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=codex%2Ffull-precompile-default</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=codex%2Ffull-precompile-default'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-12-02T13:22:25+00:00</updated>
<entry>
<title>Merge pull request #3051 from imShangLi/fix/d3d12-lua-require-inside-folder</title>
<updated>2026-12-02T13:22:25+00:00</updated>
<author>
<name>MoonEyes</name>
<email>ducoinbenjamin@yahoo.fr</email>
</author>
<published>2026-12-02T13:22:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=69cd4106ce292abdeba319787daeac0f2a5aa6ea'/>
<id>urn:sha1:69cd4106ce292abdeba319787daeac0f2a5aa6ea</id>
<content type='text'>
D3D12-LUA-LINKS-STAY-IN-THE-FOLDER: require and the script refuse a link that leads out
</content>
</entry>
<entry>
<title>D3D12-LUA-LINKS-STAY-IN-THE-FOLDER: the doc says the rule holds for require too</title>
<updated>2026-12-02T05:43:13+00:00</updated>
<author>
<name>imShangLi</name>
<email>imshangli@users.noreply.github.com</email>
</author>
<published>2026-12-02T05:43:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=9d962894ce37a3f60976df59a8f7345fefb25f2a'/>
<id>urn:sha1:9d962894ce37a3f60976df59a8f7345fefb25f2a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>D3D12-LUA-MEMORY-SCAN-BOUNDS: the doc says what an empty range is</title>
<updated>2026-12-02T04:50:31+00:00</updated>
<author>
<name>imShangLi</name>
<email>imshangli@users.noreply.github.com</email>
</author>
<published>2026-12-02T04:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=915d4d5aad860621a9026fd05c916286bda81000'/>
<id>urn:sha1:915d4d5aad860621a9026fd05c916286bda81000</id>
<content type='text'>
</content>
</entry>
<entry>
<title>D3D12-LUA-MEMORY-SCAN-BOUNDS: the second review's points</title>
<updated>2026-12-02T04:40:30+00:00</updated>
<author>
<name>imShangLi</name>
<email>imshangli@users.noreply.github.com</email>
</author>
<published>2026-12-02T04:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=ffc320527b40ecb64b8ccd25b3024b7b2e8cec6f'/>
<id>urn:sha1:ffc320527b40ecb64b8ccd25b3024b7b2e8cec6f</id>
<content type='text'>
- the doc says that a string which names a whole number is taken as that
  number, so the sentence is true
- the test covers a negative size and a negative max too
</content>
</entry>
<entry>
<title>D3D12-LUA-MEMORY-SCAN-BOUNDS: the review's points</title>
<updated>2026-12-02T04:32:02+00:00</updated>
<author>
<name>imShangLi</name>
<email>imshangli@users.noreply.github.com</email>
</author>
<published>2026-12-02T04:32:02+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d138e52199e37ece16e7df617e5ccb6635ed4303'/>
<id>urn:sha1:d138e52199e37ece16e7df617e5ccb6635ed4303</id>
<content type='text'>
- the test for the default range stands on its own, so it shows red without
  the fix (on the base the mod is disabled by the typed option before it
  gets there)
- the doc says what is really refused: a numeric string is a whole number
  and is taken
</content>
</entry>
<entry>
<title>D3D12-LUA-MEMORY-SCAN-BOUNDS: a scan covers a bounded range and its options are checked</title>
<updated>2026-12-02T04:19:23+00:00</updated>
<author>
<name>imShangLi</name>
<email>imshangli@users.noreply.github.com</email>
</author>
<published>2026-12-02T04:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=76ba820fb836259a8badd17aedc1cee3d6153ca6'/>
<id>urn:sha1:76ba820fb836259a8badd17aedc1cee3d6153ca6</id>
<content type='text'>
The range of leonida.memory.scan was checked against the process, not against
the work it causes: a mod could ask for the whole user range (128 TiB) and the
scan's time was refunded to the call budget, so nothing stopped it. The one
thread that runs every mod then sat in the scan for hours, and the other mods,
the menu callbacks and the reload path waited for it.

- one scan covers at most 256 MiB (the whole image, when it is bigger)
- start, size and max are whole numbers: a negative one or another kind of
  value is refused with the reason, not taken for something else
- without a size, the range reaches the end of the image (it ended 100 bytes
  short when it started below the image)
</content>
</entry>
<entry>
<title>mods: gate_driver presses at the menus' pace after a probe that shows no move (review)</title>
<updated>2026-11-30T20:49:19+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-11-30T20:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=8b79ed272095429caceb37c5e5bb46c39558a8db'/>
<id>urn:sha1:8b79ed272095429caceb37c5e5bb46c39558a8db</id>
<content type='text'>
A probe that showed no move pressed Enter at once, and the menus then probed again at once: Enter came
every 3 to 5 s (68 times in 6 min on a cold cache), with no press_every and no check that frames had
moved on. It now asks the menus for one press at their pace, and a probe waits for Enter to be up.
The docs say what idle cannot tell (a held player) and what a cold cache does to CONTROL.
</content>
</entry>
<entry>
<title>mods: gate_driver takes a run from the menus into the world (D3D12-GATE-DRIVER-MOD)</title>
<updated>2026-11-30T20:02:29+00:00</updated>
<author>
<name>TheGeogeo</name>
<email>57634077+TheGeogeo@users.noreply.github.com</email>
</author>
<published>2026-11-30T20:02:29+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=923dc267410e8bab17bd69fc383a0f39fb74b103'/>
<id>urn:sha1:923dc267410e8bab17bd69fc383a0f39fb74b103</id>
<content type='text'>
A Lua mod for in-game gates and A/Bs: it presses Enter through the title's menus only once frames
have moved on since the last press, shows control by holding W (the player must walk 1 to 30 m in
3 s; more is the title placing the player, which it waits out without a press), then stands still
(idle) or walks a fixed loop (roam). It logs GATE PRESS/PROBE/CONTROL/MARK/SHOT/FAIL lines with
distances only, never a position. It ships disabled; a run enables a copy with LEONIDA_MODS and
needs LEONIDA_GAME_ACTIONS=1 for the player's position.

The logic is in driver.lua and takes the calls it uses as an argument, so leonida-lua's tests run
it on a stub with a simulated clock: menus, control, roam, no position, no control, a jump.
</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 page and leonida.teleport work through the player hook when a position is known</title>
<updated>2026-11-27T07:45:50+00:00</updated>
<author>
<name>NotRexed</name>
<email>therealnothingfn@gmail.com</email>
</author>
<published>2026-11-27T07:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=4fc6d11141e324c177f332658d034115514231b3'/>
<id>urn:sha1:4fc6d11141e324c177f332658d034115514231b3</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
