Garry's Mod

Garry's Mod

ULX Infinite Ammo
112 条留言
ŸouŋgPũrpleĎragōnŚtarlŏk 8 月 13 日 上午 9:47 
Thanks
Cry0nix 2022 年 10 月 11 日 下午 12:58 
When I enable the command, all the explosive weapons from this pack don't work, as well as the demo swep pack weapons, but all the hitscan weapons work fine.

Here's the Soldier SWEPs: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=724346973
Here's the Demo: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=772321027
Green toilet man 2022 年 8 月 5 日 上午 5:17 
it says !infammo isn't a command please fix
kotori 2022 年 2 月 8 日 上午 6:16 
hi
WireJockey 2021 年 12 月 23 日 上午 6:18 
i tried and it didn't work for me at all
Octoling Girl and Steve 2021 年 2 月 13 日 上午 12:01 
okay
apoc  [作者] 2020 年 12 月 5 日 上午 11:32 
It should work @SFX SCARED, I actually updated it a long time ago to make it work with the TFA base, I haven't checked in recent years though
2020 年 12 月 5 日 上午 4:46 
unless TFA uses a completely different ammo system than any other weapon

yes
Ult Sonica The Hedgehog 2020 年 12 月 5 日 上午 12:30 
does it work with Tfa guns to?
Piss Pot 2020 年 10 月 29 日 下午 6:48 
I downloaded All the stuff but it says !infammo is an unknown command. I also dont have the Cmmd tab for some reason plz help
apoc  [作者] 2020 年 6 月 27 日 下午 3:47 
Just pushed an update that should fix that
2020 年 6 月 27 日 上午 2:34 
Hey, guess what.
I found another bug.
The medkit breaks when infinite ammo is enabled.
The ammo is always set to 0, meaning it can't heal.
apoc  [作者] 2020 年 6 月 27 日 上午 12:20 
you're welcome, sorry it took a year lol thanks for the help with hl:s and the other errors. HL:S weapons not working was actually a much larger issue where I was only using the original gmod ammo types, so there was probably a bunch of custom sweps that didn't work if they made their own ammo type or used the newer ones. So super big catch there
2020 年 6 月 27 日 上午 12:15 
Also, thanks for finally getting around to fixing this.
apoc  [作者] 2020 年 6 月 27 日 上午 12:14 
Oh, if that just came from stripping the player it should be fixed then. Also, didn't test with the hl:2 beta weapons specifically but it *should* work
apoc  [作者] 2020 年 6 月 27 日 上午 12:12 
The file exists in two addons error you have is kinda hard to solve, since I cant reproduce it. But later this weekend or when I get some time I can try to fix it more
2020 年 6 月 27 日 上午 12:12 
So, weapons like the gluon gun or the flamer from the HL:2 beta pack?
apoc  [作者] 2020 年 6 月 27 日 上午 12:05 
Gotcha thanks. Just published the update that seems to fix hl:s weapons and the stripped weapons errors. Also updated to stop using outdated code so more sweps using strange ammo setups should be supported now as well.
2020 年 6 月 26 日 下午 11:53 
You get HL:S content by downloading and mounting the game.

