Shihan Feiri Posted August 4, 2011 Share Posted August 4, 2011 I have make online indicator funktion that change texture when Online/offline.Now, everything works fine, but i recive every time error that texture is not in object. I have use texture uuid key in configuration notecard, and full Perm texture is in object that is sort of container for textures inworld. So i cant figure why is error message appears. Is there some way to see where problem is with debug error message?Script have no errors when i save, and I repet, everything is working fine. Except this error message.. I'm now little puzzled. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 4, 2011 Share Posted August 4, 2011 Did you make sure, the UUID gets read correctly? What exactely does the error message say? Did you try to load the texture to another object with a very simple script that excludes all other possible causes? default { touch_end(integer num) { llSetTexture("xxxxxxxxxx", -1) }} Link to comment Share on other sites More sharing options...
Shihan Feiri Posted August 4, 2011 Author Share Posted August 4, 2011 Yes i try in another object and everything is ok Error message is --> Could not find texture ''. Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 4, 2011 Share Posted August 4, 2011 We are getting closer: the '' means that an empty string is passed to the llSetTexture - I would guess there is something wrong in your note card reader Link to comment Share on other sites More sharing options...
Shihan Feiri Posted August 4, 2011 Author Share Posted August 4, 2011 strange, because everything works, mybe is in notecard wrong format. I have str8 UUId. Mybe I need quotation marks around UUID Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 4, 2011 Share Posted August 4, 2011 just try and add llOwnerSay("tis is the UUID: " + UUID); just before you set the texture to make sure Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 4, 2011 Share Posted August 4, 2011 Most of the time, LSL treats a key as a string variable, but not always. I can't ever tell when it's important. Try defining the texture as key texture_UUID = "the UUID goes here" instead of string texture = "the UUID goes here" Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted August 4, 2011 Share Posted August 4, 2011 I weas thinking that as well - but doesn't llSetTexture expext a string which the function then treats as a key? Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 4, 2011 Share Posted August 4, 2011 I can't ever tell. That's why I said "try". :smileywink: Link to comment Share on other sites More sharing options...
Void Singer Posted August 4, 2011 Share Posted August 4, 2011 code would be helpful, much as I like playing 20 questions.... Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now