The Witcher 3
0 of 0

File information

Last updated

Original upload

Created by

rmemr

Uploaded by

rmemr

Virus scan

Safe to use

211 comments

  1. jimmylogs
    jimmylogs
    • member
    • 8 posts
    • 0 kudos
    Locked
    Sticky
    If you have the "was already exported" error, this is how to fix it (pretty simple): 

    1. Go to where the .ws file is located (for example: "modSharedImports\content\scripts\local\CEnvironmentDefinition.ws"). Mine was a merged file, after running Script Merger, so I went to "mod0000_MergedFiles\content\scripts\engine\components.ws" (THESE ARE EXAMPLES! You must find the specific file(s) YOU are getting an error for, which may not be the same as mine!)

    2. Open the .ws file in a code editor (i.e. Notepad++, PyCharm, etc.).

    3. Find (CTRL+F) the structure(s) or class(es), which is/are listed in the error as "already exported" (for example: "CWorldShadowConfig" or "CEnvironmentDefinition").

    4. Comment out that entire structure and/or class. Example for "CSpotLightComponent" class:

    //import class CSpotLightComponent extends CLightComponent
    //{
    // import var innerAngle          : float;
    // import var outerAngle         : float;
    // import var softness            : float;
    //}

    5. Save the file and you should be good to go. (DO THIS FOR ALL ERRORS).
    1. PescalinMan
      PescalinMan
      • premium
      • 7 posts
      • 0 kudos
      Thanks man ! That worked !

      Same for "allready imported" - error for me !
  2. Banjomir777
    Banjomir777
    • member
    • 40 posts
    • 0 kudos
    I am having massive problems with mods that depends on Shared Imports. I can't change the mod priorities at all using TW3 Mod Manager. For example, if I try to set a higher priority for Ghost Mode (or assign any priority number at all) then I get this error: 

    Error [modpreparations]game\gameplay\effects\effects\other\alchemytable.ws(4): Unable to parse value
    Warning [modsharedimports]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
    Warning [modsharedimports]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
    Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.


    Weirdly, it complains about Preparations, but I haven't touched the priority level for that mod! And when I run Script Merger with the Ghost Mode priority in place, then it reports no errors at all. 
    I have tried setting Shared Imports to have highest priority, then Ghost Mode just underneath it, etc. but nothing seems to work. It is like Shared Imports just breaks whenever I set a mod priority?
  3. MrRedman23
    MrRedman23
    • member
    • 24 posts
    • 0 kudos
    jimmylogs or anyone really

    For the Top Comment
    "4. Comment out that entire structure and/or class. Example for "CSpotLightComponent" class:"

    What is "commenting out"?

    Im sorry, but I'm a noob lol
    1. BillTheBuilder
      BillTheBuilder
      • member
      • 166 posts
      • 2 kudos
      Commenting out is when you put a "// " in front of a line of code. 
  4. Verodor
    Verodor
    • member
    • 1,313 posts
    • 105 kudos
    Using the game installed from GOG:All of a sudden I am getting compiliation errors using this mod. This weekend my game was updated and all of a sudden whenever I try to start it using Bootstrap and/or Bootstrap-registry, I am gettint this compiliation error:
    "Error [content0]game\types.ws(52): Enum 'EAreaName' already defined.
    Error [content0]game\types.ws(68): Enum 'EDlcAreaName' already defined."

    Please help!
    1. Verodor
      Verodor
      • member
      • 1,313 posts
      • 105 kudos
      Never mind. Figured out that the Gog-launcher by repairing the game files also replaced the changed files of CommunityPatch-Base. After reinstalling it the error was solved. This can be cloesd, bug fixed! :)
  5. willy3215
    willy3215
    • member
    • 20 posts
    • 0 kudos
    Error [modsharedimports]local\cclothcomponent.ws(7): Class 'CClothComponent' was already exported.
    Error [modsharedimports]local\cdestructioncomponent.ws(50): Class 'CDestructionSystemComponent' was already exported.
    Error [modsharedimports]local\cdestructioncomponent.ws(118): Class 'CDestructionComponent' was already exported.
    Error [modsharedimports]local\csoundambientareacomponent.ws(31): Class 'CSoundAmbientAreaComponent' was already exported.

    how can i fix this problem ?
  6. unreallevi
    unreallevi
    • member
    • 12 posts
    • 0 kudos
    I fixed merged issues with the EE mod, but i keep getting was already exported s*** with the EE mod.. I dont understand what u are saying about the structure change example, i did locate the file though
    1. gotaimin
      gotaimin
      • member
      • 132 posts
      • 4 kudos
      In EE environment, this mod is not required.
  7. TESSkyrim95
    TESSkyrim95
    • supporter
    • 1 posts
    • 0 kudos
    Error [modsharedimports]local\cfurcomponent.ws(265): Property 'mesh' from 'CFurComponent' was alraedy imported.

    Warning [mod0000_mergedfiles]game\actor.ws(448): Native function 'IsPlayingChatScene' was not exported from class 'CActor' in C++ code.
    Warning [mod_0bettericons2020_english_nosferatu_ardbombs]game\mod\hudefaulticons.ws(15): Native function 'GetItemIconPathByUniqueID' was not exported from class 'HUDefaultIcons' in C++ code.
    Warning [modsharedimports]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
    Warning [modsharedimports]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
    Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.

    What to do?
    Thanks
  8. Djunjupp
    Djunjupp
    • member
    • 25 posts
    • 1 kudos
    it may be useful to some that if you have any of the below mods already installed, you need to update them to use their (Shared) version now. There may be more, but these are what I have installed:

    Smart Magic Lamp
    E3 Native Depth of Field (KNGDOF)
    Natural Torchlight
  9. OWGKick22
    OWGKick22
    • member
    • 26 posts
    • 0 kudos
    Idk what to do
    Error [modabsolutecamera30b2]local\cacameramanager.ws(1405): 'aCameraManager' is not a member of 'handle:CR4Player'Error [modrandomencountersreworked]local\rer_scripts.min.ws(14641): Could not find function 'addErrandInjector'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(85): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(136): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(137): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(143): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(144): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(148): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(158): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(159): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(166): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(167): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(171): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(181): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(182): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(188): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(189): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_mappins]local\sharedutils\mappins.ws(193): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_accept.ws(6): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_accept.ws(7): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(83): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(84): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(94): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(95): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(109): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(110): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(116): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(117): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(121): 'errandInjectors' is not a member of '&handle:W3NoticeBoard'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(131): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(132): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(138): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(139): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\errand_injector.ws(143): 'customMapPins' is not a member of 'handle:CR4Player'Error [mod_sharedutils_noticeboards]local\sharedutils\noticeboards\example.ws(30): Could not find function 'addErrandInjector'
    1. rmemr
      rmemr
      • supporter
      • 662 posts
      • 123 kudos
      These errors are unrelated to sharedimports mod. that seems to be another mod. I suspect it's something from random encounters reworked but I don't know.
    2. Coldaine
      Coldaine
      • premium
      • 2 posts
      • 0 kudos
      If anyone comes here in the future with the errors similar to:
      [mod_sharedutils_mappins]local\sharedutils\mappins.ws(182): 'customMapPins' is not a member of 'handle:CR4Player'Error

      This is caused by a bad merge of your r4player.ws, redo your merge. 
  10. swaggtrocity
    swaggtrocity
    • member
    • 35 posts
    • 0 kudos
    Error [modbootstrap-registry]local\mods_registry.ws(3): Class 'CModRegistry' already defined.

    Warning [modmagicspells]local\spells_execs\lukatiel_sword_ring.ws(81): Adding state 'fucking_bolt_hack' to class 'W3BoltProjectile' which is not a state machine. Did you forget the 'statemachine' keyword in class?
    //
    Help would be greatly appreciated.

    And for the boot strap error I copied 'mods_registry.ws' from modBootstrap-registry and put it into modBootstrap/content/scripts/local/bootstrap, since there was no mods_registry.ws file in the bootstrap mod for some reason, this may be the issue I'm still seeing what I can do about it.
  11. king0liam
    king0liam
    • member
    • 37 posts
    • 0 kudos
    Warning [modsharedimports]engine\environment.ws(30): Global native function 'EnableDebugOverlayFilter' was not exported from C++ code.
    Warning [modsharedimports]engine\environment.ws(32): Global native function 'EnableDebugPostProcess' was not exported from C++ code.
    Warning [content0]engine\showflags.ws(11): Global native function 'DebugSetEShowFlag' was not exported from C++ code.

    Please help.i have only learned C language for a semester ,and konw nothing about C++.
    1. MindDoser
      MindDoser
      • member
      • 835 posts
      • 9 kudos
      No need to have knowledge of C++. Just check script merger for conflicts, and put SharedImports at higher priority.
    2. CalebMenge
      CalebMenge
      • supporter
      • 155 posts
      • 6 kudos
      There should be more to the error than this
    3. rmemr
      rmemr
      • supporter
      • 662 posts
      • 123 kudos
      Those are warnings and not errors that can be ignored.
    4. Daresouma
      Daresouma
      • member
      • 242 posts
      • 2 kudos
      The exact same problem appeared to me. I tried setting the sharedimports at the top of priority but the problem persists. And it is not just a warning as I can't start the game with it.