Jump to content

Recommended Posts

Posted

Chatting on IRC yesterday, I was told that the maximum number of installations is 2067. This leads me to wonder what the maximum number of installations is for the other categories might be. If it is listed somewhere, just point me in the right direction.

 

Akmatov

Posted

Well, you were told the maximum number of installations is 2047, just so nobody gets on the wrong track here...

 

That is the maximum for each annex (ship, sub, plane, dumb bombs, missiles, nukes, installations, ...).

Posted
Well, you were told the maximum number of installations is 2047, just so nobody gets on the wrong track here...

 

That is the maximum for each annex (ship, sub, plane, dumb bombs, missiles, nukes, installations, ...).

 

11 bits per annex, minus 0 that has special meaning ?

Don't tell me you're doing segmented memory pointer like stuff, are you ? ;)

In it's those situations, you see how old the foundation is.

I salute you for loving this code like you do :)

Posted
Well, you were told the maximum number of installations is 2047, just so nobody gets on the wrong track here...

 

That is the maximum for each annex (ship, sub, plane, dumb bombs, missiles, nukes, installations, ...).

 

11 bits per annex, minus 0 that has special meaning ?

Don't tell me you're doing segmented memory pointer like stuff, are you ? ;)

In it's those situations, you see how old the foundation is.

I salute you for loving this code like you do :)

 

There is a mechanism in there that came before me. Each annex in theory could have 4096 entries (12 bits) but instead it is divided into a disk annex (2047) and a memory annex (2047) with the two spares left over to reduce the effects of any off-by-one errors that haven't been addressed already. Once or twice I've attempted to use the full 4096 (disk IDs only) but didn't make it thru all of the challenges. The long term plan is as we've discussed to raise the limits as to be meaningless.

Posted
Well, you were told the maximum number of installations is 2047, just so nobody gets on the wrong track here...

 

That is the maximum for each annex (ship, sub, plane, dumb bombs, missiles, nukes, installations, ...).

 

Opps, doing this from the office by memory without notes.

 

Nice to know that the 2047 max relates to all annexs.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...