Jump to content

Not Compiliing

Closed 3.2.0 3.2.1

FLWolverine
FLWolverine

Posted

You stated 3 hours ago "shortly' then agin 12 minutes ago "Shortly" for the patched plugin.  Can you define "Shortly"?

FLWolverine

Posted

here is the error....*  failed plugins (1)  line     stacktrace                                                                               
   RaidableBases.cs    8570:57  Cannot implicitly convert type 'System.Action<Item>' to 'System.Action<Item, BasePlayer>'

 

  • Like 1
nivex

Posted

hi, the update is now released

enjoy 🙂

 

nivex

Posted (edited)

.

Edited by nivex
nivex

Posted

Changed Fixed In from Next Version to 3.2.1

FLWolverine

Posted

i was abou tthe paste the fix for you.    

RaidableBases v3.2.0 — fails to compile on current Rust (protocol 2634)

Error:

Cause: The latest Rust update changed the ItemContainer.onPreItemRemove delegate from Action<Item> to Action<Item, BasePlayer>. The plugin still registers it with the old signature.

Affected code (line numbers from Plugin (English)/RaidableBases.cs):

Method definition — line ~6613:
Three registrations — lines ~9268, ~9569, ~9692:
Fix:

Change the method signature to accept the new BasePlayer argument:

And update the three registrations to the new delegate type:

Note: onPreItemRemove is the only break in 3.2.0 — the parallel canAcceptItem signature change is already handled (dual overload at ~9509/9518). After these four edits the plugin compiles clean on 2634.

 

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
3.1m
Total downloads
Customers
12.2k
Customers served
Files Sold
172.9k
Total sales
Payments
3.8m
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.