Garry's Mod

Garry's Mod

PROTOTYPE FIX
 This topic has been pinned, so it's probably important
puddingheh  [developer] 7 Aug, 2023 @ 7:56am
Who has errors and he is not a programmer
This discussion is for people like me who don't understand programming and they have errors
< >
Showing 1-15 of 26 comments
SaucySomething 7 Aug, 2023 @ 10:43pm 
Got this error from using the crouch + right mouse button on a target multiple times for the Claws:

[PROTOTYPE FIX] lua/weapons/prototype_claws/shared.lua:390: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/weapons/prototype_claws/shared.lua:390

Timer Failed! [PounceTimer][@lua/weapons/prototype_claws/shared.lua (line 383)]
SaucySomething 7 Aug, 2023 @ 10:52pm 
Got another error by giving a zombie the Red Needle and then killing him. Once he dies, error models appear all around him and this error happens:

[PROTOTYPE FIX] lua/entities/creeper/init.lua:25: bad argument #1 to 'SetOwner' (Entity expected, got string)
1. SetOwner - [C]:-1
2. unknown - lua/entities/creeper/init.lua:25
3. Spawn - [C]:-1
4. v - lua/autorun/consume.lua:930
5. unknown - lua/includes/modules/hook.lua:96 (x2)


[PROTOTYPE FIX] lua/entities/creeper/init.lua:25: bad argument #1 to 'SetOwner' (Entity expected, got string)
1. SetOwner - [C]:-1
2. unknown - lua/entities/creeper/init.lua:25
3. Spawn - [C]:-1
4. unknown - lua/entities/creeper/init.lua:100 (x2)
puddingheh  [developer] 8 Aug, 2023 @ 5:35am 
Originally posted by Exotic Chaotic:
Got this error from using the crouch + right mouse button on a target multiple times for the Claws:

[PROTOTYPE FIX] lua/weapons/prototype_claws/shared.lua:390: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/weapons/prototype_claws/shared.lua:390

Timer Failed! [PounceTimer][@lua/weapons/prototype_claws/shared.lua (line 383)]

I tried to fix it but when I fixed the weapon function stopped working
just don't spam right mouse on target
Last edited by puddingheh; 8 Aug, 2023 @ 5:38am
puddingheh  [developer] 8 Aug, 2023 @ 5:36am 
Originally posted by Exotic Chaotic:
Got another error by giving a zombie the Red Needle and then killing him. Once he dies, error models appear all around him and this error happens:

[PROTOTYPE FIX] lua/entities/creeper/init.lua:25: bad argument #1 to 'SetOwner' (Entity expected, got string)
1. SetOwner - [C]:-1
2. unknown - lua/entities/creeper/init.lua:25
3. Spawn - [C]:-1
4. v - lua/autorun/consume.lua:930
5. unknown - lua/includes/modules/hook.lua:96 (x2)


[PROTOTYPE FIX] lua/entities/creeper/init.lua:25: bad argument #1 to 'SetOwner' (Entity expected, got string)
1. SetOwner - [C]:-1
2. unknown - lua/entities/creeper/init.lua:25
3. Spawn - [C]:-1
4. unknown - lua/entities/creeper/init.lua:100 (x2)
fixed
Last edited by puddingheh; 8 Aug, 2023 @ 5:37am
SaucySomething 8 Aug, 2023 @ 11:32am 
Originally posted by puddingheh:
Originally posted by Exotic Chaotic:
Got this error from using the crouch + right mouse button on a target multiple times for the Claws:

[PROTOTYPE FIX] lua/weapons/prototype_claws/shared.lua:390: Tried to use a NULL entity!
1. GetPos - [C]:-1
2. unknown - lua/weapons/prototype_claws/shared.lua:390

Timer Failed! [PounceTimer][@lua/weapons/prototype_claws/shared.lua (line 383)]

I tried to fix it but when I fixed the weapon function stopped working
just don't spam right mouse on target

Weird, but understandable.
SaucySomething 8 Aug, 2023 @ 8:51pm 
I got this one using the Blade left click attack. It does no damage when I believe it is supposed to. There is no error but, there is this in the console:

AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin
Attempting to create unknown particle system 'blood_decap' (x7)
SaucySomething 8 Aug, 2023 @ 8:55pm 
Just got another error by stealing a Striders cannon and attempting to fire it with left mouse button which kills you instantly and causes this error:

[PROTOTYPE FIX] lua/weapons/prototype_gun_strider/shared.lua:722: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/prototype_gun_strider/shared.lua:722

Timer Failed! [Simple][@lua/weapons/prototype_gun_strider/shared.lua (line 721)]

Also got another error with the gunship. Instead of just killing you instantly like the Strider, every shot you take explodes yourself and deals damage and causes this error:

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 618)]

[PROTOTYPE FIX] lua/weapons/prototype_gun_gunship/shared.lua:619: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/prototype_gun_gunship/shared.lua:619

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 618)]

[PROTOTYPE FIX] lua/weapons/prototype_gun_gunship/shared.lua:559: Tried to use a NULL entity!
1. StopSound - [C]:-1
2. StopGunshipLoop - lua/weapons/prototype_gun_gunship/shared.lua:559
3. unknown - lua/weapons/prototype_gun_gunship/shared.lua:602

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 601)]
Last edited by SaucySomething; 8 Aug, 2023 @ 8:58pm
SaucySomething 8 Aug, 2023 @ 9:00pm 
I got another error but unfortunately this time I do not know what caused it. I can only guess it has something to with trying to grab a Hunter Choppers gun while not actually grabbing it:

