[sldev] movement within the client

Lawson English lenglish5 at cox.net
Sat Dec 29 17:34:49 PST 2007


John Hurliman wrote:
> Lawson English wrote:
>> Stan Vernier wrote:
>>> I'm looking into being able to control the avatar within the client 
>>> and I'm trying to simulate the teleport script to move the avatar 
>>> from point a to point b within the same region.  I can get the 
>>> avatar to move from a to b, but the moment I try to move the avatar, 
>>> it pops back to point a.  I tried sendPositionUpdate(), but it 
>>> didn't work.  Anyone got any suggestions?
>>
>> I suspect the server limits non-TP motion to no more than 10 meters 
>> just like with LSL. You could fake a warppos thing I suppose.
>>
>>
>> Lawson 
>
> The client doesn't actually send positional movements to the server at 
> all, it sends the equivalent of keypresses (a large bitflag integer in 
> the AgentUpdate packet) and the server which has the physics engine 
> calculates movement based on that and sends updates back to the 
> client. The only way around this is to do a local teleport, but if 
> there is a very large plot of land in the region with a landing 
> spot/telehub, or the entire region has a telehub you have a problem. 
> If you do find any way around this please keep the list updated with 
> your findings as many people would be interested to know.

Thanks for the info. Rather than workarounds, I'd rather that we asked 
for new features though. This isn't supposed to be a competition to see 
who can hack the server the best: its supposed to be a collaborative 
effort to see this thing thrive, or such is my attitude.


Lawson


More information about the SLDev mailing list