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.

1.1 released

Featured Replies

  • Management Team
  • Popular Post

Hello,

it's time for another update. As stated >here earlier we've decided to release smaller patches but more often. This version is called 1.1 since we've proven ourselves to know the alphabet quite well by now I guess. Among various fixes (detailed changelog at the end of this posting), we also want to share some great news with you.

After a lot of consideration we've decided to make our early netcode, we implemented during development of 1.0 but never finished, available through the API. We've also polished it a little so clients can connect automatically using our master server. Clients can still use net_connect IP[:port] to connect to servers manually in case there are issues with the automatic connection.

What does it offer?

Very very basic things like syncing blip creation for peds and vehicles (changes to blips except for deleting are not synced btw) and callout messages. Search areas during pursuits are also synced. I hope you aren't disappointed, this is how it is and how far we got back then and we decided it would be better to at least give you basic functionality (which you can extend!) instead of never releasing it at all. Callouts are host only.

How does it work?

Put simply, we establish a UDP connection between the client and server. This is completely independent of your game session, so yes, in theory you could also connect to a host's IP from another GTA game session. But we don't really encourage you to do so...

So what to do as a host?

If you are hosting the game, LCPDFR will recognize this automatically. Sometimes scripts are loaded in the lobby already and detection of network game might fail, so either check if you get the helpbox stating you are in a network session or simply reload scripts once in-game.

Also make sure to forward UDP port 1337 (or whatever you set it to from the ini file) so clients can actually reach you. If you have a UPnP cabable router, LCPDFR will try to automatically forward ports for you.

So what to do as a client?

Join a game and see if you get a helpbox stating you are in a network game. If not, reload scripts. Once LCPDFR has detected your network session, it will try to retrieve the host's IP and port from our masterserver. If that works, you don't have to do anything, you will be connected automatically. If it fails (you will get notified), you can still use net_connect IP[:port] to connect. Note that port is optional.

I'm an API developer, what can I do?

I will update the GitHub repo with a basic example. Also check the new Networking class which provides access to our functions. You may have to add the LCPDFR.Networking lib to your project. For more questions, please use the dedicated API forums.
 
Appendix

On a final note I have to thank LukeD and ineseri for their efforts in helping me testing our networking code.
From the early attempts of just establishing a connection to ironing out issues with the master server the two of you never hesitated to join me for a session when I asked. Thanks for that!

Also big thanks to Cyan for finishing the master server to allow automatic connecting now.


Change log


API

  • Added SetPursuitTactics and SetPursuitHelicopterTactics
  • Added GetArrestedPeds to get all peds the player is currently taking care of
  • LVehicle: Added SirenMuted

CheckpointControl

  • Added back QAM entries (sorry!)

Pullover

  • Fixed stats glitch (thanks to EvilJackCarver for reporting)

Networking

  • Basic network engine syncing blips (no attributes), callout messages and search areas.
  • Better detection of network players

Misc

  • A few crash fixes
  • Reduced obfuscation level to please AV software

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Replies 66
  • Views 20.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Please don't, we have enough on the team for that :D hahaha   Of course I'm just fooling around you guys.

  • TaylorSwift
    TaylorSwift

    Yey new upd8.. thts gr8 m8 ok but really, thanks for all the work put towards this :P

  • RipplyTiger151
    RipplyTiger151

    Well then... things like this happen always when I am at my dads....

Hope to see this added into our clan modpack as soon as possible! :D

Logging in...

Launching game...

Error launching game: Cannot load while loading. Please log out and retry.

Logging out...

Error logging out. You are not logged in. You need to be logged in to log out. Please log in to log out.

The checkpoint still doesn't work for me. :c

When I try to wave vehicles through or stop them, nothing happens. They just stop a few metres away from the cones and stay there until I delete the checkpoint. o.o

Logging in...

Launching game...

Error launching game: Cannot load while loading. Please log out and retry.

Logging out...

Error logging out. You are not logged in. You need to be logged in to log out. Please log in to log out.

MODERATOR NOTICE
This topic is not for support requests. Please post support requests in the LCPDFR Support forum.


Also, nice work LMS and Cyan. This release will hopefully bring a lot of fun to the MP aspect! Worked fine during testing. Enjoy :D

Invenio, Investigatio, Imperium

  • Author
  • Management Team

The checkpoint still doesn't work for me. :c

When I try to wave vehicles through or stop them, nothing happens. They just stop a few metres away from the cones and stay there until I delete the checkpoint. o.o

 

Just tried it in-game, works fine on my end. Do you aim at the vehicle using the QAM? If the indicator is red, it has recognized the car.

 

Are we able to use the LCPDFR 1.0 Callout Plugin with 1.1

You should , but I didn't test it.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

 

Just tried it in-game, works fine on my end. Do you aim at the vehicle using the QAM? If the indicator is red, it has recognized the car.

 

That's my mistake. I didn't hold Alt/Menu when I opened the QAM.   :wallbash: Thank's a lot for letting me know that I'm dumb.  :teehee:

Edited by TheUniT

Logging in...

Launching game...

Error launching game: Cannot load while loading. Please log out and retry.

Logging out...

Error logging out. You are not logged in. You need to be logged in to log out. Please log in to log out.

Another update, Awesome  :thumbsup:

 

it seems like the shoot-out callout still crashes the game =/

 

Oh and, I plan on playing this with a friend in due time. Do I just host normally through GTAIV and have both of us launch our scripts? Or does LCPDFR have its own way of working through multiplayer? I don't quite understand.

 

Thanks for the update!

Edited by Sonny236

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

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.