Maggi Posted December 23, 2010 Posted December 23, 2010 As I understood, Due to MTA architecture all serverside object data is streamed with all clients... This means that if I standing in the unique dimension (for ex: all players except me in 0 dim, but i am in 777 dim) then server will send me "unused" data? (data: vehicle states over whole map, player states,etc... in a few words not streamed in object data will be send to my client and this is not good for bandwidth) also as I understood, MTA uses GTA's core object streamer to stream objects.. it is ideal for static objects, pickups, etc.. Is it possible to create serverside streamer to avoid updating clients (dynamic objects), that is not in stream range. P.S: sorry for my bad english)
Maggi Posted December 23, 2010 Author Posted December 23, 2010 What is about setElementData function? Can I have access to the vehicle data that is in another dimension from client side?
12p Posted December 23, 2010 Posted December 23, 2010 If I'm right, no, you can't. Server-side vehicles doesn't matter to client-side.
eAi Posted December 24, 2010 Posted December 24, 2010 Element data is sent to all clients irrespective of where they are in the GTA world. I don't believe there's any priority given to nearby elements or anything similar. MTA has it's own streamer for streaming in GTA entities. We also stream server side data somewhat - further away players get worse sync etc. There's certainly more work that could be done in this area to reduce bandwidth and CPU usage, but it's not entirely ignored.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now