Jump to content

FP Workbench Update

Pending 1.1.75

Bob Kazamakis
Bob Kazamakis

Posted

I'm sure you're aware but with FacePunch's workbench update today, the Craft Menu doesn't allow the Tech Tree to be used. 

Deneko

Posted

I made a small temporary fix until David can implement a full-fledged one.

1. In the plugin code, on line 47, replace "server.uselegacyworkbenchinteraction true" with "server.uselegacyworkbenchinteraction false"
This fixes the workbench opening issue, and the CraftMenu itself will be available in the workbench container.

2. If you care about the UI appearing slightly in the container, here's a fix (I don't know how exactly David interacts with the UI, I didn't quite understand it, so the fix is a bit weird, but it works):
Replace line 913 with 

CUIClass.CreatePanel(ref _baseCraftCui, "baseCraft_main", "Overlay", "0 0 0 0", $"{db[2]}.{db[1]} 0.{db[23]}", $"{db[10]}.{db[1]} 0.{db[10]}", false, 0.1f, 0f, "assets/icons/iconmaterial.mat", $"{db[12]}{db[14]} {int.Parse(db[6]) + 25}", $"{db[7]} {int.Parse(db[11]) + 25}");

I hope I didn't break the rules. If I did, I'm sorry, I was just trying to help.

  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
158.9k
Marketplace sales
Payments
3.4m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.