Buffer full crash

Information and updates for the Zy-El mod. If you have any questions or suggestions for the mods, please post them here. Click here to visit the official web site.

Moderators: d2vern, Kato

Post Reply
User avatar
Evilpanda
Junior Member
Paladin
Posts: 216
Joined: Sat Aug 06, 2005 1:11 pm
Location: South of Nowhere

Buffer full crash

Post by Evilpanda » Sat Sep 06, 2008 6:18 pm

my game has crashed for about the fifth time with this error message(first four did dot have the 'would have crashed' bit) some with a sorc and others with a barb. not really sure what is doing it, some happened in act4 others act 3, many different monsters. Lots of items/effects may be causing it, i should probably save and exit more often. :-|

i have vista64, 1gig ram, x1800 graphics and plenty of hdd space.

(all happened on normal setting)


15:24:18.462 Opening DirectDraw window succeeded. (Triple buffering)
15:24:19.021 [D2CLIENT] Finish entering at 832687. Elapsed: 2359

15:24:22.215 Seed: 1003254702
17:53:34.510 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:35.409 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:36.330 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:37.249 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:39.366 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:40.167 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:53:41.087 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:54:05.566 ----- JBS NOTE: Would have crashed, see code at sUnitAddFutureDamage. TOU: 3
17:55:28.187
17:55:28.187
17:55:28.187 ------------------------------------------------------
17:55:28.289 PROGRAM: Diablo II v1.09
17:55:28.289 COMPUTER NAME: XXXXX
17:55:28.289 USER NAME: XXXX
17:55:28.289 TIME: 2008-09-06 17:55:28.187
17:55:28.289
17:55:28.289 -------- FILE: Fog\Src\BitManip\BitManip.cpp LINE: 357 --------

Assertion Failure
Location : Fog\Src\BitManip\BitManip.cpp, line #357
Expression : ptBuffer->nCurByte * 8 + ptBuffer->nCurBit + nBits <= ptBuffer->nLength
17:56:35.228 Stack bytes:
17:56:35.248 0017C4D4: 88C51700 D0020000 1000A000 20000000 .Å..Ð..... . ...
0017C4E4: FBD5F56F E0C41700 D4C41700 D4C41700 ûÕõoàÄ..ÔÄ..ÔÄ..
0017C4F4: 683AF76F 1221F56F 683AF76F 343AF76F h:÷o.!õoh:÷o4:÷o
0017C504: 65010000 88C51700 20000000 01000000 e....Å.. .......
0017C514: 1000A000 6F5AD96F 88C51700 72313020 .. .oZÙo.Å..r10
0017C524: 20000000 00DA340D 88C51700 2F59D96F ....Ú4..Å../YÙo
0017C534: 20000000 E039A50E 88C51700 01000000 ...à9¥..Å......
0017C544: 00DA340D 00000000 00000000 245AD96F .Ú4.........$ZÙo
0017C554: 01000000 01000000 00000000 9F1C0000 ................
0017C564: 6AED1700 00064909 CD000000 00000000 jí....I.Í.......
0017C574: 00000000 A356D96F 01000000 01000000 ....£VÙo........
0017C584: 00000000 C2ED1700 D0020000 58000000 ....Âí..Ð...X...
0017C594: 04000000 82DDC76F 00064909 6AED1700 .....ÝÇo..I.jí..
0017C5A4: 5A000000 01000000 01000000 00000000 Z...............
0017C5B4: 9F1C0000 00825600 7C001E06 25D11700 ......V.|...%Ñ..
0017C5C4: 25D11700 7C001E06 C01A3306 27D11700 %Ñ..|...À.3.'Ñ..
0017C5D4: 24DFC76F CD000000 9F1C0000 00000000 $ßÇoÍ...........


EDIT: just happened again while in stash box, must just be too full with different items and needs emptying :roll:
Last edited by Evilpanda on Sat Sep 06, 2008 6:33 pm, edited 2 times in total.

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Post by Hans » Sat Sep 06, 2008 6:51 pm

It does look like it is the too many items.

I am surprised that it is running on Vista 64
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

User avatar
Evilpanda
Junior Member
Paladin
Posts: 216
Joined: Sat Aug 06, 2005 1:11 pm
Location: South of Nowhere

Post by Evilpanda » Sat Sep 06, 2008 7:49 pm

its surprising how much junk can be collected in this mod without really noticing :-|
filled up several collectors with treasure cards :)


