Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Mapping the ProductionQueue and ProductionQueueChange block
Mapping the ProductionQueue and ProductionQueueChange block Thu, 23 April 2020 16:50 Go to next message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 221
Registered: January 2012
Location: NC
Does anyone have the ProductionQueue and ProductionQueueChange blocks mapped?

I'd like to tackle fixing the Ar Starter Colony bug and the Cheap Starbase bugs, but I can't find much on the ProductionQueue block.

I've got the data on the Starbase Design slots, so I should be able to map it to the queue if I can map the queue.

Thanks!

Rick


[Updated on: Thu, 23 April 2020 18:50]




https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: Mapping the ProductionQueue and ProductionQueueChange block Tue, 28 April 2020 17:25 Go to previous messageGo to next message
raptor is currently offline raptor

 
Chief Warrant Officer 1
Creator of StarsWine
Created StarsWine

Messages: 138
Registered: June 2014
(just to follow up on the forums)

We have most the block mapped out in the StarsAPI now. See:

https://github.com/stars-4x/starsapi/commit/05131f4ffa73e916 b8c755627b83b6b950b68a0a

Report message to a moderator

Re: Mapping the ProductionQueue and ProductionQueueChange block Tue, 28 April 2020 19:59 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 221
Registered: January 2012
Location: NC
Yeah, I've made a lot of progress since that post.

So what's interesting about the ProductionQueueChange Block, unlike at least many of the other blocks, is that, in the .x file, they don't stack.

In other words, if I:
-Create a ship design
-Change the ship design, edit the ship design
-Edit the ship design
-edit the design again
-edit the design again

I get entries for every change in the DesignChange block

The ProductionQueueChange block doesn't appear to work that way. It's just a list of what's current in the planet production queue. Massively easier to process, because whatever it is, it is. The DesignChange block is multiple entries.



https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: Mapping the ProductionQueue and ProductionQueueChange block Tue, 28 April 2020 20:23 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 221
Registered: January 2012
Location: NC
Now what I need is the FleetMove block (for the 32k bug). Which isn't mapped there. Sad


https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: Mapping the ProductionQueue and ProductionQueueChange block Wed, 29 April 2020 19:16 Go to previous messageGo to next message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 221
Registered: January 2012
Location: NC
ricks03 wrote on Tue, 28 April 2020 19:59

The ProductionQueueChange block doesn't appear to work that way. It's just a list of what's current in the planet production queue.
Yup, this is wrong.
.x file
BLOCK:9,Offset:18,Bytes:17 DATA DECRYPTED:28 0 84 117 220 1 165 220 166 89 122 197 97 8 0 0 170
BLOCK:29,Offset:37,Bytes:10 DATA DECRYPTED:19 0 1 24 2 0 3 36 2 0
BLOCK:29,Offset:49,Bytes:10 DATA DECRYPTED:19 0 3 0 2 0 1 8 2 0
BLOCK:29,Offset:61,Bytes:2 DATA DECRYPTED:19 0

Darn it.



[Updated on: Wed, 29 April 2020 19:17]




https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Re: Mapping the ProductionQueue and ProductionQueueChange block Wed, 03 June 2020 01:34 Go to previous message
ricks03 is currently offline ricks03

 
Officer Cadet 1st Year
Creator of TotalHost and Stars! utilities
Created TotalHost and Stars! utilities

Messages: 221
Registered: January 2012
Location: NC
I now have this block mapped.


https://www.irelandbybicycle.com
http://totalhost.sinister.net:999
https://github.com/ricks03/TotalHost

Report message to a moderator

Previous Topic: AR Starter Colony bug fixed JRC4 (??)
Next Topic: Graphing player resources
Goto Forum:
  


Current Time: Wed Feb 01 08:24:36 EST 2023