Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

alexslx

Members
  • Joined

  • Last visited

Posts posted by alexslx

  1. I don't have anything to say against the team members, but I really do not understand why there aren't a place for RP clans as it is what moves the LCPDFR forward. Maybe something happened before I meet the community, however I really think that is why the community seems to be 'dead' some times (compared with other forums, and remembering that registered users is not a good measure, but daily active users and number of different users posts).

    On the other hand, as someone stated before, this is not a democracy, they can just shut down and show the middle finger for everyone if they want to.

    Regards,

  2. How the first guy know that he/she must stay waiting? I mean, if the police sound the siren on me, I go to the right plane and then the police car keep siren another car, I would trought that it wasn't me and move again...

    I can't see if the police say or sinalize something to the first car to wait...

  3. Using LCPDFR 1.0c I rarely crash at all, and I find it surprising that so many people do crash that often as you claim. LCPDFR 1.0c is stable within acceptable parameters if you follow the instructions. LCPDFR is not supported with any third-party mods (I do not use any high-poly cars, peds, weapons etc or graphic mods). I use the vanilla game with a few mods by Olanov and Custo, and I can play for several hours. 

     

    Besides, if you're not happy with the mod, you do not need to use it. It's a free mod and anyone is free to use it, or not use it.

    I gave up of using GTA IV with good looking cars or enb... even with a good pc specs, it will crash in less than a hour... but playing with standard police cars are so boring and ugly...

    I hope GTA V have a better memory management and allows for higher poly textures...

    Regards,

  4. ·

    Edited by alexslx

    In germany its not allowed to drive a bicycle under the influence of drugs.

    You can loose your license (Car) for this ....

    (German traffic law is very strict about drugs)

    You can loose your car license for operating another type of vehicle? That's very weird, sounds like loosing your car's license for doing jaywalking (I do it a lot, do not have patience to wait 99999 minutes on a traffic light with no car coming).

  5. Nice, reminds me of Microsoft Office

    I hope that is a good thing hahaha!

     

     

    In case you plan to rely further on the LCPDFR API and need something else added, just hit me up again.

    Thanks for your support and for LCPDFR. I'll contact you when I get in the game integration part as I probably will have some suggestions for the API. Feel free to contact me if there is anything I can do for LCPDFR.

    Regards,

    Alexandre Leites.

  6. Thanks for the response! I'm currently building your PC on pcpartpicker and was wondering what graphics card you used. Right now it doesn't look like it will be able to fit into my price range.. But might as well try! Also do you have any gameplay videos I can check out?

    Thanks again!

    I used to have a GTX 580. Currently, I'm studying abroad, so I'll wait to buy a new one before I come back to my country. It is hard to fit a good card in a budget, but i'do suggest you buying at least a 770 for now. If you do not have money, IMO you should let SSD for later and invest in a good card to make your PC at least enjoyable (having a powerful PC that you can't play is not useful...). Also, you might change an i7 for an similar i5 (avoid the dual core versions), still good for games.

    Black Friday is coming, so maybe we get some good deals around!

  7. ·

    Edited by alexslx

    inv-logo-160.png

     

    Hello everyone,

    I would like to show a project that I'm working on, named "GTA Integrated Policing System". The aim of this project is giving role playing groups opportunity to really feel using a integrated system to manage their statistics and users allowing to a deep immensity. Below are the current planned features and screenshots of the current work.

    Features

    • Users
      • Customization profile, allowing user to show their statistics, and with a timeline for general posting
      • Statistics page allowing the user to see their performance on their departments
      • Interaction with other users (friend list and messaging)
      • Joining different departments
    • Departments
      • Department profile with about and recruitment section.
      • Department statistics
      • Customization divisions, titles, incidents and dispositions
      • Multiple users on one unit (allowing two cops to patrol together and get their logs correctly)
      • User management, including applications and invitation
      • Very strong designed dispatcher, including in-game integration (details later)
    Screenshots

    thumb_1.jpg thumb_2.jpg thumb_3.jpg

    thumb_4.jpg thumb_5.jpg thumb_6.jpg

    thumb_7.jpg thumb_8.jpg thumb_9.jpg

    Currently, I have the basic framework working already (pushing and publishing information by API), but I still need to work into the interface, and the users part. I plan to open a beta phase soon for two or three clans to receive some opinions about how can I improve the system and also I'll invite someone that really work on public safety to check if I'm being coherent with the way that real officers work. Furthermore, information about the beta phase will be given in an appropriated time.

    I'll reformat the topic and add more information later. Feel free to ask questions or give suggestions.

    Regards,

    Alexandre Leites.

  8. Hello,

    I would like to share with those who have interested in continuing this script as I do not have plans to continue this. This project has used to get me into GTA IV modding, specially with SHDN and LCPDFR.

    This callout has been created in order to allow patrols to get involved into escorting missions. There will be three types of missions: Bank Transport (Escorting a security car), VIP Transport (Escorting an important person), and Prisoner Transporter (Escorting a prisoner to or from prision).

    I've almost finished the AI logic for the transporting units (they will behave in different ways if they get attacked or the way is blocked) and some part of the attackers, but it need a little of polishing in the attackers part. The uploaded part is just the BankTransport, but doing the other three just consist on changing models, destinations and that stuff.

    @Developers

    Feel free to copy and/or modify and include this into yours callout releases (a little mention would be appreciated, but it is up to you). I really would appreciate to see something similar into The Wasteland or Callouts+ :)

    I hope it help anyone.

    PS: I hope I'm posting this in the correct section.

    Regards,

  9. ·

    Edited by alexslx

    Although CPU normally comes with fan (unless you're buying OEM), I recommend spending a little more and buying a 3rd party one.

    I have an i7 3770K back home and the temperature was very high before I brought a 3rdparty fan (Zalman Cnps11x). Remember that while the CPU will work with the stock fan, temperature rising will make the CPU adjust their clocking speed in order to maintain it in a safe range. I found that after using that cooler, my computer "flows better", because it can rise to maximum clock while maintaining a good temperature.

    That is my config (Build it right after Ivy Bridge was released):

    Intel Core i7 3770K 3.5Ghz - 3rd Generation (Ivy Bridge)

    Zalman CNPS11X

    GIGABYTE Z77 GA-Z77X-UD5H

    32GB DDR3 (4x8GB) 1.6Ghz Corsair Vengeance

    I believe that you can build that config now for under $1000, and you can use just 16GB RAM if you want (I use 32GB because I setup RAMDISK and often run VMs). I'do also recommend buying a SSD (Samsung EVO 840) as SSD improves a lot loading times and your patience.

    Regards,

  10. LCPD Device 0.0.2.0 BETA Released!

    Changelog:

    • Introduction of LoggerHelper class to allow applications write logging messages easily.
    • Introduction of AppScript class to allow applications execute SHDN scripts on background.
    • Introduction of UniqueID parameter into app's config file.
    • Introduction of MinApiVersion and MaxApiVersion parameters into app's config file.
    • Renamed App to AppUI in order to better specify the difference between AppScript (Constantly running) and AppUI (Interface).
    • Added id parameter to notifications to allow overriding or deleting it early.
    • Added float and double parsing into StringHelper class.
    • Added float and double reading/writting into IniFile class.
    • Added possibility of setting EPISODE parameter to "TLAD|TBOGT" on collections.
    • Moved some app loading methods to AppManager class.
    What will come next (not necessary on the next version)...
    • Homescreen widgets (on/off toggles), useful for somescripts like god mode or similar...
    • Homescreen background
    • Phone skin (it currently IS supported, but I'm not a designer :p).
    • Start thinking on really useful bundled apps.
    • Start thinking on a new name... suggestions are very welcome.
  11. ·

    Edited by alexslx

    LCPD Device

    Developer API Preview

     

    LCPD Device is a very customizable device interface for scripting inside of the GTA IV game. Instead of remembering a large number of hotkeys, you can use it as a graphical interface to interact with your scripts on GTAIV. Better yet, LCPD Device has been build in order to allow 3rd party developers to create new applications for it and extends its functionalities.

    Features

    • Allow installation of custom device skins.
    • Allow installation of custom applications.
    • Toggle key configurable by its ini file.
    • Notification system allow apps to show you information when the device is hidden.
    Requirements Installation

    In order to start using the LCPD Device, you just need to follow the simple steps below:

    • Download the "LCPD Device X.X.X.X" from Downloads Section (Link below).
    • Copy all contents from the package to the folder "scripts" inside of your main GTAIV or EFLC folder (eg. D:GamesGrand Theft Auto IVGTAIVscripts).
    • Look over our Wiki Pages for more information.
    Installing 3rd party components

    Installing third party components is a very easy task, you need go to the "LCPDDevice" folder inside of your "scripts" folder (eg. D:GamesGrand Theft Auto IVGTAIVscriptsLCPDDevice). Therefore, you will see the following structure:

    • apps: Here you can install, enable or disable third party applications. In order to install new apps, just copy the app folder to this folder.
    • data: Here you can find all default collections for GTA infos such as cars, weapons and places.
    • logs: Here you can find all logs created by installed applications.
    • skin: Here you can find all installed skins. In order to install a new skin, just copy the skin folder to this folder and change the selected skin parameter on the main "config.ini" found on the "LCPDDevice" directory.
    • lang: Here you can find all language strings displayed in game by the main application. Installed applications can use these strings or read their version of strings.
    Screenshots

    wi1vef.jpg112brkk.jpgaxi2yp.jpg

    Developers API

    The main idea behind the LCPD Device has to create a easier way to display a graphical user interface for GTAIV scripts. Therefore, LCPD Device has extended some default functionalities from the ScriptHookDotNet and warped them in a easier way to use. For example, LCPD Device allows to your application load the screen layout from a XML file, allowing a quick edit for your needs.

    Therefore, to build an application to be used within LCPD Device, there is a documentation file and an example project (view links below). In addition, there will be new API available in the next versions to come, based on both user and developer feedbacks.

    PLEASE: I really would like to receive some feedback from other developers in order to create a good API (within the GTA limitations, of course) that allow you create new apps for it.

    Copyright Notice

    Do not copy this script over any modding web site. If you want this mod to be displayed on your website, contact me for uploading so I can track and always keep them updated. Breaking this rule, will imply on a DCMA Takedown request to the website host company, and they always follow it.
    THE PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
    
  12. ·

    Edited by alexslx

    Yes, they are added automatically. And that's where the problem occurs: A cop the chase would like to use is owned by BankTransport already.

    Okay, I got it. Instead of using the cop relationship for my peds, I changed to Special group and configured the relationship betweens criminals and cops, no more instant crash.

  13. Is there any chance you are owning a cop model? From the log it seems it tries to add a cop to the chase (the cop responds to a your pursuit as he's nearby), but there is an error because your script has control of it. I think it's a bug within the SetPedIsOwnedByScript API function, because it treats every ped the same and doesn't set the special flags for cops. The exception however is intended and should break the whole script because if requesting ownership failed code running after that line is not guaranteed to have access to the object and is most likely an indicator of a major design flaw where no else block is available for when the ped can't be owned. In this case I think it's a bug in the APi though, which occurs when you set a cop as owned and a chase starts. Can you confirm that it works for non cop models?

    You mean the models or the group? The criminals are created using this line:

    LPed attacker = new LPed(World.GetNextPositionOnStreet(this.attackVehicle.Position), Common.GetRandomCollectionValue<string>(AIHelper.criminalModels), LPed.EPedGroup.Criminal);
    
    and these models:

    "M_Y_THIEF",
    "M_Y_THIEF",
    "M_Y_GRUS_LO_01",
    "M_Y_GRU2_LO_01",
    "M_Y_GMAF_LO_01",
    "M_Y_GMAF_HI_01",
    "M_Y_GTRI_LO_01",
    "M_Y_GTRI_LO_02",
    "M_Y_GALB_LO_01",
    "M_Y_GALB_LO_02"
    
    while the security guards are created using this line:

    this.targetPedList = new LPed(World.GetNextPositionOnStreet(this.targetVehicle.Position), Common.GetRandomCollectionValue<string>(this.securityModels), LPed.EPedGroup.Cop);
    
    using these models:

    
    "M_M_ARMOURED",
    "M_M_SECURITYMAN"
    
    However, I don't add the security guards to the chase (I think they will react by themselves as they are set to be cops and the criminals will attack them).
  14. My scenario is:

     

    1) I spawn the peds on a method and make them wait for the player or my other controlled vehicle get closer...

    2) When them get closer, I make them start the attack.

     

    I tried to modify the scripts according with you LMS and LtFlash said, but I still getting the same error.

    This is where I create the peds:

    this.attackPedList = new List<LPed>();
    					int count = Common.GetRandomValue(3,6);
    					for (int i = 0; i < count; i++ )
    					{
    						LPed attacker = new LPed(World.GetNextPositionOnStreet(this.attackVehicle.Position), Common.GetRandomCollectionValue<string>(AIHelper.criminalModels), LPed.EPedGroup.Criminal);
    						attacker.DisablePursuitAI = true;
    						this.SetBasicAttacker(attacker);
    						this.attackPedList.Add(attacker);
    					}
    
     

    This is the method I use to set some ped attributes:

    private void SetBasicAttacker(LPed ped)
    {
    if( !ResourceHelper.CheckForObjectExistance(ped) )
    return;
     
    DebugHelper.Instance.Log(DebugHelper.ELogType.LOG_DEBUG, "Setting basic attacker ped...");
     
    Functions.SetPedIsOwnedByScript(ped, this, true);
    Functions.AddToScriptDeletionList(ped, this);
     
    //ped.BecomeMissionCharacter();
    ped.Accuracy = Common.GetRandomValue(45, 80);
    ped.IsRequiredForMission = true;
    ped.BlockPermanentEvents = true;
    ped.Task.AlwaysKeepTask = true;
    ped.Health = 200;
    ped.Armor = 200;
    ped.WillDoDrivebys = true;
    ped.RandomizeOutfit();
    ped.DefaultWeapon = Common.GetRandomCollectionValue<Weapon>(AIHelper.commonWeapons);
    }
    
    and finally, here is where I'm starting the pursuit:

    if (this.attackPursuitHandler == null)
    					{
    						this.attackPursuitHandler = Functions.CreatePursuit();
    						this.StartPursuit(this.attackPursuitHandler);
    
    						foreach (LPed attacker in this.attackPedList)
    						{
    							if( !ResourceHelper.CheckForObjectExistance(attacker) )
    								continue;
    
    							attacker.DisablePursuitAI = false;
    							Functions.SetPedIsOwnedByScript(attacker, this, false);
    							Functions.AddPedToPursuit(this.attackPursuitHandler, attacker);
    							//attacker.Task.FightAgainst(LPlayer.LocalPlayer.Ped);
    						}
    					}
    
    I appreciate your help, thank you (both you LMS and LtFlash).

    @LMS

    Maybe you can include a check on next version about that? I do not think the LCPDFR should crash when that happen... maybe just ignore? Just a suggestion.

    Regards,

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.