[PROTOTYPE FIX] lua/autorun/consume.lua:2234: bad argument #1 to 'ManipulateBoneScale' (number expected, got nil)
1. ManipulateBoneScale - [C]:-1
2. v - lua/autorun/consume.lua:2234
3. unknown - lua/includes/modules/hook.lua:96
SaucySomething 8 Aug, 2023 @ 9:04pm 
Originally posted by Exotic Chaotic:
I got another error but unfortunately this time I do not know what caused it. I can only guess it has something to with trying to grab a Hunter Choppers gun while not actually grabbing it:

[PROTOTYPE FIX] lua/autorun/consume.lua:2234: bad argument #1 to 'ManipulateBoneScale' (number expected, got nil)
1. ManipulateBoneScale - [C]:-1
2. v - lua/autorun/consume.lua:2234
3. unknown - lua/includes/modules/hook.lua:96

Figured out that a mod was causing this. Sorry about that. I'll leave it there in case you want to try to fix it. I have found another error that still relates to the hunter chopper. Once you use all of the ammo and drop the Hunter Chopper gun. This error happens:

[PROTOTYPE FIX] lua/includes/extensions/entity.lua:104: attempt to index a nil value
1. SetVar - lua/includes/extensions/entity.lua:104
2. Holster - lua/weapons/prototype_gun_chopper/shared.lua:616
3. unknown - lua/weapons/prototype_gun_chopper/shared.lua:136


[PROTOTYPE FIX] lua/weapons/prototype_gun_chopper/shared.lua:59: Tried to use a NULL entity!
1. Remove - [C]:-1
2. unknown - lua/weapons/prototype_gun_chopper/shared.lua:59

Timer Failed! [Simple][@lua/weapons/prototype_gun_chopper/shared.lua (line 58)]
Last edited by SaucySomething; 8 Aug, 2023 @ 9:06pm
SaucySomething 8 Aug, 2023 @ 9:07pm 
I got another error with the strider, when you attempt to grab him as you are about to die, a ragdoll appears inside him and this error happens:

[PROTOTYPE FIX] lua/autorun/consume.lua:1577: Tried to use a NULL entity!
1. GetClass - [C]:-1
2. unknown - lua/autorun/consume.lua:1577

Timer Failed! [Simple][@lua/autorun/consume.lua (line 1551)]

[PROTOTYPE FIX] lua/autorun/consume.lua:1729: attempt to call method 'SetNextPrimaryFire' (a nil value)
1. v - lua/autorun/consume.lua:1729
2. unknown - lua/includes/modules/hook.lua:96

Removing timer esboxnpcs_stridercannontimer164
SaucySomething 8 Aug, 2023 @ 9:11pm 
I can only infer that this error happens with something relating to the consume feature. I don't know much else about it:

[PROTOTYPE FIX] lua/autorun/consume.lua:2237: Tried to use a NULL entity!
1. EmitSound - [C]:-1
2. unknown - lua/autorun/consume.lua:2237

Timer Failed! [Simple][@lua/autorun/consume.lua (line 2236)]
SaucySomething 8 Aug, 2023 @ 9:31pm 
I got another error. This time, it refers to the Proto_disguise command. When consuming any compatible npc and disguising as them, the effect that is supposed to appear does not and instead simply changes the model on the fly. This is the only console error(?) that appears:

Bad DX level!! (x7)

This also happens with the proto armor command.
Last edited by SaucySomething; 8 Aug, 2023 @ 9:46pm
SaucySomething 8 Aug, 2023 @ 9:38pm 
Got another error relating to the proto patsy command. When disguised and using it on what I believe is multiple targets at the same time, this error happens:

[PROTOTYPE FIX] lua/autorun/consume.lua:1434: Tried to use a NULL entity!
1. AddEntityRelationship - [C]:-1
2. unknown - lua/autorun/consume.lua:1434

Timer Failed! [Simple][@lua/autorun/consume.lua (line 1428)]
puddingheh  [developer] 9 Aug, 2023 @ 4:04am 
Originally posted by Exotic Chaotic:
I got this one using the Blade left click attack. It does no damage when I believe it is supposed to. There is no error but, there is this in the console:

AddMultiDamage: g_MultiDamage.GetDamageForce() == vec3_origin
Attempting to create unknown particle system 'blood_decap' (x7)

Im check damage blade
Turns out he had 0 damage
Now it's 100 and working
puddingheh  [developer] 9 Aug, 2023 @ 12:08pm 
Originally posted by Exotic Chaotic:
Just got another error by stealing a Striders cannon and attempting to fire it with left mouse button which kills you instantly and causes this error:

[PROTOTYPE FIX] lua/weapons/prototype_gun_strider/shared.lua:722: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/prototype_gun_strider/shared.lua:722

Timer Failed! [Simple][@lua/weapons/prototype_gun_strider/shared.lua (line 721)]

Also got another error with the gunship. Instead of just killing you instantly like the Strider, every shot you take explodes yourself and deals damage and causes this error:

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 618)]

[PROTOTYPE FIX] lua/weapons/prototype_gun_gunship/shared.lua:619: Tried to use a NULL entity!
1. __index - [C]:-1
2. unknown - lua/weapons/prototype_gun_gunship/shared.lua:619

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 618)]

[PROTOTYPE FIX] lua/weapons/prototype_gun_gunship/shared.lua:559: Tried to use a NULL entity!
1. StopSound - [C]:-1
2. StopGunshipLoop - lua/weapons/prototype_gun_gunship/shared.lua:559
3. unknown - lua/weapons/prototype_gun_gunship/shared.lua:602

Timer Failed! [Simple][@lua/weapons/prototype_gun_gunship/shared.lua (line 601)]

About problem with damage yourself
it's happen with strider and gunship and only when hes change model
im will try find this code
< >
Showing 1-15 of 26 comments
Per page: 1530 50