Error: Trying to remove a non-existent item
issueid=1189 08-20-2012 08:23 PM
Ancient Member
Number of reported issues by Stingray1: 97
Error: Trying to remove a non-existent item

My character was on D:50. He left the Balors for last, as he still needed some corruptions. He acquired the 'Living Mana Battery' corruption and decided to drop a few(20-30) charged/empty/ID'ed/non-ID'ed wands.
Maybe 30 turns later a Balor teleports to above stack of wands and for some reason decides to pick these wands up. Then the following windowed error: Trying to remove a non-existent item ('wand of webbing'). and this dumped file.


Code:
Basic ADOM Bug Report Data
--------------------------

Version: Version 1.2.0 (Windows)
Error: Trying to remove a non-existent item ('uncursed wand of poison (0 charges)').


Partial Game State Dump
-----------------------
pcx: 15, pcy: 10, pcl: 38, pcr: 4, pcc: 16, pcms: -10000
pcpc: 62098, pcpn: -19798, pcpl: -6978, pcmov: 142467, pcmovl: 1433
pcs: 14134, pcp: 49087, pcdv: 6, pcst: 821, pcil: 0, pcmil: 65
mdl: 50, sdl: 0, linfo: 17, kol: 374, ala: 0, bp: 0
ftis: 1, st: -1, hv: 0, sp: 0, sa: 0, sre: 0
sgx: 0, sgy: 0
ht: 0, hthere: 0, hp: 0, hx: 0, hy: 0, ha: 0
mt: 0, sc: 0, tuid: 12159
[L: 1,0:V] (0D { 2, 0}) (0U { 4, 1}) (1D { 1, 1}) [L: 1,1:V] (1D { 3, 0}) (1U { 1, 0}) [L: 1,2:U] (0D { 2, 2}) (0U { 4, 1}) [L: 1,3:U] (0D { 2, 3}) (0U { 4, 1}) 
[L: 2,0:V] (0D { 3, 0}) (0U { 1, 0}) [L: 2,1:V] (0D { 3, 1}) (1U {14, 0}) [L: 2,2:U] (0D { 3, 2}) (0U { 1, 2}) [L: 2,3:U] (0D { 3, 3}) (0U { 1, 3}) (1D { 9, 3}) 
[L: 3,0:V] (0D { 4, 0}) (0U { 2, 0}) (1U { 1, 1}) [L: 3,1:V] (0U { 2, 1}) (1D {16, 0}) [L: 3,2:U] (0D { 4, 2}) (0U { 2, 2}) [L: 3,3:U] (0D { 4, 3}) (0U { 2, 3}) (1D {17, 3}) 
[L: 4,0:V] (0D { 5, 0}) (0U { 3, 0}) [L: 4,1:V] (0D { 1, 3}) (0U {30, 1}) (1D {38, 1}) (1U {16, 2}) [L: 4,2:U] (0D { 5, 2}) (0U { 3, 2}) [L: 4,3:U] (0D { 5, 3}) (0U { 3, 3}) (1D {18, 3}) 
[L: 5,0:V] (0D { 6, 0}) (0U { 4, 0}) [L: 5,2:U] (0D { 6, 2}) (0U { 4, 2}) [L: 5,3:U] (0D { 6, 3}) (0U { 4, 3}) (1D {20, 3}) 
[L: 6,0:V] (0D { 7, 0}) (0U { 5, 0}) [L: 6,1:U] (0U { 4, 1}) [L: 6,2:U] (0D { 7, 2}) (0U { 5, 2}) [L: 6,3:U] (0D { 7, 3}) (0U { 5, 3}) 
[L: 7,0:V] (0D { 8, 0}) (0U { 6, 0}) [L: 7,1:U] (0D { 8, 1}) (0U { 4, 1}) [L: 7,2:U] (0U { 6, 2}) [L: 7,3:U] (0D { 8, 3}) (0U { 6, 3}) 
[L: 8,0:V] (0D { 9, 0}) (0U { 7, 0}) [L: 8,1:U] (0U { 7, 1}) [L: 8,2:V] (0D { 9, 2}) (0U {28, 1}) [L: 8,3:U] (0U { 7, 3}) 
[L: 9,0:V] (0D {10, 0}) (0U { 8, 0}) [L: 9,1:U] (0D {10, 1}) (0U { 4, 1}) [L: 9,2:V] (0D {10, 2}) (0U { 8, 2}) [L: 9,3:U] (0D {10, 3}) (1D {11, 3}) (1U { 2, 3}) 
[L: 10,0:V] (0D {11, 0}) (0U { 9, 0}) [L: 10,1:U] (0D {11, 1}) (0U { 9, 1}) [L: 10,2:V] (0D {11, 2}) (0U { 9, 2}) [L: 10,3:U] (0D {12, 3}) (0U { 9, 3}) 
[L: 11,0:V] (0D {12, 0}) (0U {10, 0}) [L: 11,1:U] (0D {12, 1}) (0U {10, 1}) [L: 11,2:V] (0D {12, 2}) (0U {10, 2}) [L: 11,3:U] (0D {13, 3}) (1D {19, 3}) (1U { 9, 3}) 
[L: 12,0:V] (0D {13, 0}) (0U {11, 0}) [L: 12,1:U] (0D {13, 1}) (0U {11, 1}) [L: 12,2:V] (0D {13, 2}) (0U {11, 2}) [L: 12,3:U] (0D {14, 3}) (0U {10, 3}) (1U {17, 3}) 
[L: 13,0:V] (0D {14, 0}) (0U {12, 0}) [L: 13,1:U] (0D {14, 1}) (0U {12, 1}) [L: 13,2:V] (0D {14, 2}) (0U {12, 2}) [L: 13,3:U] (0D {15, 3}) (0U {11, 3}) (1D {16, 3}) 
[L: 14,0:V] (0D {15, 0}) (0U {13, 0}) (1D { 2, 1}) [L: 14,1:U] (0D {15, 1}) (0U {13, 1}) [L: 14,2:V] (0D {15, 2}) (0U {13, 2}) [L: 14,3:U] (0U {12, 3}) 
[L: 15,0:U] (0D {16, 0}) (0U {14, 0}) [L: 15,1:U] (0U {14, 1}) [L: 15,2:V] (0U {14, 2}) (1U { 4, 1}) [L: 15,3:U] (0D {21, 3}) (0U {13, 3}) 
[L: 16,0:V] (0D {17, 0}) (0U {15, 0}) (1U { 3, 1}) [L: 16,1:V] (0U {22, 2}) [L: 16,2:V] (0U { 4, 1}) (1D { 4, 1}) [L: 16,3:U] (1U {13, 3}) 
[L: 17,0:V] (0D {18, 0}) (0U {16, 0}) [L: 17,1:V] (0U { 4, 1}) [L: 17,3:U] (1D {12, 3}) (1U { 3, 3}) 
[L: 18,0:V] (0D {19, 0}) (0U {17, 0}) [L: 18,1:V] (0D {19, 1}) (0U { 4, 1}) [L: 18,2:V] (0D {19, 2}) (0U { 4, 1}) [L: 18,3:U] (1U { 4, 3}) 
[L: 19,0:V] (0D {20, 0}) (0U {18, 0}) [L: 19,1:V] (0U {18, 1}) (1D {32, 0}) [L: 19,2:V] (0D {20, 2}) (0U {18, 2}) [L: 19,3:U] (1U {11, 3}) 
[L: 20,0:V] (0D {21, 0}) (0U {19, 0}) [L: 20,1:U] (0U { 4, 1}) [L: 20,2:V] (0D {21, 2}) (0U {19, 2}) [L: 20,3:U] (0D {22, 3}) (1D {21, 3}) (1U { 5, 3}) 
[L: 21,0:V] (0D {22, 0}) (0U {20, 0}) [L: 21,1:U] (0U { 4, 1}) [L: 21,2:V] (0D {22, 2}) (0U {20, 2}) [L: 21,3:U] (0U {15, 3}) (1U {20, 3}) 
[L: 22,0:V] (0D {23, 0}) (0U {21, 0}) [L: 22,1:V] (0U { 4, 1}) [L: 22,2:V] (0D {16, 1}) (0U {21, 2}) [L: 22,3:U] (0U {20, 3}) 
[L: 23,0:V] (0D {24, 0}) (0U {22, 0}) [L: 23,1:V] (0D { 4, 1}) (0U {24, 1}) [L: 23,2:U] (0D {24, 2}) (0U { 4, 1}) [L: 23,3:U] (0D {24, 3}) (0U { 4, 1}) 
[L: 24,0:V] (0D {28, 0}) (0U {23, 0}) [L: 24,1:V] (0D {23, 1}) (0U {25, 1}) [L: 24,2:U] (0D {25, 2}) (0U {23, 2}) [L: 24,3:U] (0U {23, 3}) 
[L: 25,0:V] (0D {26, 0}) (1D {29, 0}) [L: 25,1:V] (0D {24, 1}) (0U {26, 1}) [L: 25,2:U] (0D {26, 2}) (0U {24, 2}) 
[L: 26,0:V] (0D {27, 0}) (0U {25, 0}) [L: 26,1:V] (0D {25, 1}) [L: 26,2:U] (0D {27, 2}) (0U {25, 2}) 
[L: 27,0:V] (0U {26, 0}) (1D {28, 0}) [L: 27,1:U] (0U { 4, 1}) [L: 27,2:U] (0D {28, 2}) (0U {26, 2}) 
[L: 28,0:V] (0U {24, 0}) (1U {27, 0}) [L: 28,1:V] (0D { 8, 2}) (0U { 4, 1}) [L: 28,2:U] (0U {27, 2}) 
[L: 29,0:V] (0D {30, 0}) (1U {25, 0}) [L: 29,2:V] (0D {30, 2}) (1U {46, 0}) 
[L: 30,0:V] (0D {31, 0}) (0U {29, 0}) [L: 30,1:V] (0D { 4, 1}) (0U {31, 1}) [L: 30,2:V] (0D {31, 2}) (0U {29, 2}) 
[L: 31,0:V] (0D {32, 0}) (0U {30, 0}) [L: 31,1:V] (0D {30, 1}) (0U {32, 1}) [L: 31,2:V] (0D {32, 2}) (0U {30, 2}) 
[L: 32,0:V] (0D {33, 0}) (0U {31, 0}) (1U {19, 1}) [L: 32,1:V] (0D {31, 1}) [L: 32,2:V] (0D {33, 2}) (0U {31, 2}) (1D {36, 2}) 
[L: 33,0:V] (0D {34, 0}) (0U {32, 0}) [L: 33,2:V] (0D {34, 2}) (0U {32, 2}) 
[L: 34,0:V] (0D {35, 0}) (0U {33, 0}) [L: 34,1:U] (0D {35, 1}) (0U { 4, 1}) [L: 34,2:V] (0D {35, 2}) (0U {33, 2}) 
[L: 35,0:V] (0D {36, 0}) (0U {34, 0}) [L: 35,1:U] (0D {36, 1}) (0U {34, 1}) [L: 35,2:V] (0U {34, 2}) 
[L: 36,0:V] (0D {37, 0}) (0U {35, 0}) [L: 36,1:U] (0D {37, 1}) (0U {35, 1}) [L: 36,2:V] (0D {37, 2}) (1U {32, 2}) 
[L: 37,0:V] (0D {38, 0}) (0U {36, 0}) [L: 37,1:U] (0D {38, 1}) (0U {36, 1}) [L: 37,2:V] (0D {38, 2}) (0U {36, 2}) 
[L: 38,0:V] (0D {39, 0}) (0U {37, 0}) [L: 38,1:U] (0D {39, 1}) (0U {37, 1}) (1U { 4, 1}) [L: 38,2:V] (0D {39, 2}) (0U {37, 2}) 
[L: 39,0:V] (0D {40, 0}) (0U {38, 0}) [L: 39,1:U] (0D {40, 1}) (0U {38, 1}) [L: 39,2:V] (0D {40, 2}) (0U {38, 2}) 
[L: 40,0:V] (0D {41, 0}) (0U {39, 0}) [L: 40,1:U] (0D {41, 1}) (0U {39, 1}) [L: 40,2:V] (0U {39, 2}) 
[L: 41,0:V] (0D {42, 0}) (0U {40, 0}) [L: 41,1:U] (0D {42, 1}) (0U {40, 1}) [L: 41,2:V] (0U {50, 1}) 
[L: 42,0:V] (0D {43, 0}) (0U {41, 0}) [L: 42,1:U] (0U {41, 1}) [L: 42,2:U] (0D {43, 2}) (0U { 4, 1}) 
[L: 43,0:V] (0D {44, 0}) (0U {42, 0}) [L: 43,1:U] (0U { 4, 1}) [L: 43,2:U] (0D {44, 2}) (0U {42, 2}) 
[L: 44,0:V] (0D {45, 0}) (0U {43, 0}) [L: 44,1:U] (0D {48, 1}) (0U {48, 1}) [L: 44,2:U] (0D {45, 2}) (0U {43, 2}) 
[L: 45,0:V] (0D {46, 0}) (0U {44, 0}) [L: 45,2:U] (0D {46, 2}) (0U {44, 2}) 
[L: 46,0:V] (0D {47, 0}) (0U {45, 0}) (1D {29, 2}) [L: 46,1:U] (0U { 4, 1}) [L: 46,2:U] (0D {47, 2}) (0U {45, 2}) 
[L: 47,0:V] (0D {48, 0}) (0U {46, 0}) [L: 47,1:V] (0U { 4, 1}) [L: 47,2:U] (0D {48, 2}) (0U {46, 2}) 
[L: 48,0:V] (0D {49, 0}) (0U {47, 0}) [L: 48,1:U] (0D {44, 1}) (0U {44, 1}) [L: 48,2:U] (0D {49, 2}) (0U {47, 2}) 
[L: 49,0:V] (0D {50, 0}) (0U {48, 0}) [L: 49,1:V] (0D {50, 1}) (0U { 4, 1}) [L: 49,2:U] (0D {50, 2}) (0U {48, 2}) 
[L: 50,0:V] (0U {49, 0}) [L: 50,1:V] (0D {41, 2}) (0U {49, 1}) [L: 50,2:U] (0U {49, 2})
Issue Details
Issue Number 1189
Project ADOM (Ancient Domains Of Mystery)
Category Windows XP
Status Fixed
Priority 10 - Lowest
Affected Version ADOM 1.2.0 pre 1
Fixed Version ADOM 1.2.0 pre 3
Milestone (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




08-20-2012 09:24 PM
jt jt is offline
Administrator
That's odd... the dump file says "wand of poison" while your screenshot said "wand of webbing". Are you sure they both were generated for the same error? Or did this happen twice with different wands?

08-20-2012 10:44 PM
Ancient Member
Oh. I see that. Yes it did happen again.
So, this dump must be the second one.

Sorry, I only noticed the dumpfile today.

I think that 'wand of poison' had zero charges when I dropped it, if that means anything?

My Anti-Virus Kaspersky crashes later, so maybe some 3rd party had an influence.

I will try to replicate the error, after Andy is dead.

08-22-2012 07:55 PM
Ancient Member
I tried, but cannot seem to reproduce the error. Thinking maybe windows wasn't working?

08-22-2012 10:40 PM
jt jt is offline
Administrator
No, I think it's a very specific problem that only happens on rare occasions. Such bugs are very difficult to reproduce/find... e.g. maybe the order in which you dropped the wands was important. Or maybe two wands with the same number of changes were necessary, and so on. I'll try to reproduce this problem myself with "lots of wands".

Wands are very specific items in ADOM, there was a similar problem with dropping multiple wands (without an error message though).

08-24-2012 07:20 PM
jt jt is offline
Administrator
Fixed. Caused by the way "equal" items were handled. Also was related to issue 726.

08-25-2012 12:16 PM
Ancient Member
Quote Originally Posted by j.t
Fixed. Caused by the way "equal" items were handled. Also was related to issue 726.
Have no idea what you mean, but well done.

08-25-2012 12:32 PM
jt jt is offline
Administrator
Quote Originally Posted by Stingray1
Have no idea what you mean
That's ok... some of the comments here are only meant as a reminder to me or Thomas. Maybe in the future I should make them private.

08-25-2012 05:43 PM
Ancient Member
Quote Originally Posted by j.t
Maybe in the future I should make them private.
Don't, I think it's nice to have a little knowledge of what was causing a particular bug, even if it doesn't make much sense without the source code :)

+ Reply