iCade Posted December 1, 2012 Share Posted December 1, 2012 I truly don't understand this, possibly someone could help me shed a light on this!I have bought some textures, that came with a texture change script. When I apply said script to my product, along with an animation script the products entire script size is [2/2] 32KB.Now, when I make a new script, copy and paste the LSL code into it so I appear as the creator, and replace it with the supplied one within the product it says: [2/2] 80KB.I copy pated the code of the full perm script one to one, yet the product goes up to 80KB. When I take the script that shows me as the creator out, and put the supplied one back in, the product goes back down to 32KB.Why is this happening? Link to comment Share on other sites More sharing options...
Ciaran Laval Posted December 1, 2012 Share Posted December 1, 2012 Do both scripts have the mono box ticked? Link to comment Share on other sites More sharing options...
iCade Posted December 1, 2012 Author Share Posted December 1, 2012 Ciaran Laval wrote: Do both scripts have the mono box ticked? I'm sorry, but I can't find such a box on or in either scripts? Perhaps my viewer hides it and I have to manually make it appear? I don't know where though D: Link to comment Share on other sites More sharing options...
Rolig Loon Posted December 1, 2012 Share Posted December 1, 2012 Right at the bottom of the script editing panel, next to the "Running" box. Link to comment Share on other sites More sharing options...
iCade Posted December 1, 2012 Author Share Posted December 1, 2012 Rolig Loon wrote: Right at the bottom of the script editing panel, next to the "Running" box. This is what I see: I can neither find running, nor mono anywhere. Link to comment Share on other sites More sharing options...
Rolig Loon Posted December 1, 2012 Share Posted December 1, 2012 Wow! What viewer are you using? How about if you try Build >>> Scripts >>> Recompile Scripts (Mono) ? 1 Link to comment Share on other sites More sharing options...
Innula Zenovka Posted December 1, 2012 Share Posted December 1, 2012 I think iCade's script is still in inventory, Rolig, while yours is in a rezzed prim. 1 Link to comment Share on other sites More sharing options...
Rolig Loon Posted December 1, 2012 Share Posted December 1, 2012 Oh, right. :smileyembarrassed: Link to comment Share on other sites More sharing options...
Miranda Umino Posted December 3, 2012 Share Posted December 3, 2012 The numbers are wrong : they tell 64kb per mono script even if the mono script takes less memory . and 16kb per script not-mono . 32 KB = 2 scripts not compiled in mono (2 * 16) ; 80 kb = 1 script compiled in mono , 1 script not compiled in mono ( 64 +16) If you want to know memory , use the function llGetUsedMemory inside the code of your script s Link to comment Share on other sites More sharing options...
iCade Posted December 3, 2012 Author Share Posted December 3, 2012 Thanks everyone That did the trick! 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