Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Advice needed - walk animation dead after sit-teleport

Chalky White
Second Life Resident
Join date: 1 Nov 2004
Posts: 140
12-01-2004 07:19
I wrote a fairly standard teleporter using sit-offset.

Works fine, going across a sim boundary except that after I arrive there is no walk animation. Avatar legs are disabled. I move about correctly, but in a vertical stiff-legged floating attitude.

Leg damage even seems to persist across tps, in that, although the walk animation returns, a reclining pose ball malfunctions, with the legs drooping below the floor.

Return to full normality requires a restart.

Being a scripting noob, I havent got round to understanding anims yet - though I've looked for some sort of reset command and can't find one.

Can anyone please explain what is happening here, and how to avoid it?
Chalky White
Second Life Resident
Join date: 1 Nov 2004
Posts: 140
12-04-2004 09:27
Update - I'm not quite sure about the damage I am asking about actually persisting after teleport - it may have been a coincidence.
I really would be grateful to anyone generous enough to shed light on this one for me.
I'm still getting nowhere with it.

Also - my attempts at forum search to see if this question has been answered before are not turning out well. All my searches with two keywords seem to be taken as OR. Even if I put two keywords in "quotes" they seem to be trated as "a or b", leaving perhaps dozens of posts to be searched manually.

Is forum search fundamentally limited to "keyword OR keyword"? no AND? no joined word pairs?

The forum FAQ says only

"You can search for posts based on username, word(s) in the post or just in the subject, by date, and only in particular forums.
To access the search feature, click on the "search" link at the top of most pages."
Kex Godel
Master Slacker
Join date: 14 Nov 2003
Posts: 869
12-04-2004 13:51
The llSitTarget trick to teleport is a hack, and especially so if you use it to cross sim borders. Unfortunately that means you will probably experience strange oddities which will probably not be correctable without a relog.

What you can maybe do is re-start the walk animation. I'm not sure if that will help or not, but it's worth a try. I think it's simply llStartAnimation("walk";);

Hope that at least points ya in the right direction.
Chalky White
Second Life Resident
Join date: 1 Nov 2004
Posts: 140
12-04-2004 20:02
Thanks Kex.
I'll try that.
So its crossing a sim boundary that messes things up.
Pity cos this particular teleport is one I need a lot.

If your solution doesn't work I'll try dragging myself there using SetPos in an attachment. Thats next on my list to try after I've completed my current Brainiacs Assassination !

Thats giving me problems, as even tho my specialised victim-encasing homer/tracker/killer is phantom, it can still catch on rough ground it seems. I'm probably doing it all wrong - but having lots of fun !

Thanks again for the help.
Cross Lament
Loose-brained Vixen
Join date: 20 Mar 2004
Posts: 1,115
12-04-2004 20:42
I get this happening to me, too, but not after sit-teleports... just kinda at random, even when nothing odd is happening on the sim I'm in. It usually goes away after a short while (though it's kinda cool just... sliding everywhere :D), but if it doesn't, I often find sitting on the ground clears it up (though sometimes instead of sitting, I just ... well, stand there).
_____________________
- Making everyone's day just a little more surreal -

Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?"
Trifen Fairplay
Officially Unofficial
Join date: 19 Jul 2004
Posts: 321
12-05-2004 11:00
I am actually very familiar with this. The sit teleport hack is only able to be done within a sim. The sims are different computers which exchange info when a player crosses from one to another if you use the sit hack and cross, the computer dosen't recieve the correct info it seems, and will cause these type of problems. Many I experienced were legs broken looking, no walking animation, and sometimes even unable to move at all- till relog. One thing that has helped sometimes was to sit on something and restand this sometimes solved the issue. But in general the teleport shouldn't be used to cross sims it will generally bug your AVI. here is some info from the town hall that might help as well:

You: Dan Medici: Q: Will any improvements ever be made to reduce sim-border lag?
Cory Linden: Dan: Yes. That is primarily a database and datastructure issue and both are being attacked. The biggest problems are avs with lots of attachments and we just have to do some ugly rearchitecting there.