diff options
author | gareth | 2007-03-01 15:15:45 +0000 |
---|---|---|
committer | gareth | 2007-03-01 15:15:45 +0000 |
commit | 417ea24b833f470042c8e767cea7ec028758ab3e (patch) | |
tree | 7bf768cc59c8c4774d648382edb678e934e2fd63 /src/world/Avatar.cs | |
parent | Fixed small bug in Terrain Encoding (diff) | |
download | opensim-SC-417ea24b833f470042c8e767cea7ec028758ab3e.zip opensim-SC-417ea24b833f470042c8e767cea7ec028758ab3e.tar.gz opensim-SC-417ea24b833f470042c8e767cea7ec028758ab3e.tar.bz2 opensim-SC-417ea24b833f470042c8e767cea7ec028758ab3e.tar.xz |
Lovely lovely flat island :)
Diffstat (limited to 'src/world/Avatar.cs')
-rw-r--r-- | src/world/Avatar.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/world/Avatar.cs b/src/world/Avatar.cs index b81fd0b..bcf79a8 100644 --- a/src/world/Avatar.cs +++ b/src/world/Avatar.cs | |||
@@ -39,7 +39,7 @@ namespace OpenSim.world | |||
39 | pos.X = 100f; | 39 | pos.X = 100f; |
40 | objdata.ID = 8880000; | 40 | objdata.ID = 8880000; |
41 | objdata.NameValue = enc.GetBytes("FirstName STRING RW SV Test \nLastName STRING RW SV User \0"); | 41 | objdata.NameValue = enc.GetBytes("FirstName STRING RW SV Test \nLastName STRING RW SV User \0"); |
42 | libsecondlife.LLVector3 pos2 = new LLVector3(13.981f,100.0f,20.0f); | 42 | libsecondlife.LLVector3 pos2 = new LLVector3(100f,100f,23f); |
43 | //objdata.FullID=user.AgentID; | 43 | //objdata.FullID=user.AgentID; |
44 | byte[] pb = pos.GetBytes(); | 44 | byte[] pb = pos.GetBytes(); |
45 | Array.Copy(pb, 0, objdata.ObjectData, 16, pb.Length); | 45 | Array.Copy(pb, 0, objdata.ObjectData, 16, pb.Length); |
@@ -55,8 +55,8 @@ namespace OpenSim.world | |||
55 | mov.AgentData.AgentID = this.ControllingClient.AgentID; | 55 | mov.AgentData.AgentID = this.ControllingClient.AgentID; |
56 | mov.Data.RegionHandle = OpenSim_Main.cfg.RegionHandle; | 56 | mov.Data.RegionHandle = OpenSim_Main.cfg.RegionHandle; |
57 | // TODO - dynamicalise this stuff | 57 | // TODO - dynamicalise this stuff |
58 | mov.Data.Timestamp = 1169838966; | 58 | mov.Data.Timestamp = 1172750370; |
59 | mov.Data.Position = new LLVector3(100f, 100f, 35f); | 59 | mov.Data.Position = new LLVector3(100f, 100f, 23f); |
60 | mov.Data.LookAt = new LLVector3(0.99f, 0.042f, 0); | 60 | mov.Data.LookAt = new LLVector3(0.99f, 0.042f, 0); |
61 | 61 | ||
62 | Console.WriteLine("Sending AgentMovementComplete packet"); | 62 | Console.WriteLine("Sending AgentMovementComplete packet"); |
@@ -80,7 +80,7 @@ namespace OpenSim.world | |||
80 | objupdate.ObjectData[0].FullID = ControllingClient.AgentID; | 80 | objupdate.ObjectData[0].FullID = ControllingClient.AgentID; |
81 | objupdate.ObjectData[0].NameValue = _enc.GetBytes("FirstName STRING RW SV " + firstname + "\nLastName STRING RW SV " + lastname + " \0"); | 81 | objupdate.ObjectData[0].NameValue = _enc.GetBytes("FirstName STRING RW SV " + firstname + "\nLastName STRING RW SV " + lastname + " \0"); |
82 | 82 | ||
83 | libsecondlife.LLVector3 pos2 = new LLVector3(100f, 100.0f, 22.0f); | 83 | libsecondlife.LLVector3 pos2 = new LLVector3(100f, 100.0f, 23.0f); |
84 | 84 | ||
85 | byte[] pb = pos2.GetBytes(); | 85 | byte[] pb = pos2.GetBytes(); |
86 | 86 | ||