Garry's Mod

Garry's Mod

Ammo Dropper
 이 토론은 고정되었습니다. 중요해서 그렇겠죠?
8Z  [개발자] 2018년 4월 24일 오후 7시 00분
Bug reporting thead
Please concentrate all bug reports here, for easier tracking and visibility (I don't follow the comment section).

When you are reporting, please post anything outputted into console. They allow me to pinpoint the source of error.
< >
전체 댓글 11개 중 1~11개 표시 중
8Z  [개발자] 2018년 4월 24일 오후 7시 03분 
Example bug report:

Maxpowerammo 님이 먼저 게시:
The quickdrop function seems pretty bugged, I can only quickdrop 357, smg and ar2 ammo, nothing else.
But via the ammodropper_menu I can drop any hl2 ammo.
Quickdrop_all also works for all hl2 weapons except SLAMS.

SLAMS give these errors if I try to quickdrop or quickdrop_all(they are droppable via the ammodropper_menu however):

ammodropper_quickdrop_all:
[Ammo Dropper] lua/autorun/client.lua:129: bad argument #1 to 'lower' (string expected, got no value)
1. lower - [C]:-1
2. QuickDrop - lua/autorun/client.lua:129
3. unknown - lua/autorun/client.lua:144
4. unknown - lua/includes/modules/concommand.lua:54

ammodropper_quickdrop:
[Ammo Dropper] lua/autorun/client.lua:129: bad argument #1 to 'lower' (string expected, got no value)
1. lower - [C]:-1
2. QuickDrop - lua/autorun/client.lua:129
3. unknown - lua/autorun/client.lua:143
4. unknown - lua/includes/modules/concommand.lua:54

I tested all of this without any other mods installed.
LawlenMcVallen 2018년 12월 22일 오전 11시 38분 
I seem to be getting the same issue.
] ammodropper_menu (command entered)

[Ammo Dropper] lua/autorun/client.lua:36: attempt to index global 'AmmoDropper' (a nil value)
1. unknown - lua/autorun/client.lua:36
2. unknown - lua/includes/modules/concommand.lua:54
>KB> >KEKSQUAD 2019년 10월 24일 오후 2시 53분 
Still a thing.
[Ammo Dropper] lua/autorun/shared.lua:341: attempt to index local 'data' (a nil value)
1. GetMaxDropAmt - lua/autorun/shared.lua:341
2. OnRowSelected - lua/autorun/client.lua:97
3. SelectItem - lua/vgui/dlistview.lua:497
4. SelectFirstItem - lua/vgui/dlistview.lua:504
5. unknown - lua/autorun/client.lua:109
6. unknown - lua/includes/modules/concommand.lua:54
Shootist 2019년 12월 8일 오전 12시 24분 
Not sure if anyone else has made mention of this so I apologize if i'm repeating. I had the option "Replace all default ammo boxes" enabled, jumped into a world that auto spawned ammo and said world ammo started to spawn non-stop. When I turned the option off, it stopped.
Made sure I wasn't being a dummy and had 2 options that shouldn't be on at the same time enabled. They were not. A warning for those who have this add-on enabled and jump into a world that spawns ammo I suppose?
8Z  [개발자] 2019년 12월 8일 오후 6시 51분 
Hmm, not sure how the hook interacts with world spawned props. Can you show me a map that does this?
Maxpowerammo 2019년 12월 9일 오전 10시 57분 
Shootist 님이 먼저 게시:
I had the option "Replace all default ammo boxes" enabled, jumped into a world that auto spawned ammo and said world ammo started to spawn non-stop.
I've seen that happen on the noamz maps, they have infinite ammo spawners that respawn ammo as soon as it's picked up (or removed / replaced).

So ammo dropper replaces the spawned ammo, the map detects that the ammo is gone and spawns a new one, which ammo dropper replaces again, and so on.

I don't think there's much that can be done, other than a warning for maps that do this.

These are the maps I'm talking about for reference:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=107264421
8Z  [개발자] 2019년 12월 9일 오후 11시 53분 
Thank you for the report - if I get the time I might autodisable this feature in these specific maps.
SabinyAK-19 2020년 2월 12일 오전 6시 55분 
doesn't work with TFA apparently
NNinja1255 2021년 11월 23일 오후 2시 08분 
Error when using the ad_quickdrop_all. Maybe an "if <thing>~=nil then" thing could fix?

[Ammo Dropper] lua/autorun/client.lua:149: attempt to index a nil value
1. QuickDrop - lua/autorun/client.lua:149
2. unknown - lua/autorun/client.lua:158
3. unknown - lua/includes/modules/concommand.lua:54
Nickers 2022년 12월 19일 오후 5시 21분 
[Ammo Dropper] lua/autorun/shared.lua:188: attempt to call method 'getJobTable' (a nil value)
1. GetAmmoCount - lua/autorun/shared.lua:188
2. OnRowSelected - lua/autorun/client.lua:97
3. OnClickLine - lua/vgui/dlistview.lua:443
4. unknown - lua/vgui/dlistview_line.lua:81
Uklejamini 2023년 1월 28일 오후 12시 27분 
why am i GETTING SO MANY ERRORS?!?!?!?!?!
Like, EVERY ACTION. Entity created, Entity Damaged, Player Spawning, etc.
< >
전체 댓글 11개 중 1~11개 표시 중
페이지당 표시 개수: 1530 50