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)

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.4m
Total downloads
Customers
10.7k
Customers served
Files Sold
155.3k
Marketplace sales
Payments
3.3m
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.