Everything posted by LMS
-
ACTION_CRIME_REPORT
Sure, that sounds like you want just an API function to add a crime to a ped? I could probably add a function for that and expose an enum with crime types. Any suggestions for the crime name/type?
-
Is LCPDFR still being developed or is it dead? (Also some recommendations)
You can PM me for more details, but I think we should keep a record in this thread of the most important points in the interest of transparency.
-
Issues with LML installed files crashing LSPDFR
If you have a gameconfig you should be good. I tried the first vehicle you mentioned ([Non-ELS] Fictional Australian Police VF UTE) and it worked for me. Can you try with just that one installed?
-
Is LCPDFR still being developed or is it dead? (Also some recommendations)
Thanks for your patience! I think we are at a point where I am happy to consider open sourcing LCPDFR. There are a few caveats, however, mostly due to licensing and how the project is associated with us: The source code would be hosted on our GitHub repo with a GPL-license, with no third-party binary distribution (I am thinking either only binaries on the official repo or on the website here, still need to figure it out) More than happy to give you full permission on GitHub to manage the project as I do not intend to be involved If you plan to create any communities surrounding the development (reddit, discord etc.), please check with me first as I would like to have administrator there since our name is being used These rules are preliminary, and we can of course revisit and see how things go, but that is how I feel about it currently. Let me know what you think.
-
Issues with LML installed files crashing LSPDFR
The conversion mechanism makes educated guesses but is no guarantee that files will work. That being said, misconfigured mod should not necessarily lead to a crash. Do you have a gameconfig file? Perhaps you are exhausting your pool sizes.
-
ACTION_CRIME_REPORT
Not quite, we manually scan the game for these crimes. For instance, when a ped is killed we evaluate whether it qualifies as a murder. Similarly, when a car gets stolen by a ped or a ped is shoved. This is unrelated to vanilla AI who might or might not respond to this. Could you elaborate on your request? Do you wish to be able to call in a crime once you have ID'd a ped that is considered wanted?
-
Implementing colors through carvariations.meta (police3, police4)
Unfortunately, I am not sure from where it is overridden. But you are probably not the first one with this issue, so searching for "police3 carvariations" or something similar should hopefully yield some good results.
-
ACTION_CRIME_REPORT
The crime system is part of LSPDFR and we have a list of events that we consider crimes. These are picked up from events happening in the game, such as someone stealing a car or firing a gun. Each event has an assigned priority so that when you a ped commits multiple crimes you are calling in their most severe crime. You can not manually trigger these events. A (possible incomplete) list of events that we process internally: Murder BrandishingWeapon (Usually when player is harassed by gangs) DisturbingThePeace (Usually when player is shoved) AssaultPeaceOfficer GrandTheftAuto HitAndRun Assault
-
LML Crashing on Startup
This one should work: https://www.lcpdfr.com/downloads/gta5mods/misc/24718-gameconfigxml-for-lml/
-
ASI error 126 for LCPDFR and ELS V8.51
You need the 32/x86 dependencies because GTA IV is a 32bit game. It cannot work with 64bit files. Your operation system does not matter in this case.
-
LML Crashing on Startup
Do you have a gameconfig? With their latest update, R* is really close to the configured pool sizes and just adding 1-2 cars is too much I think.
-
Implementing colors through carvariations.meta (police3, police4)
If you cannot find your vehicle in any of the .meta files, chances are it might be in the main .ymt file. If you want to use LML, you would have to extract the file via OpenIV, change the meta, import it back into any RPF (could be a new one) with OpenIV to get a ymt, then export that ymt again and use it. This is because ymts can only be replaced with ymts. The path would for instance look like this: Try this with a vehicle in there, for instance ninef. If you replace all its color definitions with say 134 (white) and then spawn it in-game, it should always be white. Alternatively, if you do not wish to use LML for this, you could also just do the replacement via the OpenIV mods folder. Just make sure not to replace ymt with meta. That being said, perhaps there is something funky with police cars and their colors (override via some DLC?). That's why I suggest you try with a different car first and see if it works. If it does, but it does not work with POLICE3, you at least know it is not your method that is at fault, but there is either a general problem with police vehicles or they are located and overwritten from some other DLC.
-
Installing FiveM Ready cars with LML
In many cases you can just download the mod through the Mod Manager (or manually add it from the interface) and it will try to parse the FiveM resource file to install it. This might not work all the time, but worth a shot. Alternatively, you can download an existing LML mods and see how streaming files and data files are loaded or also refer to our wiki. It is just a few lines of XML and once you have it working it is very easy to do for new mods.
-
ASI error 126 for LCPDFR and ELS V8.51
As you figured out correctly, error 126 is related to missing libraries (it really is just the Windows error code 126/ERROR_MOD_NOT_FOUND returned by LoadLibrary). You can try download a tool like dependency walker and open the files that are not working in it. It should show you what dlls are missing.
-
Lenny's Mod Loader
It works fine for me on 2628, make sure it works with no lml mods installed. If not, you can PM me and we can move troubleshooting there.
- 317 comments
- 17 reviews
-
Lenny's Mod Loader
- 317 comments
- 17 reviews
-
Implementing colors through carvariations.meta (police3, police4)
You can do that with both OpenIV or LML, however you will have to replace the entire file. If you search for the file name in OpenIV, see where it pops up. If it is present in update, that is the one you are after. Then, as I said, you could replace it using mods folder or file replacement via LML (however, this time not just a single entry but whole file).
-
Implementing colors through carvariations.meta (police3, police4)
Alas there is a chance this just does not work for carvariations.meta. A quick check of the game code reveals that it is loaded differently than say handling.meta which initially loops through all data files and loads them. Instead, carvariations.meta only loads one specific file "platform:/data/carvariations.ymt" and as such LML is not intercepting it. It should be possible in the future to add interception for this call, but I cannot say when/if I will add that.
-
Mods not showing up in game despite, trying 4 times.
Looks like it crashes when parsing your mods.xml. Might be worth deleting it; it will be recreated automatically. You can find it in the LML folder.
-
Police Tape
I think it's the call to load MP maps (0x0888C3502DBBEEF5). This usually indicates something broken with some game files, but you probably know that better than me anyway. See if setting "Main.DisableMultiplayerMap" to true works for them, then we know for sure it is the MP maps call.
- 299 comments
- 25 reviews
-
where to get RagePluginHookSDK.dll ?
The files from the RPH website should be good, there haven't been (m)any API changes in the past few versions. However, I have attached the most recent SDK from the build bundled with LSPDFR below for your convenience. SDK.zip
-
Mods not showing up in game despite, trying 4 times.
Can you post your vfs and mod manager log files?
-
[Suggestion] Functions.EndCalloutOnPursuitEnding setting
Can you give me an example? The callout should not be linked to your pursuit.
-
[SOLVED] Suspect in car not shoot at me while on pursuit
It might work by using GetPedPursuitAttributes and then modifying the fight chance for the suspect(s).
-
Dear Developers (Re: Script Hook V),
It is very simple to create an update for Script Hook V yourself; should only require one patch so probably takes less than 5 minutes. I would assume out of respect to Alexander Blade, no one has publicly pushed an update yet, though I am sure there must be quite a few "private" versions bypassing the version requirement already. If AB was to cease updating/developing Script Hook V it would be quite easy to re-create/maintain in the future, so there is not much to worry about.