* fixed dataUri null bug

* ignored some files
zircon^2
lbsa71 2007-05-08 14:16:01 +00:00
parent 0e7b0711c7
commit 72159dc5a8
4 changed files with 301 additions and 46 deletions

263
ExportBot/ExportBot.csproj Normal file
View File

@ -0,0 +1,263 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{C4071317-0000-0000-0000-000000000000}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon></ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>ExportBot</AssemblyName>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Exe</OutputType>
<AppDesignerFolder></AppDesignerFolder>
<RootNamespace>ExportBot</RootNamespace>
<StartupObject></StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<DocumentationFile></DocumentationFile>
<DebugSymbols>True</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>False</Optimize>
<OutputPath>..\bin\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn></NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile></DocumentationFile>
<DebugSymbols>False</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>True</Optimize>
<OutputPath>..\bin\</OutputPath>
<RegisterForComInterop>False</RegisterForComInterop>
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn></NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" >
<HintPath>System.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml" >
<HintPath>System.Xml.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="libsecondlife.dll" >
<HintPath>..\bin\libsecondlife.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="openjpegnet.dll" >
<HintPath>..\bin\openjpegnet.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="OpenSim.Framework.dll" >
<HintPath>..\bin\OpenSim.Framework.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="OpenSim.Framework.Console.dll" >
<HintPath>..\bin\OpenSim.Framework.Console.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="OpenSim.Servers.dll" >
<HintPath>..\bin\OpenSim.Servers.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<Compile Include="Arguments.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="ClientManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Command.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Parsing.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Program.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="TestClient.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\AppearanceCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\CloneProfileCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\DebugCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\DilationCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\DumpOutfitCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ExportCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ExportOutfitCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ExportParticlesCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\FindSimCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\HelpCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ImportCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ImportOutfitCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\LoadCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\LoginCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\LogoutCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\MD5Command.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\PacketLogCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ParcelInfoCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\PrimCountCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\QuitCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\RegionInfoCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\SetMasterCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\SetMasterKeyCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\ShowEffectsCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\StatsCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\TouchCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\TreeCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\UptimeCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\WhoCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Communication\EchoMasterCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Communication\IMCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Communication\SayCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Communication\ShoutCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Communication\WhisperCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Inventory\BalanceCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Inventory\DeleteFolderCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Inventory\GiveAllCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Inventory\InventoryCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Inventory\WearCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\FollowCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\GotoCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\JumpCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\LocationCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\MoveToCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\SitCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\SitOnCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Commands\Movement\StandCommand.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
@ -6,8 +6,7 @@
<ProjectGuid>{39BD9497-0000-0000-0000-000000000000}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<ApplicationIcon></ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>OpenGrid.Framework.Data.DB4o</AssemblyName>
@ -16,11 +15,9 @@
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Library</OutputType>
<AppDesignerFolder>
</AppDesignerFolder>
<AppDesignerFolder></AppDesignerFolder>
<RootNamespace>OpenGrid.Framework.Data.DB4o</RootNamespace>
<StartupObject>
</StartupObject>
<StartupObject></StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
</PropertyGroup>
@ -31,8 +28,7 @@
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DocumentationFile></DocumentationFile>
<DebugSymbols>True</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>False</Optimize>
@ -41,8 +37,7 @@
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn>
</NoWarn>
<NoWarn></NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@ -51,8 +46,7 @@
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DocumentationFile></DocumentationFile>
<DebugSymbols>False</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>True</Optimize>
@ -61,27 +55,26 @@
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn>
</NoWarn>
<NoWarn></NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Reference Include="System" >
<HintPath>System.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml">
<Reference Include="System.Xml" >
<HintPath>System.Xml.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Data">
<Reference Include="System.Data" >
<HintPath>System.Data.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="libsecondlife.dll">
<Reference Include="libsecondlife.dll" >
<HintPath>..\bin\libsecondlife.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Db4objects.Db4o.dll">
<Reference Include="Db4objects.Db4o.dll" >
<HintPath>..\bin\Db4objects.Db4o.dll</HintPath>
<Private>False</Private>
</Reference>
@ -91,7 +84,7 @@
<Name>OpenGrid.Framework.Data</Name>
<Project>{62CDF671-0000-0000-0000-000000000000}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
<Private>False</Private>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
@ -101,7 +94,9 @@
<Compile Include="DB4oManager.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="DB4oUserData.cs" />
<Compile Include="DB4oUserData.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
@ -113,4 +108,4 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>
</Project>

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
@ -6,8 +6,7 @@
<ProjectGuid>{62CDF671-0000-0000-0000-000000000000}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<ApplicationIcon></ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>OpenGrid.Framework.Data</AssemblyName>
@ -16,11 +15,9 @@
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Library</OutputType>
<AppDesignerFolder>
</AppDesignerFolder>
<AppDesignerFolder></AppDesignerFolder>
<RootNamespace>OpenGrid.Framework.Data</RootNamespace>
<StartupObject>
</StartupObject>
<StartupObject></StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
</PropertyGroup>
@ -31,8 +28,7 @@
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DocumentationFile></DocumentationFile>
<DebugSymbols>True</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>False</Optimize>
@ -41,8 +37,7 @@
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn>
</NoWarn>
<NoWarn></NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
@ -51,8 +46,7 @@
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DocumentationFile></DocumentationFile>
<DebugSymbols>False</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<Optimize>True</Optimize>
@ -61,23 +55,22 @@
<RemoveIntegerChecks>False</RemoveIntegerChecks>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<NoWarn>
</NoWarn>
<NoWarn></NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Reference Include="System" >
<HintPath>System.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml">
<Reference Include="System.Xml" >
<HintPath>System.Xml.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Data">
<Reference Include="System.Data" >
<HintPath>System.Data.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="libsecondlife.dll">
<Reference Include="libsecondlife.dll" >
<HintPath>..\bin\libsecondlife.dll</HintPath>
<Private>False</Private>
</Reference>
@ -91,7 +84,9 @@
<Compile Include="SimProfileData.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="UserData.cs" />
<Compile Include="UserData.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="UserProfileData.cs">
<SubType>Code</SubType>
</Compile>
@ -106,4 +101,4 @@
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>
</Project>

View File

@ -196,9 +196,11 @@ namespace OpenSim
GridServers.AssetServer.SetServerInfo((string)((RemoteGridBase)GridServers.GridServer).GridData["asset_url"], (string)((RemoteGridBase)GridServers.GridServer).GridData["asset_sendkey"]);
// If we are being told to load a file, load it.
if (((string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"]) != "")
string dataUri = (string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"];
if ( !String.IsNullOrEmpty( dataUri ) )
{
this.LocalWorld.m_datastore = ((string)((RemoteGridBase)GridServers.GridServer).GridData["data_uri"]);
this.LocalWorld.m_datastore = dataUri;
}
if (((RemoteGridBase)(GridServers.GridServer)).GridData["regionname"].ToString() != "")