Opened 3 years ago

Last modified 13 months ago

#6294 closed defect

Opening Mod io with invalid mods create errors — at Version 4

Reported by: Stan Owned by: Silier
Priority: Release Blocker Milestone: Alpha 27
Component: Core engine Keywords:
Cc: Patch: Phab:D4237

Description (last modified by Stan)

To reproduce

  • Load some mods for A25
  • Switch to A26 notice you get red mods in the mod selector
  • open modio anyway

Fixed in r25881

ERROR: Errors executing script event "Tick"
ERROR: JavaScript error: gui/modio/modio.js line 180 compatibilityColor is not defined displayMods/modsAvailableList.list_name<@gui/modio/modio.js:180:57 displayMods@gui/modio/modio.js:180:46 listed@gui/modio/modio.js:49:3 onTick@gui/modio/modio.js:154:13 __eventhandler21 (Tick)@modio Tick:1:1
ERROR: Errors executing script event "Tick"
ERROR: JavaScript error: gui/modio/modio.js line 180 compatibilityColor is not defined displayMods/modsAvailableList.list_name<@gui/modio/modio.js:180:57 displayMods@gui/modio/modio.js:180:46 listed@gui/modio/modio.js:49:3 onTick@gui/modio/modio.js:154:13 __eventhandler21 (Tick)@modio Tick:1:1
ERROR: Errors executing script event "Tick"

To reproduce the following errors:

  • Enable Sharpening/FXAA in the options.
  • Go in the mod selector and disable all mods
  • Save the config
  • Quit (e.g. alt + F4)

Or run the game with only the mod mod.

$ binaries/system/pyrogenesis -mod="mod"
ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/cas.xml"
ERROR: Failed to load effect 'cas'
ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/fxaa.xml"
ERROR: Failed to load effect 'fxaa'

A possible solution is to move all those effects into the mod mod.

Change History (4)

comment:1 by Silier, 3 years ago

Owner: set to Silier
Patch: Phab:D4237

for modio errors dont know what is with shaders yet

comment:2 by Silier, 3 years ago

In 25881:

Fix mod calling function from public

public mod does not have to be activated, moving compatibilityColor to mod

Differential revision: D4237
Refs: #6294
Comments by: @bb

comment:3 by Silier, 3 years ago

Priority: Release BlockerMust Have

remaining issue with shaders

comment:4 by Stan, 2 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.