Garry's Mod

Garry's Mod

PROTOTYPE FIX
 此主题已被置顶,因此可能具有重要性
puddingheh  [开发者] 2023 年 8 月 7 日 上午 7:56
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
< >
正在显示第 1 - 15 条,共 27 条留言
SaucySomething 2023 年 8 月 7 日 下午 10:43 
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 2023 年 8 月 7 日 下午 10:52 
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  [开发者] 2023 年 8 月 8 日 上午 5:35 
引用自 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
最后由 puddingheh 编辑于; 2023 年 8 月 8 日 上午 5:38
puddingheh  [开发者] 2023 年 8 月 8 日 上午 5:36 
引用自 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
最后由 puddingheh 编辑于; 2023 年 8 月 8 日 上午 5:37
SaucySomething 2023 年 8 月 8 日 上午 11:32 
引用自 puddingheh
引用自 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 2023 年 8 月 8 日 下午 8:51 
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 2023 年 8 月 8 日 下午 8:55 
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)]
最后由 SaucySomething 编辑于; 2023 年 8 月 8 日 下午 8:58
SaucySomething 2023 年 8 月 8 日 下午 9:00 
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 2023 年 8 月 8 日 下午 9:04 
引用自 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)]
最后由 SaucySomething 编辑于; 2023 年 8 月 8 日 下午 9:06
SaucySomething 2023 年 8 月 8 日 下午 9:07 
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 2023 年 8 月 8 日 下午 9:11 
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 2023 年 8 月 8 日 下午 9:31 
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.
最后由 SaucySomething 编辑于; 2023 年 8 月 8 日 下午 9:46
SaucySomething 2023 年 8 月 8 日 下午 9:38 
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  [开发者] 2023 年 8 月 9 日 上午 4:04 
引用自 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  [开发者] 2023 年 8 月 9 日 下午 12:08 
引用自 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
< >
正在显示第 1 - 15 条,共 27 条留言
每页显示数: 1530 50