![]() |
|
CashServer error every 2 min - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Guides & Help Section (https://lckb.dev/forum/forumdisplay.php?fid=193) +---- Forum: Help & Support (https://lckb.dev/forum/forumdisplay.php?fid=157) +----- Forum: Ep2 Support (https://lckb.dev/forum/forumdisplay.php?fid=166) +------ Forum: Solved Topics (https://lckb.dev/forum/forumdisplay.php?fid=144) +------ Thread: CashServer error every 2 min (/showthread.php?tid=2496) |
- viktor145 - 10-05-2013 Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type. at System.DBNull.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value) [0x00000] in <filename unknown>:0 at Cash_Server.Users.GetCashBalance (System.String username, Int32 userid) [0x00000] in <filename unknown>:0 at Cash_Server.Users.ProcessCashBalanceRequest (System.Byte[] packet, Int32 ClientID) [0x00000] in <filename unknown>:0 at Cash_Server.NetIO.Incomming (System.Byte[] packet, Int32 ClientID) [0x00000] in <filename unknown>:0 at Cash_Server.NetIO.OnDataReceived (IAsyncResult asyn) [0x00000] in <filename unknown>:0 - viktor145 - 10-05-2013 2013/10/05 23:56:36 :: Call to Gothic > ET to call Home.....Connect 2013/10/05 23:56:36 :: SYSTEM > Testing mySQL connection 2013/10/05 23:56:37 :: SYSTEM > Loaded 293 packages from the database 2013/10/05 23:56:37 :: SYSTEM > Changing to Auth DB 2013/10/05 23:56:37 :: SYSTEM > Found 123 game accounts 2013/10/05 23:56:37 :: SYSTEM > Lottery system starting 2013/10/05 23:56:37 :: SYSTEM > Cash Server listening on MY IP:9100 2013/10/05 23:56:37 :: LOTTERY > Participants of week 40 : 0 2013/10/05 23:56:37 :: SYSTEM > Connection accepted from MY IP:56257 Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination type. at System.DBNull.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value, IFormatProvider provider) [0x00000] in <filename unknown>:0 at System.Convert.ToInt32 (System.Object value) [0x00000] in <filename unknown>:0 at Cash_Server.Users.GetCashBalance (System.String username, Int32 userid) [0x00000] in <filename unknown>:0 at Cash_Server.Users.ProcessCashBalanceRequest (System.Byte[] packet, Int32 ClientID) [0x00000] in <filename unknown>:0 at Cash_Server.NetIO.Incomming (System.Byte[] packet, Int32 ClientID) [0x00000] in <filename unknown>:0 at Cash_Server.NetIO.OnDataReceived (IAsyncResult asyn) [0x00000] in <filename unknown>:0 [root@www cash]# - luoo - 10-06-2013 set default value for the coloum cash in bg_user - viktor145 - 10-06-2013 Thank you - SibaN - 11-22-2013 Closed |