Left 4 Dead 2

Left 4 Dead 2

Survivor's Item Swap and Drop
 此主题已被置顶,因此可能具有重要性
kurochama  [开发者] 2024 年 1 月 22 日 上午 4:27
Bug Reports
This thread is to post any bug reports in case if you find them. Feel free to inform me. & if you have any recorded videos or demos about any bugs, feel free to send me as videos would make it faster to check for bugs.
< >
正在显示第 1 - 15 条,共 18 条留言
Edgyiel™ (MVM Helper) 2024 年 1 月 22 日 下午 1:35 
I'll throw the bugs I have found during testing:

1- Deagle counts as pistol after dropping your pistol and then pick it up again.
2- Swapping deagle or melee for 2 pistols counts as 1 pistol instead of 2
3- Ammo from primary weapon gets refilled when swapping with your teammate, but not when you give or take the weapon from them. [Except M60]

4- Support items like ammo type or revive can be duplicated when giving them to your teammate who doesn't have anything on that slot.

Medkit in other hand can be shared if it's not below 95% of their HP, but it will duplicate when it's above 95%.

5- Adren or pills have no bugs, but you can't take them from bots when you shove them.
kurochama  [开发者] 2024 年 1 月 22 日 下午 3:36 
引用自 Judgement
I'll throw the bugs I have found during testing:

1- Deagle counts as pistol after dropping your pistol and then pick it up again.
2- Swapping deagle or melee for 2 pistols counts as 1 pistol instead of 2
3- Ammo from primary weapon gets refilled when swapping with your teammate, but not when you give or take the weapon from them. [Except M60]

4- Support items like ammo type or revive can be duplicated when giving them to your teammate who doesn't have anything on that slot.

Medkit in other hand can be shared if it's not below 95% of their HP, but it will duplicate when it's above 95%.

5- Adren or pills have no bugs, but you can't take them from bots when you shove them.
Btw, for the primary weapon test, can you try official maps? For example, try on Death Toll map 2, move bots away from supply spot like the corner of saferoom, & try to swap weapons there. There's one bug on this mod that I mentioned on the description about swapping near supply spot. So, if your test on official maps away from supply spot doesn't trigger the ammo refill bug, then it's not because of primary weapon bug but because of supply spot bug instead.

Support item bug will be solved on the next update, as I have already fixed it, & probably the pistol bug too. But I'll upload it probably after I find the main cause of the ammo refill bug on primary weapon.
kurochama  [开发者] 2024 年 1 月 22 日 下午 4:42 
Btw, if you want to try the newer version that I haven't uploaded yet, try this:
Survivor Item Swap & Drop[cdn.discordapp.com]
I uploaded a file on discord for testing. This version should fix the duplicate item bug & secondary weapon (pistol) bug including the ammo clip, but if the picked pistol is dual pistols (2 pistols at once), ammo clip will be 30 (full ammo clip), as it can't be changed on dual pistols.
最后由 kurochama 编辑于; 2024 年 1 月 22 日 下午 4:45
Edgyiel™ (MVM Helper) 2024 年 1 月 22 日 下午 6:11 
I have never tried to add addons/mods manually on my folder before, if it needs to retry my game, it would take some time to switch between these 2 and test.
Edgyiel™ (MVM Helper) 2024 年 1 月 22 日 下午 6:31 
@kurochama Tell me your nickname on discord, so I can add you and talk through there and not here.
kurochama  [开发者] 2024 年 1 月 22 日 下午 7:26 
引用自 Judgement
I have never tried to add addons/mods manually on my folder before, if it needs to retry my game, it would take some time to switch between these 2 and test.
just put the mod in "/Left $ Dead 2/left4dead2/addons". Normally, subscribed mods go to "/Left $ Dead 2/left4dead2/addons/workshop/", so it's just one folder before it.

& my nickname on discord is "kurochamaa". But I'm only using my phone right now. My discord is on my pc.
最后由 kurochama 编辑于; 2024 年 1 月 22 日 下午 7:27
Edgyiel™ (MVM Helper) 2024 年 1 月 23 日 下午 2:23 
You don't use discord on your phone ? Doesn't need to be just on your PC to have discord
kurochama  [开发者] 2024 年 1 月 23 日 下午 3:42 
引用自 Judgement
You don't use discord on your phone ? Doesn't need to be just on your PC to have discord
My phone lags a lot when trying to open discord, like it takes longer time to reply due to delay when typing each character. That's why I only installed on pc. Btw are you the one who added my discord recently?
最后由 kurochama 编辑于; 2024 年 1 月 23 日 下午 3:43
Edgyiel™ (MVM Helper) 2024 年 1 月 23 日 下午 7:15 
Yes, it was I
Edgyiel™ (MVM Helper) 2024 年 1 月 31 日 上午 1:52 
@kurochama

In case you didn't see your Discord DM.

Bug number 1 and 3 still happens as I remember

