Influence of saving and loading on destruction of Phantoms

hi · 1917

hi

  • Jr. Member
  • **
    • Posts: 65
Hi,
Situation: A Phantom Coil attacks a few Phantoms and manages to kill them.
In the progress of the destruction of the Phantoms I save and later load the game again. This time the Phantom Coil does not manage to kill them.

Video (42secs):
http://www.youtube.com/watch?v=TB9eflCxlvU



UpperKEES

  • Hero Member
  • *****
    • Posts: 5525
  • The Creeper is getting deeper.... into me.
Good catch!

Apparently the health of phantoms isn't being stored correctly:



When saving both phantoms had less then 50% health.



After reloading the game they are back at 100% again.

My CW1 maps: downloads - overview
My CW2 maps: downloads - overview


Grauniad

  • Global Moderator
  • *****
    • Posts: 7365
Oh boy, I wonder if Virgil already saves health status in the save file? Or will this nuke all save files out there?  Hmm.. does it do the same on, for instance, shield health? Or done health?

A goodnight to all and to all a good night - Goodnight Moon


UpperKEES

  • Hero Member
  • *****
    • Posts: 5525
  • The Creeper is getting deeper.... into me.
Or will this nuke all save files out there?

No problem when attributes are being saved with an XML-tag, like in CW1.

My CW1 maps: downloads - overview
My CW2 maps: downloads - overview


Ebon Heart

  • Hero Member
  • *****
    • Posts: 2460
  • I'm back. For now. Hi guys!
Hopefully that's fixed before people figure out how to exploit it.

When the going gets tough, the tough get going. The smart left a long time ago.
Check out the amazing A Tragedy Forgotten CW2 map series!


Fisherck

  • Hero Member
  • *****
    • Posts: 2072
  • There is always a bigger fish...
Hopefully that's fixed before people figure out how to exploit it.

This seems to be a very negative scenario. I do not see how this could be exploited. :P

My CW2 Maps
My CW1 Maps
The comments are here to comment, dare to use them.


UpperKEES

  • Hero Member
  • *****
    • Posts: 5525
  • The Creeper is getting deeper.... into me.
I do not see how this could be exploited.

By recommending others to save their game more frequently, especially when under phantom attack (just to be sure). ;D

My CW1 maps: downloads - overview
My CW2 maps: downloads - overview


Ebon Heart

  • Hero Member
  • *****
    • Posts: 2460
  • I'm back. For now. Hi guys!
Does it work for units too? Theoretically, you could give your LS infinite health using this same method if it does. Let it take some damage, save your game, then load it again and let it destroy more drones. Something like that.

When the going gets tough, the tough get going. The smart left a long time ago.
Check out the amazing A Tragedy Forgotten CW2 map series!


thepenguin

  • Hero Member
  • *****
    • Posts: 3038
  • "What if ..."
Does it work for units too? Theoretically, you could give your LS infinite health using this same method if it does. Let it take some damage, save your game, then load it again and let it destroy more drones. Something like that.

unfortunately, no, virgil fixed it

We have become the creeper...


Ebon Heart

  • Hero Member
  • *****
    • Posts: 2460
  • I'm back. For now. Hi guys!
So it just does that with phantoms then?

When the going gets tough, the tough get going. The smart left a long time ago.
Check out the amazing A Tragedy Forgotten CW2 map series!


thepenguin

  • Hero Member
  • *****
    • Posts: 3038
  • "What if ..."
Reply #10 on: May 22, 2011, 01:55:57 pm
So it just does that with phantoms then?

and about 15 other things, until virgil fixed them :P
« Last Edit: May 22, 2011, 02:59:05 pm by thepenguin »

We have become the creeper...


UpperKEES

  • Hero Member
  • *****
    • Posts: 5525
  • The Creeper is getting deeper.... into me.
Reply #11 on: May 22, 2011, 02:02:38 pm
and about 15 other things, until virgil fixed that :P

Why do you say that? Everything else works just fine. The health of drones for instance is being saved as it should be.

My CW1 maps: downloads - overview
My CW2 maps: downloads - overview


thepenguin

  • Hero Member
  • *****
    • Posts: 3038
  • "What if ..."
Reply #12 on: May 22, 2011, 03:00:08 pm
and about 15 other things, until virgil fixed that :P

Why do you say that? Everything else works just fine. The health of drones for instance is being saved as it should be.

works = present tense
fixed = past tense
everything works fine now, because virgil fixed them.

We have become the creeper...


knucracker

  • Administrator
  • *****
    • Posts: 11749
Reply #13 on: May 22, 2011, 03:48:02 pm
Good catch.  Easy fix as well.
I do use XML, so it is easy to add the extra field and not break previous saves.

This will be fixed in the next update (which will include other goodies as well)