Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: spook1 on Tue 22/06/2004 20:27:31

Title: blue line in screen top??
Post by: spook1 on Tue 22/06/2004 20:27:31
I have a blue line in my screen top: see http://www.xs4all.nl/~koops/ags/screengrab.bmp
Does anyone know howe t get rid of it?
i think it has something to do with a gui, but which one????
Title: Re: blue line in screen top??
Post by: scotch on Tue 22/06/2004 20:29:56
This is in the beginner's FAQ, http://www.rain-day.com/harbinger/faq/#guis
First question in the GUIs section.
Title: Re: blue line in screen top??
Post by: spook1 on Tue 22/06/2004 22:04:49
this is about a gray gui. i mean the blue line as it is visible in the picture  http://www.xs4all.nl/~koops/ags/screengrab.bmp
Title: Re: blue line in screen top??
Post by: scotch on Wed 23/06/2004 01:39:10
I can see it's a line now, thought it might just be the status bar GUI with the background turned black.
I have no idea what it is now, have you made sure all the GUIs you don't need are set to Popup Modal, for their visibility?
Title: Re: blue line in screen top??
Post by: spook1 on Wed 23/06/2004 09:24:35
I only use one gui at the bottom of the screen. This line cannot be connected to the GUI
Title: Re: blue line in screen top??
Post by: Gilbert on Wed 23/06/2004 09:46:30
But did you ever tried setting the GUI of the top bar to popup modal (which was initially there) ?
Title: Re: blue line in screen top??
Post by: Scorpiorus on Wed 23/06/2004 10:56:57
Hehe, I think I know what it is. There is a template file being supplied in the plugin development kit with a test code to draw a blue line across the top edge of the screen. Seems like you use a plugin in which that test code wasn't removed. Try creating a quick test game and check all plugins you are using. You don't have to call plugin functions but just enable one or another and test the game to see if the blue line appears. Eventually, you should find out which of the plugins (in case you have several ones) draws it. :)
Title: Re: blue line in screen top??
Post by: spook1 on Wed 23/06/2004 13:03:05
that's it, it is in the linear equations plugin.
How can I remove it? i did not write the plugin myself...
Title: Re: blue line in screen top??
Post by: Scorpiorus on Wed 23/06/2004 14:07:56
You should edit the source code and remove the related lines. Specifically, you should comment out the line "engine->RequestEventHook (AGSE_POSTSCREENDRAW);" in the "ags_solver.cpp" file and rebuild the project.

EDIT: You of course need a Visual C compiler to rebuild it. I don't have one right here, sorry.
Title: Re: blue line in screen top??
Post by: spook1 on Fri 25/06/2004 17:21:28
after modifying the blue-line code lines, we recompiled using VC++ Version7.
It results in an errormessage:

De toepassing of DLL-bestand D:\koops\gameeditor\AGS editor 256_1\AGS_Solver.dll is geen geldige Windows-kopie. Controleer dit op uw installatiediskette.

I have this freely translated as:

the application or dll-file D:\koops\gameeditor\AGS editor 256_1\AGS_Solver.dll is not a valid Windows-copy.Check this on your installationdiskette

Can it be that version 7 of VC++ is not supported??
Title: Re: blue line in screen top??
Post by: Scorpiorus on Fri 25/06/2004 18:31:30
Hmm, seems like it doesn't recognize a library file. I'm not sure here since I use VC6.

Anyway, I have buit a fixed version:

http://www.geocities.com/scorpiorus82/ags_solver2_f.zip (copy the link and paste it to the address bar)
Title: Re: blue line in screen top??
Post by: spook1 on Fri 25/06/2004 21:54:57
Thanks, problem is solved!
Your help is greatly appreciated :-)