-
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
If your website is using HTTPS then, you need to set up a reverse proxy for the blip URL and the socket port in order for it to work. |
Beta Was this translation helpful? Give feedback.
-
Hmm.. my website is just running locally (127.0.0.1) on XAMPP. As far as I can tell, it is not using HTTPS. Could this TypeError in the console have something to do with my issue? |
Beta Was this translation helpful? Give feedback.
-
Could you load up the debug.html page to see what errors get thrown with that page? |
Beta Was this translation helpful? Give feedback.
-
Sure! When I go to (My FiveM server is being hosted on ZAP-Hosting by the way, not sure if that changes anything) |
Beta Was this translation helpful? Give feedback.
-
Oh yeah. Duh... You don't have a "map" array in the config. Something like this should get it working for you (using the default map images) {
"debug":true,
"showIdentifiers":false,
"tileDirectory":"images/tiles",
"iconDirectory":"images/icons",
"defaults":{
"ip":"///",
"fivemPort":"///",
"socketPort":"30121",
"liveMapName":"live_map-2.4.0"
},
"servers":{
"G4 Roleplay":{}
},
"maps":[
{
"name":"Normal",
"url":"{tileDirectory}/normal/minimap_sea_{y}_{x}.png",
"minZoom":-2
}
]
} See: https://github.com/TGRHavoc/live_map-interface/blob/master/config.example.json And if you wanted to use your own images, you would need the YTD files then, you can get a developer to run the extract_png.py file located https://github.com/TGRHavoc/live_map-interface/tree/master/images/tiles |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ah... I think there is some issues with lInux servers but, you can try the following:
|
Beta Was this translation helpful? Give feedback.
-
I have set it to debug mode and it seems to be working. It is connected to the server and blips/players are displaying. So, what is the difference between this debug mode and the other modes? Would it be fine to just leave it like this? |
Beta Was this translation helpful? Give feedback.
-
There shouldn't be a difference that makes it work all of a sudden... Should just be the amount of messages being shown in console... But yeah. Should be ok to keep the same but, it might get annoying if you have a lot of people connecting. |
Beta Was this translation helpful? Give feedback.
-
Alright, sounds good. Thanks so much for your help! |
Beta Was this translation helpful? Give feedback.
Oh yeah. Duh... You don't have a "map" array in the config.
Something like this should get it working for you (using the default map images)
See: https://github.com/TGRHavoc/live_map-interface/blob/master/config.example.json
And if you wanted to use your own…