Jump to content

Hawthorne Gray

Resident
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Hawthorne Gray

  1. How well will an M2 Mac mini with 16GB of unified memory run SL v. an M1 Mac mini with 16GB? Would switching from a WiFi connection to ethernet help either machine reduce lag? I know there are a myriad of variables pertinent to producing a proper evaluation between these options but I’m basically looking for some feedback from anyone who has spent time with these machines and what their general impressions are. And doing so without getting mired in Mac v Windows discussion. Thanks.
  2. Ok, now the final (as a test script) version works perfectly and means I can use a function that I've written, like 'checkRESP()' as it's meant to be used, a simple, one-line bit of code that can be inserted into a script to perform a routine task and allow me to keep focused on the larger script at hand - no need to worry about where and how and which variables to declare to get a response the required. My BIGGEST question is why? I have a basic knowledge of JS, PHP, HTML, CSS, Unix, and MySQL - always enough to get me by. And I've wondered why in LSL you couldn't pass variables through functions. Functions written by a scripter, I mean. I just have never seen it done before. This is a huge step up in knowledge for me, so thanks guys for your responses. Thank You!
  3. So, there are two values from the http_response() function which need to be carried over (request_id, body) but I thought to start with just one: request_id. Here's the full script: ...which throws a syntax error error on line 12: checkRESP(key request_id); So not sure what I've done wrong? UPDATE: I rewrote checkRESP(key request_id); to checkRESP(equest_id); and the script compiles and functions correctly!
  4. Wow, I read through this forum a lot but rarely post so, yeh... I'm kinda flattered to have gotten a response from the Quistess Alpha! And! And, one that I can understand and is a promising solution - makes my day - thanks, Quistess.
  5. Ah, the reason I made 'request_id' and 'body' global variables was because I got "Name not defined within scope" errors on the first go-round. So I made them global which allowed the script to successfully compile but then the "ERROR: Request IDs do not match" messages popped up when the script was run. I'm wondering if this will be a problem in other similar functions like listen()?
  6. I've lately been re-using functions collected in include files as a way to ease the chore of scripting. I'm not a programmer, however, so I run into problems I'm unsure how to fix For example, the following script, 'door_VIP.lsl', is a common door script but written to admit only registered visitors who chose 'blue' as their favorite color when they registered. The script queries the database where a user's info is stored to determine whether they may be allowed through or not by calling on the inserted function: ' checkSTAT();'. It then processes the database response using 'checkRESP(); ': 'confirmREGX.lsl' Only this doesn't work properly and results in the error message: ERROR: Request IDs do not match. For some reason, neither of the values assigned to the 'request_id' key or the 'body' string as received by the http_response() function retain their values when processed by the inserted function 'checkRESP()'. After fiddling around for a while I found a work-around. If I assigned those two values to a different pair of variables before calling the 'checkRESP()' function then those values carried over and were processed correctly: with the re-written 'checkRESP()' This worked but left me wondering why is this so? I ended up rewriting checkRESP(); functions like this: I lack the fundamental LSL background tu understanding the underlying principles for why this is so and am hoping someone explain it to me
  7. I appreciate your reply Dano. I'll def check the Dagger Blog out - I prefer reading to watching videos by a long shot. I suppose I need to open up my own topic to get more replies. Not a veteran forum user.
  8. I am trying to learn about mesh… mesh everything. Where is a good resource to find out the basics? Appliers? BOM? Legacy bodies?
  9. I drift in and out of SL - but I always come back hungry to express myself by creating a new environments - through prim design, region building, scripting, graphics to environmental editing. So, I'm no newbie. But I can't make sense of this mesh tech. Mesh heads? Bodies? I've tried demos, have no idea what BOM is and can find no guidance that explains what this is all about except in the most cursory of ways. This whole topic makes me think: maybe I just need to move on, what's the point?
  10. Well as I said, I cleaned out ALL SL files - including those of third party apps - and downloaded a fresh copy of the SL Viewer. I don't see anything in your link to clean installs that offers new information to what I've already done. As for connection problems? My second computer is able to log on just fine.
  11. Model: MacPro Quad-Core Intel Xeon, 2.8 GHz Graphics: ATI Radeon HD 5870 1024 MB graphics Memory: 12GB From the Problem Report generated after force quitting SLviewer application: Command: Second LifeVersion: Second Life version 3.2.5.247236 (3.2.5.247236)Event: hangDuration: 3.91sSteps: 40 (100ms sampling interval)Pageins: 0Pageouts: 0Process: Second Life [6238]Path: /Applications/Second Life Viewer.app/Contents/MacOS/Second LifeArchitecture: i386UID: 501The report goes on and on and makes no sense to me so I come to this forum seeking answers. The crux of the problem is that SL Viewer, along with any 3rd party viewers I've tried, will not fully launch beyond a few seconds into the opening of the viewer window. I get a white screen and a spinning ball and eventually have to do a force quit to close the application down. My machine is fairly new and quite capable of running SL but it has been a few months since I last logged in, using beta version 3.2.4. When I found I could not now open SL I downloaded the latest beta viewer and when it would not open I then cleaned out all existing SL files from my system and started with a freshly downloaded copy of the regular 3.2.5 version of the viewer - still no go. I then downloaded multiple third party viewers and none of them work. So, to say the least, I'm completely flummoxed as to what is occuring and hope somone can point me in the right direction to get this problem fixed.
×
×
  • Create New...