Add an [HGAssetService] section to SQLiteStandalone.ini with the same connection string as [AssetService].

This is necessary because commit 8131a24 (Tue Mar 27 10:08:13 2012) started passing the config section name rather than hardcoding "AssetService"
This meant that the HG external-facing asset service tried to read ConnectionString from [HGAssetService] rather than [AssetService].
On SQLite, not finding this meant that it fell back to [DatabaseService], which is set for OpenSim.db rather than Asset.db.
Therefore, all external asset requests returned null.
Solution taken here is to create an [HGAssetService] section with the same ConnectionString as [AssetService].
This bug does not affect normal MySQL/MSSQL config since they use the [DatabaseService] connection string anyway.
Addresses http://opensimulator.org/mantis/view.php?id=6200, many thanks to DanBanner for identifying the exact problem commit which was very helpful.
This was a regression from OpenSimulator 0.7.3.1 which did not contain this bug.
If a script state save fails for some reason on shutdown/region removal, get xengine to spit out some useful information and continue to save other script states
Adds osGetHealth.

Returns the amount of health (in an integer) that an avatar has left in the scene.
If an avatar is not found or safe is enabled on a region, -1 is returned.

Example usage:

default
{
    touch_end(integer _t)
    {
        key agentID = llDetectedKey(0);
        osCauseDamage(agentID, 50);
        llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left.");
    }
}
Removed land checking as suggested by SignpostMarv.

Now whatever remaining health the avatar has is displayed (float).
This will be 100% (100.000000) if no damage has occurred (as what the viewer should really be seeing anyway).

Returns -1.000000 if the avatar is not found.
Fix bad child prim permissions that can make objects change perms after rezzing

Port from Avination
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
implementing function to allow scripts to self-replicate as if the owner duplicated them, using the same script delay as llRezObject()
Revert "implementing function to allow scripts to self-replicate as if the owner duplicated them, using the same script delay as llRezObject()"

This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8.

Reverted pending consideration of associated issues.
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
adding sqlite journal files to .gitignore
refactoring using List.ConvertAll<string>
immediately returning the string.Join operation instead of checking if the list has members
stripping superfluous whitespace

Signed-off-by: Melanie <melanie@t-data.com>
Pass the "attachToBackup" bool given to SceneGraph.AddNewSceneObject() down into the 3-parameter AddNewSceneObject() method instead of always hardcoding true.

This doesn't affect any core OpenSimulator code since all callers were passing true anyway
But it allows region modules to create objects that are never persisted.
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
If a connecting scene presence is replacing an existing scene presence then bypass close checks.
Extend "Restarting scripts in attachments" debug log message to show actual name of user and the region they are in
Log initial script startup info notice when xengine actually starts to do this for debugging purposes, rather than before it actually starts to do this.
minor: Fix bad log message for failure to create an inventory folder
Allow multiple calling card type inventory folders to be created.

Modern viewers want to create Friends and All folders of this type inside the root Calling Cards folder.