blue line in screen top??

Started by spook1, Tue 22/06/2004 20:27:31

Previous topic - Next topic

spook1

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????

scotch

This is in the beginner's FAQ, http://www.rain-day.com/harbinger/faq/#guis
First question in the GUIs section.

spook1

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

scotch

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?

spook1

I only use one gui at the bottom of the screen. This line cannot be connected to the GUI

Gilbert

But did you ever tried setting the GUI of the top bar to popup modal (which was initially there) ?

Scorpiorus

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. :)

spook1

that's it, it is in the linear equations plugin.
How can I remove it? i did not write the plugin myself...

Scorpiorus

#8
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.

spook1

after modifying the blue-line code lines, we recompiled using VC++ Version7.
It results in an errormessage:
Code: ags

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:
Code: ags

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??

Scorpiorus

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)

spook1

Thanks, problem is solved!
Your help is greatly appreciated :-)

SMF spam blocked by CleanTalk