Everything posted by LMS
-
LML not running mods...
Can you show us your LML folder with your mods?
-
Not beaming to LML
That should just be the download UI and not affect the mod actually being in your game folder. Can you find it in the LML folder?
-
[Solved] Time interval
@HeyPalu It is likely crashing because the timer callback does not happen on the same thread as the game's script. If you do not want to create your own timer class, you could simply have a variable that keeps the game time you started something and then compares it to the current game time + interval.
-
LSPDFR Plugin - Ini-File Support (error)
Have you tried it without the comment (;)? It seems it just calls into .NET functionality to parse a number.
-
Creating LSPDFR Plugin in VS Code
It looks a bit odd since it says F# but you are writing C#, but I am not familiar with the specific extension. Try to open your project folder with VS Code and take it from there. Under Package References, you should be able to add RPH from NuGet.
-
Creating LSPDFR Plugin in VS Code
Should not be much different from using Visual Studio as you can still invoke the compiler to generate your actual DLL file. Just make sure to configure the correct dependencies such as RPH and you should be good to go.
-
property Length v. Method Count() in Class Array
Yes, a list is usually the better option when you need to add new elements. You can have a dynamically sized array, but when you exceed the current size, you would have to copy the entire old array which makes the insertion operation slow sometimes. While there might be cases where the retrieval performance of an array justifies a slow insert, but there might also be better data structures for that need and in general in modding, usually the number of elements is small enough that using a list is never a bad idea.
-
property Length v. Method Count() in Class Array
Correct, there is no property that keeps track of how many elements there are in an array. You could count them yourself or defer to a list if that is something that is important. As for Count(), that is probably the Linq extension method that you are seeing that works via Enumerable.Count<T>(IEnumerable<T>). Since array is also an IEnumerable, this method is also available. Internally, it will just call Length, though, so there is no benefit of using it. Depending on the underlying data type, it will have to iterate over all elements to figure out the length so it can be expensive to use.
-
Changing default backup menu items?
You cannot edit the menu names nor add items to it.
-
Game crashes with lml and NaturalVision Evolved
I know that NVE causes issues with other mods such as LSPDFR and RPH, too, so it is likely it is not properly compatible with LML either. There is not much we can do about that, but if you check Cyan's post in this thread and can post the details, perhaps we can at least narrow it down:
-
Invalid Model LSPDFR GTAV
Invalid model usually means that it is not registered with the game, e.g., for vehicles the vehicles.meta entry is missing.
-
Detect player joining/accepting a callout
In the API.Events class you should find all the events necessary to register for new callouts (including notifications).
-
banned
We do not have an official discord server, so we cannot help you here. Please reach out to the staff of the server.
-
ASI error 126 for LCPDFR and ELS V8.51
If you run something like Dependency Walker on the files that fail with error 126 it will show you the missing libraries.
-
my lennys mod loader says that theres a bad file or game gonfig
There is no need to reinstall the game if this error appears. It just means that you are loading a file through LML that failed to be added to the game. This could be because the file is malformed or because the game's space for new files of that type is exhausted. Hence, you might need a gameconfig mod to increase space or other tools such as weapon limits extender. For LML especially, if you want to get rid of all mods, just delete the LML folder (or rename it), no need to reinstall.
-
LML UI not launching
That's very odd as they are virtually the same software. Could you check eventvwr.exe -> Windows Logs -> Application and see if there are any crash reports right after you launch it?
-
LML UI not launching
Have you tried running it as admin? Or perhaps your AV software is blocking it?
-
LCPDFR 1.0b Taxi Bug
I don't exactly remember the name, but LCPDFR should have an ini file somewhere (probably in the game or lcpdfr folder) where you can toggle this. That being said, GTA IV is very prone to the "taxi bug", so it is probably best to use a mod like Traffic Flow that was suggested here as a better workaround. There is also this which fixes the root issue instead of masking it: https://gtaforums.com/topic/744584-reliv-rilbudgeted-population-budget-adjustertaxi-bug-fix/
-
my lennys mod loader says that theres a bad file or game gonfig
Well, what have you tried when you say "everything"?
-
LSPDFR Crash on startup
Something else is deleting the car the player is supposed to sit in while the camera is zooming in. That should not really happen, but I can make the code more robust so that it does not crash in that instance.
-
Lenny's Mod Loader causing game to just randomly close?
Are there any related entries at the same/similar time? This one looks like some issues with an NVIDIA dll, but it might just be affected by another issue. @mike912 You most likely are missing a gameconfig or other files to make your mod work.
-
LML visualsettings.dat and best practice vehicle import
1.) What have you tried? The loader is file type agnostic so it should not really matter that you are replacing visualsettings.dat. Does the log indicate a replacement? 3.) Can you elaborate? You do not need to combine the files unless you want to as LML can load them individually and they get combined by the game.
-
Lenny's Mod Loader causing game to just randomly close?
Can you please go to eventvwr.exe in Windows, navigate to Windows Logs -> Application and see if you find a GTA 5 related crash? Please post the details (there might be two entries). Also please make sure to update LML beforehand.
-
Money on LSPDFR character
I am not sure how that script determines whether you have money or not and what it uses, so I cannot really help you with that.
-
Download error
It's possible the download path folder is read-only for some reason. The download folder is usually in the same folder as your LML installation.