The Protectors Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


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

 

 [FIXED] game crashes when dropping items (0.8.3)

Go down 
5 posters
AuthorMessage
Turtle
Knight
Knight
Turtle


Posts : 12
Join date : 2014-08-25

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeWed 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\\Documents\The Protectors\HeroDataTPC.xcr" file contains the entire save game) -- it's quite repeatable.
Back to top Go down
Patrick_the_Winekiller
Devourer of bugs
Devourer of bugs
Patrick_the_Winekiller


Posts : 1134
Join date : 2012-01-04

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeMon 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
http://the-protectors.webs.com
Turtle
Knight
Knight
Turtle


Posts : 12
Join date : 2014-08-25

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeWed 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
Kharn
Earth Moulder
Earth Moulder
Kharn


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

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeThu 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
Zetoo
Bug Catcher
Bug Catcher
Zetoo


Posts : 334
Join date : 2015-01-28

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeSat 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
Joe the Bartender
Keeper of Balance
Keeper of Balance
Joe the Bartender


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

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeSun 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
http://etheria.wikia.com/wiki/User_talk:Joe_the_Bartender
Zetoo
Bug Catcher
Bug Catcher
Zetoo


Posts : 334
Join date : 2015-01-28

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeMon 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
Joe the Bartender
Keeper of Balance
Keeper of Balance
Joe the Bartender


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

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeTue Jan 05, 2016 4:23 am

Bug devoured! Very Happy
Back to top Go down
http://etheria.wikia.com/wiki/User_talk:Joe_the_Bartender
Patrick_the_Winekiller
Devourer of bugs
Devourer of bugs
Patrick_the_Winekiller


Posts : 1134
Join date : 2012-01-04

[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitimeSun Nov 12, 2017 12:39 am

Fixed in 0.8.8. Topic closed.
Back to top Go down
http://the-protectors.webs.com
Sponsored content





[FIXED] game crashes when dropping items (0.8.3) Empty
PostSubject: Re: [FIXED] game crashes when dropping items (0.8.3)   [FIXED] game crashes when dropping items (0.8.3) I_icon_minitime

Back to top Go down
 
[FIXED] game crashes when dropping items (0.8.3)
Back to top 
Page 1 of 1
 Similar topics
-
» [FIXED] Game Crashes (Multiplayer)
» [FIXED] game crashes on exit
» [FIXED] Minotaur King crashes the game
» [FIXED] Convert Proficiency - game crashes at map start
» [FIXED] Game crashes if you enter Campaign Options screen

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