Does anyone have a fix for groups?
I noticed that there is a invalid cast when you login and have a group.
Does anyone have a fix for groups?
I noticed that there is a invalid cast when you login and have a group.
Most of cast exceptions in Habbo emulators are caused by casting and data column into an uint type. It should be explicitly converted. I mean, you should change all '(uint)' to 'Convert.ToUInt32(data-column)'
That's just a theorical answer based in theorical C#. In my conception for high level programming languages you should cast only objects on boxing and unboxing. For MySQL data I would use Convert() because if there is some NULL data to be converted it won't throw an exception but a default value instead. Of course in that case your problem is bigger.
Alright, Hmm which would you say would be a easy way how to make voids in c#? Like a tut?