When you restart Garry's Mod you should be able to load into a map and find the weapons in the spawnmenu.
apoc  [作者] 2020 年 6 月 26 日 下午 10:59 
(haven't pushed the strip weapons update yet though, gonna see if the hls fix can get in with it first)
apoc  [作者] 2020 年 6 月 26 日 下午 10:59 
I fixed the strip weapons, I'm downloading half life source right now. I think thats how you get HLS guns in game? Will see if I can fix those tonight too
2020 年 6 月 26 日 下午 9:47 
Plus, Half-Life: Source weapons are still non-functional.
2020 年 6 月 26 日 下午 9:44 
File exists in two addons - possible conflicts! lua/ulib/shared/hook.lua (ULib and ULX Infinite Ammo)

[ERROR] lua/ulx/modules/sh/infammo.lua:58: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. fn - lua/ulx/modules/sh/infammo.lua:58
3. unknown - lua/ulib/shared/hook.lua:109

So, the fix for the disconnect error works, this is what happens when you strip a player that has infinite ammo enabled.
This one is also spam and creates lots of lag.
2020 年 6 月 26 日 下午 7:29 
I mean if you need testing grounds, I have a 128 slot server.
#shamelessplug
apoc  [作者] 2020 年 6 月 26 日 下午 4:13 
I just updated the addon to stop the errors on player disconnect and also a slight performance fix. I don't have a larger multiplayer server to test but testing using local servers with friends and bots it seems to have fixed the problem. Please inform me if it doesn't work.
2020 年 6 月 25 日 上午 11:22 
Everyone has pasted the error.
Kill for fun 2020 年 6 月 25 日 上午 2:09 
I lied
here it is

[ULX Infinite Ammo] lua/ulx/modules/sh/infammo.lua:32: Tried to use a NULL entity!
1. Alive - [C]:-1
2. nextevent - lua/ulx/modules/sh/infammo.lua:32
3. unknown - lua/dlib/modules/hook.lua:1076

Kill for fun 2020 年 6 月 24 日 下午 11:27 
It works! Sorry I tried replicating the error and noticed it was cause by a ulx++ pack :steamsad: my b I'm dumb.
apoc  [作者] 2020 年 6 月 24 日 下午 7:39 
can you copy and paste the errors if possible?
2020 年 3 月 5 日 上午 8:46 
When a player that had it on leaves, the whole server will lag because the script keeps running and seems to spam errors, because it can't find the right player.
Purple 2020 年 3 月 5 日 上午 6:55 
My console on server goes berserk after enabling it, any thaughts?
nillysigger0894 2019 年 11 月 7 日 下午 1:27 
for some reason it doesnt work (i have ulib and ulx, but when i enable only ulib,ulx,and infinite ammo it doesnt show in utilites.)
Timtee [CVHN] 2019 年 9 月 19 日 上午 9:29 
The only issue is that this addon tends to cause issues with addons that have guns that already technically have infinite ammo, and in those cases, it'll remove it from you after a bit where the command errors because it doesn't know what to do whilst active with zed weapon.
DC2 2019 年 7 月 28 日 下午 5:47 
:tobdog:
DC2 2019 年 7 月 28 日 下午 5:47 
what do type in for infinite ammo?
2019 年 7 月 23 日 下午 1:03 
HL:S weapons dont work
nadanican 2019 年 7 月 23 日 下午 12:21 
I got an addon where I could shoot out of cars, best decision of my life. Thank you!

~nadsterdahmer
2019 年 5 月 30 日 下午 7:48 
xgui in console or !menu in chat
bumper car professional 2019 年 5 月 30 日 上午 11:45 
how do you get the ulx menu, i have both ulx admin mod and ulib so how do you use it
2019 年 5 月 29 日 下午 6:31 
Okay, a little more info:
The error-spam happens whenever a client that had used infinite ammo disconnects.
It also happens when a clients inventory is empty while infinite ammo is enabled for the client.
Hope this actually helped.
apoc  [作者] 2019 年 5 月 29 日 下午 6:02 
The ULX Menu. This is an addon for the ULX admin mod only.
bumper car professional 2019 年 5 月 29 日 上午 10:36 
What do you mean in menu? Which menu?
2019 年 5 月 21 日 下午 12:48 
File exists in two addons - possible conflicts! lua/ulib/shared/hook.lua (ULib and ULX Infinite Ammo)

[ERROR] lua/ulx/modules/sh/infammo.lua:34: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. fn - lua/ulx/modules/sh/infammo.lua:34
3. unknown - lua/ulib/shared/hook.lua:109

same issue here
Malice Murdock 2019 年 4 月 28 日 上午 6:51 
Hey, I don't have TFA installed but i do have CW Sweps and doom 3 sweps if that matters. but at the moment my servers console is getting spammed with this:
[ERROR] addons/ulx/lua/ulx/modules/sh/infammo.lua:32: Tried to use a NULL entity!
1. Alive - [C]:-1
2. fn - addons/ulx/lua/ulx/modules/sh/infammo.lua:32
3. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
apoc  [作者] 2019 年 4 月 27 日 上午 9:09 
bamsy, I've not tested it a whole lot on servers recently, can you copy what the errors say?
Bamsy 2019 年 4 月 27 日 上午 6:53 
creates shit loads of lua errors when no one is on my server.
Caboochie 2019 年 4 月 23 日 下午 6:02 
sweet it works
thx dude
apoc  [作者] 2019 年 4 月 23 日 下午 5:12 
@exmantik you first need to have ulx installed then you just type that command in the gmod chat
Caboochie 2019 年 4 月 22 日 下午 11:37 
so, im a bit of a noob a g-mod, but how can I use the command "!infammo EXMANTiK"? Where do i go?
Toby.Tcg 2019 年 3 月 10 日 下午 6:00 
Ok so in regards to the bug i described earlier. What happens is that wen someone dies, there is an unkown percentage that they infinite ammo is disabled, and needs to be turned back on. Sometimes it remains on, sometimes it doesn't. It would be cool if you could make it to where when enabled, it stays enabled even if you died, and only turns off if you turn it off yourself. idk if that is possible though