ANGEL Prim Drop API1

From SLIS Second Life Wiki

Changing the API file in the ANGEL server (PART ONE)

Add the follow script segment to the API manager file.

File pathway: tools>Angel File Manager>Application Files>api>api v1.0 > default.asp

(Add only the part between ***. The previous two lines are to show where the snippet belongs and don't need to be added.)



        If CanUserAccessAction( gsAPIUSER, sAction) Or glAPIAccountRights < 64 Or Len(Trim("" & Session("USER_ID"))) > 0 Then        
            Select Case sAction
            ' ************************************
            ' * BEGIN - added for Second Life API
                Case "SL_UPDATE_AVATAR"
                      sResult = API_SL_UPDATE_AVATAR(Trim("" & API_ArgValue("AVATAR_UUID", "")), Trim("" & API_ArgValue("AVATAR_FNAME", "")), Trim("" & API_ArgValue("AVATAR_LNAME", "")), Trim("" & API_ArgValue("AVATAR_PHOTO", "")))
                Case "SL_CHECK_AVATAR"
                      sResult = API_SL_CHECK_AVATAR(Trim("" & API_ArgValue("AVATAR_UUID", "")))
            '* END - added for Second Life API
            ' ************************************
Toolbox
LANGUAGES