maffius Posted June 7, 2017 Posted June 7, 2017 Is it able to load server xml file to client? Is there any possibility to get all accounts from server and their data and then send it to client? I want to save all accounts and datas once in xml file and then i want to read data on client from this xml file. Is it possible? If it is, how can I do it?
AE. Posted June 7, 2017 Posted June 7, 2017 (edited) you can use sql tables + you can't use accounts on client side Edited June 7, 2017 by 3laa33
Hale Posted June 7, 2017 Posted June 7, 2017 You can send account data to client side by using triggerClientEvent, although I don't see any reason for doing that.
maffius Posted June 7, 2017 Author Posted June 7, 2017 But I see reason. 56 minutes ago, Hale said: You can send account data to client side by using triggerClientEvent, although I don't see any reason for doing that. Its not efficient when I try to trigger 11k times because there are 11k accounts on my server.
Moderators IIYAMA Posted June 7, 2017 Moderators Posted June 7, 2017 Just send the account count to clientside. There are 11k accounts, eat my 11k popcorn. (1 trigger) The clientside can request: I want the account information of the accounts: 50 t/m 300 (1 trigger) The server will send back: (250 x account information in 1 TABLE and in 1 TRIGGER). It can't be more efficient... except for using the latent trigger variant.
pa3ck Posted June 7, 2017 Posted June 7, 2017 23 minutes ago, IIYAMA said: eat my 11k popcorn. (1 trigger) I was reading your post and I was like what did I just read ... why did you say that? 1
Moderators IIYAMA Posted June 7, 2017 Moderators Posted June 7, 2017 I am eating popcorn for real, but it has nothing more to add except for turning clientside in to a hungry pac(kets)-man.
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