Jump to content

Laurent Vesta

Resident
  • Posts

    17
  • Joined

  • Last visited

Reputation

2 Neutral

Recent Profile Visitors

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

  1. Just want to give an update so that all your replies were not forgotten or ignored. Thanks to all. I decided to split my main script in 3 parts. One main script, one script to deal with data and one script to handle HTTP requests. So far, so good. Thanks all. I'm still investigating storage solutions but that's not a critical part at the moment.
  2. Thank you guys, I'm going over all the replies and will post my response after I check what was suggested. Glad to see the SL scripting community is still alive and well. Judging from the wiki, you would have a different feeling...
  3. Thank you, @Quistess Alpha! Much appreciated! However, I did access the Experience tab for my land. I have a window that lets me add Experiences and ban Experiences. But i have no idea how I can add something there. When I try to enter the object that holds my script, the window returns "Not found"....
  4. Thanks, @Quistess Alpha! What about the Experience Key? I have a premium account and my customers would likely have one too.
  5. After my script starts running, there is less than 5K available. That's not a lot. I'm software engineer, so I know a thing or two about programming but relatively new with LSL...
  6. I have 3 lists: one that stores the stats collected during the day and has 1 date and 7 integers. This list add an entry each time the date changes, so once a day. The other list keeps the list of visitors. It collects a key, 3 strings and a date. This one can add more than one entry per day, depending on the visitors in the region. The third list collects the region restarts. It logs 4 strings to reconstruct a date but it doesn't add much data since restarts are infrequent. That's pretty much it. Some string and integer globals.
  7. Hello. I wrote a script that collects various data about the region and save those stats in lists. It runs a timer every 10 seconds to collect data. It also servers as a web server receiving HTTP requests and posting responses and also processes touches. I've been monitoring the free memory to my script. When compiled with Mono, it has less than 1K and after a few iterations of the counter, I get heap collisions. Since I can't find any way of dumping these stats somewhere, I have to keep them in memory. I'm guessing its those stats in lists that are using memory. Are there any way to reduce memory footprint? In the mean time, I recompiled the script under LVL (?). The script has now more free memory but I know that's not a long term solution. Any idea what I could do?
  8. Seems you can't delete double posts here, hmmm... I've been monitoring the free memory to my script. When compiled with Mono, it has less than 1K and after a few iterations of the counter, I get heap collision. My script collects various data about the region and save those stats in lists. Since I can't find any way of dumping these stats somewhere, I have to keep them in memory. I'm guessing its those stats in lists that are using memory. Are there any way to reduce memory footprint? My script runs a timer every 10 seconds to collect data. It also servers as a web server receiving HTTP requests and posting responses. In the mean time, I recompiled the script under LVL (?). The script has now more free memory but I know that's not a long term solution. Any idea what I could do?
  9. Thanks @Quistess Alpha. What's the maximum you're using?
  10. Thanks @Innula Zenovka. I didn't think of that. I'm going to check memory usage.
  11. Thanks, I'll try a few things. The script is fairly long, so not sure about posting it here...
  12. Thanks @Rolig Loon! I have a case of a state_teleport but in its state_entry(), I call state default. Is it not sufficient?
  13. I've been working on an object that monitor a region. At 10 seconds intervals, the object checks the region's FPS and other stats. To see those information, I added a touch feature which trigger a dialog. The problem I see is that after a while (few hours), the object will suddenly not react to touches anymore. Right-clicking on it has the "Touch" item from the pie menu disabled. What could cause this?
  14. I can't imagine that it's not a known issue but in the byzantine structure of Second Life Help, I can't find anything relating to this. I'm using a new MacBook Pro running 10.11.3. I downloaded the latest official SL Viewer. Each time I press a modifier key, an exception is raised. I can continue but can't use any modifier key (like Command or Option). What's going on?
×
×
  • Create New...