Garry's Mod

Garry's Mod

Unreal Tournament 2004 SWEPs
 此主題已被置頂,因此它可能很重要
KnightBob7 2021 年 6 月 24 日 下午 7:30
Unreal Tournament 2004 SWEPs Glitches, Bugs, and fixes.
This discussion is about telling the developer of what is wrong with the Workshop Add-on,
potential add-on conflicts, and having bugs that affected the add-on being fixed in the past.
Post your bugs here for the developer to be notified of any problems regarding the sweps not
working in any capacity.
< >
目前顯示第 1-15 則留言,共 17
KnightBob7 2021 年 6 月 24 日 下午 9:44 
The thing is when I didn't pick up the shields and take damage with over 100 armor, the
armor is gone and I can't pickup other armor pieces that I can use to gain armor back with
non of those shields from the Unreal Tournament 2004 shield pickups.
Atlantic_Lemur 2022 年 1 月 13 日 下午 7:19 
Actually, Whenever I equip the Assault Rifle, it doesn't seem to accept the Bullets and Grenades entity I spawn. In fact, when I do equip said weapon, the starting ammo for it reads as "9mm Ammo". I searched the spawnlist, nada, zilch.
Hidden  [開發人員] 2022 年 1 月 14 日 上午 4:53 
The assault rifle uses Half-Life 1's SMG and pistol ammo, which is in the game by default. If that fails to load then there's something seriously wrong going on. If i had to guess i'd say it's an addon conflict. If you find out what's causing this, please tell me.
GamingSportsCar19084208 2022 年 12 月 17 日 上午 1:21 
If you have an armor value higher than 150, picking up the UT shield or Super Shield will set your armor value to back to 150.

Also the system that makes you take only armor damage when the value is higher than 100 works unusually with things that are supposed to kill you instantly, i.e. trigger hurts.
♠ KING OF SPADES ♠ 2022 年 12 月 24 日 上午 3:11 
Mine layer is crushing game when you attack spider or aim it to npc
SaucySomething 2023 年 1 月 21 日 下午 1:30 
Getting this error with the spider bomb. I do not know what causes it.

NextBot [206][ut2004_spidermine] Error: lua/entities/ut2004_spidermine.lua:135: Tried to use a NULL entity!
VolKov 2024 年 4 月 22 日 下午 4:36 
[Unreal Tournament 2004 SWEPs] lua/effects/ut2004_hitoverlay/init.lua:43: attempt to compare number with nil
1. unknown - lua/effects/ut2004_hitoverlay/init.lua:43

bro PLEASE fix this, its a error of a the electric weapon
LOL DUDE 2 月 9 日 下午 11:46 
I'm getting crashes whenever I try to use the Mine Layer. Same message in the crash log almost every time:
Executable: C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\win64\gmod.exe -Lua Stack Traces- ================== Client *Not in Lua call OR Lua has panicked* Server 0. BlastDamage - [C]:-1 1. Explode - lua/entities/ut2004_spidermine.lua:359 2. (null) - lua/entities/ut2004_spidermine.lua:371 3. BlastDamage - [C]:-1 4. Explode - lua/entities/ut2004_spidermine.lua:359 5. (null) - lua/entities/ut2004_spidermine.lua:371 6. BlastDamage - [C]:-1 7. Explode - lua/entities/ut2004_spidermine.lua:359 8. (null) - lua/entities/ut2004_spidermine.lua:371 9. BlastDamage - [C]:-1 10. Explode - lua/entities/ut2004_spidermine.lua:359 11. (null) - lua/entities/ut2004_spidermine.lua:371 12. BlastDamage - [C]:-1 13. Explode - lua/entities/ut2004_spidermine.lua:359 14. (null) - lua/entities/ut2004_spidermine.lua:371 15. BlastDamage - [C]:-1 16. Explode - lua/entities/ut2004_spidermine.lua:359 MenuSystem *Not in Lua call OR Lua has panicked*
LOL DUDE 2 月 11 日 上午 1:05 
Also got this error spammed in the console whenever a Mine Layer is spawned in the world (like with middle mouse):
[Unreal Tournament 2004 SWEPs] lua/weapons/weapon_ut2004_minelayer/shared.lua:124: attempt to call method 'KeyDown' (a nil value) 1. unknown - lua/weapons/weapon_ut2004_minelayer/shared.lua:124
All of the health picks do not work when loaded through a save.

The vials and the "Big Keg 'o Health" can be picked up, but don't heal you. The +20 health cant be interacted with at all.
aversion 3 月 10 日 下午 6:26 
The spidermine NPC crashes the game when the game tells it to explode.
LCPL. Shishkin 5 月 25 日 上午 8:16 
The spidermine NPC crashes the game when the game tells it to explode.
aversion 7 月 13 日 下午 2:43 
After decompiling the gma, you can hotfix the spidermine crash by wrapping the util.BlastDamage in a timer.Simple call like this:

if !nodamage then timer.Simple( 0, function() util.BlastDamage( self, self.Owner or self, self:GetPos(), 200, 95) end) end

This makes the explosion occur on the next tick, avoiding the infinite stack overflow crash.
The spider was being re-killed by its own explosion, causing it to re-explode indefinitely.
最後修改者:aversion; 7 月 13 日 下午 2:44
Saturn's Ring 8 月 15 日 下午 7:40 
Is the spider mine set to explode upon changing weapons after laying one? GMod hard-crashes after swapping off the mine layer.
Romactu 8 月 31 日 下午 8:44 
引用自 aversion
After decompiling the gma, you can hotfix the spidermine crash by wrapping the util.BlastDamage in a timer.Simple call like this:

if !nodamage then timer.Simple( 0, function() util.BlastDamage( self, self.Owner or self, self:GetPos(), 200, 95) end) end

This makes the explosion occur on the next tick, avoiding the infinite stack overflow crash.
The spider was being re-killed by its own explosion, causing it to re-explode indefinitely.
Where can we find the file that has to be fixed? We appreciate the trick but you didn't tell us the file we're need to find.
< >
目前顯示第 1-15 則留言,共 17
每頁顯示: 1530 50