a152c2c463
Recently, Codepoints have been changed to ULong64. While SuperDoggo (on discord) was playing ShiftLotto, he tried to bet 100cp with only 80cp. The check to make sure you don't overbet failed because ShiftLotto subtracts codepoints*difficulty - currentCodepoints. If this value is negitive, it should give you an error. But, due to the transition to ulong,, this does not work and the check passes, removing (or adding if you're lucky) codepoints, crashing the game. I fixed this by simply changing thechecking statment from subtraction to a Less Than check (<). WOW I TYPED ALOT OF STUFF |
||
---|---|---|
.. | ||
Applications | ||
Controls | ||
DesktopWidgets | ||
Properties | ||
Resources | ||
Servers | ||
ShiftnetSites | ||
StatusIcons | ||
Stories | ||
SystemIcons | ||
Tools | ||
App.config | ||
AudioManager.cs | ||
Commands.cs | ||
DesktopWidgetAttribute.cs | ||
DownloadControl.cs | ||
DownloadControl.Designer.cs | ||
DownloadControl.resx | ||
GUIFunctions.cs | ||
GUILogin.cs | ||
GUILogin.Designer.cs | ||
GUILogin.resx | ||
HackerCommands.cs | ||
IDesktopWidget.cs | ||
JobTasks.cs | ||
Oobe.cs | ||
Oobe.Designer.cs | ||
Oobe.resx | ||
OobeStory.cs | ||
packages.config | ||
Program.cs | ||
ScriptingTestFunctions.cs | ||
ShiftOS.WinForms.csproj | ||
ShiftOSAudioProvider.cs | ||
ShiftOSConfigFile.cs | ||
SkinCommands.cs | ||
TestCommandsForUpgrades.cs | ||
TrailerCommands.cs | ||
UniteLoginDialog.cs | ||
UniteLoginDialog.Designer.cs | ||
UniteLoginDialog.resx | ||
UniteSignupDialog.cs | ||
UniteSignupDialog.Designer.cs | ||
UniteSignupDialog.resx | ||
VisualBasicStuff.cs | ||
WFLanguageProvider.cs | ||
WidgetManager.cs | ||
Window.cs | ||
Window.Designer.cs | ||
Window.resx | ||
WindowBorder.cs | ||
WindowBorder.Designer.cs | ||
WindowBorder.resx | ||
WinformsDesktop.cs | ||
WinformsDesktop.Designer.cs | ||
WinformsDesktop.resx | ||
WinformsWindowManager.cs |