i run with desktop composition/visual themes disabled and as administrator, the game in 2d mode.

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Post by Hans » Sat Sep 06, 2008 7:53 pm

I thought that Vista 64 would be more of a pain to get running then Vista 32 versions.
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

User avatar
Claws
Junior Member
Paladin
Posts: 153
Joined: Thu Jul 10, 2008 12:48 pm

Re: Buffer full crash

Post by Claws » Sat Sep 06, 2008 10:20 pm

You find the explanation at zhe zy-el site:

http://zyel.planetdiablo.gamespy.com/id6.html

Added: April 1/03
Error message or bug: Assertion Failure
Location : Fog\Src\BitManip\BitManip.cpp, line #357
Expression : ptBuffer->nCurByte * 8 + ptBuffer->nCurBit + nBits <= ptBuffer->nLength

Cause: Every item stored in player file requires data storage. When there are too many items, the amount of data stored is more than can be handled within the game's memory allocated for player files. The upper limit of this is around 230-256 items. Apparently, items with a *lot* of attributes (like stacked crafted items) take up more space memory wise.


I had also much of these crashes. Best solution was emptying the 1st stash page (because it is always saved in the d2s-file). Then you should avoid filling a complete page of the stash with small items having many attributes (e. g. rare jewels, charms etc). Third point is to delete unneeded attributes of the items and charms in your inventory (e. g. attributes like +2 to dexterity, 2-6 fire damage ...)
Then you should not see that crash again.

User avatar
Myhrginoc
Retired Admin
Cherub
Posts: 12100
Joined: Sat May 25, 2002 7:28 am
Location: Percussion U
United States of America

Hand-picked

Re: Buffer full crash

Post by Myhrginoc » Wed Sep 10, 2008 3:36 am

The buffer mentioned in the assertion message is actually used to communicate data between the client and server components of the game. (Both are used even in single player.) The packet buffer isn't very big, only 244 bytes; Blizzard never intended a packet to carry as much information as Zy-El demands. You can overfill a packet in several ways:
  • Your character may be equipped with many complex items, including charms in the backpack.
  • Your backpack may have many items of high complexity (beyond charms) that you expose on the inventory page.
  • The top page of stash can have many items of high complexity.
PlugY isn't affected because any page not on top never contributes to a packet. So the best thing to do is use many stash pages and never store many items on each. Especially 1x1 or 1x2 items with lots of stats.
Do the right thing. It will gratify some people and astonish the rest.
~ Mark Twain
Run Diablo II in any version for mods: tutorial
The Terms of Service!! Know them, abide by them, and enjoy the forums at peace.
The Beginner's Guide v1.4: (MS Word | PDF) || Mod Running Scripts || TFW: Awakening

User avatar
Kato
Retired staff
Virtue
Posts: 4335
Joined: Mon Jun 03, 2002 4:36 pm
Location: Somewhere out there beyond the pale blue moon

Re: Buffer full crash

Post by Kato » Fri Sep 12, 2008 3:57 pm

;) Been away for a while - vacation finally!

:idea: This problem has been occuring with enough frequency that I think it warrants being made a Sticky. This crash is not solely limited to the Zy-El mod. It can affect any mod that uses complex items.
"Do not be too proud of this technological terror you've constructed." - D.Vader
Zy-El: Trial by Fire Mod Forum: http://phrozenkeep.it-point.com/forum/v ... m.php?f=53
Zy-El website: http://www3.telus.net/zyel/index.html Zy-El wiki: http://zyel.wikispaces.com/

User avatar
ironmanbc
Posts: 69
Joined: Sat Dec 15, 2007 5:59 am

Re: Buffer full crash

Post by ironmanbc » Fri Oct 10, 2008 12:59 am

Zy-El is the most complex mod that I know of ;)

maybe Blizzard should ask the all powerfull Kato for help when they make the expansion to diablo 3 :twisted:

Now that would be fun :)

(and all the other moders out there can send HINTS to blizzard because.... :mrgreen: :mrgreen: :mrgreen: )

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Re: Buffer full crash

Post by Hans » Fri Oct 10, 2008 2:35 am

[quote=ironmanbc";p="403315"]Zy-El is the most complex mod that I know of ;)

maybe Blizzard should ask the all powerfull Kato for help when they make the expansion to diablo 3 :twisted:

Now that would be fun :)

(and all the other moders out there can send HINTS to blizzard because.... :mrgreen: :mrgreen: :mrgreen: )[/quote]

Maybe they did hire Kato to work on D3 and the vacation was a cover up story.
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

