![]() |
Transfering Data...
Hi,
so i have a problem now i need to send the client the position of all other players(or at least all that the client can see on the screen) and a few strings for every player how would i do that?(well its easy but how would i do that without lagging the whole server, since it will happen like every .2 secs and will be done for every player) |
check out my map script I recently posted in the Code Gallery. It solves this exact problem. :)
http://forums.graalonline.com/forums...ewpost&t=68644 |
well i dont know if like 40+ triggeractions every .2 seconds are good for the server Oo
|
what do you need so much data to be constantly transferred for? There might be a better way to do it.
|
The player's attr[1-30] variables are global, meaning they're shared between server and all clients, and can hold up to 255 characters.
attr[1] is the hat image by default. Also, you can set ganis to the attr[] attributes to attach them to the player. |
| All times are GMT +2. The time now is 05:40 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.