[Release] LiveMap

Is it coming up with a yarn error or anything? That’s the most common issue

No, The only place it mention yarn is when the live_map resource loads and says something like: Creating script environments for yarn

Ok, so yarn is working fine then, do you have the added section for the cfg?

Yeah.

set socket_port 30121
set livemap_debug "info" # "[all]" 'trace', 'debug', 'info', 'warn', 'error', 'fatal', 'off'
set blip_file "server/blips.json"
set livemap_access_control "*"

start live_map

How would I go about adding extra sprites? I am using some blips in-game which don’t have a sprite in the web interface and thus don’t show up. I’ve tried adding them to the window.MarkerTypes array in js/src/markers.1.js like so:

477: {
    iconUrl: config.iconDirectory + "/truck.png",
    iconSize: [64, 64],
    popupAnchor: [0, 0],
    iconAnchor: [11, 0]
},

Obviously I also added the truck.png file into the icons folder and I added them correctly into blips.json, however I am still getting the following error in the browser console:
Error: iconUrl not set in Icon options (see the docs).

If you do anything on the interface side, you will need to use the debug.html file (to see if your changes work and stuff first) then, you will have to run gulp to compile all the JS into a minified file (for use in the actual website).

Can you help me with the websites because i don’t understand how i can use the livemap

Nice Work
i have the Map also in Use
I have Added a Satelite texture Map
You Can See it on: http://www.railroadgaming.nl/alkmaarrp

Keep it on :smiley:

Adding it to websites is pretty simple the easiest way is to hyperlink it from the site to your webserver

Hey @Havoc i installed everything but when i start my server it shows this error. how do i fix this? errototoit

i really need help when i start the index.html it just says something with an error loading the map and error with the config.json

Not sure, but does this resource work for Windows?

I am running a Windows VPS, per my IT guy, I installed webpack and yarn, removed those from the resource.lua, made sure to forward my port in the firewall, and still getting error connecting on the interface. Any assistance would be wonderful

Havoc, just updated to the latest (2.3.4) server resource version and now the live map is not working. It says on the website that it is indeed “connected” but I see no players and I get the error message “Error getting blips!” so some sort of connection issue is going on. Tried to remove dependency of both yarn and webpack but with no success. Server console just says:

Creating script environments for live_map
Started resource live_map

Any ideas?

bumpp

Did you set the server convars? Is your map behind SSL?

Is your interface running behind ssl? if so, please proxy your server, for the blip file to be loaded.
Also, did you set the server convars right? & is your socketport open on the server where your fivem server is running?

Is your FXServer updated to the latest build?

Knipsel

i am getting this error how can i fix that i tried also the steps on the site

My interface is not behind SSL, The server convars are correct and the port is open on the firewall, and still unable to get the bilps to work