18.08.2013, 18:13
Guys, I'm coming up to coding a teleporting feature, which I cannot test under optimal load at the moment, but only on localhost, where the problem with objects not loading quickly enough doesn't appear.
Or actually, this is the issue I have experienced:
1) The script calls UpdateEx function with new coordinates
2) Player is teleported to location, objects are visible
3) Objects disappear in the blink of an eye
4) Objects reappear, but the player has already fallen
At least I think this is the issue. Also when I do:
1) Manual CreatePlayerObject to create the static object at the new location
2) Teleport player
3) The static object is there, the other objects are streamed in some time
What have you guys done to overcome this issue? I have a few things on my mind (one is to use UpdateEx, then toggle off item updating using ToggleItemUpdate, and perhaps I'll get around to testing), but would love to hear some first-hand experience.
My current project architecture would not appreciate having CreateObject global objects around all the time.
Or actually, this is the issue I have experienced:
1) The script calls UpdateEx function with new coordinates
2) Player is teleported to location, objects are visible
3) Objects disappear in the blink of an eye
4) Objects reappear, but the player has already fallen
At least I think this is the issue. Also when I do:
1) Manual CreatePlayerObject to create the static object at the new location
2) Teleport player
3) The static object is there, the other objects are streamed in some time
What have you guys done to overcome this issue? I have a few things on my mind (one is to use UpdateEx, then toggle off item updating using ToggleItemUpdate, and perhaps I'll get around to testing), but would love to hear some first-hand experience.
My current project architecture would not appreciate having CreateObject global objects around all the time.