From 25a67916277b1417bca16c3427fdabdb1ce9e1f4 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Wed, 8 Aug 2007 21:23:42 +0000 Subject: [PATCH] * Checked in new tweaked Prebuild.exe * Ignored binaries --- OpenSim/Grid/AssetServer/Main.cs | 40 ------------------- OpenSim/Region/ClientStack/ClientViewBase.cs | 5 +++ bin/Prebuild.exe | Bin 176128 -> 176128 bytes 3 files changed, 5 insertions(+), 40 deletions(-) diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs index b581a1ed4d..eabaebc283 100644 --- a/OpenSim/Grid/AssetServer/Main.cs +++ b/OpenSim/Grid/AssetServer/Main.cs @@ -91,50 +91,10 @@ namespace OpenSim.Grid.AssetServer httpServer.AddStreamHandler( new GetAssetStreamHandler(this)); httpServer.AddStreamHandler(new PostAssetStreamHandler( this )); - //httpServer.AddRestHandler("GET", "/assets/", this.assetGetMethod); - //httpServer.AddRestHandler("POST", "/assets/", this.assetPostMethod); - httpServer.Start(); } - //public string AssetPostMethod(string requestBody, string path, string param) - //{ - // AssetBase asset = new AssetBase(); - // asset.Name = ""; - // asset.FullID = new LLUUID(param); - // Encoding Windows1252Encoding = Encoding.GetEncoding(1252); - // byte[] buffer = Windows1252Encoding.GetBytes(requestBody); - // asset.Data = buffer; - // AssetStorage store = new AssetStorage(); - // store.Data = asset.Data; - // store.Name = asset.Name; - // store.UUID = asset.FullID; - // db.Set(store); - // db.Commit(); - // return ""; - //} - - //public string AssetGetMethod(string request, string path, string param) - //{ - // Console.WriteLine("got a request " + param); - // byte[] assetdata = GetAssetData(new LLUUID(param), false); - // if (assetdata != null) - // { - // Encoding Windows1252Encoding = Encoding.GetEncoding(1252); - // string ret = Windows1252Encoding.GetString(assetdata); - // //string ret = System.Text.Encoding.Unicode.GetString(assetdata); - - // return ret; - - // } - // else - // { - // return ""; - // } - - //} - public byte[] GetAssetData(LLUUID assetID, bool isTexture) { bool found = false; diff --git a/OpenSim/Region/ClientStack/ClientViewBase.cs b/OpenSim/Region/ClientStack/ClientViewBase.cs index 2cd730bc6d..0b2c875b71 100644 --- a/OpenSim/Region/ClientStack/ClientViewBase.cs +++ b/OpenSim/Region/ClientStack/ClientViewBase.cs @@ -79,9 +79,14 @@ namespace OpenSim.Region.ClientStack lock (SequenceLock) { if (Sequence >= MAX_SEQUENCE) + { Sequence = 1; + } else + { Sequence++; + } + Pack.Header.Sequence = Sequence; } diff --git a/bin/Prebuild.exe b/bin/Prebuild.exe index f8ac8d99b503e9801570dd15195b618817bf64fe..d911311e1dfd7323f3e6aeb6ffd30b4128a3db13 100755 GIT binary patch delta 300 zcmZp8z}4`8YeENekMXXF-M&mE1{-gc@z=XQ_rKB8>9$!d|7^7J_SBOHlsFTl`W~^W z{Lt8U>QF$9{@)@!tLrU=OS@jnoaoxAR>OPfzr#yIHpy+Pbk<65NWXA-{`WA$ZRv-P z$DR;1IkNOzZRh^o#w%8?J)rky@|GTJ{m7>t+pN#o-20{ejPp~I^3}3?7p0XeuEq#S z%suzUjB$JO1%d4s1Q@?XGx5#cej!(}|1F8)hsaWR$I{wIxTfdI(i z)905nNeT-5;0P#Mdd|7qnE&m%=vOBhx1TI$3g+bEo67(MObkGS)Eb#KF>;zP7%&(C kvDx;AO-%7f{OO)8Oy<0BX^^(<=am@O3T(HU%5+Q$0Q`Y_GXMYp delta 300 zcmZp8z}4`8YeENe_@kW@yM381CvLn|#$V5F@0@cowrGBMEm!mX#}Zo^&$F|+IM}3D zKQ=ZmhHSIoEzRLr@Dq*)nchuiJ47DlTdri@ezKe?n3JoxgaHVc7=Q+;H8O2t