Jump to content

Script Compilation Errors


Recommended Posts

Hi, i'm trying add some mods to witcher 3 goty and i have questions about errors

Error [modgodmode]game\gameplay\alchemy\alchemymanager.ws(196): Could not find function 'GetUnusedMutagensCount'
Error [modgodmode]game\gameplay\alchemy\alchemymanager.ws(270): Could not find function 'RemoveUnusedMutagensCount'
Error [content0]game\npc\npc.ws(584): Could not find function 'GetPlayerMaxLevel'
Error [content0]game\npc\npc.ws(586): Could not find function 'GetPlayerMaxLevel'
Error [content0]game\npc\npc.ws(1965): Could not find function 'GetPlayerMaxLevel'
Error [content0]game\npc\npc.ws(1967): Could not find function 'GetPlayerMaxLevel'
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(716): I dont know any 'slot'
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(717): I dont know any 'slot'
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(718): I dont know any 'slot'
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(743): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(748): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(753): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(758): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(798): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(802): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(806): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(810): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11049): Function 'SetItemStackable' does not take 2 param(s)
Error [mod0000_mergedfiles]game\player\playerwitcher.ws(11065): Function 'SetItemStackable' does not take 2 param(s)
Error [content0]game\vehicles\horse\horsecomponent.ws(189): Function 'GetCategoryDefaultItem' does not take 1 param(s)
Error [mod0000_mergedfiles]game\gui\hud\modules\hudmoduleradialmenu.ws(663): Could not find function 'ShouldUseInfiniteWaterBolts'
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(267): Could not find function 'GetFirstUnusedMutagenByName'
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(823): Could not find function 'GetUnusedMutagensCount'
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(836): Could not find function 'GetUnusedMutagensCount'
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(849): Could not find function 'GetUnusedMutagensCount'
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(1717): Unable to find suitable operator 'OperatorNotEqual' for given types (&array:2,0,EPlayerMutationType, EPlayerMutationType)
Error [mod0000_mergedfiles]game\gui\menus\charactermenu.ws(3544): Unable to convert from 'array:2,0,EPlayerMutationType' to 'EPlayerMutationType'
Error [content0]game\gui\menus\listbasemenu.ws(186): Could not find function 'GetUnusedMutagensCount'
Error [mod0000_mergedfiles]game\gui\menus\alchemymenu.ws(100): Could not find function 'GetAlchemyFilters'
Error [mod0000_mergedfiles]game\gui\menus\alchemymenu.ws(164): Could not find function 'SetAlchemyFilters'
Error [mod0000_mergedfiles]game\gui\menus\alchemymenu.ws(227): Could not find function 'AddExpandedAlchemyCategory'
Error [mod0000_mergedfiles]game\gui\menus\alchemymenu.ws(231): Could not find function 'RemoveExpandedAlchemyCategory'
Error [mod0000_mergedfiles]game\gui\menus\alchemymenu.ws(483): Could not find function 'GetExpandedAlchemyCategories'
Error [mod0000_mergedfiles]game\gui\menus\craftingmenu.ws(103): Could not find function 'GetCraftingFilters'
Error [mod0000_mergedfiles]game\gui\menus\craftingmenu.ws(170): Could not find function 'SetCraftingFilters'

To repair this errors should i edit files in for example The Witcher 3 - Wild Hunt\mods\modGodMode\content\scripts\game directory to repair first 2 errors?

Error [modgodmode]game\gameplay\alchemy\alchemymanager.ws(196): Could not find function 'GetUnusedMutagensCount'
Error [modgodmode]game\gameplay\alchemy\alchemymanager.ws(270): Could not find function 'RemoveUnusedMutagensCount'

or somewhere else?

 

my secound question is why compiler can't find GetUnusedMutagensCount if this is defined in inventoryComponents.ws in The Witcher 3 - Wild Hunt\mods\modGodMode\content\scripts\game directory the same with RemoveUnusedMutagensCount. It is called from alchemyManager.ws in CanCookRecipe

cnt = thePlayer.inv.GetUnusedMutagensCount(itemName) * BoolToInt(!gmConfig().enableNoMatCrafting);

Can someone explain me how to fix that errors? Sorry for my bad english

Edited by Marek69x
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...