Jump to content

uint does not work for netids that are ulong

Pending 2.0.22

Stewie
Stewie

Posted

mid-wipe we started to notice that people could not upgrade or pickup recyclers.

I added some debugging to your code and found the cause to be the fact you use uint for netid and some of our netids are greater than 4,294,967,295 so need to be ulong.

Example from a single test:

[CustomRecycle] [Pickup Debug] Received pickup command: pickup, 4419458783
[CustomRecycle] [Pickup Debug] Failed to parse netId from arg: 4419458783

 

Stewie

Posted

I converted any uint you had in-code for netId to UInt64 and confirmed this works perfectly.
Only a few places to change this so should be a quick fix for future versions.

ThePitereq

Posted

Hey, hmm the uint might be lefrover from old net.ID value. WIll change it in next version, thanks!

 

  • Love 1
1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

123.6k

Files Sold

Total number of files sold.

2.5m

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.