Jump to content
The Dark Mod Forums

Savegame issue after restarting game.


ERH+

Recommended Posts

I've encountered a big problem with my wip map 'Seed of the Lodestar' - it starts and works without problems, but an error (malloc error 1048576) occurs while loading savegame after restarting TDM.

But - if I start the map from the beginning and then load savegame, it works well.

 

I've tried deleting whole sections of the map (it have five: the city, sea bottom/surface and ship's exterior, ships interior, arctic wreck, buried ruins) and removing only one section didn't fix the problem, even if entity limits seems to be in the safe zone afterwards. Also removing almost all of model files from /models folder makes fresh load-save work - so it may be related to model complexity. I've tried making all func_static no solid and it didn't help, so its not a collision limit problem.

 

Here's download link:

https://1drv.ms/u/s!AoIlw2GQnPGZeO3FRHW4_DSdQEk

S2wtMNl.gif

Link to comment
Share on other sites

When you say 'restarting TDM', do you mean a restart via pressing the restart button in the options menu or the console respectively or does the error also occour if you close TDM and start the application anew. If it only happens in the first case, I would fairly doubt it has anything to do with model complexity or entity limit. And even in the latter case it is very unlikely.

 

From my unqualified point of view I would assume that there is an issue with TDM (dangling pointer etc...) which just gets triggered by you mission due to its quantity, but which may also be possible to happen with smaller missions (it may only require more restarts there). I experience odd behaviour or crashes from time to time, too if I keep restarting TDM over and over again (for example when editing in game entities, materials or other stuff which require a restart or reload of certain parts of the engine).

 

If I am not completely mistaken a malloc error simple means, that the application tries to access memory it isn't allowed to (hence the dangling pointer assumption) or if the system is running out of memory. There are other guys here who probably know better, though.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

When I start the TDM, start the mission from the beginning, or start the mission from the beginning and then load a savegame - it works fine. When I close TDM, start it again, and try to load a savegame - I have an error. The mission is pushed to the entity and collision limits, maybe loading mission and all changes written in the save file simultaneously is too much? Can I bypass it in some way (other than "please start the mission and THEN load a save file")?

Edited by ERH+

S2wtMNl.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 0 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
    • nbohr1more

      Please vote in the 15th Anniversary Contest Theme Poll
       
      · 0 replies
×
×
  • Create New...