MantisBT - Zandronum
View Issue Details
0002189Zandronum[All Projects] Bugpublic2015-04-15 17:022015-07-27 17:12
ibm5155 
 
normalminorhave not tried
closedinvalid 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002189: Items are used but sometimes they don't disapear from the hud when used
I noted over Zombie Horde's Bagel Horde, when you are a bagel, you got a "potatoe", you can use this potatoe only one time, and when you use it you'll not be abble to use more potatoes because you had one potatoe item...

The thing is on zandronum 2.0, somehow, when I use it, sometimes it doesn't disappear from my item list, and it only disappear is I press the use button another time, but this time, nothing will happen, it'll only disappear from your inventory.

Also I never got this weird memory garbage over previous zandronum builds.
Join a Bagel Horde Server
Get "infected"
use altfire to release the "potatoe"
The test was only performed online, and the server was a bit laggy (my ping was "ok [170])
No tags attached.
Issue History
2015-04-15 17:02ibm5155New Issue
2015-04-15 17:12ibm5155Note Added: 0012114
2015-04-16 12:17DuskNote Added: 0012117
2015-04-16 12:17DuskStatusnew => feedback
2015-07-21 16:00Edward-sanSummaryItens are used but sometimes they don't disapear from the hud when used => Items are used but sometimes they don't disapear from the hud when used
2015-07-21 16:00Edward-sanDescription Updatedbug_revision_view_page.php?rev_id=7752#r7752
2015-07-27 17:12DuskNote Added: 0013012
2015-07-27 17:12DuskStatusfeedback => closed
2015-07-27 17:12DuskResolutionopen => invalid

Notes
(0012114)
ibm5155   
2015-04-15 17:12   
I think this is related to this thread'http://zandronum.com/tracker/view.php?id=1628 [^]'
Maybe giveinventory is working, but

Here's some part of the code

  Weapon.AmmoType2 "Potato"
  Weapon.AmmoGive2 1
  Weapon.AmmoUse2 1
  AltFire:
    CLAW A 0 A_JumpIfInventory("Potato",1,1)
    Goto Ready
    CLAW ABCDE 1
    CLAW A 0 A_PlaySound("Sound/POP")
    CLAW E 0 A_FireCustomMissile("ExplosivePotato",0,1,0,8,0)
    CLAW EDCB 1
    Goto Ready

And here's the ExplosionPotato code

'http://pastebin.com/gUL4P3rU [^]'
(0012117)
Dusk   
2015-04-16 12:17   
Ugh.. a testcase, please?
(0013012)
Dusk   
2015-07-27 17:12   
No feedback for 3 months, closing