-
Notifications
You must be signed in to change notification settings - Fork 26
Error on Scripts in GridMode #428
Comments
That sounds like your gridmode setup might not have Phlox specified as the script engine. It's pretty clear that the difference here is that there is a configuration setting in your standalone setup that is missing from your gridmode setup (or vice versa). Try side-by-side file comparisons of the two, and try some simple example scripts, like one that just has a llSay in it, to see if there's a general problem there. If that works, try an example script that calls a Halcyon-specific function, such as one of the functions here. All of the regions in InWorldz run in grid mode, so there's nothing specific about that, or the vehicle scripts, that are likely to be causing trouble here. More likely the difference between the standalone and gridmode configuration files. Are you switching from standalone to grid by changing files in the same folder, or do you have separate folders? If separate folders, you might just be missing some DLLs or something of that nature. But again, check the Halcyon.ini configuration and any other settings you change to go from standalone to gridmode. |
i only changed the .ini to gridmode=true all other settings remained the same |
also i noticed there is no setting in the .ini to specify the script engine http://wiki.inworldz.com/izwiki/index.php/IwGetAgentData this script works fine, but the vehicle script, my AO script and Some Dance scripts throw the newline error and i noticed Phlox does trigger when saving the script it looks like this then : |
There's more to configuring a grid for Also, we can see from the error in the screenshot above that it is using the Phlox engine. Are you using the InWorldz viewer to enter the scripts, or something special such as the script preprocessor in Firestorm? If you can reproduce the error in the InWorldz viewer, please include the full source for any script that fails to compile, so we can give it a spin here. I know it seems like it's any script (and perhaps is), but the next step is to verify that it's not a problem with the process of getting the script into the script editor, such as pasting from a web browser with extra content or a different character set, etc. Something is clearly wrong with either the region server configuration or the scripts themselves. So please copy one that does not compile from an in-world object's script Edit window into a this issue report for us to try to reproduce the error. Thanks |
I just tried with the inworldz viewer, which is throwing the same error , for the moment i am only trying with the vehicle script mentioned as i was sure this one worked before |
That would imply there is something wrong with the way the scripts are being pasted into the edit window, or some other similar problem. Do you get the same error in InWorldz, such as on the InWorldz Sandbox 1 through 6 regions? I can probably give you a very quick answer if I can see one. If you have a simple prim object with a script in it that does not compile, please send one to me in-world to If you can only reproduce it on your grid instance, then please open the script that does not compile, |
Is there any chance that your script starts with a comma at the top? Is the Windows installation a VM, e.g. running in VirtualBox or something similar? Are you copying and pasting the script from the Linux side (CR/LF vs LF problem)? |
``// Generic physical vehicle // NOTE: Read through and adjust the customization choices. // Turning on debugging will cause various messages to be sent to you (the owner) to help // When OwnerOnly is set to TRUE, only the owner of the vehicle can ride it. // Choose one of the vehicle types by uncommenting one of the following types. When a // There are several common input controls settings for vehicles and the method chosen depends // Method 0: No input controls. // Method 1: A or left-arrow to turn left // Method 2: A or left-arrow to turn left // Method 3: A or left-arrow to bank left // The all-stop feature is very useful to people who wish to stop a vehicle immediately. // The follow parameters determine how quickly your vhicle moves in its various linear axes. // MaxFwdSpeed is the fastest speed the forward motor will go. // The increment is the amount to add every control event when speeding up. // If Method 1 was chosen, these are the speeds for each gear. You can add more speeds or fewer. // MaxRevSpeed is the fastest spped the reverse motor will go (often much lower than the forward speed). // MaxSideSpeed is the fastest that the strafing (side-to-side) otors will go. // MaxVertSpeed is the fastest speed for up/down motors. // The following parameters determine how quickly your vehicle rotates along the angular axes. // Minimum turing speed ratio (0.0 to 1.0) // Maximum left/right turning speed. // Maximum pitch (nose up/down) turning speed. // Maximum banking speed. // Enable auto buoyancy for airplanes by setting it to nonzero. it simulates wing lift. // Sit target. You can set the sit target here if the avatar is to sit on the root prim // These settings are for the basic dynamic camera. // Advanced special sauce. This is where you customize the behavior of the vehicle.
} // SetCameraParams()
} Engage(key id)
} // Handle a request to speed up
} // Handle a request to slow down
} // Internal variables - no touch. default
} |
you can close this issue i reinstalled with windows server 2008 and it works perfect now |
That's good to hear. I noticed in the script paste above that there are two back quotes at the start of the file, and it regularly changed back and forth from code mode (three back quotes start and end that). If there are any extra back quotes in the text pasted from the web browser, that would of course generate a compile error. Yet you were saying it was working in Standalone mode, so I suspect that's just a quirk of pasting the script here. Perhaps there are a lot of back quotes in the original source code for drawing lines or something. For the InWorldz login, I'd like to follow up on that since we've had problems with registrations in the past that match your symptoms (web logins work but not viewer logins), but we've done some updates this past Friday night at about 7pm Pacific time that should have resolved that. Did you register after that, or prior to that point? If you've registered since then, could you tell me the avatar name so that I can check the log for errors? It likely means there's still a problem there that others aren't bothering to report. In terms of Windows Server 2008 fixing it, I'm wondering if the script engine was having a problem fetching the script asset, that was resolved by changing OS, such as a firewall issue fetching the asset from WHIP (if you're using that). Especially if it's a KVM VM talking to Linux grid services. I'm also thinking that a CR/LF vs LF problem might explain the standalone vs gridmode aspect, if the assets were stored in standalone mode (standalone Windows region) then fetched from the Linux side later (or vice versa). It's not just a matter of toggling only the So to confirm, your scripts are compiling normally now, in grid mode? And if you could let me know the name of the avatar you were trying to log in with on InWorldz, I can investigate the registration problem there. Thanks. |
hi, i cant login with the name "hammer time" neither on the website and viewer, but i got the registration email saying: Welcome to InWorldz, hammer time! You will also need to download the latest viewer: We look forward to seeing you InWorldz! And the registration was today. Also Congratulations on this software i am amazed scripts work better than anywhere i have seen before. |
Wow, in checking the log, I found a serious problem affecting all user registrations, which I have now fixed. Thank you so much for mentioning that you could not log in and providing the avatar name. If you do want to try registering again as 'hammer time', this time it should go through correctly. And yes, regarding the scripts, a tremendous amount of effort was put into designing and building a very very fast, reliable and proper script engine (named Phlox), mostly by one of the InWorldz and Halcyon founders, David Daeschler. Many other Halcyon developers have provided additional support there, like LSL functions, but we're very proud of his work and the other work that followed. And we do pay a considerable amount of attention trying to maximize compatibility with the SL implementations, but there are a lot of extensions to the SL functions. Here's a list if Halcyon-specific functions, as well as the long list of bot functions. Those should all work in any Halcyon installation, but there are also six sandbox regions (InWorldz Sandbox 1 thru 6) on the InWorldz grid if you want to try the "reference" installation. Have fun, and thank you again for the report. |
Sorry to reopen this, i have the same issue again but i now figured the cause of it maybe something to look into, i added a new region also on windows server 2008, this time the only difference to the other regions is that this machine is running in my native language (german) and boom the issue is back, if i change the language to english the problem vanishes again |
I strongly suspect that there's a fair amount of code that assumes ASCII.
I've not checked, but I don't think any of us has tried switching the
server to any other language than English. Very Anglo-centric of us I know.
…On Mon, Apr 2, 2018 at 2:05 PM ThunderLife ***@***.***> wrote:
Sorry to reopen this, i have the same issue again but i now figured the
cause of it maybe something to look into, i added a new region also on
windows server 2008, this time the only difference to the other regions is
that this machine is running in my native language (german) and boom the
issue is back, if i change the language to english the problem vanishes
again
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#428 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABGoaI8hFq2wB_ACDeB46pOO8psC5BmJks5tkpKGgaJpZM4SlcR4>
.
|
@WhiteCoreWebUI Where are you using German? Are you pasting LSL text with German string constants into in-world scripts? If scripts, if you close the script and open it again, does it look like the end of the script is cut off (truncated)? |
no the OS is in german, as soon as the language is not english somehow the simulator has issues compiling the scripts |
@kf6kjg i suspect something like this and the reason i reopened this is i am probably not the last having this problem so if it comes up again knowing the cause will help troubleshooting others |
Ok so i was figuring the last 2 days out to get this running, ins standalon the script here: http://wiki.inworldz.com/izwiki/index.php/Premade_Vehicle_Scripts worked perfectly, in gridmode however i keep getting the message about "mismatched input ',' expected NEWLINE and that goes on for every script. any solution to that? OS is Windows 7 Ultimate 64bit for Halcyon.exe, Debian 9 for whip,and the grid servers (user grid and messaging)
The text was updated successfully, but these errors were encountered: