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

[L4D & L4D2] Intelligent Machine Gun


Post New Thread Reply   
 
Thread Tools Display Modes
gilmon
Senior Member
Join Date: Feb 2011
Location: China
Old 03-12-2014 , 09:53   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #91

Quote:
Originally Posted by panxiaohai View Post
有什么建议没? 这个插件好久没弄了,你可以试试这个:
https://forums.alliedmods.net/showthread.php?t=221876
See what i am PM you.
gilmon is offline
Send a message via MSN to gilmon
deejay87
Senior Member
Join Date: Apr 2004
Location: Pays du Glaude - France
Old 05-18-2014 , 17:44   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #92

hi

sm_removemachine don't work ?
__________________
deejay87 is offline
Send a message via MSN to deejay87 Send a message via Skype™ to deejay87
apreyes58
New Member
Join Date: Dec 2013
Old 06-25-2014 , 19:22   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #93

Amazing! Everything works fine for me and I would recommend you change the name to Smart Sentry. It would sound Cool!

Last edited by apreyes58; 06-25-2014 at 19:23.
apreyes58 is offline
jking
AlliedModders Donor
Join Date: Jan 2012
Old 04-18-2015 , 10:03   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #94

Any plans to update this? Thanks.

commands to bind are actually:

bind "x" "say !machine"
bind "y" "say !machine 0"
bind "z" "say !machine 1"
bind "key" "say !removemachine"

Last edited by jking; 04-18-2015 at 11:21.
jking is offline
dankew1
New Member
Join Date: Feb 2016
Old 02-01-2016 , 16:54   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #95

Hey , I've just tried this but it seems to not work alone. Cuz I tried it with other mods and it worked but everytime I spawn a turret using "!machine" or any other ones it just works for like 4 seconds 20% of the time. Usually it ends up with the turret removing itself and saying "Your turret has been broken". Is there anything else I need to do or download ? I've sourcemod , metamod and SDK tools but it just keeps doing what I just mentioned and now that I removed all of my installed mods it's not even working and crashes my game everytime it tries to load a map. Also I didn't need to shove it to get it started it's already up when I spawn it, and !machine , !machine 0 , !machine 1 they all do the same for me each one of them just spawns a random shape of the turret. Please tell me what I miss.
dankew1 is offline
dankew1
New Member
Join Date: Feb 2016
Old 01-22-2017 , 14:40   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #96

Hey I love the options of this mod but there are two problems for me. First I can't put the gun back down with use. Second I can't deploy more than one gun even though I remove the last one with "!removemachine" and setting the cvar "l4d_machine_limit" to 999+
dankew1 is offline
ALEXANDER020
Junior Member
Join Date: Dec 2016
Old 04-23-2017 , 06:57   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #97

L 04/23/2017 - 15:48:49: Info (map "c5m2_park") (file "errors_20170423.log")
L 04/23/2017 - 15:48:49: [SM] Native "GetEdictClassname" reported: Invalid edict (556 - 556)
L 04/23/2017 - 15:48:49: [SM] Displaying call stack trace for plugin "l4d_machine.smx":
L 04/23/2017 - 15:48:49: [SM] [0] Line 227, C:\Users\audia\Desktop\l4d_machine.sp::player _use()
L 04/23/2017 - 15:48:58: [SM] Native "GetEdictClassname" reported: Invalid edict (490 - 490)
L 04/23/2017 - 15:48:58: [SM] Displaying call stack trace for plugin "l4d_machine.smx":
L 04/23/2017 - 15:48:58: [SM] [0] Line 227, C:\Users\audia\Desktop\l4d_machine.sp::player _use()
L 04/23/2017 - 15:49:46: [SM] Native "GetEdictClassname" reported: Invalid edict (554 - 554)
L 04/23/2017 - 15:49:46: [SM] Displaying call stack trace for plugin "l4d_machine.smx":
L 04/23/2017 - 15:49:46: [SM] [0] Line 227, C:\Users\audia\Desktop\l4d_machine.sp::player _use()
L 04/23/2017 - 15:53:29: [SM] Native "GetEdictClassname" reported: Invalid edict (91 - 91)
L 04/23/2017 - 15:53:29: [SM] Displaying call stack trace for plugin "l4d_machine.smx":
L 04/23/2017 - 15:53:29: [SM] [0] Line 227, C:\Users\audia\Desktop\l4d_machine.sp::player _use()
ALEXANDER020 is offline
Alexmy
Senior Member
Join Date: Oct 2014
Location: Russian Federation
Old 03-30-2018 , 07:25   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #98

PHP Code:
Bug fixed.
The code is cleared of unnecessary garbage and warnings when compiling the plugin
Attached Files
File Type: sp Get Plugin or Get Source (l4d_machine.sp - 368 views - 40.7 KB)

Last edited by Alexmy; 03-30-2018 at 07:25.
Alexmy is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-19-2018 , 01:09   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #99

Quote:
Originally Posted by Alexmy View Post
PHP Code:
Bug fixed.
The code is cleared of unnecessary garbage and warnings when compiling the plugin
Got one for you:

Code:
L 06/19/2018 - 05:44:15: [SM] Call stack trace:
L 06/19/2018 - 05:44:15: [SM]   [1] Line 1021, C:\Desktop\l4d_machine.sp::OnTakeDamagePost
L 06/19/2018 - 05:44:15: [SM] Exception reported: Array index is out of bounds
L 06/19/2018 - 05:44:15: [SM] Blaming: L4D2_sentry gun.smx
Mr. Man is offline
FatalOE71
Member
Join Date: Jun 2018
Old 07-27-2018 , 01:02   Re: [L4D & L4D2] Intelligent Machine Gun
Reply With Quote #100

Can anyone fix the array out of bounds on line 1021? It is filling up the errors logs.

[1] Line 1021, C:\Users\user\Desktop\Left 4 Dead 2 Server Plugins\sourcemod-1.8.0-git6048-windows\addons\sourcemod\scripting\l4d_machin e.sp::OnTakeDamagePost
L 07/26/2018 - 200:14: [SM] Exception reported: Array index is out of bounds
L 07/26/2018 - 200:14: [SM] Blaming: l4d_machine.smx
FatalOE71 is offline
Reply


Thread Tools
Display Modes

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 08:11.


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