[Opensim-dev] A Small issue with Teleporting!

Justin Clark-Casey jjustincc at googlemail.com
Wed May 4 22:29:22 UTC 2011


Calling teleport from a region module is probably pretty hairy since I expect that it hasn't been done a lot, but I see 
that osTeleportAgent() is calling the same method.  So in theory there shouldn't be a problem, assuming that 
osTeleportAgent() is working properly.

I recommend seeing if using osTeleportAgent() in a script reproduces the same issue.

On 03/05/11 19:31, Umar Farooq wrote:
> Hi Dear,
>
> I am calling the scene object method,
>
> public void RequestTeleportLocation(IClientAPI remoteClient, string
> regionName, Vector3 position, Vector3 lookat, uint teleportFlags)
>
> from my code to teleport an avatar from one region (Test1) to another
> region(Test2), and it works fine by teleporting the character at exact
> location. I am using ViaLocation for the teleportFlags (I am not too
> confident about these flags yet). The avatar can not move from its
> location, though it can chat and do some other stuff.
>
> Any guidelines to make it move, as it does after a normal teleport?
>
> Regards,
>
> Umar
>
>> On 16/04/11 20:03, Umar Farooq wrote:
>>> Hi Justin and all,
>>>
>>> Thanks for the previous help. I am trying to serialize presences in a
>>> scene to files using OpenSim.Framework.Util.SerializeToFile()
>>> functionality and it is giving me runtime serializationexception errors.
>>> I
>>> tried to make a few classes serialiazable but now am getting a
>>> System.Timers.Timer is not marked as serializable error.
>>>
>>> I tried using the same function for serializing clientinfo and it seems
>>> working fine. Could you please guide me in this case. Sorry for
>>> bothering
>>> you too much!
>>
>> That SerializeToFile() doesn't do anything more than wrap .Net's own
>> binary serialization facilities.
>>
>> You might want to try XmlSerializer instead though you may end up having
>> to provide a custom serialization.
>>
>> --
>> Justin Clark-Casey (justincc)
>> http://justincc.org/blog
>> http://twitter.com/justincc
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>
>


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-dev mailing list