SpecT Posted December 20, 2015 Posted December 20, 2015 Hello guys! I'm using MySQL database and the collected data is large. It's stored in a table in the server side and when it's needed it is being sent to the client(s). So I'm worried about the lag it causes while filling the table in the client side. So here is my question: How can I get rid or at least lower that lag while filling the table? Thanks in advance!
Moderators IIYAMA Posted December 20, 2015 Moderators Posted December 20, 2015 For loading from the MySQL, split up the data under more keys. For the processing serverside: setTimer + repeat until + getTickCount() For the processing clientside: "onClientRender" + repeat until + getTickCount() For the network: https://wiki.multitheftauto.com/wiki/Tr ... lientEvent And use your own creativity. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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