A place to discuss about The Protectors mod for Warlords Battlecry 3. Visit http://the-protectors.webs.com for more info.
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 game crashes when dropping items (0.8.3)

View previous topic View next topic Go down 
AuthorMessage
Turtle
Knight
Knight
avatar

Posts : 12
Join date : 2014-08-25

PostSubject: game crashes when dropping items (0.8.3)   Wed Aug 27, 2014 9:24 pm

If I open inventory and drop all 4 of my "backpack" items onto the ground (nth backpack item to the nth ground slot), as soon as I hit the red 'x' to close the inventory the game crashes. I have a save game that can be used to reproduce the issue if that's of help (assuming the "\Users\<user>\Documents\The Protectors\HeroDataTPC.xcr" file contains the entire save game) -- it's quite repeatable.
Back to top Go down
View user profile
Patrick_the_Winekiller
Devourer of bugs
Devourer of bugs
avatar

Posts : 898
Join date : 2012-01-04

PostSubject: Re: game crashes when dropping items (0.8.3)   Mon Sep 01, 2014 6:35 pm

I was unable to reproduce it. If you still have the save file, please send it.

_________________

Back to top Go down
View user profile http://the-protectors.webs.com
Turtle
Knight
Knight
avatar

Posts : 12
Join date : 2014-08-25

PostSubject: Re: game crashes when dropping items (0.8.3)   Wed Sep 03, 2014 6:23 pm

short version: If anyone experiences this crash bug, rebooting your machine might fix it.

long version:

Let me sum up the state of three bugs because they appear to all be related.  The three bugs are:

  • crash on inventory drop (this thread)
  • bosses not appearing when lair destroyed (1 of the 3 issues listed here)
  • healing bug (here)

Upon deleting my "\Users\<user>\Documents\The Protectors" directory and creating a new hero, the first two bugs went away and the healing bug remained.  This would seem to indicate that the first two bugs are, at least in part - but not necessarily entirely, related to some data in the save game state.

Just tonight my computer had an "incident" - the exhaust fan died, the CPU (or memory or something) apparently got too hot and it locked up.  I replaced the fan and the computer appears to be working fine.  But here's the important part:  This obviously involved a reboot.  I hadn't rebooted my box for about month before that.

Now why do I think that the reboot mattered?  Because in preparation for sending you a save game I restored my old woodelf healer save that I backed up before deleting the "\Users\<user>\Documents\The Protectors" directory to make sure there were no problems reproducing the issue (e.g., such as maybe not having all the save files needed).  I was happy to see that save loaded up fine and was right in the middle of the "Invasion" scenario (and with lairs still waiting to be destroyed and crystal dragons ready to go do the destroying), so the one save game could in theory be used to reproduce both the crash bug and the no-boss bug.

However, I tried dropping an inventory item.  No crash.  I picked it up, moved a bit (so I wasn't at the empty chest) and dropped all 4 just like before.  Still no crash.   I then sent dragons to destroy a lair.  A boss was produced.  And to top it all off, one of the dragons got injured doing that so when it got back to my base I tried a "group heal" spell, and that worked.

So these bugs must be related to whatever state my machine was in -- probably a low resource of some type.  (I always make sure I have 2GB of memory available before running the game, but there are other resources applications use such as handles and directx stuff, and windows leaking such resources over time is certainly not out of the question.)

I would suggest that the game should log any instance where it requests resources and is unable to get them (so at least there's an easier way to know what's going on).  However, I would also not be surprised if in some cases a low resource might make windows functions fail internally and such a failure might not even get reported back to the application, so logging might only partially address the issue.
Back to top Go down
View user profile
Kharn
Earth Moulder
Earth Moulder
avatar

Posts : 213
Join date : 2013-02-02
Location : The WBC3 wiki these days

PostSubject: Re: game crashes when dropping items (0.8.3)   Thu Sep 04, 2014 12:41 am

It could very well be (another) memory leak where WBC3 isn't clearing temp data when it's no longer needed. I know with some other games there can be this same issue and you can view the Windows temp folder and still see content from the game in there that should have been deleted after the game was closed down.
I forget exactly how you can view this mythical temp folder (or even if WBC3 uses it), but I think it can be seen by just enabling the view of hidden folders and looking in the C drive.

Previously known memory leaks with WBC3 were confined to the game's running state, and closing just the game down (not the computer) fixed it.
Back to top Go down
View user profile
Zetoo
Bug Catcher
Bug Catcher
avatar

Posts : 334
Join date : 2015-01-28

PostSubject: Re: game crashes when dropping items (0.8.3)   Sat Nov 14, 2015 8:49 pm

Kharn wrote:
It could very well be (another) memory leak where WBC3 isn't clearing temp data when it's no longer needed. I know with some other games there can be this same issue and you can view the Windows temp folder and still see content from the game in there that should have been deleted after the game was closed down.
I forget exactly how you can view this mythical temp folder (or even if WBC3 uses it), but I think it can be seen by just enabling the view of hidden folders and looking in the C drive.

Previously known memory leaks with WBC3 were confined to the game's running state, and closing just the game down (not the computer) fixed it.

Is this still going on?
Back to top Go down
View user profile
Joe the Bartender
Keeper of Balance
Keeper of Balance
avatar

Posts : 326
Join date : 2014-08-20
Location : The Candlekeep Inn

PostSubject: Re: game crashes when dropping items (0.8.3)   Sun Dec 20, 2015 2:36 am

I think most of it is fixed... at least I haven't seen any new occurrences of this bug since Pat's been meddling with Items/Lairs/Bosses/Assets.
Back to top Go down
View user profile http://etheria.wikia.com/wiki/User_talk:Joe_the_Bartender
Zetoo
Bug Catcher
Bug Catcher
avatar

Posts : 334
Join date : 2015-01-28

PostSubject: Re: game crashes when dropping items (0.8.3)   Mon Jan 04, 2016 7:33 pm

Joe the Bartender wrote:
I think most of it is fixed... at least I haven't seen any new occurrences of this bug since Pat's been meddling with Items/Lairs/Bosses/Assets.

I think so too. just tested all items in the game and there were no crashes.
Back to top Go down
View user profile
Joe the Bartender
Keeper of Balance
Keeper of Balance
avatar

Posts : 326
Join date : 2014-08-20
Location : The Candlekeep Inn

PostSubject: Re: game crashes when dropping items (0.8.3)   Tue Jan 05, 2016 4:23 am

Bug devoured! Very Happy
Back to top Go down
View user profile http://etheria.wikia.com/wiki/User_talk:Joe_the_Bartender
Sponsored content




PostSubject: Re: game crashes when dropping items (0.8.3)   

Back to top Go down
 
game crashes when dropping items (0.8.3)
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Game Crashes as It loads please HELP!
» Game crashes on startup after installing Rudy ENB
» Game crashes in the opening.
» game crashes!
» Help, The game crashes!

Permissions in this forum:You cannot reply to topics in this forum
The Protectors Forum :: Bugs reporting-
Jump to: