Raised This Month: $51 Target: $400
 12% 

[L4D2] BotGrenades 1.3 (Outdated)


Post New Thread Reply   
 
Thread Tools Display Modes
Windy Wind
Junior Member
Join Date: Apr 2016
Old 04-13-2017 , 23:22   Re: [L4D2] BotGrenades 1.3
Reply With Quote #21

Quote:
Originally Posted by Edison1318 View Post
Thanks, and somehow your plugin somehow showing a spam error

L 04/14/2017 - 08:22:19: [SM] Exception reported: Entity -1 (-1) is invalid
L 04/14/2017 - 08:22:19: [SM] Blaming: l4d2_bot_improved_grenade_V2.smx()
L 04/14/2017 - 08:22:19: [SM] Call stack trace:
L 04/14/2017 - 08:22:19: [SM] [0] GetEntPropString
L 04/14/2017 - 08:22:19: [SM] [1] Line 732, d:\destop\megas\addons\sourcemod\scripting\in clude\entity.inc::GetEntityClassname()
L 04/14/2017 - 08:22:19: [SM] [2] Line 32, D:\Destop\Megas\addons\sourcemod\scripting\l4 d2_bot_improved_grenade_V2.txt::OnPlayerRunCm d()
I managed to fix that part that you forgot to add IsValidEntity.

And thanks for helping me code for the bots to throw pipebomb at the hordes too. I don't really need the bots to shout at the chat text so i'm gonna remove that.
Thanks for correcting me, I always forget that IsValidEntity. I'm also having a hard time keeping track with the errors since I can't find exactly where the error logs are (I'm new to this thou).

Also there is fatal error I made at around line 87 or 88. Please change it to GetEntPropVector(i, Prop_Send, "m_vecOrigin", f_EntPosVicinity); So that it will work properly.

From I've seen from your plugins, They did have a chance of missing molotov and boomer bile, and higher if there are distractions like SI or common, so I'll work on improving bot targeting behavior so they wouldn't miss most of the time.

Last edited by Windy Wind; 04-14-2017 at 01:22.
Windy Wind is offline
ElKapone14
Junior Member
Join Date: Oct 2013
Old 04-19-2017 , 05:37   Re: [L4D2] BotGrenades 1.3
Reply With Quote #22

I have a problem with the last update. Maybe the problem is from my side but are you sure you uploaded correctly the 1.3 version ?
I tried it in-game and bots do not seem to have improved aim. And when I check on console it says the plugin is in 1.2. I downloaded both version (in your main post) and the same thing happened. Is there something else I am missing ?

Sorry if my english is not correct.

Last edited by ElKapone14; 04-19-2017 at 05:37.
ElKapone14 is offline
JohnnyDave255
Member
Join Date: May 2017
Location: Philippines
Old 05-20-2017 , 06:34   Re: [L4D2] BotGrenades 1.3
Reply With Quote #23

Nice plugin, bro. But will the bots can throw grenades from special infected such as smoker, jockey, witch, etc instead of tank
JohnnyDave255 is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 05-21-2017 , 02:13   Re: [L4D2] BotGrenades 1.3
Reply With Quote #24

Quote:
Originally Posted by JohnnyDave255 View Post
Nice plugin, bro. But will the bots can throw grenades from special infected such as smoker, jockey, witch, etc instead of tank
My coder friend cravenge did improved my bot grenade plugin right here, https://forums.alliedmods.net/showth...t=Grenade+bots
But i don't know if they still throw grenades on them but it will work throwing pipe bomb on hordes too.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
Klinkie
Junior Member
Join Date: Jan 2017
Old 06-22-2017 , 17:18   Re: [L4D2] BotGrenades 1.3
Reply With Quote #25

Possible to prevent them from throwing bile on the tanks? In versus it's quite a bad thing to have bile on a tank as they can avoid the horde and send it after you instead. Bots throwing molotovs is great though! Also you could have them throw pipes when they are boomed instead of throwing them at hordes.

Last edited by Klinkie; 06-22-2017 at 17:27.
Klinkie is offline
Edison1318
Senior Member
Join Date: Nov 2015
Location: Peaceful place of the in
Old 06-23-2017 , 01:36   Re: [L4D2] BotGrenades 1.3
Reply With Quote #26

Quote:
Originally Posted by Klinkie View Post
Possible to prevent them from throwing bile on the tanks? In versus it's quite a bad thing to have bile on a tank as they can avoid the horde and send it after you instead. Bots throwing molotovs is great though! Also you could have them throw pipes when they are boomed instead of throwing them at hordes.
Thanks for the feedback about my plugin, yes and i'm currently try my best to configure my plugin well and added the cvar for which bots can throw and which is not. Throwing pipe bomb to horde it was hard for me to code because that time i didn't know how to target the common infected entity. Come back for more updates for sure.
__________________
EdisonGar
Edison1318 is offline
Send a message via Skype™ to Edison1318
mathilde
Member
Join Date: Jan 2020
Location: samedi et dimanche
Old 01-10-2020 , 23:17   Re: [L4D2] BotGrenades 1.3
Reply With Quote #27

Quote:
Originally Posted by Windy Wind View Post
Ok, so here it is. Well, It would increase the chance of them actually throwing pipe bomb at the hordes, sometimes they do miss
Oh and I made them automatically throw their pipe bomb without order from players if certain conditions are met too.

Update: Fix fatal error.
Hello. I've been searching for grenade throwing bots plugins. Tried edison's & cravenge's. Both seem to not work anymore(except bots only throw at "tanks" from edison's plugin).

