Jump to content

Surprised Cerise

  • Posts

  • Joined

  • Last visited

Everything posted by Surprised Cerise

  1. i see, thank you i learned something.
  2. thank you rolig, that works insíde of the listener event, if (oldscore == 2) { llInstantMessage(aviKey,"you score is "+ (string) oldscore +" "); } is it possible to make it work like this within an touch event? when i try its telling me the variables ar not defined touch_start(integer total_number) { llInstantMessage(aviKey,"you score is "+ (string) oldscore +" "); } = error
  3. Hello, im actually using this free script and i want to modify it so, if some person reaches xx points an event should trigger, just like "you got 10 points". but i cant figure out which variables i have to "if" for // :CATEGORY:Games // :NAME:Random Rezzer Game // :AUTHOR:Anonymous // :CREATED:2013-09-06 // :EDITED:2013-09-18 15:39:00 // :ID:675 // :NUM:918 // :REV:1 // :WORLD:Second Life // :DESCRIPTION: // random game // :CODE: integer GIVE = TRUE; // if TRUE, give them a random prize integer channel = -1234321; // some random integer rto talk with integer maxCount = 100; // Only keep the 100 top scores so we do not run out of RAM list scores;// a list of scores (integers like 1,1,23, and avatar names. Wr number is first so we can sort on it for high scores. default { on_rez(integer start_param) { llResetScript(); // when you rez it, we have to start a listener } state_entry() { llListen(channel,"","",""); // listen on our secret channel for things that are touched. } listen(integer channel, string name, key id, string message) { list stuff = llParseString2List(message,["^"],[]); // look in message for aviName^aviKey string aviName = llList2String(stuff,0); // get the name key aviKey = (key) llList2String(stuff,1); // get the key llSay(0, "Prim " + name + " caught by : " + aviName); // lets see of this person is in the list of people already played integer index = llListFindList(scores,[aviName]); // get the number of the position of the name, the score is one less than this if (index == -1) { // Nope, so we add them to the list scores += 1; // they have one object; scores += aviName; llOwnerSay("Welcome, " + aviName + " . This you your first time to play, so just keep watching for and clicking the objects and have fun"); } else { // yes, they have played before, get their old score integer oldscore = llList2Integer(scores,index-1); oldscore++; // add an object to the old score scores = llListReplaceList(scores,[oldscore],index-1, index-1); // save it back in the score list } if (GIVE) { integer PrizeNum = llGetInventoryNumber(INVENTORY_OBJECT); // get how many items are in this prim integer whichOne = llCeil(llFrand(PrizeNum)) -1 ; //pick a prize, randomly llGiveInventory(aviKey, llGetInventoryName(INVENTORY_OBJECT,whichOne)); } scores = llListSort(scores,2,FALSE); //sort from largest num to lowest scores = llDeleteSubList(scores, maxCount, maxCount+1); // delete the smallest score so we never get bigger than maxCount string scoreText; // We need to calculate the highest scores for display integer i ; integer stop = 10; // show top 10 scores if (llGetListLength(scores) < 10) // is the list bigger than 10 yet? { stop = llGetListLength(scores); } // print out the top 10 scores, or fewer for (i = 0; i < stop; i+= 2) { scoreText += llList2String(scores,i+1) + " : " + (string) llList2String(scores, i) + "\n"; } llSetText(scoreText,<1,1,1>,1.0); llOwnerSay(scoreText); }// end listen } // end default what would be the proper way to ask if someone has xx points? like if (llDetectedKey(0) / points = 10) { do blabla }
  4. Hello, im looking for this for a while now but i couldnt figure it out yet, is there any way i can use to reduce or increase the walk speed of on avatar if he collides with an object?
  5. ellow. I dont think the avatars should look like this, im using the latest firestorm viewer. is there a way to reload them or something?
  6. hey there, im using the official second life viewer, but some settings does not save and i have to redo the settings on my next login. for example: minimap -> right click -> stop tracking, and avatar -> show look at, i also can change the size of the adress bar on top and it dosent save the settings, im running the viewer as admin as well. what can i do to the save this settings?
  7. well i found one: https://marketplace.secondlife.com/p/Profile-Pick-Money-Orb/341404 hmm, not sure if its against the SL ToS.
  8. hey, im searching for the script who gives out lindens if the avatar got the land in their profile picks, plus the avatar must be on the sim, anyone seen this? :o thanks in advance
  9. hey, im searching for the script who gives out lindens if the avatar got the land in their profile picks, plus the avatar must be on the sim, anyone seen this? :o thanks in advance
  10. sometimes it goes up to 100%, but the most time its on 0%, like if i do nothing it is on 0, and if i change the camera position its on 100%.
  11. np, it was worth a try anyways still not working, i really dont get why..
  12. Hey, some weird things going on with second life on PC, if i am moving with the camera around avatars, and i switch back the fps goes down to 1 - 5 fps, i tested it with the official viewer, singularity and firestorm. I am almost out of ideas because i tried everything to fix it, my specs are: Intel Core i5-4430 4x 3,10GHz 6 GB DDR3-1333 Geforce GTX 650 1GB DDR5 Samsung 120 GB Solid State Drive 840 Series I tried different graphic driver versions, updated my chipset driver, installed SL to another HDD (not ssd), changed the cache folder, lowered graphic settings to low, reinstalled windows (7), etc... so yea, i made videos. i hope i find a solution here. http://www.youtube.com/watch?v=EORCWq-xYsI http://www.youtube.com/watch?v=UnC5AcRb-M4 http://www.youtube.com/watch?v=xs7ZB41FcJU
  • Create New...