Everything posted by LMS
-
Lenny Trainer crashing my game when loading into game
Make sure to use the latest
-
Updated RDR2 wont launch
Rename version.dll and dinput.dll (if you have it), see if game launches. If version.dll is the issue: ensure you have the latest asi loader version. If you do (or if dinput is the issue), start removing .asi mods to narrow it down.
-
Lenny's Mod Loader RDR
- 752 comments
- 6 reviews
-
[Solved] How to Use UIFEED and UISTICKYFEED Functions
You can just declare a normal C++ structs with the variables defined. For instance, this: https://pastebin.com/EJD7ytn const struct1 = new DataView(new ArrayBuffer(32)); const struct2 = new DataView(new ArrayBuffer(64)); struct2.setBigInt64(8*1, BigInt(title), true); struct2.setBigInt64(8*2, BigInt(msg), true); This means there are two structs of size of 32 bytes and 64 bytes respectively. The first struct gets no data written, so you can just zero it all out. The second one gets two 64bit (8 bytes) values written at offset 8 and 16 (I think DataView starts at offset 0 too). So, for your struct you could for instance declare 4 variables of 8 bytes size (and pointer type or something like uintptr_t) and then set the second and third to title and msg respectively. Hope that helps.
-
How to Decompile Native Functions?
The time you dump might also be important. I do not remember if this affects RDR 2 as well, but for GTA 5 the native registration functions get removed after execution.
-
game runs badly when modded.
Are you playing on a HDD by any chance? The overhead from intercepting the file system is greatly magnified on a slower disk.
-
How to script a controller with a prompt
Not sure why it is not valid, but try passing another parameter (0) to the standard mode completion call.
-
RDR 2 - Sudden FPS drop. LML to be the cause?
LML might cause performance issues on slow disks since there is an I/O overhead. Since you are on a SSD, this should not be the case, though. To verify, you can remove vfs.asi and see if it helps your framerate.
-
How to script a controller with a prompt
If it is not hold mode, you want to call _PROMPT_HAS_STANDARD_MODE_COMPLETED.
-
How to script a controller with a prompt
Try changing the return type for _CREATE_VAR_STRING to long. String is a managed type and cannot be created from an unmanaged pointer like that.
-
How to script a controller with a prompt
Very similar, I don't think the prompt is exposed as managed classes. You would hence manually call the natives shown above via Game.CallNative.
- How can I display a help message?
- How can I display a help message?
-
Ability to add new guns, not just replace?
From what I understand weapon model support is very bare bones and currently makes it more or less implausible to add new weapons.
-
Ripping files (ymt, ytd) for modding
You should be able to open the file directly in OpenIV which will show its text contents.
- Is there a working trainer with...
-
Ripping files (ymt, ytd) for modding
What files are you talking about? I assume you refer to ymts for which there are two modes to extract files via OpenIV: One will retain their original format, one will decrypt them.
-
Online character in singleplayer mod isn't working
Are you asking to load your actual Red Dead Online character? That is not possible in Outfit Changer, you can only try to recreate it.
-
Become an horse mod
What does being a wild horse entail? Most trainers let you change your model, including to horses.
-
Need help tracing scripting issue (player paralyzed walking in place)
That would be FREEZE_ENTITY_POSITION. And interesting you mention scenarios, perhaps some of them spawn an anim scene or something else that glitches out? Not too familiar with how they work/what they can do in RDR.
-
Need help tracing scripting issue (player paralyzed walking in place)
Probably the freeze position native then or could also be a anim scene, if they break it is quite common to have no collisions afaik.
-
Need help tracing scripting issue (player paralyzed walking in place)
Are they being animated still? Then it sounds more like their position was frozen.
-
Online character in singleplayer mod isn't working
Yes, that should be enough to load multiplayer assets. Try playing around with other components to test if they are loaded at all.
-
Online character in singleplayer mod isn't working
Looks like you might be missing our ASI Loader which enables multiplayer assets to be loaded.
-
Problems with lml replace folder
They should replace no matter where they are located assuming you provided the correct path. You can try turning on verbose logging (log level 0 should do the trick) and see if that helps narrow down the exact path.