Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-10 19:17:24



Reply to topic  [ 3 posts ] 
@getinvworn always returns 10 or 30 in 1.26.2(8) 
Author Message

Joined: 2010-03-14 21:12:58
Posts: 92
Reply with quote
Hi Henri. In the 1.26.2(8) release, the @getinvworn command returns the digits 30 for all folders. This was noticed when my OpenCollar was unable to browse the #RLV folders after moving to 1.26.2(8) so I wrote a short program to test and ran it on (8) and (7) comparing the results. (7) is working correctly.

I wrote this to test and browsed through my folders:
Code:
default
{
    state_entry()
    {
        llListen(2222,"", NULL_KEY, "");
        llListen(3333,"",llGetOwner(), "");
    }

    listen(integer channel, string name, key ID, string msg)
    {
        if (channel == 3333)
            llOwnerSay(msg);
        else
            llOwnerSay((string)channel+"-"+msg);
    }
}


getting these results:
/3333 @getinvworn=2222
(7): 2222-|02,> Pony|01,> Toys|11,> Clothing|02,} BDS - School|01,> Bonds|02,PG Outfit|10,> Avatars|02
(8): 2222-|30,> Pony|30,> Toys|30,> Clothing|30,} BDS - School|30,> Bonds|30,PG Outfit|30,> Avatars|30

/3333 @getinvworn:> Clothing=2222
(7): 2222-|02,> Silks|01,> Costumes|01,> Skirts|11,Ibrew skin|10,> Latex|01,> Tunics|01,> Outfits|01,> Hair|02,> Shoes|01,> Dresses|01,> Underwear|01
(8): 2222-|30,> Silks|30,> Costumes|30,> Skirts|30,Ibrew skin|30,> Latex|30,> Tunics|30,> Outfits|30,> Hair|30,> Shoes|30,> Dresses|30,> Underwear|30

/3333 @getinvworn:> Clothing/> Dresses=2222
(7): 2222-|01,Blu BBE Mini|11,Blu halter top|11,Bad Day Skirt|01,Tart In Tartan *Rag Dollz*|01,Green . 2811 . Contemple . Flexydress Seaglass|11,Bk sheer+vest|01,Gn Irish Emerald|11,Bk Celtic|11,Green Tartan vest|01,Blu Callisto|00,Gn Donna|11,Silver and black prim dress|01,Green petal|11,Plaid|01,Red heart dress|11,Ppl micro skirt w/ pants|01,Hostess|11,Blue Classy-Trashy|00,Bk Coarse|11,blu lace carina|11,Steampunk Cutie - Rag Dollz|10,Blu halter mini|11,Black flower|11,Sheer black and pink|10,Green heart|11,grn gauze skirt|10,Kiss Me, I'm Irish|10,gy micro dress|10,gr bk sheer|11,Black Silky (Flexi)|10
(8): 2222-|30,Blu BBE Mini|30,Blu halter top|30,Bad Day Skirt|30,Tart In Tartan *Rag Dollz*|30,Green . 2811 . Contemple . Flexydress Seaglass|30,Bk sheer+vest|30,Gn Irish Emerald|30,Bk Celtic|30,Green Tartan vest|30,Blu Callisto|30,Gn Donna|30,Silver and black prim dress|30,Green petal|30,Plaid|30,Red heart dress|30,Ppl micro skirt w/ pants|30,Hostess|30,Blue Classy-Trashy|30,Bk Coarse|30,blu lace carina|30,Steampunk Cutie - Rag Dollz|30,Blu halter mini|30,Black flower|30,Sheer black and pink|30,Green heart|30,grn gauze skirt|30,Kiss Me, I'm Irish|30,gy micro dress|30,gr bk sheer|30,Black Silky (Flexi)|30

And so on for all folders i checked.

My system:
Code:
Cool VL Viewer 1.26.2 (7) Nov 26 2011 11:26:19 (Cool VL Viewer)
RestrainedLove viewer v2.07.04.20 (Cool VL Viewer v1.26.2)
Release Notes

Built with GCC version 40102

You are at xxx22.1, xxx10.2, 2997.4 in xxxxx located at simxxxx.agni.lindenlab.com (216.xx.xx.xx:13000)
Second Life Server 11.11.12.245070
Release Notes

CPU: Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz (1600 MHz)
Memory: 12038 MB
OS Version: Linux 3.1.0-1-amd64 #1 SMP Tue Nov 29 13:47:12 UTC 2011 x86_64
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GTX 470/PCI/SSE2
OpenGL Version: 4.2.0 NVIDIA 290.10

libcurl Version: libcurl/7.20.1 OpenSSL/0.9.7c zlib/1.2.3.3 c-ares/1.7.1
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.7.1
Packets Lost: 140/19932 (0.7%)


After looking through your diff, i think i see the problem. In several places you have:
Code:
+                               if (worn_items == "n") {
+                                       res += "10";
+                               } else if (worn_items != "N") {
+                                       res += "30";
+                               } else {
+                                       res += worn_items;
+                               }

which will return "30" for everything *except* "N" (and "n") and should be
Code:
+                               if (worn_items == "n") {
+                                       res += "10";
+                               } else if (worn_items == "N") {
+                                       res += "30";
+                               } else {
+                                       res += worn_items;
+                               }

if my thinking is correct.


2011-12-08 00:01:50
Profile

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
You are entirely right and that's a bad typo... The fix will be part of the next releases (v1.26.0.30 and v1.26.2.9). Thanks !


2011-12-08 09:04:38
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 6030
Reply with quote
Fixed in today's releases.


2011-12-10 12:32:54
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 82 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.