[Opensim-dev] A Small issue with Teleporting!

Umar Farooq u.farooq at uea.ac.uk
Tue May 3 18:31:34 UTC 2011


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
>


-- 
Umar Farooq

Research Scholar,
Virtual Humans Group,
School of Computing Sciences,
University of East Anglia,
Norwich, United Kingdom.

Cell: +4497853398184




More information about the Opensim-dev mailing list