Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

campaign gamma last mission won't end #2126

Closed
wzdev-ci opened this issue Aug 28, 2010 · 30 comments
Closed

campaign gamma last mission won't end #2126

wzdev-ci opened this issue Aug 28, 2010 · 30 comments

Comments

@wzdev-ci
Copy link
Contributor

keyword_map_missionend_gamma_campaign_wont_no_doesnt resolution_closed type_bug | by corvuscorax@...


I've just played through the campaign, but despite the nexus HQ being destroyed and seemingly no enemy units left, the map won't recognize the victory and keeps playing forever


Issue migrated from trac:2126 at 2022-04-16 06:34:23 -0700

@wzdev-ci
Copy link
Contributor Author

corvuscorax@... uploaded file savegame.tgz (151.2 KiB)

save game after all enemy buildings and units are destroyed

@wzdev-ci
Copy link
Contributor Author

Kreuvf commented


Do you have videos?

@wzdev-ci
Copy link
Contributor Author

corvuscorax@... commented


yes:

/usr/share/games/warzone2100/sequences.wz
size: 571937134 bytes
md5: ab2bbc28cef2a3f2ea3c186e18158acd

Intro and all previous inter-mission movie sequences have played correctly.

I don't get a mission summary either, there was an audio message "enemy base erradicated" or somethiong when the last nexus building fell, but other than that the game kept running as if nothing happened.

First I thought I had missed some enemy units or constructions, but a thorrough search revealed none.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Sep 5, 2010

Wolftrak commented


Same problem,two tickets.
http://developer.wz2100.net/ticket/2126
http://developer.wz2100.net/ticket/2131

@wzdev-ci
Copy link
Contributor Author

Emdek commented


This mission also won't end in 3.0 beta 4 (all enemy units and structures destroyed).

@wzdev-ci
Copy link
Contributor Author

Shadow Wolf TJC commented


I encountered the same bug, only I was on version 2.3.8. http://developer.wz2100.net/ticket/2902

@wzdev-ci
Copy link
Contributor Author

cybersphinx commented


See also #2902.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 8, 2012

Emdek commented


Works in current master.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 8, 2012

Emdek uploaded file g09.tar.bz2 (92.8 KiB)

Working savegame

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 8, 2012

Emdek commented


Correction, it appears that to finish mission correctly you need to play it without reloading...

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jan 8, 2012

Emdek uploaded file g09b.tar.bz2 (107.6 KiB)

Really working savegame

@wzdev-ci
Copy link
Contributor Author

Cyp changed milestone from 2.3.x to 3.1

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Changing version. Emdek says this was reproducible just before the first β.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Mar 22, 2012

vexed commented


Replying to Warzone2100/old-trac-import#2126 (comment:8):

Correction, it appears that to finish mission correctly you need to play it without reloading...

I take it that means something isn't getting save correctly ?

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Mar 23, 2012

Emdek commented


Replying to Warzone2100/old-trac-import#2126 (comment:10):

I take it that means something isn't getting save correctly ?
It appears to be so, it breaks only after specific time / event probably.
AFAIR someone on IRC said that it could be something related to scripting, maybe saving their context goes wrong etc.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 1, 2012

Giani commented


This happened to me in 2.3.9. For winning i had to research all and kill NEXUS.

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 4, 2012

crass commented


it ends fine if you do campaign chapter 3 without saving from start to finish

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Nov 4, 2012

Wznight@... commented


This bug is very annoying after you have played more than 20 hours, is there a
fix in the meantime?

@wzdev-ci
Copy link
Contributor Author

Curunauth commented


Further testing suggests that Emdek is correct - the break occurs after some event, and it seems like it has something to do with tech or with the enemy airbase. I was able to save and load freely up through destroying the entire SE and central bases, all of the long range artillery on the map, and one of the VTOL factories. (The SE and central tech drops are on the map but not picked up in the last working save I have.) Sometime between that point and destroying the NW base and airbase, as well as picking up the tech drops, saves become unwinnable. Several playthroughs suggest that the behavior is event- and not time-based (apparent time of failure is very inconsistent). It also appears to consistently break before any incursions are made into the SW (main) base (other than long range counterbattery fire to destroy their ripple rockets and incendiary artillery, which is fine in my working saves).

I haven't played in quite some time but I could fire it up and do further testing; are there specific tests that would be worthwhile to perform (it's slow going, since any test requires completion of the level to determine success or failure)?

@wzdev-ci
Copy link
Contributor Author

Panthera-Pardus changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Panthera-Pardus commented


Hi to All.

I had/have the same Problem. When I played the last Mission the first time, it just didn't finished. Even after spaming Sensors, Vtols and Tanks all over the Map to find a overseen Nexus-Unit. But Nothing. So I started a short Web-Search for this Problem and landed here. After reading these Informations of this Ticket, I used them to do some testing. The results are this:

Played on: Warzone 2100 Version 3.1 (without Mods or ohter Changes)

First try: Normal playthrough by using this Guide -> http://forums.wz2100.net/viewtopic.php?f=3&t=7507

Last Mission did not End.

Second try: Tooked my Gamma 7 End-Save and played it in One Part to the End Mission. Without saving or reloading. But it also didn't End.

Third try: Again started from Gamma 7 End-Save. Played nonstop till the last Mission, without saving or reloading. But this time I change the Way I played the last one. I just used only Scourge-Tiger-Vtols and bombed a Way straight in to the Mainbase, and wiped it out. The Veangence-Heavybody-Tech dropped at the Factory just how it should, but didn't collected it. So I did no Researches in this try, and it worked. After wipping out the Main Base the Level ended normal, with Cut-Scene and the Result-Screen.

