Company of Heroes: Eastern Front

Author Topic: Costum map crashes please HELP  (Read 1688 times)

Offline marinovic

  • Ingenery
  • *
  • Posts: 1
    • View Profile
Costum map crashes please HELP
« on: November 30, 2014, 03:56:44 AM »
I have been making the map of the city in which I am studying, in COH ToV,and it is extra large,almost finish map, and I really cared about details. And now I reached the testing,and with it a huge problem.

So when I start to play a map everything runs fine,except minor frame drop over detailed area. The map has height map from 0-200m ( maybe this is making problem,but city,which I am trying to replicate is city with height map reaching over 400-500 m),also another related problem is that first I had Eastern front mod installed,then to remove the major problem I uninstalled it, and it didnt helped.

So the major problem is that ingame when I play the map,it crashes after 10-20 min playing.I don know why,I tried to search errors in world builder, and corrected all of them,I tried bunch of staff,and didnt worked.
Also I noticed that it happens when first few shells explode-

So I am kindly ask you guys to help since I have been creating the map since May (2014).

One more symptom you may recognise is that in minimap/tactical, in game,1/4, or 1/5 is covered by pink area, as well didnt figure out how to solve this,maybe is related?


It crashes with error message;
Problem signature:
Problem Event Name:   BEX
Application Name:   rspa.dll
Application Version:   1.0.0.33333
Application Timestamp:   00000000
Fault Module Name:   StackHash_e98d
Fault Module Version:   0.0.0.0
Fault Module Timestamp:   00000000
Exception Offset:   30007800
Exception Code:   c0000005
Exception Data:   00000008
OS Version:   6.1.7600.2.0.0.256.1
Locale ID:   1033
Additional Information 1:   e98d
Additional Information 2:   e98dfca8bcf81bc1740adb135579ad53
Additional Information 3:   6eab
Additional Information 4:   6eabdd9e0dc94904be3b39a1c0583635

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Costum map crashes please HELP
« Reply #1 on: December 02, 2014, 09:26:15 PM »
Hello Marinovic!
I doubt that the height of the map has any impact on the performance. However I have some advices to give you regarding big city maps: Never overuse (enterable) buildings, the Essence Engine is not made for that (I lost an entire campaign map progress because of that some time ago). Also pink is always VERY BAD, let me tell you why. The color pink was chosen to have the biggest possible contrast to everything else so that you can see that there's stuff missing (wrong reference etc.). Yes, this is definitely related! As for your error message even gives the final clue. "Exception code c0000005" -> can be a stale pointer/reference (PINK) or an index out of bounds error (unlikely).

So find all your pink items and delete/replace them. You probably placed stuff that isn't made for ingame use (like NIS stuff).

Unfortunately we do not have access to the source code of the Essence Engine, so this is why we can't investigate what really caused the error.

If you want to know the entire explanation here it is:

Quote
Exception code c0000005 is the code for an access violation. That means that your program is accessing (either reading or writing) a memory address to which it does not have rights. Most commonly this is caused by:

- Accessing a stale pointer. That is accessing memory that has already been deallocated. Note that such stale pointer accesses do not always result in access violations. Only if the memory manager has returned the memory to the system do you get an access violation.
- Reading off the end of an array. This is when you have an array of length N and you access elements with index >=N.

Source: http://stackoverflow.com/questions/17168982/exception-error-c0000005-in-vc

I hope this will help you.
Regards Walki
I identify as a four-eyed bird man. /s

Offline Max 'DonXavi' von B.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3462
  • Eastern Front forever!
    • View Profile
Re: Costum map crashes please HELP
« Reply #2 on: December 08, 2014, 11:01:23 AM »
@marinovic: If there are still issues with your map, you can send it my way and I'll have a look at what's wrong.

Lemberg - Baraque de Fraiture - Smolensk - Heiligenbeil - Nobel Dynamite Works - Lorient - Poltawa

Offline Walentin 'Walki' L.

  • Developer
  • Poster of the Soviet Union
  • *
  • Posts: 3262
  • Creator of Things
    • View Profile
    • Steam Profile
Re: Costum map crashes please HELP
« Reply #3 on: December 11, 2014, 04:36:07 PM »
#Closed.
I identify as a four-eyed bird man. /s