User avatar
Sailor
Junior Member
Paladin
Posts: 171
Joined: Wed Sep 17, 2008 3:48 pm

Re: Buffer full crash

Post by Sailor » Thu Oct 29, 2009 5:12 pm

I think I've experienced the same crash problem. I megaloaded a jewel with 30K life .... lots of time and money went into that baby. I put it into my belt, started playing and the game crashed. When I reloaded it, the jewel was GONE! Crashing is one thing but loosing the jewel was a heart breaker. Is this normal? How do I prevent this from happening again? I'm so frustrated that I'm taking a break :x

EDIT - I really need some help here people. I thought this mod was all about crafting and now I find out that if you craft too much you crash the game? Makes no sence to me. Is there a way to remove some of the attributes granted by scrolls?

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Re: Buffer full crash

Post by Hans » Thu Oct 29, 2009 8:53 pm

Sorry you have encountered the issue. The issue is the game mechanics that Kato can not change.

You can remove many attributes. You can not remove all. Check the mod guide or the wiki for the recipes to remove attributes. This is the best that Kato can do.

I usually look for jewels that I can remove all the attributes on them and then craft what I need on it.
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

User avatar
Sailor
Junior Member
Paladin
Posts: 171
Joined: Wed Sep 17, 2008 3:48 pm

Re: Buffer full crash

Post by Sailor » Thu Oct 29, 2009 10:09 pm

Hans - Claws mentioned somethying about emptying the first stash page and not filling the rest. Is he talking about the individual or shared stach pages? Does this work? Or do you know?

Is it really normal to loose an item like I did? That seems harsh.

The issue never reared it's ugly head in ES so why is it a problem here? I just don't understand the mechanics I guess and will have to tread lightly. Is there any way of knowing when you're approaching "maximum craft"?

I'll check the wiki and guide for those recipies.

Thanks Hans - as always, you're a great help.

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Re: Buffer full crash

Post by Hans » Fri Oct 30, 2009 2:04 am

What claws suggested may work depending on how many complex items are stored there. I always like to have the first page in both stashes to be empty and whenever I leave the stash I make sure it is at page 1.

Sometimes you may loose an item when the game crashes. Sometimes you may not be able to load your character.

ES is less likely to encounter this issue since there are limits to crafting but it still can happen. ES also has some attribute reduction recipes to remove unneeded mods.

I can not make it clearer than Myhginoc did in an earlier post here.
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

User avatar
Sailor
Junior Member
Paladin
Posts: 171
Joined: Wed Sep 17, 2008 3:48 pm

Re: Buffer full crash

Post by Sailor » Fri Oct 30, 2009 2:19 am

Sooooooo, there's no way I can know if I've overstepped the boundries and will crash the game. Wonderful. But ..... I like this mod too much to bail so I'll adjust.

Thanks again. Your sage advise is much appreciated.

Like the new look by the way.

User avatar
Hans
Dark Alliance Beta Test
Dominion
Posts: 6438
Joined: Sat Oct 02, 2004 5:14 pm
Location: Toronto, Ontario, Canada

Re: Buffer full crash

Post by Hans » Sat Oct 31, 2009 2:28 am

I will post tips later. I am at a cafe at the moment and it would take too long to post on my PSP.

[edit]

1. Stop adding mods to an item when the writing on the item gets smaller. If you have an item that is not displaying any text at all it is a likely candidate to cause crashes in D2.

2. Do not duplicate mods on too many items. Some mods only need to be on one item. Good candidates are can not be frozen, freeze target. 100% to (Open Wounds, Crushing Blow, Deadly Strike). If I can I try to do that with as many mods I can.

3. Try to limit how many charms you are carrying in the later stages of the game when you have many crafted jewels.

I think I have everything if I miss something I will add it here.
"Hi. My name is Hans, and I am addicted to a game that is not yet been made" - Card carrying member of D3 Addictions Anonymous, since June 2008.
Card carrying member of Mentaldom, since May 2006 - Zy-El Hardcore.
"German pornstar/Bee Gee lookalike" & "The Blacksmith"
Trying to picture Hans as a Dominion...nah it isn't working sorry. It's the mustache that gets me every time - Al-T.
"All men play on 127" O-H - Hans
"Okay, time out. This is Zy-El. The mod of total excess. Since when would any Zy-El lover do only what's necessary?" - Metropolis Man
Zy-El Wiki|New Zy-El Website

Post Reply

Return to “Zy-El: Trial by Fire”