So, it seems that the Trigger for this Problem are the Techs in this Level. Maybe I could be wrong with that Thought, because I have no usefull knowledge aubout programming. But I have a lot of time, and I'm going to use it for some other tests. Maybe I got lucky and find the reason for that Problem.

I going to write down my results here, so that you All know what I#ve already done. If someone of the Game related team wants me to try out something specific, just let me know.

Now I load my regular Gamma 9 (on the Mission) File and test what happens there when i don't research. Have a nice Day for all of You.

Joy and Happiness
Panthera-Pardus

P.S.: Sorry for my possibly with rusted English ^^

Edit:
Small Info. The Game ended Normal, after I load my regular Gamma 9 File and just wipe out the Main Base with the Scourge-Tiger-Vtols. Now I know a Point to where I can play without causing the problem. So I'm going to play, again, from Gamma 7 End-Save till Gamma 8 shortly befor it Ends. From there I'm going to create some different savefiles from Gamma 9 for further testing.

List of things I will try out:

  1. Eliminating every Base and Unit Nexus has in this level, without researchng or collecting the Techs. (just to see if the Bug trigger is one of the Structures or units)

  2. Just like 1. but with collecting one of the techs. For each tech a seperate run, from a savefile I'm going to create.

  3. same as 2. but also researching that tech.

And to keep the List short, I'm not writing every Step down here. But You should have a good Idea were it leads to wenn reading the three Points above. :D
So again, have a nice day at All. I write again when I have some usefull results.

Joy and Happiness
Panthera-Pardus

@wzdev-ci
Copy link
Contributor Author

Panthera-Pardus commented


Hello together,

and Sorry for using a new Post. But i don't want to Overload the other One.

I tried a lot in the last few Days and it looks like that the last Level breaks when you Upgrade your Units too early. That means, when you Upgrade your Units right after researching the Vengeance Heavy Body, without researching the additional Techs that gets unlocked (Engine- and different Armortechs), the Level will break and you can't finish it normal. Additional it seems that this only happens when you really upgrade your Units (especialy Groundunits), which means that you recycle your existing troops and build them new with the Vengeance Body.

I'm not completely finished with my testing. So there is still a Chance that i'm wrong, but everything that happened up to now, points in this direction. The next thing I'm going to try out, is upgrading the Units at different points of Base destruction. Which simply means things like, wipping out the Northwest Area and Upgrade. Then redoing it with the Southeast Area, with the Airfield and at the End with the Mainbase. Even one try right before the last Building gets destroyed. Just to see if this error is related with certain bases.

I will try to do everything as quickly as possible, so that I could write down the reults next weekend. Until then, all the Best,

Joy and Happiness
Panthera-Pardus

@wzdev-ci
Copy link
Contributor Author

clueless commented


yeah this is not fixed for 3.1.1 if you do lots of saves and reloads in the mission.

@wzdev-ci
Copy link
Contributor Author

-Philosopher- uploaded file Gamma 09 - 03.zip (117.7 KiB)

@wzdev-ci
Copy link
Contributor Author

-Philosopher- commented


Hi

This bug is still present in 3.1.2. Inspired by the previous contributors, I did some experimenting.

Hypothesis:

  • Triggering the end-condition for Gamma 09 while research is still in progress in a facility causes the game not to end.

See the attached save game. Nexus is essentially beaten and there are just a few structures left in the SW. I tried:

  • Shortly after the point this game is saved at, I stormed up the SW and destroyed everything in a minute or so. Note that, for this first attempt, I completed the game before I'd managed to finish researching everything, and some techs are still in progress in research facilities back at home base. This was when I encountered the problem.

  • Leaving the command centre and two cyborg factories standing while I completed all research, then destroyed all the structures. No dice - the game still didn't end.

I subsequently realised that there are TWO red dots in the SW, and only one of them was still remaining for most of my second attempt however. Turns out the dot that is furthest SW is the key to this. It disappears when any unit mounts the SW plateau the core Nexus base is on (where the Nexus research facilities and long-range-firey-mortar-thing is). This will probably happen before you've destroyed everything, so, counter-intuitively, it probably won't be the last red dot to go.

For my second attempt, as I'd only left three structures standing I'd already driven back and forth over the plateau in question to destroy everything else, causing the most SW red dot to disappear as soon as I did so. Subsequently, after completing all the research then destroying the final three buildings, I got the "enemy base eliminated" audio message and the last red dot disappeared, but the game still didn't end.

  • (Third attempt) I backed away from the SW base and stayed there while finishing all research. Both red dots in the SW stayed "alive" the whole time. Once there was nothing active in any of my research facilities back home, I stormed into the last the Nexus base, destroyed everything and... this time the game ended!

So, in summary, if you TOUCH the most SW red dot (causing it to disappear) while anything is still active in one of your research facilities, you'll need to reload from your last save game and try again (because the game won't end when you subsequently destroy everything).

Hope this helps with the bug fixing. I'm also happy to take a look at the campaign scripts myself if someone can point me to the right place?

@wzdev-ci
Copy link
Contributor Author

vexed changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented May 22, 2015

vexed commented


Replying to Warzone2100/old-trac-import#2126 (comment:19):

Hope this helps with the bug fixing. I'm also happy to take a look at the campaign scripts myself if someone can point me to the right place?

It is not a script problem per se, nobody has touched them since the retail release of this game, so, that is not the main issue here, but, it could be part of the problem.

However, since all campaigns are being redone to javascript, see http://forums.wz2100.net/viewtopic.php?f=35&t=11872 for more information, this will be fixed with that.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg changed resolution from `` to closed

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


What ever the cause, it most likely does not happen since 5f144dda98d18f02c2546c504371f30ead5785e3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant