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

Factory production fails after load in campaign #4441

Closed
wzdev-ci opened this issue Jul 14, 2016 · 15 comments
Closed

Factory production fails after load in campaign #4441

wzdev-ci opened this issue Jul 14, 2016 · 15 comments

Comments

@wzdev-ci
Copy link
Contributor

resolution_fixed type_bug | by omeganexus


When I put in the hard difficulty, and saved the game and then Load Game, the AI of the game seemingly becomes very stupid, the difference is absurd.


Issue migrated from trac:4441 at 2022-04-16 12:32:31 -0700

@wzdev-ci
Copy link
Contributor Author

NoQ commented


Need info. Preferably the saved game, could you attach it?

@wzdev-ci
Copy link
Contributor Author

omeganexus uploaded file campaign.rar (57.3 KiB)

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Jul 16, 2016

omeganexus commented


Replying to Warzone2100/old-trac-import#4441 (comment:1):

Need info. Preferably the saved game, could you attach it?

Yes, and along the Save, I'm sending a link to a video on Youtube, showing Bugs related to my Tickets.
https://youtu.be/M7zPNY49qNk

@wzdev-ci
Copy link
Contributor Author

NoQ commented


Uhm, i would have never guessed you're talking about campaign. Will have a look. Yeah, the log message is important - the script crashes.

@wzdev-ci
Copy link
Contributor Author

Per changed blocking which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed blockedby which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Per changed title from AI BUG to Campaign AI bug on save and load game

@wzdev-ci
Copy link
Contributor Author

Per commented


Thanks for the good video explaining this bug.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg changed _comment0 which not transferred by tractive

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg commented


This is the error I get from current master campaign library:

error   |11:04:38: [js_structureIdle:2303] No such structure id 0 belonging to player 0
error   |11:04:38: [callFunction:196] 0 : __camContinueProduction() at script/campaign/libcampaign.js:1901
error   |11:04:38: [callFunction:196] 1 : <global>() at -1
info    |11:04:38: [callFunction:199] Uncaught exception calling function "__camContinueProduction" at line 1901: ReferenceError: psStruct failed in js_structureIdle at line 2303
info    |11:04:38: [callFunction:199] Assert in Warzone: qtscript.cpp:199 (false), last script event: '<none>'

Also causes an error about the scavenger groups to the west of the factory shown in the video. Saying something like "droid id x not found belonging to to group/player y" when the group tries to attack.

@wzdev-ci
Copy link
Contributor Author

Cyp commented


Marked #4541 as duplicate of this.

@wzdev-ci
Copy link
Contributor Author

Berserk Cyborg changed title from Campaign AI bug on save and load game to Factory production fails after load in campaign

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Aug 3, 2017

Berserk Cyborg changed status from new to closed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Aug 3, 2017

Berserk Cyborg changed resolution from `` to fixed

@wzdev-ci
Copy link
Contributor Author

wzdev-ci commented Aug 3, 2017

Berserk Cyborg commented


I guess this no longer happens with the current master as of 6a6eaf96e428f482ad744113af03d80cde04a1c2. Factories produce stuff after load for whatever reason.

@wzdev-ci wzdev-ci closed this as completed Aug 3, 2017
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