Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline explosivebob89  
#1 Posted : Saturday, May 26, 2012 4:55:11 PM(UTC)
explosivebob89
Private
Joined: 5/24/2012(UTC)
Posts: 5

Thanks: 1 times
whenever i start world builder i get an error message.

ASSETION FAILURE;0,
C;\projects\ZeroHour\code\Libraries\Source\WWVegas\WW3d2\dx8wr
apper.cpp, 210

I have no idea what this means and there is no file "projects" there
does any one know what this is?

Sponsor
Offline i^love^mixery  
#2 Posted : Saturday, May 26, 2012 9:36:07 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
i have no idea what it is.

maybe version incompatibility - either wrong version of worldbuilder or of the game.

did the same version of worldbuilder work before? did you modify your game? did you install the latest patch for your game? is it the latest worldbuilder?

sorry but without more information this is all i can say..
Offline explosivebob89  
#3 Posted : Saturday, May 26, 2012 9:56:54 PM(UTC)
explosivebob89
Private
Joined: 5/24/2012(UTC)
Posts: 5

Thanks: 1 times
iv been modding my game for a wile and its always worked but then one day it just started doing that. i removed mod, still not workin, reinstalled the game with update and no mod. still not workin
Offline Rrtaya_tsamsiyu  
#4 Posted : Sunday, May 27, 2012 1:39:04 AM(UTC)
Rrtaya_tsamsiyu
Colonel
Joined: 5/8/2012(UTC)
Posts: 615
United States
Location: USA, Tennessee, Home, Livingroom, couch.

Thanks: 102 times
Was thanked: 194 time(s) in 139 post(s)
does clicking ignore work? there's probably a dozen different errors WB can give me, but it always works when i click ignore.
one soul at a time
Offline acidbrain  
#5 Posted : Sunday, May 27, 2012 6:43:58 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Hey explosivebob,

Go to the ini-file named "Worldbuilder" in Documents and Settings/Command and Conquer Generals Zero Hour Data(same place where maps folder is) and open it.
Looks Like this:


If the default border or the mapsize is too big WB will crash.
It's a c++ error btw and the sourcecode of the game is hidden somehow so you don't get to see it.
Don't know if this is the problem in your case but check it out...

Edited by user Sunday, May 27, 2012 6:47:26 AM(UTC)  | Reason: Not specified

Panem et kirkinses
thanks 1 user thanked acidbrain for this useful post.
Rrtaya_tsamsiyu on 5/27/2012(UTC)
Offline i^love^mixery  
#6 Posted : Sunday, May 27, 2012 8:47:26 AM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
just delete/rename the entire worldbuilder.ini then you will see if the problem is fixed.
Offline acidbrain  
#7 Posted : Sunday, May 27, 2012 12:55:04 PM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Originally Posted by: i^love^mixery Go to Quoted Post
just delete/rename the entire worldbuilder.ini then you will see if the problem is fixed.

UserPostedImage

Why delete/rename the whole file while all you've got to do is "just" check/adjust a few parameters...Question

Panem et kirkinses
Offline i^love^mixery  
#8 Posted : Sunday, May 27, 2012 10:00:21 PM(UTC)
i^love^mixery
Colonel
Joined: 10/13/2008(UTC)
Posts: 782

Thanks: 7 times
Was thanked: 201 time(s) in 147 post(s)
because deleting it will show instantly if that file causes the error or not :P
Offline acidbrain  
#9 Posted : Monday, May 28, 2012 5:03:06 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
If you look at the error message you'll see "dx8wrapper.cpp, 210" at the end of the line.
That means that there'is an issue with directx(dx8)wrapper in the c++ script in line 210.
A wrapper is a layer(libraries) between the application and the hardware(graphicscard and Soundcard in particular) which takes care of the hardware acceleration.
If you look in the "Worldbuilder" ini-file most of the values can only be set to 0 or 1 in wb, check/uncheck.
The values that can mess up things really bad are the values which you can put in yourself with a number, "Default Map Height", "Default Map X-size", "Default Map Y-size", and "Default Map Border".
I changed the values to a big size and i got exactly the same error explosivebob had.(see pic)

It's something like this:
***IF***
Assertion is ok (measurements of map for instance)
***THEN***
Execute program
***ELSE***
Return error message

Just like scripting in worlbuilder(boulean)

Those EA guys never really finished the software thats why it's giving those messages, also when you use the height tool.
The assertion failure indicates that the WorldBuilder was compiled as a "debug edition", which means it contains extra error checking.

Oh btw if you go to the directory where you've installed the game there are 2 files called
"wb_DebugLogFileI" and "wb_DebugLogFilePrevI", these are logfiles in which you can see what happend when wb crashed.
This was in there when mine crashed with the mapsize settings set to a too high value
Code:

Init DX8Wrapper
DX8Wrapper main thread: 0xa28
Reset DX8Wrapper statistics
Create Direct3D8
Enumerate devices
DX8Wrapper Init completed
Allocate Debug Resources
Init Dazzles
WW3D Init completed
Attempting Set_Render_Device: name: NVIDIA GeForce GTS 250 (nvd3dum.dll:8.17.12.9610), width: 1024, height: 768, windowed: 1
Found zbuffer mode D3DFMT_D24S8
Using Display/BackBuffer Formats: D3DFMT_X8R8G8B8/D3DFMT_A8R8G8B8
ThreadClass::Execute: Started thread Texture loader thread, thread ID is 39C
Reset/Create_Device done, reset_device=0, restore_assets=1
ShaderManager ChipsetID 11
Targa: Failed to open file "trstrtholecvr.tga"
Vertex buffer creation failed, trying to release assets...
E_OUTOFMEMORYASSERTION FAILURE: 0, C:\projects\ZeroHour\code\Libraries\Source\WWVegas\WW3D2\dx8wrapper.cpp, 210
Stack Dump:
  <Unknown>(-1) : <Unknown> 0x006BCC7A
  <Unknown>(-1) : <Unknown> 0x004F9645
  <Unknown>(-1) : <Unknown> 0x00C19014
  <Unknown>(-1) : <Unknown> 0x004E7EE0
  <Unknown>(-1) : <Unknown> 0x9090C300
[Ignore]

I took the last part, there's a lot more, check it out.
As you can see " E_OUTOFMEMORYASSERTION FAILURE: 0, C:\projects\ZeroHour\code\Libraries\Source\WWVegas\WW3D2\dx8wrapper.cpp, 210"
there's the famous error...:P
Simply out of memory...
I ignored it and got the also famous "C++ runtime error"

Hope i explained it a bit better now....:P

Edited by user Monday, May 28, 2012 5:34:31 AM(UTC)  | Reason: Not specified

acidbrain attached the following image(s):
Error.JPG
Panem et kirkinses
Offline explosivebob89  
#10 Posted : Monday, May 28, 2012 4:19:00 PM(UTC)
explosivebob89
Private
Joined: 5/24/2012(UTC)
Posts: 5

Thanks: 1 times
Damn acid brain you sure know what your talking about in this, and it worked! sry i forgot to check back to this forum in awile. (was playing ROTR 1.7 beta for a wile there)

Thx for the help dude
Users browsing this topic
Guest
Similar Topics
World builder error... (Generals: Modding)
by braxt 9/30/2015 5:45:35 PM(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.