This plugin by windy wind is the only one that still works. Bots throw pipebombs when there's a horde not automatically, kind of smartly. (But pipebombs only. It's possible to add scripts for vomit jar).

There was a spam error with the plugin as stated in the old posts & IsValidEntity needed to be added.
That removed the error but created a new one:

Quote:
L 01/10/2020 - 217:51: [SM] Exception reported: Client index -1 is invalid
L 01/10/2020 - 217:51: [SM] Blaming: l4d2_bot_improved_grenade_V4.smx
L 01/10/2020 - 217:51: [SM] Call stack trace:
L 01/10/2020 - 217:51: [SM] [0] GetClientAbsOrigin
L 01/10/2020 - 217:51: [SM] [1] Line 135, C:\Users\Custom\Desktop\l4d2_bot_improved_gre nade_V4.sp::ThrowGrenadePipe
Honestly I'm not a programmer nor do I know stuff about scripting.
Anyone knows what's up with it?

**Files attached
Attached Files
File Type: smx l4d2_bot_improved_grenade_V4.smx (6.0 KB, 124 views)
File Type: sp Get Plugin or Get Source (l4d2_bot_improved_grenade_V4.sp - 346 views - 6.5 KB)
mathilde is offline
mathilde
Member
Join Date: Jan 2020
Location: samedi et dimanche
Old 01-12-2020 , 07:17   Bot Improved Grenade Versions: 3 & 4
Reply With Quote #28

BOT IMPROVED GRENADE Versions 3 & 4

All right! Thanks to Silvers help with the script the plugin is now error free.

Bots throw pipebombs smartly in panic events/horde events/crescendo.
(Put in mind that they only throw pipebombs because the script does not include molotov & bilejar.)


Quote:
Bugs:
1. Bots unable to use heal themselves or use pills/adrenaline when they have a pipebomb. They're just having "stuck" animations when they areabout to use these items.

Off topic: Is there a fix to Bill returning your painpills/adrenaline whenever you give it to him but does not when other bots do?
The plugin is by windy wind with fixes by

Edison1318 & Silvers
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_bot_improved_grenade_V4.sp - 556 views - 6.5 KB)

Last edited by mathilde; 01-14-2020 at 05:27.
mathilde is offline
SombiMan
Junior Member
Join Date: Jun 2020
Old 06-13-2020 , 06:38   Re: Bot Improved Grenade Versions: 3 & 4
Reply With Quote #29

Quote:
Originally Posted by mathilde View Post
BOT IMPROVED GRENADE Versions 3 & 4

All right! Thanks to Silvers help with the script the plugin is now error free.

Bots throw pipebombs smartly in panic events/horde events/crescendo.
(Put in mind that they only throw pipebombs because the script does not include molotov & bilejar.)




The plugin is by windy wind with fixes by

Edison1318 & Silvers
I just tried this in Dead City 2 which has a lot of crescendos. The bots do throw pipebombs during crescendos, but most of the time they throw it too early when there are too little zombies. This kind of waste the pipebombs they pick up. Could you please add a way for them to detect how many zombies are nearby? or an option to make them throw less or delay their throw if possible? Thanks in advance!

Edit: Never mind. I found out that it's configurable through its cvars. BTW are you planning on making this support bile bombs or molotov? If you are, I'll be looking forward to it!

Last edited by SombiMan; 06-13-2020 at 09:59.
SombiMan is offline
Secepeul
Junior Member
Join Date: Apr 2019
Old 06-16-2020 , 15:16   Re: [L4D2] BotGrenades 1.3 (Outdated)
Reply With Quote #30

I just wanted to say that i really like this plugin, a guy just showed it to me, i was using the old ones there weren't even working anymore, is fucking nice, i will gladly wait to have molotovs and jars working(If is going to happen)
Secepeul is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode