Comments (1)
Great to see someone actually using the interfaces provided to write their own custom code and stuff 😄
Anyways, yes. It seems that the internal server events were neglected when I moved the code base over to JS... Should be an easy fix, and it will definitely be one of the first things implemented when I get my setup back up and running.
If you can't wait that long or, want something you can quickly insert yourself, the following code block should be inserted inside the wrapper.js file on line 41.
on("livemap:internal_AddPlayerData", (id, k, d) => {
SocketController.AddPlayerData(id, k, d);
});
on("livemap:internal_UpdatePlayerData", (id, k, d) => {
SocketController.UpdatePlayerData(id, k, d);
});
on("livemap:internal_RemovePlayerData", (id, k) => {
SocketController.RemovePlayerData(id, k);
});
on("livemap:internal_RemovePlayer", (id) => {
SocketController.RemovePlayer(id);
});
from live_map.
Related Issues (20)
- Rewrite the core client features into C#
- Error with starting the resource HOT 5
- Player not getting tracked after removing and triggering "livemap:AddPlayerData" HOT 3
- [question]: convert lat & lng back to GTA map coords HOT 4
- [question]: how to convert lng & lat to x, y ,z HOT 2
- Question HOT 4
- Having a error with loading the map ((((Error getting blips! Maybe the server is down or, the config is setup incorrectly.)))) HOT 6
- Question (not urgent, also sorry for all the questions recently) HOT 7
- License Plate doesn't get removed from data HOT 7
- Add dynamic blips HOT 8
- Documentation
- Location on livemap is somewhat off HOT 1
- Live map not found as a resource. HOT 2
- Bug: 'localhost' = 200, '127.0.0.1' = 404 HOT 21
- Nucleus proxy not functioning HOT 7
- So i have set up everything to run this with snaily cad system v4 and it still refuses to connect here are my settings below along with some pictures HOT 1
- Issue with the websockets HOT 1
- Reverse hashing not working HOT 3
- Not seems to work HOT 1
- Event parity with JS/Lua version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from live_map.