Silverwave group error hex problem.

Results 1 to 5 of 5
  1. #1
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Silverwave group error hex problem.

    I am using Silverwave emulator and when I create a group, everything works fine, until I have to select the 2 colors for it. In my database color 1 is an int and so is color 2, but some of the colors are hexadecimals, so they aren't in the int form, so it wont' insert into the database. I tried changing the types to varchar or text, they didn't work either, I was just getting invalid cast. I tried changing all the casts but I ended up getting nowhere. If anyone knows the fix to this little issue, it would be greatly appreciated.


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: Silverwave group error hex problem.

    Change the data type of the colors to string in your emulator as I'm pretty sure the hex colors get append as string in the packets.

  3. #3
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Silverwave group error hex problem.

    Quote Originally Posted by The General View Post
    Change the data type of the colors to string in your emulator as I'm pretty sure the hex colors get append as string in the packets.
    I tried, but everywhere it has the int cast, then after I fix all that I get an error from the definitions that doesn't look changeable...

  4. #4
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: Silverwave group error hex problem.

    Then remove the Convert.ToInt32(); or (int) from them.

    What kind of errors you get next? Isn't hard to fix I think. Post some screenshots and I guide you through it.

  5. #5
    Enthusiast VOID3D is offline
    MemberRank
    Oct 2013 Join Date
    44Posts

    Re: Silverwave group error hex problem.

    Quote Originally Posted by The General View Post
    Then remove the Convert.ToInt32(); or (int) from them.

    What kind of errors you get next? Isn't hard to fix I think. Post some screenshots and I guide you through it.
    I'll try it now thanks c: I also have this annoying little bug, it has been bothering my users and I quite a bit. When a room gets unloaded, all the furni moves around and glitches out, here is a screen shot of what it looks like after being unloaded. er.png



Advertisement