logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 111 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 03-23-2005, 01:01 PM   #1 (permalink)
Member
 
Join Date: Mar 2005
Posts: 47
Default Curious Assertion Failure in Worldbuilder

I added another upgrade to my mod, and now every time I start Worldbuilder I get this message: "ASSERTION FAILURE: Can't have over 128 types of upgrades and have a Bitfield function."

Whatever that means, it doesn't seem to be too serious. The game runs normally as far as I can tell, but just the same if anyone knows what this message is talking about let me know.
Dukester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 02:47 PM   #2 (permalink)
Senior Member
 
Join Date: Aug 2004
Location: Philippines
Posts: 339
Send a message via MSN to IraqiPeopleRocks Send a message via Yahoo to IraqiPeopleRocks
Default

How many upgrades did u do? because C&C Generals or ZeroHour have a 128 upgrade limit try reducing it to 123

PS: it that does not work i cant help
IraqiPeopleRocks is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 03:07 PM   #3 (permalink)
Member
 
Join Date: Mar 2005
Posts: 47
Default

I have no idea, but I would guess 129 since only the last one I added triggered the message. Why is there a limit on upgrades and why doesn't this seem to make much difference?
Dukester is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 07:07 PM   #4 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: Rep. of Ireland
Posts: 373
Default

beats me why the heck there's a limit on upgrades, that means that for some strange reason EA decided to hop back in time and create a limited storage structure.

What on earth are these guys on? Ever heard of Linked Lists??
Waraddict is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-23-2005, 07:10 PM   #5 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

The limit on upgrades is because they use a 128 bit integer for upgrades. They then simply have to logically or the bitmask of the upgrade with the current upgrade mask, and they have a very fast cheap way to add upgrades. It's a clever optimization, as an upgrade check requires a single logical and. It also means that there is a hard limit somewhere for the number of upgrades. 128 bits is a good choice, as it is a multiple of 32 bits, which is what most processors like to work in. It's a matter of fast code versus expandability. They picked a limit that would provide everything that they need, and used it.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just Curious - Superweapon Screw Ups tmapm Red Alert 2 & Yuri's Revenge Editing 27 09-18-2005 05:43 AM
Assertion failure?????? battler121uk Generals & Zero Hour Editing 2 07-04-2005 12:39 PM
Vexing Assurtion failure preventing game load Xenomorph Generals & Zero Hour Editing 3 06-19-2005 08:29 PM
Just curious Phoib Generals & Zero Hour Editing 7 07-09-2003 04:29 PM
Just curious Carbon Generals & Zero Hour Editing 2 06-29-2003 10:44 AM


All times are GMT -4. The time now is 02:16 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.