Garry's Mod

Garry's Mod

Unreal Tournament 2004 SWEPs
 Tämä aihe on kiinnitetty, joten se on todennäköisesti tärkeä
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.
< >
Näytetään 1-15 / 17 kommentista
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.
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  [kehittäjä] 14.1.2022 klo 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.
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.
Mine layer is crushing game when you attack spider or aim it to npc
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!
[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
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*
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.
The spidermine NPC crashes the game when the game tells it to explode.
The spidermine NPC crashes the game when the game tells it to explode.
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.
Viimeisin muokkaaja on aversion; 13.7. klo 14.44
Is the spider mine set to explode upon changing weapons after laying one? GMod hard-crashes after swapping off the mine layer.
aversion lähetti viestin:
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.
< >
Näytetään 1-15 / 17 kommentista
Sivua kohden: 1530 50