Make sure you set up a reverse proxy for the blip file and the websocket connection. There’s a section on the documentation website that should help you. Reverse Proxy - Havoc's Docs

Probably the same as above. Or, host the interface on a normal HTTP server (making sure the socket port is port-forwarded if needed). Or it could be the interface is broken, make sure you’re on the “master” branch. That’s the last good build iirc.

What’s broken? Nucleus? Yeah. I know. There’s very little in the way of documentation in regards to the nucleus API. So, it’s extreamly difficult to implement (especially when I’ve not done any sort of complex C++ before so reading the code and figuring out where everything is, is extreamly difficult). If nucelus is the only problem, set up your own reverse proxy. It’s not hard if you have access to it… Everyone just seems to think that because nucleus isn’t working the whole thing is broken, it’s not.

Me to. Unfortunately it doesn’t look like it will be implemented into LiveMap (unless someone can help me implement the reverse proxy thing nucleus seems to use to authenticate requests to the API). I’ve tried piggy-backing off the normal nucleus URL (the users-*.cfx.re) however, FiveM doesn’t expose the actual HTTP request/response connections so we cannot upgrade them to websockets. This is also why server-sent events doesn’t work. Yey, fun :confused:
I’ve even tried to see if I can get txAdmin’s code to work but, it looks like they have a specific implementation in C++ to create the “monitor” url (which only works in “monitor mode” and for txAdmin by the looks of it).

There’s a bit on the documentation website that should help you Custom Maps - Havoc's Docs. TL;DR: Any directory you want as long as you configure it correctly.

Could also be the websocket connection failing. Best bet is to open the console when you’re on the interface and see if any errors appear. Also, make sure you’re using the “master” branch, I may of fucked up the develop branch recently (well, couple of months ago) testing some things…

1 Like