The good news is bug number 2 being fixed now. [You're able to swap double pistol for melee or deagle now] And pistol and deagle ammo are synced as well, just the double pistol that doesn't because it always goes to 30 upon picking second pistol, regardless of the ammo count on the clip.
kurochama  [开发者] 2024 年 1 月 31 日 上午 3:33 
引用自 Judgement
@kurochama

In case you didn't see your Discord DM.

Bug number 1 and 3 still happens as I remember

The good news is bug number 2 being fixed now. [You're able to swap double pistol for melee or deagle now] And pistol and deagle ammo are synced as well, just the double pistol that doesn't because it always goes to 30 upon picking second pistol, regardless of the ammo count on the clip.
That's strange, In my demo that I sent to you last time, the reserve ammo bug of no. 3 didn't happen anymore.

As for pistol bug, I plan to change the mechanisms just like swapping primary weapons, by transferring weapon data instead of automatically picking dropped pistols. & for the case of ammo clip for dual pistols, that could be difficult to modify, because the default L4D2 just sets it so when 2nd pistol is picked, ammo clip will become full (30 ammo clip). Probably I'll try the weapon data transfer method later to see if I can modify the ammo clip of dual pistols or not.
Edgyiel™ (MVM Helper) 2024 年 1 月 31 日 上午 6:25 
(@kurochamaa)
Better keep 2 pistols ammo clip as normal,no modifications.

Also I forgot to see your demo, I was busy with something else in mind.
Edgyiel™ (MVM Helper) 2024 年 2 月 6 日 上午 2:49 
[@kurochamaa]
So I saw your demo now, it works as intended but I'm pretty sure it's certain addons that you have that causes the ammo to not be refilled.

Because I tried going with just your addon alone, and it did not work. It still refills reserve ammo, but not the clip.

You won't need to do this, but I would like to see your addon list and add them all so I can try and see what causes the ammo fix one by one, since others are getting different results while testing, including myself.
kurochama  [开发者] 2024 年 2 月 7 日 下午 1:24 
引用自 Judgement
[@kurochamaa]
So I saw your demo now, it works as intended but I'm pretty sure it's certain addons that you have that causes the ammo to not be refilled.

Because I tried going with just your addon alone, and it did not work. It still refills reserve ammo, but not the clip.

You won't need to do this, but I would like to see your addon list and add them all so I can try and see what causes the ammo fix one by one, since others are getting different results while testing, including myself.
I don't remember exactly which mods I used on that demo, but the mods I usually use are mostly my own mods on workshop, some local mods that I made about custom weapons & some skin mods (these two sure have nothing to do with ammo as there's no ammo script there). The only mods that also have ammo scripts are merciless bots & enhanced angry bots as they also have the weapon swap feature, but both of them have the outdated swap feature that still has bug on full ammo refill (so this "Survivor Item Swap & Drop" is the only one with updated ammo scripts). Btw did you have any plugins? The only thing coming to my mind was plugin, because I never use any plugins as I'm not familiar of how to use them. So I only use mods from addons.
Edgyiel™ (MVM Helper) 2024 年 2 月 7 日 下午 7:58 
引用自 kurochama
引用自 Judgement
[@kurochamaa]
So I saw your demo now, it works as intended but I'm pretty sure it's certain addons that you have that causes the ammo to not be refilled.

Because I tried going with just your addon alone, and it did not work. It still refills reserve ammo, but not the clip.

You won't need to do this, but I would like to see your addon list and add them all so I can try and see what causes the ammo fix one by one, since others are getting different results while testing, including myself.
I don't remember exactly which mods I used on that demo, but the mods I usually use are mostly my own mods on workshop, some local mods that I made about custom weapons & some skin mods (these two sure have nothing to do with ammo as there's no ammo script there). The only mods that also have ammo scripts are merciless bots & enhanced angry bots as they also have the weapon swap feature, but both of them have the outdated swap feature that still has bug on full ammo refill (so this "Survivor Item Swap & Drop" is the only one with updated ammo scripts). Btw did you have any plugins? The only thing coming to my mind was plugin, because I never use any plugins as I'm not familiar of how to use them. So I only use mods from addons.


I haven't use any plugins, I tried to go with you add on alone and it still does the same refill, but I noticed something about this as well. Reserve ammo refills base on the amount of ammo, I wasted the reserve ammo till reaching 50, turns out, it gains 50 after you swap weapons.

Having 50/100 instead of 50/50 on the SMG after swapping. It would go 50/200 on the second swap.

Swapping and then dropping to grab again seems to refill the whole thing too.

- Lastly, a bug that I found while playing any campaign on my own, is your or primary or secondary having odd amount of ammo after loading next part of the campaign.

Deagle with 16 on the clip as before if you swap with someone using 2 pistols.

Shotgun will have 32/650 ammo if you swap your SMG for a shotgun before loading the next part of any campaign.
< >
正在显示第 1 - 15 条,共 18 条留言
每页显示数: 1530 50