Raised This Month: $32 Target: $400
 8% 

[L4D2] Bots Weapon Preferences Editor (UPDATED 09-11-2017)


Post New Thread Reply   
 
Thread Tools Display Modes
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 08-13-2015 , 13:54   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #21

Oops, uploaded wrong version, whoever downloaded get the new one again, as the previous uploaded one still had the memory leak error in it.
__________________
DeathChaos25 is offline
uriel18
Senior Member
Join Date: Apr 2009
Old 08-19-2015 , 07:06   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #22

Gracias tio, se agradece!! Y más si funcionan en singleplayer/lan que es lo que más suelo usar ^^
__________________
uriel18 is offline
bazrael
Senior Member
Join Date: Jan 2010
Location: Where Lucy became superw
Old 08-27-2015 , 20:13   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #23

Version 1.2 (Aug 14, 2015) still got warning message in my server.
PHP Code:
L 08/23/2015 22:10:38: [SMMEMORY LEAK DETECTED IN PLUGIN (file "l4d2_Bots Weapon Preference Manipulation.smx")
L 08/23/2015 22:10:38: [SMUnloading plugin to free 15715 handles.
L 08/23/2015 22:10:38: [SMContact the author(sof this plugin to correct this error.
L 08/23/2015 22:10:38: --------------------------------------------------------------------------
L 08/23/2015 22:10:38Type    Timer               |    Count    1
L 08
/23/2015 22:10:38Type    CellArray           |    Count    15714
L 08
/23/2015 22:10:38: -- Approximately 251616 bytes of memory are in use by (15715Handles.

[
SMPlugin l4d2_Bots.smx is not loaded
--EDIT 9/11 010--
Thank you! Extra sub plugin does fix memory leak. No warning message now. Would you combine them in near future?

--EDIT 9/11 125--
Great! Now my friend won't intend to kill stupid bots after they snatch his lovely AK-47.

Last edited by bazrael; 09-11-2015 at 00:35.
bazrael is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 08-29-2015 , 12:26   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #24

Quote:
Originally Posted by bazrael View Post
Version 1.2 (Aug 14, 2015) still got warning message in my server.
PHP Code:
L 08/23/2015 22:10:38: [SMMEMORY LEAK DETECTED IN PLUGIN (file "l4d2_Bots Weapon Preference Manipulation.smx")
L 08/23/2015 22:10:38: [SMUnloading plugin to free 15715 handles.
L 08/23/2015 22:10:38: [SMContact the author(sof this plugin to correct this error.
L 08/23/2015 22:10:38: --------------------------------------------------------------------------
L 08/23/2015 22:10:38Type    Timer               |    Count    1
L 08
/23/2015 22:10:38Type    CellArray           |    Count    15714
L 08
/23/2015 22:10:38: -- Approximately 251616 bytes of memory are in use by (15715Handles.

[
SMPlugin l4d2_Bots.smx is not loaded
Download this, it is an extension for this plugin, so run the one in the main post alongside this one, I had to make an extra sub plugin to prevent this issue permanently.

This should 100% get rid of this issue, tell me if you experience any issues.

EDIT: DO NOT USE THIS ANYMORE, THIS WAS FIXED AND THE SUB PLUGIN IS NOW OBSOLETE, PLEASE DELETE IT
Attached Files
File Type: sp Get Plugin or Get Source ([L4D2] Bots Weapon Preference Manipulation(sub).sp - 479 views - 700 Bytes)
__________________

Last edited by DeathChaos25; 09-10-2015 at 15:33.
DeathChaos25 is offline
mightmagix
Junior Member
Join Date: May 2011
Location: KL
Old 09-06-2015 , 12:20   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #25

This seems a bit tricky. I went through all my plugins and I think that this plugin is the cause. All the errors are gone but there's an in-game problem instead. It happens in The Sacrifice/ The Passing Finale.(c6m3/c7m3)

Location: Middle of the four-junction road between the two trucks near the generator.
Condition: bots blatantly stop there and grab some invisible entity repeatedly. they wont move until a human survivor attacked or incapped.

I have SourceMod 1.7.2 and Metamod:Source 1.10.5. My extension Left 4 Downtown 2 (0.5.4.2) Krufftys Killers version page-79. Tested on Local Server.

Last edited by mightmagix; 09-06-2015 at 12:25.
mightmagix is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 09-06-2015 , 12:44   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #26

Quote:
Originally Posted by mightmagix View Post
This seems a bit tricky. I went through all my plugins and I think that this plugin is the cause. All the errors are gone but there's an in-game problem instead. It happens in The Sacrifice/ The Passing Finale.(c6m3/c7m3)

Location: Middle of the four-junction road between the two trucks near the generator.
Condition: bots blatantly stop there and grab some invisible entity repeatedly. they wont move until a human survivor attacked or incapped.

I have SourceMod 1.7.2 and Metamod:Source 1.10.5. My extension Left 4 Downtown 2 (0.5.4.2) Krufftys Killers version page-79. Tested on Local Server.
This would mean that there is a weapon inside that location that the director is probably preventing them from picking it up.
__________________
DeathChaos25 is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 09-10-2015 , 12:19   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #27

Quote:
Originally Posted by mightmagix View Post
This seems a bit tricky. I went through all my plugins and I think that this plugin is the cause. All the errors are gone but there's an in-game problem instead. It happens in The Sacrifice/ The Passing Finale.(c6m3/c7m3)

Location: Middle of the four-junction road between the two trucks near the generator.
Condition: bots blatantly stop there and grab some invisible entity repeatedly. they wont move until a human survivor attacked or incapped.

I have SourceMod 1.7.2 and Metamod:Source 1.10.5. My extension Left 4 Downtown 2 (0.5.4.2) Krufftys Killers version page-79. Tested on Local Server.
I have identified the issue and will try to address this as quickly as possible.
__________________
DeathChaos25 is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 09-10-2015 , 15:35   Re: [L4D2] Bots Weapon Preferences Editor
Reply With Quote #28

The Issue has been fixed, download the new version and provide feedback on your experience with it!

Also, for those of you who want to use the 2 new commands, but dont want to have to type it into the chat all of the time, just bind them to buttons like so.

bind c "say /swapprimary"
bind v "say /swapsecondary"

where c and v are buttons of your choice
__________________
DeathChaos25 is offline
mightmagix
Junior Member
Join Date: May 2011
Location: KL
Old 09-11-2015 , 05:28   Re: [L4D2] Bots Weapon Preferences Editor (UPDATED 09-10-2015)
Reply With Quote #29

Glad for this new update. Its a blessing you were able to to find and resolved it. I've run with all main campaigns and so far there's no error/bugs. Still presumably those faulty lies with valve map where some hidden entities means trash and conflict with custom plugins. The sub compilation also remove any memory leak I've encountered. Previously on some custom campaign but so far its gone now.

About the new features:
Its remarkable! This is a mod I've been waiting for so long... long enough since Gear Transfer Plugin. Job well done for making this features, I didn't expect this actually so its definitely worth waiting for me. Altho the technique not that similar to gear transfer which (select item slot and right-click swapping), its still a great features. I wouldn't mind if this even released as different plugin.

There's no delay when swapping primary and secondary, even tested with knife and css weapons. Again tested with bots, no glitch/bugs etc. All 7 of them and its working flawlessly. I'm starting to feel worried. That said i will definitely bump this thread again if there issues to be found. With the recent update, this is one kind of a plugin I happy to keep.

Cheers.
mightmagix is offline
DeathChaos25
Senior Member
Join Date: Jan 2014
Location: Puerto Rico
Old 09-11-2015 , 06:13   Re: [L4D2] Bots Weapon Preferences Editor (UPDATED 09-10-2015)
Reply With Quote #30

Quote:
Originally Posted by mightmagix View Post
Glad for this new update. Its a blessing you were able to to find and resolved it. I've run with all main campaigns and so far there's no error/bugs. Still presumably those faulty lies with valve map where some hidden entities means trash and conflict with custom plugins. The sub compilation also remove any memory leak I've encountered. Previously on some custom campaign but so far its gone now.

About the new features:
Its remarkable! This is a mod I've been waiting for so long... long enough since Gear Transfer Plugin. Job well done for making this features, I didn't expect this actually so its definitely worth waiting for me. Altho the technique not that similar to gear transfer which (select item slot and right-click swapping), its still a great features. I wouldn't mind if this even released as different plugin.

There's no delay when swapping primary and secondary, even tested with knife and css weapons. Again tested with bots, no glitch/bugs etc. All 7 of them and its working flawlessly. I'm starting to feel worried. That said i will definitely bump this thread again if there issues to be found. With the recent update, this is one kind of a plugin I happy to keep.

Cheers.
There where actually some very nasty bugs that happened when you choose to transfer dual pistols, but I managed to snipe them. Basically, you couldn't transfer dual pistols at all, instead of giving them to the bot, or the bot giving them to you, the person with dual pistols would just toss them to the ground, so I had to do a lot of behind the scenes magic to get them to work.

As for Gear Transfer, it doesnt actually transfer items, it deletes the item from the person, make a new one, and equip this new one to the person.

With this plugin, we are actually using the transfer feature from the game, so this is as natural as passing pills/adrenaline between people.

Also, the sub plugin shouldn't be needed anymore, try removing it and report back in case of any memory leaks, although the primary cause of it was completely removed.
__________________
DeathChaos25 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 16:48.


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