i do have one problem im running into i got it all loading on my vps but im getting this error
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at PluimpieCo.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data)
at PluimpieCo.Main.Blowfish.SetKey(Byte[] data) in C:\Documents and Settings\Administrator\Bureaublad\New DutchCo\Main\Blowfish.cs:line 85
at PluimpieCo.Main.GameCrypto..ctor(Byte[] key) in C:\Documents and Settings\Administrator\Bureaublad\New DutchCo\Main\Blowfish.cs:line 15
at PluimpieCo.Main.GameClient..ctor(Boolean Robot) in C:\Documents and Settings\Administrator\Bureaublad\New DutchCo\Main\GameClient.cs:line 48
System.NullReferenceException: Object reference not set to an instance of an object.
at PluimpieCo.Main.GameWorker.ConnectionHandler(State Obj S) in C:\Documents and Settings\Administrator\Bureaublad\New DutchCo\Main\GameWorker.cs:line 34
Edit:
I went threw all system files trying to find it no luck.
It only happens when i get to connecting to game server when trying to login.
Files and line thats giving error:
GameClient.cs:
Crypto = new GameCrypto(ASCIIEncoding.ASCII.GetBytes("DR654dt34 trg4UI6"));
Blowfish:
Native.BF_set_key(_key, data.Length, data);
GameWorker:
C.AddSend(Packets.DHKeyPacket(C.KeyExchance.Public Key.ToHexString(), C.NewServerIV, C.NewClientIV));






