Jump to content

joniveehernandez

Resident
  • Posts

    127
  • Joined

  • Last visited

Posts posted by joniveehernandez

  1. Hi guys, I know I got a topic before that suddenly involves about Teleport Home function script sleep. For my best knowledge this is different from the previous topic. If you want to eject 100 avatars at the same time in your region (this is only a scenario) if I loop those 100 avatars Teleport them 1 by 1 including that 5.0 seconds script sleep. if there are 100 avatars it will consume that 500 seconds.


    My first idea not that wise I guess is separate a script for the Teleport home. But to accomodate all those 100 avatars TPing them all at once I need to create 100 scripts for teleport home. each 1 holds 1 avatar. I know its not a good way to do it.

     

    If you guys got a better idea I will be happy to apply it :)

  2. Not sure if just me or what that I feel when it comes to group related scripting I feel that I can only do limited things to it. Example I want to identify if the the group is "deeded" to a land or object or its just "set to" only, Identify group name or key the group key, and this one which is detect avatar if is a owner or member of a group.

  3. Hi Guys, in wiki we can use llHTTPRequest's maximum content of 16384 bytes? same way in http_response? I just want it to transport  and store huge data to the external database. And also I want to make sure that I can use 16384 bytes without having a problem. Consider it I'm creating a Add, Delete and Diplay module. - Thanks!

  4. Still confusing regarding memory, alright here's a one scenario:

    I got 2 buttons that add and remove agent name from a list variable lets call it "guests", I add and remove via textbox.

    If I add agent name my list will be updated with the new agent name, in that case the memory allocation will be reduce.

    and

    if I remove that agent name from that list the memory allocation will goes up back.

    in order to test of changes of memory I put a llGetFreeMemory() in touch event to see the changes of memory.

    Test Result No.1: when adding new agent name it lessen the free memory.

    Test Result No.2: when removing an agent name from that list the memory doesn't change.

     

    Can you give me a clear explanation to it?, remember this is only a scenario. Why I'm doing this is so I can decide what will be the maximum guests I can store in my script.

     

    and 1 character is 1 byte right? if i will allow 500 slots for my guests where username is maximum of 63 characters that means 500 username multiply by 63 characters will result to 31500 bytes? correct me if I'm wrong guys because this is only a theory of mine.

  5. Thanks Ela for pointing also the llListFindList() function. For example if Imy list has a value the uses 10KB of memory. Upon execution it creates another copy of 10KB right? But does it affect the script maximum size of 65536 Bytes?

  6. Hi guys I'm developing a script that detects if the agent is using high memory usage. Ofcourse I want to set my memory value that determines the critical level. Can you give me an idea if what's the usual memory usage normal memory usage and too high memory usage? -Thanks!

  7. Hi Guys, I'm trying to create an object that display a different texture depends on what data I get. below is only an example that i want to display only the green circle in my object as a texture but the red and yellow circle must not be visible. I got the idea from a CSS technique called sprite. Not sure if that's possible in LSL using only 1 texture. Since i was confuse trying out the Prim texture repeat and offset.


    Texture.jpg

  8. Darkie Yes, I was thinking to put a layer of prim to catch the touch event, But it will be consider as fallback if there's no other way to it.


    Rolig, got it sorry not good yet with initials in SL that make me confused with MOAP, but it needs to use right-click.

  9. Hi Guys, Here's the scenario I'm creating a script that accept agent name but the real thing is it saves the UUID not the name. Because I want it User-friendly what is the best way to accept agent name? By the way I'm using Textbox to accept agent name.

     

    Since llName2Key is not yet possible and I don't want to rely on libraries the used external database like from Takat Su.

     

    I'll implement it to my Security Orb System in adding whitelist and admins and so on.

     

    Thanks!

×
×
  • Create New...