[Release] LiveMap

anyone know how to do a “timed” blips for a command like “/911 i feel down on the street” and there is a blip on the map and like on 30s it disapears

Hey @Havoc

blips.json is generating a file with an empty table - as in

{} - is all the file creates.

It’s on my localhost dev server so I’ve file perms set at 777 so it’s definitely not a perms issue.

Hey, could the problem with the secure connection to the websocket have already been resolved or there is still the problem on FiveM’s side that no encryption can be used there. I would need a completely secure application to be integrated into a secure web environment, i.e. the connection to the WebSocket must also be encrypted.

Last time I checked, FiveM didn’t ship a crypto library for C# to use cryptography with WebSockets (which is required for secure connections). That was the last time I checked… Ages ago. It might be different now. Not too sure. I will have to look when I finally get into the new house.

I did try to move to Server Side Event (SSE) as its much more appropriate for the plugin and, it could use the reverse proxy provided in the server. To no avail… Maybe I’m just too dumb to actually implement it?

1 Like

It is possible that FiveM has made some changes in terms of cryptographic encryption, but I don’t know enough about that. First of all, take the necessary time to move in peace :slight_smile:

hello there …
i install both into my server …put everthing into server.cfg …
i can open the map ,but …i cant see any live on the map ??no errors on the server …and F8 ,any idea??

how to remove this ad on the script? As I understand it is encrypted in the code?
ads

Its not an advert. It’s a link to the open source mapping library that’s used to display the maps on the webpage… A very small, out-of-the way link.

The code is not encrypted anywhere. It’s all open source and readily available. I will not be removing this link in any release of the code. If you wanted to, you could fork the interface and patch it yourself… Just be aware that you might end up breaking the copyright of the original library.

If you wanted to do this yourself, just google “leafletjs remove link”. I won’t directly link to any articles describing how to do so because I don’t think you should.

Will this work in cPanel?

I have a question. Do you know where I can get the blips? because i have done everything correctly but i dont have the blips

Getting error in console and suggestions.
Capture

Have the live map socket on another port 30121 is already in use

What is another port I can use?

I use 20120 you have to be sure to port forward the port through your webserver

I use zap so im not sure how I can do that with them

It’ll be in the config for the live map, with zap you shouldn’t need a port forward or if you do contact them

Anyone know how to fix this?

image

From looking at the page code with the inspector tool it looks like a somewhat custom one that someone has made for them.

I was able to make this Live map interface look exactly like DoJ’s. So I am pretty sure DoJ did use a old version of this LiveMap from when this live map was still using google api

Hello Havoc,

Any progress on this? It seems like the issue hasn’t fixed itself :smiley: