URL:
  <http://gna.org/bugs/?8874>

                 Summary: Derricks assigned to power generator not saved
                 Project: Warzone Resurrection Project
            Submitted by: None
            Submitted on: Samstag 07.04.2007 um 16:35 CEST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.0.6
        Operating System: All

    _______________________________________________________

Details:

When building a power generator and then building one to four derricks the
derricks are assigned to that generator so the energy is produced by that
generator using the one to four derricks.

Building another generator now won't affect the first generator or more
exactly the assignments. Saving the game and loading it directly afterwards
will bring up the problem: The derricks are assigned to the second power
generator and not to the first one (if you cannot reproduce this, read my
guess on that problem at the end of this report).

If you are not playing with power modules this is no problem as both power
generators are providing the same energy production rate. On destruction of
one generator the other will have the "free" derricks assigned, so this, too,
is no problem at all.

The problem comes up when having built a first power generator with power
module, then one to four derricks and then another power generator (without
module). When saving and then loading the power generator without a power
module gets the derricks assigned which will result in a lowered energy
production rate.

My guess on how this bug works:
When saving the game, warzone saves the coordinates of every building + some
additional stuff like whose building it is. It neither saves the number of
assigned derricks nor saves which derrick is assigned to which generator.
When loading, the game "scans" the map for derricks and for generators,
probably starting in the top left corner of the map and then scanning through
it from left to right and top to bottom. Then the derricks are assigned to the
power generators starting with the last power generator found.

Remember: It's a guess, I have not looked at the source-code.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?8874>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to