[Release] LiveMap

may i ask what postal code map you used for the livemap?

It works for me. You should check your config file.

You have to do /blips generate in game then a blips.json file will generate in your game resource. Take that file then put it in your web server!

You should just be able to leave it as the default but if it doesn’t work contact your webserver’s support team.

1 Like

the webservers support team would not care about stuff like that. why should they, there server has no issue i think…

config has not big potential to be misused… just put ip, port and stuff in and go…
and the blips are shown correctly - they are already done…

but the livemap doesnt want to connect, and if you scroll up you see that alot of people having the same issue… :confused:

You’re having issues with the config most likely. That or, you have changed the port on the fivem resource without updating the config.json file.
I can’t read minds. And I can’t diagnose an issue with your configs without a link.

And yes. It’s definitely a config issue because I have this running for a server and it works fine.

Shit. Totally forgot to credit the owner. My bad. I cannot remember exactly where I got the map from but, it looks like it could be this one [Release] Postal Code Map - New & Improved - v1.1

Although, you can now use any map you want really.

Care to clarify?

you say we can use any map really. so how is that done i see theirs a png but the postal codes are ytds arent they.

Exactly. I have written a couple of Python files that are used to extract PNGs from the YTD format. You can find them at https://github.com/TGRHavoc/live_map-interface/tree/master/images/tiles

To use:

  1. Download the YTDs you want to use. Make sure they’re the minimap_sea ones for best result.
  2. Move them into a folder with the python scripts
  3. Run the extract_png script.
  4. Wait until done (shouldn’t be too long).
  5. You should now have PNGs in the folder.
  6. Update config to add new PNG files.

Note: Make sure you use Python 3.x

Edit: totally forgot you will need Pillow installed: https://pillow.readthedocs.io/en/stable/installation.html#basic-installation

1 Like

impresive work in my opinion!

thank you

is anyone using this with zap. i’m having issue i got everything installed correctly but players don’t show on the map.

PM me a link to the map and I’ll have a looks at your config to make sure everything is set up properly.

so, i want to use just the web base side and cant seem to get it to load, plus is there a way i can overlay street name and postals

Edit: I should have mentioned I tried a couple different ports aswell with no luck. Any port you would recommend to test it on?
I am using NFOServers for hosting this, the older version of livemap worked. My map blips showed up no problem but the player blips do not. Would you mind looking at my config? I am getting a connection refused error for the web socket.
image


has anyone got this to work with zap. i am having issues getting it to work. i am just curious what socket port worked for you.

This is how my server config is setup

set socket_port 30121
set livemap_debug 0
set blip_file "server/blips.json"
set livemap_access_control "*"
start live_map

Yes. The default socket port worked. The config just needs to be adjusted or that’s what worked for me.

you mind sharing your config. i tried using the default port and it wont work i contacted zap they spent a week trying fix it they said to go to the original author and see if he can help. he tried so maybe i doing something wrong.

Yes. You/a developer would have to learn Leaflet and modify the scripts to add “overlays”.

If you have the YTD files with the street names on it, you can always extract them and use the PNGs.

Some people have been having issues with server providers. As far as I can tell, it’s to do with their firewall. You would have to contact your server provider and ask if they have a firewall and, if they do, to provide an exception for the socket port.

Read above. I believe this to be a firewall issue.

@Dragon_Busters please stop telling people to email you. It doesn’t help at all. All this does is hide information that can potentially help others.

Alright, so if anyone is having problems with their config file this should help.