Demogame.server Runtime error

8 replies [Last post]
Posts: 15

When I start the server it loads up, but after "DbController successfully initialized all queries" I get the following error:

If I press ignore it shows the error again and then it continues in the console and when its done it crashes.

When I debug it ends at:

Debug.Assert(name == type.Name);

Error report crash:

EventType : clr20r3     P1 : demogame.server.exe     P2 : 1.0.0.0     
P3 : 4b0d757b     P4 : demogame.server     P5 : 1.0.0.0     P6 : 4b0d757b     
P7 : 156     P8 : 2d     P9 : system.typeinitialization

Talking guy ID: 4, Type: NPC
NPC.cs line 211:

            if (v.ChatDialog.HasValue)
                _chatDialog = NPCChatManager.GetDialog(v.ChatDialog.Value);

Posts: 531

yeh that happened to me too.

I just went into the MySQL database and disabled all the NPC's using chat as a quick fix so i could work on other things. I'll check to see if it's been reported, in a moment.

To disable the NPC's using chat go into

demogame --> character (table) --> and change (id):4, chat_dialog to (null).

quick fix Smile

There are 10 types of people in this world - Those who understand Binary and those who don't.

Posts: 15

Thanks, I was able to start the server but I still get the error, the error is about exception handling I guess, the server wont shutdown after I ignore it so thats a starter for now.

Posts: 531

Issue reported. See issue #68.

There are 10 types of people in this world - Those who understand Binary and those who don't.

Posts: 1691

Huh, I wonder if I forgot to make a database dump after changing something, since I haven't had any problems loading up the server.

In later releases, when there are more people actually using the engine, I'll actually test out the packages before uploading to avoid problems like that (assuming that is what it is).

Anyone getting this problem in the latest SVN version?

Posts: 531

Just downloading to new directory will post findings here Smile

Seems to be fixed now.

There are 10 types of people in this world - Those who understand Binary and those who don't.

Posts: 1691

Actually, according to the Debug.Assert() that is failing, I assume you are using the (near)-latest version. The assert is fixed, but won't be able to fix the other problem until later (though know where it is).

Posts: 1691

Fixed. Damn that was an annoying one to track down!

Posts: 15

Isnt bug fixing fun! The server is working fine now!