Jump to content

Azar Stratten

Resident
  • Posts

    11
  • Joined

  • Last visited

Posts posted by Azar Stratten

  1. Your script is well designed (very well, I put it in my sample script folder), but I don't know Shihan's intention.

    Shihan demands on "pause between events" and I only wanted to show Shihan how with the timer event and using llGetTime / llResetTime.

    greetz,

    Azar

  2. Maybe this is more you want to have?

     

    list    a       = ["a","b","c","d","e"];integer chan    = 1;float   nwait   = 3.0;float   lwait   = 10.0;string  item0;string  item1;string  item2;string  item3;string  item4;default {    state_entry() {        llSetTimerEvent(0.0);        llOwnerSay("I am in state default");        llListen(chan, "", llGetOwner(), "");        item0 = llList2String(a, 0);        item1 = llList2String(a, 1);        item2 = llList2String(a, 2);        item3 = llList2String(a, 3);        item4 = llList2String(a, 4);        llResetTime();        llSetTimerEvent(0.1);    }        listen( integer channel, string name, key id, string message ) {        if(message =="off") {            llSetTimerEvent(0.0);            state off;        }    }    timer() {        llSetTimerEvent(3.0);        if(llGetTime() < nwait ) llSay(0, item0);        if(llGetTime() >= nwait && llGetTime() < nwait *2) llSay(0,item1);        if(llGetTime() >= nwait*2 && llGetTime() < nwait *3) llSay(0,item2);        if(llGetTime() >= nwait*3 && llGetTime() < nwait *4) llSay(0,item3);        if(llGetTime() >= nwait*4 && llGetTime() < nwait *5) llSay(0,item4);        if(llGetTime() >= nwait*5 && llGetTime() < nwait *6) llSay(0,item3);        if(llGetTime() >= nwait*6 && llGetTime() < nwait *7) llSay(0,item2);        if(llGetTime() >= nwait*7 && llGetTime() < nwait *8) llSay(0,item1);        if(llGetTime() >= nwait*8 && llGetTime() < nwait *9) llSay(0,item0);        if(llGetTime() >= ( nwait*8 + lwait )) {            llSetTimerEvent(0.0);            state pause;        }    }}state pause {    state_entry()   {        llOwnerSay("I am in state pause");        state default;    }}state off {    state_entry() {        llOwnerSay("I am in state off");        llListen(chan,"",llGetOwner(),"");    }    listen( integer channel, string name, key id, string message ) {            if(message=="on") {            state default;        }     }}

     

  3. Hi,

     

    the problem is the command 'sleep', it does what it meens,the script will sleep this time and not listen.

     

    This should work:

     

    list    a       = ["a","b","c","d","e"];integer chan    = 1;default {    state_entry() {        llSetTimerEvent(0.0);        llOwnerSay("I am in state default");        llListen(chan, "", llGetOwner(), "");        string item = llList2String(a, 0);        string item2 = llList2String(a, 1);        string item3 = llList2String(a,2);        string item4 = llList2String(a, 3);        string item5 = llList2String(a,4);        llSay(0,item);        llSay(0,item2);        llSay(0,item3);        llSay(0,item4);        llSay(0,item5);        llSay(0,item4);        llSay(0,item3);        llSay(0,item2);        llSay(0,item);        llSetTimerEvent(10.0);    }        listen( integer channel, string name, key id, string message ) {        if(message =="off") {            state off;        }    }    timer() {        llSetTimerEvent(0);        state pause;    }}state pause {    state_entry()   {        llOwnerSay("I am in state pause");        state default;    }}state off {    state_entry() {        llOwnerSay("I am in state off");        llListen(chan,"",llGetOwner(),"");    }    listen( integer channel, string name, key id, string message ) {            if(message=="on") {            state default;        }     }}

     

  4. Hello Domitan,

     

    i do not understand what oyu wanted to say. I do net see the problem you have but you want to solve. I do not understand what you want to say with the point two in your message.

    To use the Avatar UUID for information exchange between 2 or more objects was invented to reduce lag in combat roleplay sims. It works great, because a bullet can use the "hidden" channel to "say" its weapon, that it hits a foreign avatar full or half or whatever. The channel must not be negotiated, the "master" object, maybe the weapon still listen on it and it cause no lag, because the channel will not be used by other avatar's objects.

    The bullet itsself does not need to communicate with its linked prims, if it is usefull to do that the script in the bullet should shout (or regionsay) in the "hidden" channel what is for the weapon and the next script line may inform the "blood splash prim(s)" with the command you ever want to use to inform this linked prims (to use particle it is not needed to have the particle script in the linked prim, see: http://wiki.secondlife.com/wiki/LlLinkParticleSystem).

    There are no loops needed.

     

    hth, Azar

  5. Hi,

    if a spy script is active (in the collar or anywhere) it is possible to receive chat from the sub (if its against the TOS or not).

    It is not possible to listen the IMs from whomever. That has nothing to do with an active or inactive rlv. But I assume using a standard viewer from a friendly side. It may be possible to change the sourcecode of a viewer that allows listening IMs, that's one of the reasons I recommend never install a viewer given (or link given) by a stranger.

     

    Greets. Azar

  6. Hello,

     

    i only want to declare, that i am nevertheless unable to see mesh objects, i allready have installed the new viewer an my desktop and on my notebook, too. My notebook runs with a amd graphic adapter and that will work.

    My desktop with the NVIDIA GTX 570 will not work, mesh are invisible with the desktop pc.

     

    I am happy that i can exclude my network.

     

    Second Life 3.0.0 (238864) Aug 18 2011 13:05:38 (Second Life Release)
    Release Notes

    You are at 261,797.0, 242,514.0, 23.1 in Mesh Sandbox 0 located at sim20935.agni.lindenlab.com (216.82.29.214:13003)
    Second Life RC_Mesh 11.08.17.238770
    Release Notes

    CPU: Intel® Core i5 CPU       M 460  @ 2.53GHz (2527.06 MHz)
    Memory: 3951 MB
    OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
    Graphics Card Vendor: ATI Technologies Inc.
    Graphics Card: ATI Mobility Radeon HD 5600/5700 Series

    Windows Graphics Driver Version: 8.17.0010.1052
    OpenGL Version: 4.0.10317 Compatibility Profile Context

    libcurl Version: libcurl/7.21.1 OpenSSL/0.9.8q zlib/1.2.5 c-ares/1.7.1
    J2C Decoder Version: KDU v6.4.1
    Audio Driver Version: FMOD version 3.750000
    Qt Webkit Version: 4.7.1 (version number hard-coded)
    Voice Server Version: Vivox 3.2.0002.10426

    Built with MSVC version 1600
    Packets Lost: 1/5,836 (0.0%)

  7. Hi again,

     

    i now have testet all possible drivers from the NVIDIA driver page (beta & whql), I also have installed a driver named 280.28_desktop_winvista_64bit_international.exe from http://developer.nvidia.com/opengl-driver

    Is there someone with a working combination with the GTX 570 card?

     

    Thank you, Azar

    My "About Second Life":

    Second Life 3.0.2 (239050) Aug 20 2011 06:42:59 (Second Life Development)
    Release Notes

    You are at 261,856.0, 242,523.0, 23.1 in Mesh Sandbox 0 located at sim20935.agni.lindenlab.com (216.82.29.214:13003)
    Second Life RC_Mesh 11.08.17.238770
    Release Notes

    CPU:        Intel® Core i5-2500K CPU @ 3.30GHz (3310.86 MHz)
    Memory: 8169 MB
    OS Version: Microsoft Windows 7 64-bit Service Pack 1 (Build 7601)
    Graphics Card Vendor: NVIDIA Corporation
    Graphics Card: GeForce GTX 570/PCI/SSE2

    Windows Graphics Driver Version: 8.17.0012.8028
    OpenGL Version: 4.2.0

    libcurl Version: libcurl/7.21.1 OpenSSL/0.9.8q zlib/1.2.5 c-ares/1.7.1
    J2C Decoder Version: KDU v6.4.1
    Audio Driver Version: FMOD version 3.750000
    Qt Webkit Version: 4.7.1 (version number hard-coded)
    Voice Server Version: Vivox 3.2.0002.10426

    Built with MSVC version 1600
    Packets Lost: 0/1,763 (0.0%)

  8. Hello,

    I have two computers, a tower with i5 quad core Intel with windows 7 64Bit, 4 GB RAM and a NVIDIA GTX 570 graphic adapter, my second computer is a notebook with an ATI graphic card onboard (Intel dual core, 4 GB RAM and windows 7 64Bit).

    I am not able to see mesh objects if I used my tower (NVIDIA), I tried out the oldest driver (263.09) after deinstalling the never driver and cleaning my system with CCleaner and Driver Sweeper, it won't work. I tried out the Second_Life_3-0-1-238613_BetaViewer, Second_Life_3-0-2-238735_ProjectViewer-Mesh and Kirstens S21(9). I used a different windows user to not become conflicted with the %appdate% folder.

    I re-installed the latest driver 280.26 i used befor. It doesn't matter.

    If using my one year old notebook with the ATI graphic card, I will have no problems with mesh. But using the notebook is not an option for me. Can someone help?

    Thanks a lot,

    Azar

×
×
  • Create New...