Jump to content
Sign in to follow this  
PowerMage

Dedicated server crash

Recommended Posts

Hi there!

I've been working on a massive multiplayer map for a while now. Therefore I use a lot of createUnit, createVehicle commands. My map is based on capturing cities and trying to conquer the island. Since I don't want to have all units on the map at the same time I generate them with createUnit/createVehicle and store their data into large arrays so that I can remove them from the map again if they are not needed and place them back, when a player comes close.

I've been testing this mission with the new upgrade 1.45 and 1.46. After the second wave of createUnit created units the dedicated Server crashes with an adress violation. It could be that my skripts might do something bad but that shouldn't be the reason for an adress violation! I'll do some tests today to find out when exactly this happens. I wonder if anybody else has sightet this new feature? Btw, the server crashes within the first 5 minutes exactly when the new wave of soldiers is created.

CU

Share this post


Link to post
Share on other sites

Can U maybe explain how to use textlog and debuglog commands? Do I have to enable some commandlines to use these commands in OFP? And where are the output files stored with logged data?

Here is the flashpoint.rpt for my server crash described above:

=====================================================================

== D:\SPIELE\OPERATIONFLASHPOINT\OFP_SERVER.EXE

=====================================================================

Exe version: Mon Mar 04 11:29:20 2002

file: cur_mp

world: abel

campaign:

battle:

mission:

Exception code: C0000005 ACCESS_VIOLATION

Version 1.46

Fault address: 0047A6AF 01wow.gif00796AF D:\SPIELE\OPERATIONFLASHPOINT\OFP_SERVER.EXE

Prev. code bytes: 4A 0A 00 85 C0 75 1D 8B 43 24 D9 45 08 8B 40 08

Fault code bytes: D8 A0 80 03 00 00 D9 E1 DC 0D 30 F6 65 00 D8 45

Registers:

EAX:00000000 EBX:040AB100

ECX:00000000 EDX:0093ECC0

ESI:01745DB0 EDI:0093F8D0

CS:EIP:0177wow.gif047A6AF

SS:ESP:017F:0093EC98 EBP:0093ECB8

DS:017F ES:017F FS:272F GS:27B6

Flags:00010246

=======================================================

Share this post


Link to post
Share on other sites

Okay... I now looked somewhat closer when exactly the server is crashing. It happened when I was deleting the soldiers from the playfield after the player left a specified area.

It's a strange thing because these Units 100% exist and have been created before. So I don't really know why this happens.

Deleting units worked fine on some older versions on my map. Maybe the extensive use of arrays causes trouble? I don't know... please help!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×