Official 5165 FAQ/Question thread

01/12/2010 15:33 Pitylee#691
Hey.

I installed W7, I was hoping that the server'll work on it correctly. It runs,
just when I try to log in, the error below comes up.
Do anyone know what is the problem? :(


PHP Code:
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:\server\Main\Blowfish.cs:line 85
   at NewestCOServer
.Main.GameCrypto..ctor(Byte[] key) in C:\server\Main\Blowfish.cs:line 15
   at NewestCOServer
.Main.GameClient..ctor(Boolean Robot) in C:\server\Main\GameClient.cs:line 48
System
.NullReferenceException: Object reference not set to an instance of an object.
   
at NewestCOServer.Main.GameWorker.ConnectionHandler(StateObj S) in C:\server\Main\GameWorker.cs:line 33 
01/12/2010 15:53 Korvacs#692
Quote:
Originally Posted by Pitylee View Post
Hey.

I installed W7, I was hoping that the server'll work on it correctly. It runs,
just when I try to log in, the error below comes up.
Do anyone know what is the problem? :(


PHP Code:
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:\server\Main\Blowfish.cs:line 85
   at NewestCOServer
.Main.GameCrypto..ctor(Byte[] key) in C:\server\Main\Blowfish.cs:line 15
   at NewestCOServer
.Main.GameClient..ctor(Boolean Robot) in C:\server\Main\GameClient.cs:line 48
System
.NullReferenceException: Object reference not set to an instance of an object.
   
at NewestCOServer.Main.GameWorker.ConnectionHandler(StateObj S) in C:\server\Main\GameWorker.cs:line 33 
[Only registered and activated users can see links. Click Here To Register...]

This has been posted numerous times as a fix for that error, please search in future.
01/12/2010 16:23 Pitylee#693
Quote:
Originally Posted by Korvacs View Post
[Only registered and activated users can see links. Click Here To Register...]

This has been posted numerous times as a fix for that error, please search in future.
Kay kay, actually I just didn't knew what to search!
01/12/2010 19:17 KraHen#694
When you get an exception, google it, it usually explains everything. Actually,the first link for googleing "System.BadImageFormatException: An attempt was made to load a program with an incorrect format." explains the error pretty straightforward.
01/13/2010 16:23 [GM]#695
everytime i try to edit .cs files some words have a red underline and i can't add any NPC or anything
01/13/2010 16:37 pro4never#696
red lines means you made an error in your coding. Read what the errors have to say as they are usually quite helpful (usually something simple like something not being defined, being a duplicate, etc)
01/13/2010 22:12 [GM]#697
Quote:
Originally Posted by pro4never View Post
red lines means you made an error in your coding. Read what the errors have to say as they are usually quite helpful (usually something simple like something not being defined, being a duplicate, etc)
i don't code them my self i just copy and paste it from fourms and not working
01/14/2010 06:34 Pitylee#698
Hey.
How can I create a KOBoard?
I even don't know how to open koboard.dat.

And the VIP System?

Thank you :)
01/14/2010 19:41 .Ryu#699
Quote:
Originally Posted by Pitylee View Post
Hey.
How can I create a KOBoard?
I even don't know how to open koboard.dat.

And the VIP System?

Thank you :)
Well... Open koboard.dat with note pad for the vip i dont know
01/14/2010 21:08 Fleaman#700
Thanks fox
01/15/2010 01:52 NoFatChicks#701
@[GM]

Well.. best thing for u is just read the error lines or download again a "clean" source.. like this one (with no errors on project) ..so when u copy and paste something there and get errors u will know the error can be only in the thing u pasted.. so take a minute and read the error lines and i bet theres is almost all u need to fix it.


(just trying to help)
01/15/2010 11:20 Basser#702
When I was using this source, I run through some mayor bugs, and problems.
The main things that bugged me was:
It's not stable.
It uses too much memory.
I hate the sources lay-out or what ever your going to call it.
01/15/2010 19:17 _MaryJuana#703
could any1 help me?

idk but i think thats not the right database if i use it in mysql then i dont got any tables :/ so i cant start the server idk why
01/15/2010 19:59 .Ryu#704
Quote:
Originally Posted by peterchmiel View Post
could any1 help me?

idk but i think thats not the right database if i use it in mysql then i dont got any tables :/ so i cant start the server idk why
The source is all ini and dont use my sql you need to edit the config.ini
01/15/2010 20:04 _MaryJuana#705
Quote:
Originally Posted by .Ryu View Post
The source is all ini and dont use my sql you need to edit the config.ini
ye i edited the ini dat but then if i start the newest co server.exe then it looks like this:

[Only registered and activated users can see links. Click Here To Register...]