Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutator mission error crosspost #3459

Open
GoogleFrog opened this issue Mar 13, 2019 · 17 comments
Open

Mutator mission error crosspost #3459

GoogleFrog opened this issue Mar 13, 2019 · 17 comments
Labels

Comments

@GoogleFrog
Copy link
Contributor

Because nobody looks at missions repository. ZeroK-RTS/Zero-K-Missions#12

@Histidine91
Copy link
Member

Error: Failed to load: cmd_locker.lua  ([string "LuaRules/Gadgets/cmd_locker.lua"]:47: table index is nil)

Does the cmdID table entry CMD.SET_WANTED_MAX_SPEED no longer exist?

@GoogleFrog
Copy link
Contributor Author

Yes.

@GoogleFrog
Copy link
Contributor Author

I didn't detect any issue when testing mission 1 of the campaign. I guess more commands are unlocked than is intended.

@Histidine91
Copy link
Member

Calling CMD.SET_WANTED_MAX_SPEED = "made_up_variable" in gadget handler or somewhere might work around the issue?

The proper fix is to rebuild the missions with the set wanted max speed index removed from gadget. If campaign mission 1 works, perhaps only the three specialized tutorials are affected, I expect I'll be able to republish those tomorrow.

@Histidine91
Copy link
Member

Tutorials manually fixed/uploaded. I don't have time to do an in-Chobby playtest till tomorrow, but I expect the issue is fixed now.

@GoogleFrog
Copy link
Contributor Author

infolog.txt

I ran zkmenu:test and the first tutorial fatally crashed.

@GoogleFrog
Copy link
Contributor Author

Where are things uploaded to? Are they magically updated on the fly? Do they require a steam rebuild?

@Histidine91
Copy link
Member

Where are things uploaded to?

http://zero-k.info/Missions (each mission has its own database entry)

Are they magically updated on the fly?

Wrapper is supposed to download them if they are not present. However, I just deleted my local copies of the mission .sdzs and it failed to redownload them (or to regenerate missions.json, when that is deleted).

Error downloading file piece: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.Zero-K.exe Warning: 0 : Piece 0 failed for http://zero-k.info/Missions/File/226
Zero-K.exe Error: 0 : User Interface Tutorial r20.sdz Failed
Zero-K.exe Information: 0 : glacies_1.3.sd7 Completed - 14.84M
Zero-K.exe Warning: 0 : Mission update has failed
Zero-K.exe Information: 0 : Error updating missions

(note it also also appends the wrong version number to the filename)

Do they require a steam rebuild?

No idea

At this point, it may be easier to just include the triple tutorials in the Chobby archive (the same way mission 1 is) and modify Chobby to load them from there.

@Licho1
Copy link
Member

Licho1 commented Mar 15, 2019

note that this might make ZK steam unreleasable.
If it fails locally, it fails for steam builder!

@Licho1
Copy link
Member

Licho1 commented Mar 15, 2019

Is this link working fro you @Histidine91 http://zero-k.info/Missions/File/226

@GoogleFrog
Copy link
Contributor Author

Missions work now, would steam build work?

@Histidine91
Copy link
Member

@Licho1 Link worked at the time the issue with Chobby not downloading missions was occurring, and it works now

@Licho1
Copy link
Member

Licho1 commented Mar 15, 2019

This is odd link was always working for me.

@Licho1
Copy link
Member

Licho1 commented Mar 15, 2019

Yes steam should work

@GoogleFrog
Copy link
Contributor Author

Steam doesn't work, or at least the test site doesn't work. I don't trust it to make a stable site steam deploy while test doesn't work.

ZeroK-RTS/Zero-K-Infrastructure#2520

@sprunk
Copy link
Member

sprunk commented Mar 16, 2019

Different error now. ZeroK-RTS/CrashReports#20663

[f=-000001] Error: [LuaRules::RunCallInTraceback] error=2 (LUA_ERRRUN) callin=GamePreload trace=[Internal Lua error: Call failure] [string "local units = GG.mission.FindUnitsInGroup("..."]:6: attempt to index field 'CommandLocker' (a nil value)
stack traceback:
	[string "local units = GG.mission.FindUnitsInGroup("..."]:6: in function 'func'
	[string "LuaRules/Gadgets/mission_runner.lua"]:445: in function 'func'
	[string "LuaRules/Gadgets/mission_runner.lua"]:1048: in function 'RunEvents'
	[string "LuaRules/Gadgets/mission_runner.lua"]:1218: in function 'GamePreload'
	[string "LuaRules/gadgets.lua"]:914: in function <[string "LuaRules/gadgets.lua"]:912>
	(tail call): ?

@GoogleFrog
Copy link
Contributor Author

This is the same error. It is a gadget crashing because it cannot find command locker. The missions are not updated for steam.

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

No branches or pull requests

4 participants