Page 1 of 1

Anybody knows what's the third item in HTH2 MAP03?

Posted: Tue Jan 19, 2010 12:30
by Gez
I'm starting to think it might be a bug. Looking in DB2, there are only two items that count available, a soulsphere and a berserk. None of the other countitem types are found anywhere. Yet GZDoom tells me there are three items on that level. I've even tweaked the source code so that countitems get a different color from other items when seen with IDDT (patch below if anybody cares) and it's still nowhere to be found after giving them a distinctive color.

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Tue Jan 19, 2010 20:35
by Enjay
I didn't play the whole map but...

Image
(on UV)

and using changemap...

Image
(on HMP)

and the easy settings showed 2 items too. So, unless something spawns during the game, I'm only getting 2 items listed. :dunno:

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Tue Jan 19, 2010 21:22
by Gez
I don't understand why I got a third item listed either. It's not anything spawned because then it would be physically present somewhere. And there's no function that spawn anything in that map's fragglescript. When starting the map it shows two items. I don't have actor replacements autoloaded. I didn't use a "give" cheat. Yet at some moment the level.total_item counter got changed to 3. I didn't notice when it happened so I'm clueless at what created this oddity.

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Tue Jan 19, 2010 23:50
by Enjay
Is there a savegame that you or Graf could perhaps pull apart to find where the error lies?

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Wed Jan 20, 2010 0:06
by Gez
From the little I know of the ZDoom save format, it wouldn't really help. I suppose I'll have to try replaying through the level and see if it happens again.

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Wed Jan 20, 2010 0:12
by Graf Zahl
Why don't you use the 'items' CCMD and look what's there? It lists all pickups so you'll have to find the responsible item in there.

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Wed Jan 20, 2010 1:41
by Gez
Didn't know about it.

Still, said item is just nowhere. I'd have seen it on the map with my tweak.

Here's the output of items, filtered by sort.

Code: Select all

Cell at (-1448,112,56)
Chaingun at (-1141,-1132,312)
Chaingun at (-1161,-1074,312)
Chaingun at (-1213,-1046,312)
Chaingun at (-1430,380,312)
Chaingun at (-1438,364,312)
Chaingun at (-1575,-162,312)
Chaingun at (-1646,-178,312)
Chaingun at (-2269,3183,-68)
Chaingun at (-2914,3207,-66)
Chaingun at (-3188,2680,-74)
Chaingun at (-3230,2454,104)
Chaingun at (-3247,3201,-74)
Chaingun at (-3274,3124,-66)
Chaingun at (-3379,2424,104)
Chaingun at (-3414,-1551,400)
Chaingun at (-3512,2652,-22)
Chaingun at (-3526,2800,-22)
Chaingun at (-3554,2996,-24)
Chaingun at (-3572,2862,-24)
Chaingun at (-3626,2776,110)
Clip at (-2140,712,213)
Clip at (-2140,744,213)
Clip at (-2180,716,213)
Clip at (-2180,744,213)
Clip at (-2596,3217,-66)
Clip at (-2664,-244,206)
Clip at (-2688,-308,206)
Clip at (-2728,-240,206)
Clip at (-2772,-300,206)
Clip at (-3448,2515,-24)
Clip at (-3537,2986,-24)
Clip at (-3547,2799,-24)
Clip at (-3590,2808,-24)
Clip at (-3596,2880,-24)
DehackedPickup0 at (-1472,-160,312)
DehackedPickup0 at (-2560,-2528,308)
DehackedPickup1 at (-1440,-2048,308)
DehackedPickup1 at (-1552,704,408)
DehackedPickup1 at (-2392,864,-120)
DehackedPickup1 at (-3236,-28,136)
DehackedPickup1 at (-3472,2880,-68)
DehackedPickup1 at (-3792,2992,-12)
DehackedPickup1 at (-4072,2712,-108)
DehackedPickup3 at (-1464,708,408)
DehackedPickup3 at (-1484,20,312)
DehackedPickup3 at (-1992,1144,-124)
DehackedPickup3 at (-2096,512,216)
DehackedPickup6 at (-1424,56,312)
DehackedPickup6 at (-1752,420,216)
DehackedPickup6 at (-1768,448,216)
DehackedPickup6 at (-3556,-1556,334)
DehackedPickup6 at (-3896,2368,100)
DehackedPickup6 at (-4424,2608,-12)
DehackedPickup6 at (-4432,2320,-12)
ShellBox at (-1600,3440,6)
ShellBox at (-1792,3368,-76)
Shotgun at (-1518,-171,312)
Shotgun at (-1596,-169,312)
Shotgun at (-1604,1120,-140)
Shotgun at (-1648,3024,6)
Shotgun at (-1715,59,312)
Shotgun at (-3381,2481,104)
Shotgun at (-3641,2148,110)
Stimpack at (-1056,-800,316)
Stimpack at (-1144,3096,6)
Stimpack at (-1248,336,312)
Stimpack at (-1280,2872,10)
Stimpack at (-1512,-1488,308)
Stimpack at (-1568,624,-236)
Stimpack at (-1600,3512,6)
Stimpack at (-1616,1488,-236)
Stimpack at (-1664,2464,12)
Stimpack at (-1664,736,-236)
Stimpack at (-1696,-72,312)
Stimpack at (-1696,3344,-80)
Stimpack at (-1704,-2320,308)
Stimpack at (-1848,-104,314)
Stimpack at (-1856,-112,314)
Stimpack at (-1872,-1192,388)
Stimpack at (-1872,2472,12)
Stimpack at (-1904,1568,-236)
Stimpack at (-1984,-64,312)
Stimpack at (-1984,256,312)
Stimpack at (-2000,880,-124)
Stimpack at (-2064,880,-124)
Stimpack at (-2080,-1072,314)
Stimpack at (-2104,792,88)
Stimpack at (-2336,-2888,337)
Stimpack at (-2416,576,312)
Stimpack at (-2536,1512,-120)
Stimpack at (-2588,-248,206)
Stimpack at (-2616,1064,-120)
Stimpack at (-3088,-1696,308)
Stimpack at (-3096,-680,308)
Stimpack at (-3120,1456,-114)
Stimpack at (-3152,3872,-74)
Stimpack at (-3260,-844,318)
Stimpack at (-3328,1408,-24)
Stimpack at (-3360,-1696,308)
Stimpack at (-3408,-2688,388)
Stimpack at (-3440,3632,-71)
Stimpack at (-3472,1936,-68)
Stimpack at (-3808,-1200,334)
Stimpack at (-3832,3024,-108)
Stimpack at (-3856,3400,-108)
Stimpack at (-4004,-244,200)
Stimpack at (-4080,2160,-12)
Stimpack at (-4304,2320,-12)
Stimpack at (-848,-1088,312)
The only one that's in a single copy is Cell, which of course isn't the culprit. There's just no items with the MF_COUNTITEM flag anywhere on the map.

Re: Anybody knows what's the third item in HTH2 MAP03?

Posted: Wed Jan 20, 2010 7:46
by Graf Zahl
Maybe the DehackedPickup is not working properly...