Non-Gms Do Not Save

09/11/2008 19:15 Lord Karil#1
Help With My Error

this is what i get in ServerLog I Cut all the spawned stuff out...thats all fine till a Non-GM logs in.

[code]
Successful login for account Bradley
Successful login for account Bradley2
System.InvalidCastException: Specified cast is not valid.
at ExternalDatabase.GetStatus(String Acc) in C:Documents and SettingsFuckYouDesktopPowerSource LatestPowerSource CODatabaseDatabaseDatabase.cs:line 961
at COServer_Project.Client.GetPacket(Byte[] data) in C:Documents and SettingsFuckYouDesktopPowerSource LatestPowerSource COCOServerProject1COServerProjectClient.cs:line 6202
at COServer_Project.General.GamePacketHandler(Object Sender, HybridSocket Socket) in C:Documents and SettingsFuckYouDesktopPowerSource LatestPowerSource COCOServerProject1COServerProjectGeneral.cs:line 310
[code/]


Problem solved found out that the Status's Auto Null was messing it up so i just need to reprogram the Null or just put a 0 in each time for a Non-GM

thanks Karil
09/11/2008 21:35 _Emme_#2
Go to:

Database.cs
Line = 6202

Then,

General.cs
Line = 310


Now,open a new source,some source that is NOT bugged,then go to the same shit,and compare the codes there,and see if its any difference.

If this helped any way,or you feel/someone else feel this was an helping post,please press thanks!

Emme
09/11/2008 23:22 InfamousNoone#3
The mysql variable cast is wrong, duh.