Page 1 of 1
[29 Jan 2010] Found a bug
Posted: Sat Jun 13, 2020 5:32 pm
by nexus
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 29 Jan 2010 12:30:25 -0000
If you accidentally give the same layer name to a
TextOut()-object, a system crash is caused with HW4.5 (on AOS3.x).
Here an example:
Code: Select all
@VERSION 4,5
@DISPLAY { Width=640, Height=480, Color = #BLACK, Title = "test"}
EnableLayers()
CreateBGPic(1, 640, 480, #GRAY)
DisplayBGPic(1)
SelectBGPic(1)
TextOut(100,100,"texttext",{name="mytext"})
TextOut(100,100,"text2text",{name="mytext"})
EndSelect()
Happy hunting! Tom
[30 Jan 2010] Re: Found a bug
Posted: Sat Jun 13, 2020 5:32 pm
by Bugala
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 30 Jan 2010 08:43:19 -0000
I dont think thats bug. I think its supposed to work that way.
For each layer must have their unique ID (or name), so if you make new layer and assign same name to it than to already existing one, then how are you going to address them separately anymore?
And if i rightly remember, when i accidentally have done that too by loop going and executing same line twice (in certain cases only), i think error message was about "layer name already exists".
[30 Jan 2010] Re: Found a bug
Posted: Sat Jun 13, 2020 5:32 pm
by nexus
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 30 Jan 2010 14:14:04 +0100
If Hollywood crashes, and even worse, if the entire operating system crashes, it is for sure a bug
Of course, each layer has to have different names, but if not, then it shouldn't bring up a guru meditation
If i execute the script below, then the chrash happens everytime.
regards, Tom
[31 Jan 2010] Re: Re: Found a bug
Posted: Sat Jun 13, 2020 5:32 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 31 Jan 2010 21:57:23 +0100
If Hollywood crashes, and even worse, if the entire operating system crashes, it is for sure a bug
Of course, each layer has to have different names, but if not, then it shouldn't bring up a guru meditation
If i execute the script below, then the chrash happens everytime.
Yes, here too. I've fixed this. Thanks for the report.