Sex* Posted April 6, 2013 Share Posted April 6, 2013 So i want to make a script that wont download the maps into clients computer so it saves bandwidth and "Waiting for Laggers" is no longer needed. Just like FFS, because my internet lags as hell and it takes alot of bandwidth also... So what functions do i have to use to make this possible? Link to comment
^.^ Posted April 6, 2013 Share Posted April 6, 2013 You have to use latentEvents, but ffs and TG have a special method for compressing their files I heard. Link to comment
Sex* Posted April 7, 2013 Author Share Posted April 7, 2013 And would you give me the event names that i need to make these kinds of downloads? Link to comment
Sex* Posted April 14, 2013 Author Share Posted April 14, 2013 So will anyone tell me what latent functions i need and how to use them? Link to comment
Puma Posted April 14, 2013 Share Posted April 14, 2013 Reconsider this. Do you realize that when you download and save maps for the client, everyone can start stealing those maps? I mean, it's possible, but you gotta encryp them somehow. Link to comment
Sex* Posted April 14, 2013 Author Share Posted April 14, 2013 Reconsider this. Do you realize that when you download and save maps for the client, everyone can start stealing those maps? I mean, it's possible, but you gotta encryp them somehow. Well FFS doesnt download maps into my computer. Link to comment
Kenix Posted April 14, 2013 Share Posted April 14, 2013 Reconsider this. Do you realize that when you download and save maps for the client, everyone can start stealing those maps? I mean, it's possible, but you gotta encryp them somehow. Well FFS doesnt download maps into my computer. You are wrong. This server send a packet of all map data and then create an objects on client side. Link to comment
Sex* Posted April 15, 2013 Author Share Posted April 15, 2013 Reconsider this. Do you realize that when you download and save maps for the client, everyone can start stealing those maps? I mean, it's possible, but you gotta encryp them somehow. Well FFS doesnt download maps into my computer. You are wrong. This server send a packet of all map data and then create an objects on client side. Well how it doesnt download the maps as clinet then? But how to do it then? Link to comment
Cadu12 Posted April 15, 2013 Share Posted April 15, 2013 1. Save objects into table. 2. Send table to client 3. Foreach table + createObject When map is start, then delete all old object and do new table at step 1st. Is that hard? Link to comment
Sex* Posted April 15, 2013 Author Share Posted April 15, 2013 Well, I would be happy if u give me the events, functions that i can do that. Because idk the functions or events. Link to comment
Cadu12 Posted April 16, 2013 Share Posted April 16, 2013 If you're making new multiarena, then there is no such events. You should make your own event when start is starting. table.insert -- objects triggerClientEvent destroyElement -- object Edit: If map has scripts, hard to tell. Link to comment
Sex* Posted April 16, 2013 Author Share Posted April 16, 2013 In every map has some scripts. So its not possible that way? EDIT: I dont understand that table thing. Link to comment
GTX Posted April 16, 2013 Share Posted April 16, 2013 If map has scripts, you'll need to cache and load them with loadstring and pcall. Link to comment
Castillo Posted April 27, 2013 Share Posted April 27, 2013 viewtopic.php?f=91&t=58084 Link to comment
Sex* Posted April 28, 2013 Author Share Posted April 28, 2013 https://forum.multitheftauto.com/viewtopic.php?f=91&t=58084 That topic was useless for me..theres even no events... Link to comment
Castillo Posted April 28, 2013 Share Posted April 28, 2013 It's not useless, it's pretty much related to what you are trying to do. Link to comment
Sex* Posted April 29, 2013 Author Share Posted April 29, 2013 Well i dont really understand about complicated scripts, i make easier scripts, like GUI making is very easy to me. Maybe you would give a example? Link to comment
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