[Help]5165 problem

12/10/2010 15:16 coreymills#1
this is the original 5165 released.

Quote:
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data)
at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\Users\Mills\Documents\Corey\Sources\Fixed Source\rikardo updated\Main\Blowfish.cs:line 85
at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\Users\Mills\Documents\Corey\Sources\Fixed Source\rikardo updated\Main\Blowfish.cs:line 15
at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Users\Mills\Documents\Corey\Sources\Fixed Source\rikardo updated\Main\GameClient.cs:line 48
System.NullReferenceException: Object reference not set to an instance of an object.
at NewestCOServer.Main.GameWorker.ConnectionHandler(S tateObj S) in C:\Users\Mills\Documents\Corey\Sources\Fixed Source\rikardo updated\Main\GameWorker.cs:line 33
Blowfish.cs line 85:
Code:
Native.BF_set_key(_key, data.Length, data);
BlowFish.cs Line 15:
Code:
_blowfish.SetKey(key);
GameClient.cs Line 48:
Code:
Crypto = new GameCrypto(ASCIIEncoding.ASCII.GetBytes("DR654dt34trg4UI6"));
GameWorker.cs line 33:
Code:
C.AddSend(Packets.DHKeyPacket(C.KeyExchance.PublicKey.ToHexString(), C.NewServerIV, C.NewClientIV));
12/10/2010 16:00 Korvacs#2
Force project to load as 32bit, search please x.x
12/10/2010 20:08 Syst3m_W1z4rd#3
First line already declares is wrong format.

System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)