Can't create game.

Place to report bugs in MoM IME and suggest ideas for enhancements (please read rules before posting)
Post Reply
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Can't create game.

Post by Singularity »

When trying to do my first test, something happened: I can't create games on the Server.

The game seems to be created, but when closing the program I get a Read exception error, and immediately an Access violation, and then the server crashes.

I did start the Server from its shortcut, and event started the Client without closing the Server; nothing worked.

What am I doing wrong? Many thanks.
User avatar
Implode
Site Admin
Posts: 433
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada
Contact:

Post by Implode »

Umm, I'm not sure. Although firstly, if either the server or client crash when you close them (with read errors, access violations, exceptions, etc. etc.) this isn't unusual and is nothing to worry about. So long as they don't crash *while* you're playing.

So can you get games on the server started ok? As in, you get to the point where it says "Game setup completed"?

Then you leave that running while you run the client (the server controls the game world - the client is just the graphics). For running the client, do you even get the title screen to come up? Did you run the menu option that says "Set location of original master of magic 1.31 LBX files"? The client reads most of the graphics from the original LBX files so it needs these.

And thanks for your interest in doing a Spanish translation, that would be awesome :) If you need any pointers about using the editors or how to do it, let me know.

Implode.
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

Yes, the game setup is completed, and if I run the client everything works fine (with no games to join, that is). I also did run the program for locating the LBX files.

The only problem is in the server. The first error message I get says:

"The command in 0x0000000 makes reference to memory in 0x00000000. Memory cannot be read".

I click accept, and I get:

"Exception EAccessviolation in module MoMIMEserver.exe at 00000000. Access violation at address 00000000. Read of address 00000000".

Then I click accept again, and all's gone. :(
User avatar
Implode
Site Admin
Posts: 433
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada
Contact:

Post by Implode »

Weird, normally the server is the simple & stable part - its the client trying to multithread graphics, sound, music and network msgs that is complicated.

