Mirage Source
http://miragesource.net/forums/

Run-Time Error - 2005532292
http://miragesource.net/forums/viewtopic.php?f=201&t=2556
Page 1 of 5

Author:  Mario [ Tue Aug 28, 2007 3:55 am ]
Post subject:  Run-Time Error - 2005532292

I found the fix but I dont quit understand it... It says the i variable is not defined

Author:  Matt [ Tue Aug 28, 2007 12:00 pm ]
Post subject:  Re: Run-Time Error - 2005532292

dim i as byte

Are you using video memory?

Author:  Robin [ Tue Aug 28, 2007 3:30 pm ]
Post subject:  Re: Run-Time Error - 2005532292

That RTE looks familiar...

Author:  Rezeyu [ Tue Aug 28, 2007 6:32 pm ]
Post subject:  Re: Run-Time Error - 2005532292

It's an automation error prolly, only DirectX errors go negative really.

Author:  Mario [ Thu Aug 30, 2007 6:41 am ]
Post subject:  Re: Run-Time Error - 2005532292

So no one can help?

Author:  genusis [ Thu Aug 30, 2007 9:27 am ]
Post subject:  Re: Run-Time Error - 2005532292

Its ether you need a newer dx download for your computer or you need to reregister dx7vb.dll.
if nether of these work then take your computer out back and hit it a few times with a baseballbat to help vent your anger. The people come across this error allot when they use mirage source for some strange resin.. ether because they use vista or the dx doesn’t have everything its expost to or its not registering correctly.

Author:  Rezeyu [ Thu Aug 30, 2007 9:31 am ]
Post subject:  Re: Run-Time Error - 2005532292

No, it's an automation error. You get it when something DX related is messed up in the code, if DX wasn't registered he'd get RTE646 or whatever it was.

If you pass anything that shouldn't be passed into anything directX related you usually get it.

Author:  genusis [ Thu Aug 30, 2007 10:04 am ]
Post subject:  Re: Run-Time Error - 2005532292

the weird part was i go this once. all i did was reregister dx and it fixed it never had a problem with it agian.

Author:  Mario [ Thu Aug 30, 2007 10:08 am ]
Post subject:  Re: Run-Time Error - 2005532292

I am still clueless

Author:  genusis [ Thu Aug 30, 2007 10:10 am ]
Post subject:  Re: Run-Time Error - 2005532292

Ok mario show me the fix you found. and then show me what exactly it hightligth the whole line not just a part.

Author:  Coke [ Thu Aug 30, 2007 10:52 am ]
Post subject:  Re: Run-Time Error - 2005532292

Dim i as something?

Seriously am i just being retarded, or could it be possible he just hasnt declared it? xP

Author:  Matt [ Thu Aug 30, 2007 12:05 pm ]
Post subject:  Re: Run-Time Error - 2005532292

That would be "Variable not defined." Not an automation error.

How much RAM does your computer have, and did it run fine before you added that tutorial in?

Author:  genusis [ Thu Aug 30, 2007 12:42 pm ]
Post subject:  Re: Run-Time Error - 2005532292

I would like to know this as well.

Author:  Mario [ Thu Aug 30, 2007 8:47 pm ]
Post subject:  Re: Run-Time Error - 2005532292

Alright I should have been more specific, lol. Here is the problem:

I load the server with ease, then i run the client, sign into my account and log on. Mirage opens and then says:

Run-time error '-2005532292 (8876017c)':
Automation error

I click okay and the whole thing closes. So the fix I thought I found was above this thread and it was called "Run Time Error Fixes" So I press Ctrl-F and search for "2005532292" and i get this:

Quote:
Run-Time Error - 2005532292 (8876017c):
I had to redo all my tile sets, so they had a correct size. Which seems strange to me. =/


Code:
Set DD_TileSurf(i) = DD.CreateSurfaceFromFile(App.Path & "\GFX\tiles" & i & ".bmp", DDSD_Tile(i))

http://hosted.yourimg.com/05/157/15/error.jpg

The problem to this might be the windows, so try to do this:
Start>Run>regsvr32 dx7vb.dll


So I go to my Client in VB and search for "Set DD_TileSurf" and find this:

Quote:
' Init tiles ddsd type and load the bitmap
With DDSD_Tile
.lFlags = DDSD_CAPS
.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY
End With
Set DD_TileSurf = DD.CreateSurfaceFromFile(FileName & "tiles" & GFX_EXT, DDSD_Tile)
DD_TileSurf.SetColorKey DDCKEY_SRCBLT, Key


