diff --git a/lib/pages/opensim/Inventory.dart b/lib/pages/opensim/Inventory.dart new file mode 100644 index 0000000..2322a28 --- /dev/null +++ b/lib/pages/opensim/Inventory.dart @@ -0,0 +1,34 @@ +enum InventoryFolder { + Texture(id: 0, name: "Textures"), + Sound(id: 1, name: "Sounds"), + CallingCard(id: 2, name: "Calling Cards"), + Landmark(id: 3, name: "Landmarks"), + Clothing(id: 5, name: "Clothing"), + Objects(id: 6, name: "Objects"), + ROOT(id: 8, name: "My Inventory"), + Scripts(id: 10, name: "Scripts"), + BodyParts(id: 13, name: "Body Parts"), + Trash(id: 14, name: "Trash"), + Screenshots(id: 15, name: "Photo Album"), + LostAndFound(id: 16, name: "Lost & Found"), + Animations(id: 20, name: "Animations"), + Gestures(id: 21, name: "Gestures"), + Favorites(id: 23, name: "Favorites"), + CurrentOutfit(id: 46, name: "Current Outfit"), + Outfit(id: 47, name: "Outfit"), + MyOutfits(id: 48, name: "My Outfits"), + // 49 Mesh + //50 Inbox + //51 Outbox + //52 BasicRoot + MarketplaceListings(id: 53, name: "Marketplace Listings"), + MarketplaceStock(id: 54, name: "Marketplace Stock"), + // 55 Marketplace version + Settings(id: 56, name: "Settings"), + Materials(id: 57, name: "Materials"), + Suitcase(id: 100, name: "My Suitcase"); + + final int id; + final String name; + const InventoryFolder({required this.id, required this.name}); +} diff --git a/php/Login.php b/php/Login.php index 2215054..14a1cd1 100644 --- a/php/Login.php +++ b/php/Login.php @@ -20,7 +20,7 @@ $last = ""; $rezday = 0; $title = ""; $login = false; -$reason = "Invalid password"; +$reason = "Unauthorized"; $active = false; $clientKey = $js['clientKey']; @@ -59,6 +59,8 @@ if($clientKey == CLIENTPSK) { $reason = "success"; $login=true; + } else { + $reason = "Invalid Password"; } } else {