nyonyonyo Posted July 4, 2021 Share Posted July 4, 2021 I've decompiled and am trying to recompile @Nightinggale's Blackhole Garbage Dispole but I am running into this issue: <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(72,18,72,26): warning CS0219: The variable 'nullable' is assigned but its value is never used <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(100,83,100,96): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(102,19,102,32): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(107,83,107,96): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(112,23,112,36): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\BlackHoleGarbageDisposalComponent.cs(12,41,12,51): warning CS0649: Field 'BlackHoleGarbageDisposalComponent.controller' is never assigned to, and will always have its default value null <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\BlackHoleGarbageDisposalComponent.cs(9,26,9,33): warning CS0649: Field 'BlackHoleGarbageDisposalComponent.storage' is never assigned to, and will always have its default value null Basically a direct copy/paste from the original .dll. I have tried it also with the github version but need some assistance here to what I am doing wrong. Thanks. ONI Mod2.zip Link to comment Share on other sites More sharing options...
gabberworld Posted July 4, 2021 Share Posted July 4, 2021 1 hour ago, nyonyonyo said: I've decompiled and am trying to recompile @Nightinggale's Blackhole Garbage Dispole but I am running into this issue: <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(72,18,72,26): warning CS0219: The variable 'nullable' is assigned but its value is never used <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(100,83,100,96): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(102,19,102,32): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(107,83,107,96): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\NightLib\AddBuilding\AddBuilding.cs(112,23,112,36): error CS0117: 'Techs' does not contain a definition for 'TECH_GROUPING' <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\BlackHoleGarbageDisposalComponent.cs(12,41,12,51): warning CS0649: Field 'BlackHoleGarbageDisposalComponent.controller' is never assigned to, and will always have its default value null <Usereatenforsecurity>\source\repos\ONI Mod2\ONI Mod2\BlackHoleGarbageDisposalComponent.cs(9,26,9,33): warning CS0649: Field 'BlackHoleGarbageDisposalComponent.storage' is never assigned to, and will always have its default value null Basically a direct copy/paste from the original .dll. I have tried it also with the github version but need some assistance here to what I am doing wrong. Thanks. ONI Mod2.zip 4.57 MB · 0 downloads there no TECH_GROUPING anymore, you need re code that part. funny that you see this now. because its taken out from code sometime ago already Link to comment Share on other sites More sharing options...
nyonyonyo Posted July 4, 2021 Author Share Posted July 4, 2021 Interesting since this is decompiled from the 2020 steam version. So have to dig and find its replacement then? Link to comment Share on other sites More sharing options...
gabberworld Posted July 4, 2021 Share Posted July 4, 2021 Just now, nyonyonyo said: Interesting since this is decompiled from the 2020 steam version. yeah but they change that when Space Out released Link to comment Share on other sites More sharing options...
nyonyonyo Posted July 19, 2021 Author Share Posted July 19, 2021 On 7/4/2021 at 3:28 PM, gabberworld said: yeah but they change that when Space Out released Thanks for the input. I finally got off my ass and with a little help from another thread fixed the problem through @Nightinggale's generic pointer script. Now it recompiles without major issues though it flags I have unused variables BUT THAT IS UNIMPORTANT >_> <_<. It appears ingame but whether it works is a different story. :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.