Not sure what else to suggest, perhaps you could try downloading the debug version of the server and running that to see what log file it produces, that might have a more useful error message in it, since the errors you're seeing are just generic errors so don't give me a thing to go on :(

Implode.
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

Tried reinstalling, didn't work. I'll go with the debug versions; hope we can get past this problem.

BTW, I'm runnning XP with SP2. Could it be?

EDIT: Well, here's the log:

12:51:01:703 Thread 00000480: TfrmMomServer.cmdNewGameClick reading XML path from registry
12:51:01:703 Thread 00000480: TfrmMomServer.cmdNewGameClick searching for XML files in 'C:\Archivos de programa\Master of Magic - Implode's Multiplayer Edition\Server\'
12:51:02:078 Thread 00000480: TfrmMomServer.cmdNewGameClick found 1 XML files in folder
12:51:02:078 Thread 00000480: TfrmMomServer.cmdNewGameClick nilling out session description
12:51:02:078 Thread 00000480: TfrmMomServer.cmdNewGameClick calling GetNewGameParams
12:51:02:093 Thread 00000480: GetNewGameParams: About to create form...
12:51:02:171 Thread 00000480: ...GetNewGameParams about to set tab...
12:51:02:171 Thread 00000480: ...GetNewGameParams about to set version...
12:51:02:171 Thread 00000480: ...GetNewGameParams about to load list of XML databases...
12:51:02:187 Thread 00000480: ...GetNewGameParams about to pick default XML database...
12:51:02:187 Thread 00000480: ...GetNewGameParams about to set update flags to True...
12:51:02:187 Thread 00000480: ...GetNewGameParams about to set default radio groups...
12:51:02:203 Thread 00000480: -6 gives a base casting cost reduction of 1,000...
12:51:02:203 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:203 Thread 00000480: -6 gives a base research bonus of 1,000...
12:51:02:203 Thread 00000480: Final research bonus = 0,0%
12:51:02:203 Thread 00000480: -5 gives a base casting cost reduction of 1,000...
12:51:02:218 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:218 Thread 00000480: -5 gives a base research bonus of 1,000...
12:51:02:218 Thread 00000480: Final research bonus = 0,0%
12:51:02:218 Thread 00000480: -4 gives a base casting cost reduction of 1,000...
12:51:02:218 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:234 Thread 00000480: -4 gives a base research bonus of 1,000...
12:51:02:234 Thread 00000480: Final research bonus = 0,0%
12:51:02:234 Thread 00000480: -3 gives a base casting cost reduction of 1,000...
12:51:02:234 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:234 Thread 00000480: -3 gives a base research bonus of 1,000...
12:51:02:250 Thread 00000480: Final research bonus = 0,0%
12:51:02:250 Thread 00000480: -2 gives a base casting cost reduction of 1,000...
12:51:02:250 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:250 Thread 00000480: -2 gives a base research bonus of 1,000...
12:51:02:250 Thread 00000480: Final research bonus = 0,0%
12:51:02:265 Thread 00000480: -1 gives a base casting cost reduction of 1,000...
12:51:02:265 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:265 Thread 00000480: -1 gives a base research bonus of 1,000...
12:51:02:265 Thread 00000480: Final research bonus = 0,0%
12:51:02:265 Thread 00000480: 0 gives a base casting cost reduction of 1,000...
12:51:02:281 Thread 00000480: Final casting cost reduction = 0,0%
12:51:02:281 Thread 00000480: 0 gives a base research bonus of 1,000...
12:51:02:281 Thread 00000480: Final research bonus = 0,0%
12:51:02:281 Thread 00000480: 1 gives a base casting cost reduction of 0,900...
12:51:02:281 Thread 00000480: Final casting cost reduction = 10,0%
12:51:02:296 Thread 00000480: 1 gives a base research bonus of 1,100...
12:51:02:296 Thread 00000480: Final research bonus = 10,0%
12:51:02:296 Thread 00000480: 2 gives a base casting cost reduction of 0,800...
12:51:02:296 Thread 00000480: Final casting cost reduction = 20,0%
12:51:02:296 Thread 00000480: 2 gives a base research bonus of 1,200...
12:51:02:312 Thread 00000480: Final research bonus = 20,0%
12:51:02:312 Thread 00000480: 3 gives a base casting cost reduction of 0,700...
12:51:02:312 Thread 00000480: Final casting cost reduction = 30,0%
12:51:02:312 Thread 00000480: 3 gives a base research bonus of 1,300...
12:51:02:312 Thread 00000480: Final research bonus = 30,0%
12:51:02:328 Thread 00000480: 4 gives a base casting cost reduction of 0,600...
12:51:02:328 Thread 00000480: Final casting cost reduction = 40,0%
12:51:02:328 Thread 00000480: 4 gives a base research bonus of 1,400...
12:51:02:328 Thread 00000480: Final research bonus = 40,0%
12:51:02:328 Thread 00000480: 5 gives a base casting cost reduction of 0,500...
12:51:02:343 Thread 00000480: Final casting cost reduction = 50,0%
12:51:02:343 Thread 00000480: 5 gives a base research bonus of 1,500...
12:51:02:343 Thread 00000480: Final research bonus = 50,0%
12:51:02:343 Thread 00000480: 6 gives a base casting cost reduction of 0,400...
12:51:02:343 Thread 00000480: Final casting cost reduction = 60,0%
12:51:02:359 Thread 00000480: 6 gives a base research bonus of 1,600...
12:51:02:359 Thread 00000480: Final research bonus = 60,0%
12:51:02:359 Thread 00000480: 7 gives a base casting cost reduction of 0,300...
12:51:02:359 Thread 00000480: Final casting cost reduction = 70,0%
12:51:02:359 Thread 00000480: 7 gives a base research bonus of 1,700...
12:51:02:375 Thread 00000480: Final research bonus = 70,0%
12:51:02:375 Thread 00000480: 8 gives a base casting cost reduction of 0,200...
12:51:02:375 Thread 00000480: Final casting cost reduction = 80,0%
12:51:02:375 Thread 00000480: 8 gives a base research bonus of 1,800...
12:51:02:375 Thread 00000480: Final research bonus = 80,0%
12:51:02:375 Thread 00000480: 9 gives a base casting cost reduction of 0,100...
12:51:02:390 Thread 00000480: Final casting cost reduction = 90,0%
12:51:02:390 Thread 00000480: 9 gives a base research bonus of 1,900...
12:51:02:390 Thread 00000480: Final research bonus = 90,0%
12:51:02:390 Thread 00000480: 10 gives a base casting cost reduction of 0,000...
12:51:02:390 Thread 00000480: Final casting cost reduction = 100,0%
12:51:02:406 Thread 00000480: 10 gives a base research bonus of 2,000...
12:51:02:406 Thread 00000480: Final research bonus = 100,0%
12:51:02:406 Thread 00000480: 11 gives a base casting cost reduction of -0,100...
12:51:02:406 Thread 00000480: Final casting cost reduction = 110,0% but this is capped at 100,0
12:51:02:406 Thread 00000480: 11 gives a base research bonus of 2,100...
12:51:02:421 Thread 00000480: Final research bonus = 110,0%
12:51:02:421 Thread 00000480: 12 gives a base casting cost reduction of -0,200...
12:51:02:421 Thread 00000480: Final casting cost reduction = 120,0% but this is capped at 100,0
12:51:02:421 Thread 00000480: 12 gives a base research bonus of 2,200...
12:51:02:421 Thread 00000480: Final research bonus = 120,0%
12:51:02:437 Thread 00000480: 13 gives a base casting cost reduction of -0,300...
12:51:02:437 Thread 00000480: Final casting cost reduction = 130,0% but this is capped at 100,0
12:51:02:437 Thread 00000480: 13 gives a base research bonus of 2,300...
12:51:02:437 Thread 00000480: Final research bonus = 130,0%
12:51:02:437 Thread 00000480: ...GetNewGameParams about to click default radio buttons...
12:51:02:453 Thread 00000480: ...GetNewGameParams about to show form...
12:51:04:546 Thread 00000480: ...GetNewGameParams: form has been closed...
12:51:04:546 Thread 00000480: ...GetNewGameParams form has been closed with OK - setting up session description...
12:51:04:562 Thread 00000480: ...GetNewGameParams form has been closed with OK - session description set...
12:51:04:562 Thread 00000480: ...GetNewGameParams about to free form...
12:51:04:578 Thread 00000480: ...GetNewGameParams done
12:51:04:578 Thread 00000480: TfrmMomServer.cmdNewGameClick: GetNewGameParams returned, creating game
12:51:04:578 Thread 00000480: TNDGServer.NewSession: Starting...
12:51:04:578 Thread 00000480: Game Instance Window: Creating
12:51:04:593 Thread 00000480: Game Instance Window: InitializeInstance
12:51:04:593 Thread 00000480: MoM session InitializeInstance starting...
12:51:06:406 Thread 00000480: GenerateMap starting...
12:51:15:156 Thread 00000480: ...GenerateMap completed
12:51:17:468 Thread 00000480: ...MoM session InitializeInstance completed
12:51:17:468 Thread 00000480: TNDGSession.Create starting...
12:51:17:484 Thread 00000480: ...TNDGSession.Create done
12:51:17:484 Thread 00000480: CheckIfCanStartGame: No
12:51:17:484 Thread 00000480: Allocated session ID 1
12:51:17:484 Thread 00000480: ...TNDGServer.NewSession done
12:51:23:937 Thread 00000480: MoM instance FormDestroy starting...
12:51:23:937 Thread 00000480: ...MoM instance FormDestroy calling inherited...
12:51:23:953 Thread 00000480: Game Instance Window: Being destroyed
12:51:23:953 Thread 00000480: ...MoM instance FormDestroy done
12:51:24:312 Thread 00000480: TNDGServer.Destroy: Destroying sessions list...
12:51:24:312 Thread 00000480: TNDGGameSession.Destroy: Closing log window instance...

It seems the error comes there.

If I close the Server without having created games, there's no error.
User avatar
Implode
Site Admin
Posts: 433
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada
Contact:

Post by Implode »

Singularity wrote:BTW, I'm runnning XP with SP2. Could it be?
Nope, that's what I'm running too.
Singularity wrote:12:51:17:484 Thread 00000480: CheckIfCanStartGame: No
That just means that not enough players have joined yet. You must have left it as more than 1 human player, so its waiting for more to join....?

Implode.
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

No luck. Configuring a game with only 1 human player and 1 AI, and the error persists.

Something about DirectX, perhaps? I've 9.0, but...
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

Still no luck. I've tried it in my other computer (with W98), and crashes.

Could it be something about the language configuration? Perhaps switching to english will do the thing.
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

Another bluff. Language configuration is not the problem. I think I've ran out of ideas.
aggelon
Posts: 71
Joined: Tue May 16, 2006 6:58 pm
Location: FRANCE
Contact:

Post by aggelon »

Maybe something about the firewall ?
ToreDeLoro
Posts: 2
Joined: Sat Jan 06, 2007 11:14 am

Post by ToreDeLoro »

i only have problems when i minimize or maximize the screen...

i create a game on XP SP2 and have no problem with english version...
farleyb
Posts: 3
Joined: Fri Dec 01, 2006 2:03 am

Post by farleyb »

Check your location of you lbx files - you need to make sure they are pointing to either the CD or location of where ever MAINSCRN.LBX is located.
User avatar
Singularity
Posts: 25
Joined: Tue Nov 21, 2006 11:50 am
Location: Alicante, Spain.

Post by Singularity »

With all firewalls and antiviruses closed, no luck. And the server is pointing correctly to mainscrn.lbx...

I've 2 PCs connected in LAN. Could that be? I've tried running on both, and no luck either.
aggelon
Posts: 71
Joined: Tue May 16, 2006 6:58 pm
Location: FRANCE
Contact:

Post by aggelon »

Oh-oh... I re-read your post...

At the start of the client, no game are available, it's usual.

YOU HAVE TO key-in the IP address of the 'server' PC...

Let's say your server is 192.168.0.1, and your client is 192.168.0.2.

Firts, test, within a Dos command, "ping 192.168.0.2" on your server, and then "ping 192.168.0.1" on your client.

You have to get 4 answers (reply) -> the connection between client/server is OK.

Then launch MoM-IME server, create new game (by default, its name will be 'My Game', wait for "Game Setup Complete".

Then launch MoM-IME client, start game, key-in 192.168.0.1, then press refresh button -> your 'My Game' will be displayed -> click join button.

Have a try.

Sorry for my bad english, I hope I'm understandable ? :D

Have fun play,
Agge.
Post Reply