Garry's Mod

Garry's Mod

Team Fortress 2 Bots [2022] custom
 This topic has been pinned, so it's probably important
nope  [developer] 5 Jan @ 6:15pm
Lua errors report here
First, i can't fix are not lua errors, and can't add feature. It's just fixing by chat gpt. I'm not coder,so i can't really do that.

But this addon's lua errors can fixing by chat gpt.( If i have time to fix that. )
Please report error log from this addon, or it will be igonre or deleted.
Last edited by nope; 5 Jan @ 6:17pm
< >
Showing 1-10 of 10 comments
danny 9 Jan @ 10:02pm 
the error says lua/entities/npc_tf2base/init.lua:385: bad arguement #1 to 'getboneposition' (number expected, got no value 1. getboneposition [C] 2 unknown - lua/entities/npc_tf2base/init.lua:385: 3 firebullets - [C]:- 14. unknown -lua/weapon/tf_weapon_pistol.lua141
nope  [developer] 10 Jan @ 6:28pm 
Originally posted by danny:
the error says lua/entities/npc_tf2base/init.lua:385: bad arguement #1 to 'getboneposition' (number expected, got no value 1. getboneposition [C] 2 unknown - lua/entities/npc_tf2base/init.lua:385: 3 firebullets - [C]:- 14. unknown -lua/weapon/tf_weapon_pistol.lua141

got it.
[Team Fortress 2 Bots [2022] custom] lua/autorun/client/tf2_bot_hat_menu.lua:301: bad argument #1 to 'ceil' (number expected, got nil)
1. ceil - [C]:-1
2. ItemSelectMenu - lua/autorun/client/tf2_bot_hat_menu.lua:301
3. DoClick - lua/autorun/client/tf2_bot_hat_menu.lua:1328
4. unknown - lua/vgui/dlabel.lua:254
nope  [developer] 23 Jan @ 4:29pm 
Originally posted by SCP Foundation:
[Team Fortress 2 Bots [2022] custom] lua/autorun/client/tf2_bot_hat_menu.lua:301: bad argument #1 to 'ceil' (number expected, got nil)
1. ceil - [C]:-1
2. ItemSelectMenu - lua/autorun/client/tf2_bot_hat_menu.lua:301
3. DoClick - lua/autorun/client/tf2_bot_hat_menu.lua:1328
4. unknown - lua/vgui/dlabel.lua:254

got it. any same problem?
Cant Attack Half-Life Source Npcs :(
Suggestion: Can Attack Custom, Non-Drg Nextbots.
The customization tool is broken
[Team Fortress 2 Bots [2022] custom] lua/entities/npc_tf2base_mvm/init.lua:346: Tried to use a NULL entity!
1. AddEntityRelationship - [C]:-1
2. SetTF2Relationships - lua/entities/npc_tf2base_mvm/init.lua:346
3. InitTeam - lua/entities/npc_tf2base_mvm/init.lua:397
4. unknown - lua/entities/npc_tf2base/init.lua:75
5. Spawn - [C]:-1
6. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:502
7. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:566
8. unknown - gamemodes/sandbox/gamemode/commands.lua:597
9. unknown - lua/includes/modules/concommand.lua:54
[Team Fortress 2 Bots [2022] custom] lua/entities/weapon_tf2ai_projectile_base/init.lua:146: bad argument #1 to 'SetPos' (Vector expected, got nil)
1. SetPos - [C]:-1
2. Shoot - lua/entities/weapon_tf2ai_projectile_base/init.lua:146
3. unknown - lua/entities/npc_tf2base/weapons.lua:187

Timer Failed! [FiringSequence27][@lua/entities/npc_tf2base/weapons.lua (line 158)]
Jduke 9 Mar @ 9:04pm 
NextBot [99][npc_demo_mvm] Error: lua/entities/npc_tf2base_mvm/init.lua:402: bad argument #1 to 'GetBonePosition' (number expected, got no value)

[Team Fortress 2 Bots [2022] custom] lua/entities/npc_tf2base_mvm/init.lua:346: Tried to use a NULL entity!
1. AddEntityRelationship - [C]:-1
2. SetTF2Relationships - lua/entities/npc_tf2base_mvm/init.lua:346
3. InitTeam - lua/entities/npc_tf2base_mvm/init.lua:397
4. unknown - lua/entities/npc_tf2base/init.lua:75
5. Spawn - [C]:-1
6. CompleteRobot - lua/entities/tf2_robot_factory/init.lua:129
7. OnMetalSupplied - lua/entities/tf2_robot_factory/init.lua:149
8. SupplyFactory - lua/entities/npc_engineer_mvm/ai.lua:385
9. RunBehaviour - lua/entities/npc_engineer_mvm/ai.lua:64
10. unknown - lua/entities/npc_tf2base/ai.lua:47

NextBot [25][npc_engineer_mvm] Error: lua/entities/npc_engineer_mvm/ai.lua:54: attempt to compare number with nil

[Team Fortress 2 Bots [2022] custom] lua/entities/npc_tf2base_mvm/init.lua:1353: attempt to index field 'soundpack' (a nil value)
1. Talk - lua/entities/npc_tf2base_mvm/init.lua:1353
2. unknown - lua/entities/tf2_robot_factory/init.lua:135

Timer Failed! [Simple][@lua/entities/tf2_robot_factory/init.lua (line 133)]
< >
Showing 1-10 of 10 comments
Per page: 1530 50