Jump to content

Miranda Umino

Resident
  • Content Count

    383
  • Joined

  • Last visited

Community Reputation

61 Excellent

About Miranda Umino

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. It s wrong : lldetectedtype returns all objects containing a script with the mask-bit SCRIPTED set to TRUE Notice this script can contain anything ( no listener , no loops etc ..) In addition , even if the script is flagged as not-running , lldetectedtype will return with the mask SCRIPTED My opinion , is that you use llSensor to detect some objects , and you guess that the parameter used by llSensor/llSensorRepeat should be the same . In fact it s wrong For instance , you have an object non-physical who contains the basic defult script ( "hello avatar " script ) You have a second object who use llSensor to detect the first object a) you use llSensorRepeat("", NULL_KEY, SCRIPTED, SCAN_RANGE, PI, SCAN_INTERVAL); // SCRIPTED = 8 => no_sensor event will be triggered b) you use llSensorRepeat("", NULL_KEY, PASSIVE, SCAN_RANGE, PI, SCAN_INTERVAL) ; // ACTIVE = 4 => sensor event will be triggered . If you print the value from llDetectedType , it will return12 = 4 + 8 = PASSIVE | SCRIPTED Even if your object , contains script flagged not-running , llDetectedType will return with the mask SCRIPTED . An object who contains scripts who don t run , will have a value from llDetectecdtpe with the bit SCRIPTED of the the bitmask set to true In the wiki , http://wiki.secondlife.com/wiki/Lldetectedtype "Objects that has any script, which is doing anything in simulator just now" is a false sentence . In fact , this sentence is correct to use with llSensor , but not with llDetectedType . llSensor with the value 8 ( SCRIPTED ) as parameter don t return all objects who contain some scripts but only some objects who contain some specific scripts ( running , and active ). llDetectedtype value doesn t change . If you prefer , llDetectedtype returns as OUTPUT the bit SCRIPTED at TRUE for any object who contains some scripts in their content ( even nont -running , even not active ) , while llsensor with the bit SCRIPTED as INPUT don t filter all the objects scripted but nly a subset from this It s probably because , this sentence is inside "wiki template" array , , and it has caused confusion between the two pages llSensor and llDetectedtype , when the array / table has merged . It s a bit ugly to use the same terminology and causes mess and confusion Try to detect with a collision , and not by a sensor , if you are not sure
  2. Ok . It s a bit curious to limit at half the hard memory available . Why this ?
  3. Maybe you have an old version and the firestorm team has rolled back ? Ir Maybe tou have compiled by yourself the viewer in forcing the max value My version is Firestorm 6.2.4 (57588) Jul 12 2019 00:15:15 (64bit) (Firestorm-releasex64) with Havok support . It s the last version
  4. It in my computer , can you explain this ? ( of course my graphic card is not limited to 1GB in hardware )
  5. You are misinformed . Firestorm has a limit to 1 Gb . and it blurs some images
  6. Indeed you will need to delete it . .if you want that the player has ony an allocated time for all his answers . We were not sure about what you were expecting . Indeed the player could be confused that while he continues his answers he is stopped brutally after some time and he is forced to click again , even when he golds the hand on the game . He ill think about lag or bug when in fact it s the design of your script If you want nevertheless to force the player to click again after his 20 seconds allocated for his answers , i suggest you to warn him when tje timer expires and inviting him to click again . Either you can do by a message , either you can do visually ( change of colors , sounds playes , particles effect ) Your first version could have as much active listeners than the number of times someone has touched the prim . ( so it xan grows ) The version i have fiven you keeps only one listener max active , but of course , you can have zero listener when ther is nearby An another solution , is to create a llsensorrepeat who scans if the player has not left . On no_sensor event you remove the sensorrepeat and you remove too the listener and you enable the CLICK_ACTION_TOUCH and something informs the palyer he has left the playground and needs to touch again . Resetting the script won t be my preferred solution in your cas : the versions we post here are drafts , but your final version does certainly a lot of things at the start of the game we have not written yet in this forum , but who should be written in your final version . . For instance reading a notecard or a website to fetch the questions and answers to ask to players . With a reset script you will need to read again theses notecards or to fetch questions/answers on external urls . It takes too much time , so , i will avoid llresetscript in your case . There are other ways to remove listeners ( changing state , call a removelisterner ..) and who don t erase the initialisations of your script timer() { llSay(0,"You have not given the good answer before the time . The good answer was .... Click again "); llSetClickAction( CLICK_ACTION_TOUCH ); llSetTimerEvent(0.0); llListenRomeve(idListen); } Thank you
  7. Second life uses again some float 32 bits . 24 bits from these 32 bits are used for the significand precision Around 4000 meters , 12 bits are used for the integer part , 12 for the fractionnal part, so you can t expect a precision better than 1/4096 meters , around 4 millimeters gor any regional measures In addition the innacuracies can be amplified by the rotations along one regional axis The only solution is IF and WHEN second life will use 64 bits for coordinates For the "good height" to build , the answer is , more you are close to the point 0,0,0 , more accurate will be your builds . It s not only the height :The influence in in the X axis and the Y axis can be strog too if they are closed to 255 If you can t , avoid at the maximum to use world frame in the build window tool , and build uniquely in local frame
  8. There are several little other things missing : Firstly : you are creating a listener at every touch but without delete the others . So after a quizz of 100 questions , your script has 100 active listeners , with 99 who are useless . It s a waste of resources of the region Secondly : you are generating a listener for any touch , even when the user is too far to be able to answer . By chat , the user is limited to 20 meters , 96 meters if he s shouting , so it s useless to generate a listener and waiting some seconds for nothing . People can touch prims at more distance than they can talk to the prims , in using the zoom camera . People can speak to the prims higher than 96 meters only if they talk via one attachement scripted Thirdly : when your player is answering correctly ( and not wrongly ) , your script is not desactivating the timer and is not restablishing the possibility to touch before 20 seconds . So people , after a good answer can t play .. and are obliged too wait the end of timer. Nearly a bug Fourthly , maybe it s not necessary for the prim to talk in the public chat to anyone , but only to the active player . I am not sure about what you want exactly , but you may condider it and using llregionsayto . Sixthly In addition you don t solve the issue when the user goes out from the chat ange distance when the prim talks in local chat . The player won t see the message from the pri . Again one time llregionsayto ispreffered , but as i am not sure about why you want ( maybe the quizz is to use with seveal people ) , i have not changed this point integer idListen; float TIME_ANSWER = 20.0; default { on_rez(integer start) { llSetClickAction( CLICK_ACTION_TOUCH ); } state_entry() { llSetClickAction( CLICK_ACTION_TOUCH ); } touch_end(integer total_num) { // as the prim talks only to 20 meters , we limit the touchers to people inside 20 meters if ( llVecMag( llDetectedPos(0)-llGetPos() ) <= 20.0 ) { llSay(0,"question"); // remove old listeners to not waste resources of the sim llListenRemove( idListen); idListen = llListen(0, llDetectedName(0), llDetectedKey(0),""); // desactivate the touch event s: 8 is undocumentated value , but seems working , thanks to Lucia ; an alternative is using several states to cchange the event manager of the script llSetClickAction( 8 ); llSetTimerEvent( TIME_ANSWER ); } } listen(integer channel, string name, key id, string message) { if(message == "good answer") { llSay(0,"deal the answer and congratz"); // allows to go to the next question , so the touch event is freed . change of timer and llsetclickaction llSetClickAction( CLICK_ACTION_TOUCH ); llSetTimerEvent(0.0); } else { llSay(0,"bad answer : try again"); // wait again an another answer : so the touch event is again blocked: we want again an another answer from the same player : no change of the timer and llsetclickaction } } timer() { llSay(0,"You have not given the good answer before the time . The good answer was ...."); llSetClickAction( CLICK_ACTION_TOUCH ); llSetTimerEvent(0.0); } }
  9. No .. The tranfer is only from the owner of the object to someone . You will tell : "yes but before i have given my object , i was the previous owner" . Indeed , but you will need to tranfer linden dollars to the target BEFORE having given your object , and not AFTER having given your object But an another object , ( again owned by you ) can give money when it will receive a message from the given object : Messages can be grid wide ( if you use HTTP , or email or xmlrpc ) and tranfer lindens too
  10. Firstly i notice you have changed your assumption : from "floridia is againts gambling" , you tell now "floridia allows people to gamble in florida" . Secondly , now , you tell that "floridia forbids to gamble on the internet" . It s always wrong . Several sites are allowed for floridians : for instance : betamerica https://playinglegal.com/review/betamerica I quote " BetAmerica is in full compliance with all applicable United States and Federal laws. Wagering is restricted in certain states. Account holders shall not make wagers from their account while physically located in one of the following states: Arizona, Iowa, Louisiana, Massachusetts, Montana, North Dakota, New York, Nevada, Oregon, Puerto Rico, Vermont, Virginia, and Washington." Where is Floridia in the restrictive list ? Nowhere Check by yourself In addition , King.com , royalgames.com ( King Digital Entertainment ) is a well known platform game where you can spend and earn not only candies but you can spend and earn real cashes . No users in all united states have been forbidden . It s well known platform in facebook , google play , mobiles etc .. What are becomen these kind of games in SL ?
  11. You do a mess : Horse race gambling is forbidden in Florida ( amendement 13 november 2018 ), but casinos gamblings are not : see by yourself 10 instances of casinos ( not exhaustive ) where you can gamble in floridia https://southfloridareporter.com/10-casinos-you-can-gamble-at-in-south-florida/ In adddition : there are some native americans groups in floridia Native American reservations do not fall under state jurisdiction, and are sovereign and subordinate only to the federal government. ( Seminole tribe and Miccosukee tribe Check by yourself : https://www.500nations.com/Florida_Casinos_Tribes.asp But the customers of these casinos are not mainly native americans So , i don t understand the Linden policy who is harder for floridians ( and native americans foridians ) than in Florida
  12. What you describe is an uni-tier legal system work . Not a multi-tier You forget there exist more that one law or one right : there is the field of application of the law for the provider , but there is too the field of application of law for the consumers , and in addition , as it s not LL who creates the games sim , there are too the field of application of law for the owners of sims I am even sure that the laws about gambling ( in other enterprises , real entreprises and other , outside SL ) have tried to define how it should work when there are different field of applications . The short answer : "it s written in californian law" is not pertinant and even , could be wrong in some specific situations
  13. No , no . Your answer was linked with what it was previously said .. In addition , it surprises me that this crowdfunding is not for "non profit associations " but for entrepreneurs ( indiegogo is for "independant entrepreneurs" if you didn t know it , as tne name tell it "indy " inside indiegogo ) , so for commercial activities
×
×
  • Create New...