Error while compiling: TechTreeControl.cs(61,26): error CS1501: No overload for method `Take' takes `4' arguments
Currency change modification is broken after todays updateSolved
There was changes to the tech tree in this latest update. This plugin will need to be updated to reflect those changes. Kindly wait for a plugin update from White Thunder.
Thanks for the report. I didn't see (and currently don't see) the compilation error when I started my test server so I missed this. Will take a look and release an update as soon as I can.
Yes I am aware thank you, ;-) Was just informing him that it was broken incase he didn't know yet.
Edit Ah thanks!
Was just informing you incase you weren't aware. :)
- I'm still not seeing any compilation error when updating Rust and Oxide again.
- The line 61 doesn't have any method call.
- There is no usage of any "Take" method in the plugin.
Ah we did edit one in the past but it was only the currency change: https://umod.org/community/tech-tree-control/39905-currency-change
Ill pm you the script
Replace this:
var requiredItemAmount = _pluginConfig.GetResearchCostOverride(node.itemDef) ?? ResearchTable.ScrapForResearch(node.itemDef);with this:
var requiredItemAmount = _pluginConfig.GetResearchCostOverride(node.itemDef)
?? ResearchTable.ScrapForResearch(node.itemDef, ResearchTable.ResearchType.TechTree); 06/10 23:40:51 | TechTreeControl was compiled successfully in 1775ms
06/10 23:40:51 | Loaded plugin Tech Tree Control v0.2.0 by WhiteThunder
Awesome, it compiles and works thank you very much!
Locked automatically