Garry's Mod

Garry's Mod

Ammo Dropper
 Ten wątek został przypięty, więc pewnie jest ważny
8Z  [producent] 24 kwietnia 2018 o 19: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.
< >
Wyświetlanie 1-11 z 11 komentarzy
8Z  [producent] 24 kwietnia 2018 o 19:03 
Example bug report:

Początkowo opublikowane przez 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 22 grudnia 2018 o 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 24 października 2019 o 14: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 8 grudnia 2019 o 0: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  [producent] 8 grudnia 2019 o 18:51 
Hmm, not sure how the hook interacts with world spawned props. Can you show me a map that does this?
Maxpowerammo 9 grudnia 2019 o 10:57 
Początkowo opublikowane przez 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  [producent] 9 grudnia 2019 o 23:53 
Thank you for the report - if I get the time I might autodisable this feature in these specific maps.
SabinyAK-19 12 lutego 2020 o 6:55 
doesn't work with TFA apparently
NNinja1255 23 listopada 2021 o 14: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 19 grudnia 2022 o 17: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 28 stycznia 2023 o 12:27 
why am i GETTING SO MANY ERRORS?!?!?!?!?!
Like, EVERY ACTION. Entity created, Entity Damaged, Player Spawning, etc.
< >
Wyświetlanie 1-11 z 11 komentarzy
Na stronę: 1530 50