benadzs Posted September 23, 2018 Share Posted September 23, 2018 Hi. I want get some data from the server, for example position of car, vehicle name etc... I succeeded but this is overkill, i get the datas with http connect and PHP SDK. If it will use 50 player and i want refresh the datas with 0.5 sec... i think it's not too friendly. Any good idea? Link to comment
qaisjp Posted September 25, 2018 Share Posted September 25, 2018 Yes, 0.5s is probably a wee bit too frequent. You could compile your own server and push this info to the server in a separate thread, maybe? 1 Link to comment
iMr.WiFi..! Posted September 26, 2018 Share Posted September 26, 2018 On 23/09/2018 at 22:43, benadzs said: Hi. I want get some data from the server, for example position of car, vehicle name etc... I succeeded but this is overkill, i get the datas with http connect and PHP SDK. If it will use 50 player and i want refresh the datas with 0.5 sec... i think it's not too friendly. Any good idea? When data updates, Use "remoteCall" then save the new Datas in PHP. And for avoid the spam from "remoteCall" don't send directly after data updates, Collect it with another data in 5 second then send the collect of Datas. 1 Link to comment
Recommended Posts