Jump to content

Compilation Error – Cannot convert BasePlayer to ulong (UltimateLocker)

Not a Bug 1.6.3

moulinch

Posted

Hello,

I encountered a compilation error while loading the UltimateLocker plugin on my server.

Error while compiling UltimateLocker:
Argument 1: cannot convert from 'BasePlayer' to 'ulong'
Line: 7955, Pos: 74

It seems that the method is expecting a SteamID (ulong), but the plugin is currently passing a BasePlayer object instead.

Could you please check this part of the code or provide a fix for this issue?

Thank you for your work on the plugin. 🙏

SODVenom

Posted

I too get this error

Error while compiling UltimateLocker: Argument 1: cannot convert from 'BasePlayer' to 'ulong' | Line: 7955, Pos: 74

Scalbox

Posted

This update is to be used for today's forced wipe, it is also written in the release notes

image.png.740002f6627d29761481dd855072244b.png

Scalbox

Posted

Changed Status from Pending to Not a Bug

moulinch

Posted

Hello,

Sorry, I didn’t see that in the release notes. My mistake.

Thanks for the clarification and for the update. 🙏

  • Like 1
Madstayen

Posted

I get this too, after wipe:

Failed compiling 'UltimateLocker.cs':
  1. Argument 1: cannot convert from 'BasePlayer' to 'ulong' [CS1503]
     (UltimateLocker 74 line 7955)

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.