ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
User avatar
rondel123
Junior Member
Paladin
Posts: 109
Joined: Mon Sep 06, 2010 3:59 am
Location: Slovakia

ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by rondel123 » Tue Jun 20, 2017 6:27 pm

Hello, I'm experiencing this problem since 3 days and got no clue what could be the cause. My monster chains are all proper, checked with txt analyser. I digged the forum a lot and found out it could be a mon chains problem, so thats why I'm writing about this in advance. By the way - I defragmented my hard drive.

The problem occurs from time to time when I pick up a character and try to start playing with it. It occurs like 1 out of 20 times, sometimes even much less frequently.
Also, it happens almost always when I try to play with a character which just died a game before without taking the body. It happens exactly once, on the second try I'm 95% of times able to play again.

Here is the exact error from log:

Code: Select all

***** UNHANDLED EXCEPTION: ACCESS_VIOLATION (c0000005)
Fault address:  6FDA391D 01:0005291D H:\Diablo II\D2Common.dll
eax:00007565 ebx:000002f4 ecx:00000001 edx:0004e420 esi:00c26f48
edi:02b49010 ebp:6fdae350 esp:0012e370 eip:6fda391d flg:00010206
cs:001b ds:0023 es:0023 ss:0023 fs:003b gs:0000
I would be extremly thankful if someones could enlighten me :-| 6FDA391D seems to be the cause, but well, yeah.... Too stupid I am.

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by devurandom » Tue Jun 20, 2017 10:35 pm

Error related to MonStats TXT compile. Its a sub called after the txt is compiled.
also check MonStats2.txt & Sounds.txt
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
rondel123
Junior Member
Paladin
Posts: 109
Joined: Mon Sep 06, 2010 3:59 am
Location: Slovakia

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by rondel123 » Tue Jun 20, 2017 10:44 pm

My investigation has led me to MonStats, but what could be wrong if chains are perfectly ok? Txt analyser can't find anything, me neither. Bizarre.

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by devurandom » Wed Jun 21, 2017 12:58 am

Another Tool besides D2Txt Analyzer to check out is
http://winmerge.org/

You can load your backed up version of txt in one panel and your current txt in another.
and it will compare and show you each line that is different.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

User avatar
kingpin
Retired Admin
Cherub
Posts: 10954
Joined: Sat Jan 11, 2003 12:51 pm
Contact:
Sweden

Hand-picked

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by kingpin » Wed Jun 21, 2017 4:58 am

Make sure your end next in chain (is not set to a next one), check so you dont have any duplicated lines and most important dont have space in entry name (there is a bug in parser with space in it and will just take the first part of the Word).

User avatar
rondel123
Junior Member
Paladin
Posts: 109
Joined: Mon Sep 06, 2010 3:59 am
Location: Slovakia

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by rondel123 » Wed Jun 21, 2017 1:51 pm

I'v checked everything carefully, twice, also compared my backup files with current ones, using WinMerge. Everything seems to be perfectly fine in MonStats, yet the problem still exists.

User avatar
rondel123
Junior Member
Paladin
Posts: 109
Joined: Mon Sep 06, 2010 3:59 am
Location: Slovakia

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by rondel123 » Sun Jun 25, 2017 3:07 pm

I have checked the MonStats row by row, starting from the bottom of the file, each time opening a character 100 times, using "Tasker" software (mouse recorder) for doing it quickly. After 2 days I have finally found the problem and disposed of it. Shame to tell, but it was one of baseid's. One of the monsters simply had a baseid which does not exists. I have no idea how this happen and how this could be the game didn't start crushing much earlier. Well, I'm writing this post for the "future generations", if someone will ever experience the same problem. Thank you all for the replies though.

Ensley03
Posts: 31
Joined: Sat Nov 21, 2015 7:51 pm
United States of America

Re: ACCESS_VIOLATION (c0000005) - From time to time / 1.13c

Post by Ensley03 » Tue May 17, 2022 6:11 am

Well clap my cheeks and call me Silly Willy, this was my error too. Not meaning to necro this, but want to paste it again because this is a massive solution to a horrific problem.
rondel123 wrote:
Sun Jun 25, 2017 3:07 pm
I have checked the MonStats row by row, starting from the bottom of the file, each time opening a character 100 times, using "Tasker" software (mouse recorder) for doing it quickly. After 2 days I have finally found the problem and disposed of it. Shame to tell, but it was one of baseid's. One of the monsters simply had a baseid which does not exists. I have no idea how this happen and how this could be the game didn't start crushing much earlier. Well, I'm writing this post for the "future generations", if someone will ever experience the same problem. Thank you all for the replies though.

Post Reply

Return to “Code Editing”