So thats as far as i have reached in fixing this... Any help? Oh and theres 500 something RAM on my computer.

Author:  Ambientiger [ Thu Aug 30, 2007 11:43 pm ]
Post subject:  Re: Run-Time Error - 2005532292

I found this after i googled for the runtime error.

If you get an error 'Run-time error '-2005532292 (8876017c)': Automation error when starting Shape Viewer - this error code translates to "out of video memory". If your card has more than 32Mb on board, then it is likely the video driver is not working properly or is not up to date.

I thought I recognised the symptoms from a konfuze or elysium error a while ago.
Are the video card drivers your using the latest available?
You may have to re-register the DX7 .dll after you upgrade the drivers (can someone confirm for me please, i'm not sure on this)
Are you using a really large tileset?

Although it may not be just your tileset that is causing the problem - total up the size of all the graphics files your using and compare that to the size of the memory on you GFX card.

EDIT: Just an afterthought, does your tileset file, or any other graphics file your using for that matter, have any extra empty space past the end of the tiles .bmp files have a nasty habit of basing their size on the entire size of the picture including blank space. If so you may get away with just resizing them in paint.

Author:  Matt [ Fri Aug 31, 2007 12:05 am ]
Post subject:  Re: Run-Time Error - 2005532292

His video will only come into play if he's using video memory instead of the default system memory.

Author:  Mario [ Fri Aug 31, 2007 12:34 am ]
Post subject:  Re: Run-Time Error - 2005532292

No worries everyone! I have solved the problem... I just cleaned out my memory, updated windows, reinstalled DX and resized my tiles... haha thanks everyone

Author:  Ambientiger [ Sat Sep 01, 2007 12:20 am ]
Post subject:  Re: Run-Time Error - 2005532292

Perfekt wrote:
His video will only come into play if he's using video memory instead of the default system memory.


.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

Is it the DDSCAPS_OFFSCREENPLAIN that refers to system memory??
I was gonna start learning some more about DX7 but got held up on getting my engine ready for production.

Was kinda hoping that loading everything directly into video memory might go towards speeding things up a bit?

P.S sorry for the hijack, but did't see the point in making a new thread just for a quick question.

Author:  Lea [ Sat Sep 01, 2007 12:22 am ]
Post subject:  Re: Run-Time Error - 2005532292

DDSCAPS_VIDEOMEMORY puts the graphics into video memory. Leave it off and they go into system memory.


OFFSCREENPLAIN means it's never seen directly.

Author:  Rezeyu [ Sat Sep 01, 2007 12:25 am ]
Post subject:  Re: Run-Time Error - 2005532292

In my experience, anytime someone's used video memory, it always causes Automation Errors for computers with a different Video Card.

Author:  genusis [ Sat Sep 01, 2007 4:18 am ]
Post subject:  Re: Run-Time Error - 2005532292

if i remeber rigth i thinks thats what i said.thats somthign i tell my members to do lol.

Author:  Ambientiger [ Sat Sep 01, 2007 10:27 am ]
Post subject:  Re: Run-Time Error - 2005532292

Dave wrote:
DDSCAPS_VIDEOMEMORY puts the graphics into video memory. Leave it off and they go into system memory.
OFFSCREENPLAIN means it's never seen directly.


'kk, thanks Dave.

Rezeyu wrote:
In my experience, anytime someone's used video memory, it always causes Automation Errors for computers with a different Video Card.


Always good to know what NOT to do, thnxs mate. :wink:

Author:  genusis [ Sat Sep 01, 2007 10:37 am ]
Post subject:  Re: Run-Time Error - 2005532292

to fix this error for some of you here

find

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

change it to

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

happy know people...... :x

Author:  Robin [ Sat Sep 01, 2007 12:16 pm ]
Post subject:  Re: Run-Time Error - 2005532292

genusis wrote:
to fix this error for some of you here

find

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_VIDEOMEMORY

change it to

.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Or DDSCAPS_SYSTEMMEMORY

happy know people...... :x


...

People have been saying that for the past two pages!

...

Author:  genusis [ Sat Sep 01, 2007 12:36 pm ]
Post subject:  Re: Run-Time Error - 2005532292

Actully they didnt say how to use it. and they just talked about VIDEOMEMORY
and OFFSCREENPLAIN. now please get out of the box you call a house.

Page 1 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/