TGRHavoc/live_map-interface

Error in config

StrikersGamingTV opened this issue · 15 comments

Failed to fetch,

I set up my config this is my config, and i renamed it to config.json, also put it in var/www/html cause I am using apache to host it.

{
"debug": false,
"tileDirectory": "images/tiles",
"iconDirectory": "images/icons",
"showIdentifiers": false,
"groupPlayers": true, // Wether the map should group players together into "clusters" or not.
"defaults": { // If a server doesn't have the key-value set, it will fallback to these values
"ip": "194.34.229.114", // Make sure this is the PUBLIC IP of the FIVEM server
"socketPort": "30121" // Set to the port that you set in the "socket_port" convar (if different to the one in the config)
},
"servers": {
"Default server 1": {}, // The config values are above, no need to write them again
"Only IP changed": { // Only the IP is different for this server. So, change it
"ip": "194.34.229.114"
},
"Everything is different": {
"ip": "10.10.0.1",
"socketPort": "60121"
},
"Reverse Proxy Example": {
"reverseProxy": { // If you have knowledge on how to set up a "reverse proxy" for your webserver and want to keep the map on a secure connection, set the values below.
"socket": "wss://example.com", // The secure, proxied url for the socket connection
"blips": "https://example.com/server1/blips.json" // The secure, proxied url for the blip file
}
}
},
"maps": [
{
"name": "Normal",
"url": "{tileDirectory}/normal/minimap_sea_{y}{x}.png",
"minZoom": -2 // Set lower to zoom out more
},
{
"name": "Postal",
"url": "{tileDirectory}/postal/minimap_sea
{y}_{x}.png",
"minZoom": -5 // Since this is 3 times bigger, just remove 3 from the default minZoom
}
]
}

Please make sure the interface isn't being hosted over HTTPS. Or, if it is, use a reverse proxy :)

it cannot be I don't have a ssl domain

what version is most stable and what version should I use

The latest versions should work fine?

Interface: 4.1.5
Resource: 3.1.2

okay thank you

I can't test it at all to see the issue, but if you wouldn't mind checking both my tries http://194.34.229.114 and https://jsrp.000webhostapp.com

On mobile at the moment mate. Can only do limited stuff. It looks like the main page is broken for some reason. I won't be back at my PC to fully test until Monday 16th...

For now, you might be able to rename "debug.html" to "index.html" as a temporary fix.

I renamed it and I still have just v0.0 should I check with another member

nvm I see the map now, but I have no players in it?

I have 4 people on server, and I see no one? I am connected btw

only issue now is that I see no one in server

do I need to restart server first, I removed the comments out of fxmanifest do I need to do anything else?

do I need to restart server first, I removed the comments out of fxmanifest do I need to do anything else?

Uncomment them, run refresh or whatever the command is for FiveM. Then, just restart live_map.

I was stupid and didn't rename example_client to client, everything is now working, thank you for all the help Havoc