Jump to content

error since moving to carbon

Pending 1.5.37

jordo2k25

Posted

i migrated to carbon today from oxide, im now recieving this error message :

 

Failed compiling 'UltimateLeaderboard.cs':

1. The type 'SQLite' exists in both 'Carbon.Common, Version=2.0.239.0, Culture=neutral, PublicKeyToken=null' and 'Oxide.SQLite, Version=2.0.3804.0, Culture=neutral, PublicKeyToken=null' [CS0433]

(UltimateLeaderboard 20 line 4233)

how do i go about fixing the issue ? i presume its because there are now conflicts between sql.

 

  • Curator
Mevent

Posted

Hey! This is a common issue when migrating to Carbon. The problem is that Carbon has its own built-in SQLite library, but you also have the old Oxide.SQLite.dll file still sitting in your server. They both define the same SQLite type, so the compiler doesn't know which one to use. Just go to your server's RustDedicated_Data/Managed/ folder (or wherever your Oxide extension DLLs are) and delete Oxide.SQLite.dll. Carbon already handles SQLite natively, so you don't need it. Reload the plugin after that and you should be good.

jordo2k25

Posted

ok mevent there was no sqlite in the rustdedicated/managed folder as i migrated the oxide files to the extension folder in carbon (as stated i should do).

so i deleted the sqlite oxide extension from there and reloaded the plugin yet it still says the same? any ideas?

  • Curator
Mevent

Posted

So here's the thing - even though you deleted the Oxide.SQLite.dll, the server already loaded it into memory when it started up. Just reloading the plugin won't help because the DLL is still cached. You'll need to do a full server restart after deleting that file. Once the server boots fresh, Carbon will only load its own SQLite and the conflict will be gone.

jordo2k25

Posted

3 minutes ago, Mevent said:

So here's the thing - even though you deleted the Oxide.SQLite.dll, the server already loaded it into memory when it started up. Just reloading the plugin won't help because the DLL is still cached. You'll need to do a full server restart after deleting that file. Once the server boots fresh, Carbon will only load its own SQLite and the conflict will be gone.

yeah i was kind of thinking that tbh, ill wait till the server dies mate and do it cant be bothered with the moaning lol!

I'm pretty sure that will fix it cheers for the help!

  • Love 1
2.3m

Downloads

Total number of downloads.

10.5k

Customers

Total customers served.

152.2k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • 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.