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

[L4D2] Improved Prevent M60 Drop


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 07-15-2019 , 17:56   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #51

Quote:
Originally Posted by MasterMind420 View Post
hmm never noticed it wasn't compiling on here...it should unless there's an outside dependency allied modders doesn't have with there compiler. I don't think this plugin has any outside dependencies other than sourcemod or sdkhooks...I will look into this, thanks...
The plugin isn't compiling because the online compiler still uses old syntax. You should put #pragma newdecls required after the includes.

Code:
SourcePawn Compiler 1.7.1
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(49) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(59) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(59) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(69) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(47) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(58) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(58) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(68) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(81) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(90) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : fatal error 189: too many error messages on one line

Compilation aborted.
14 Errors.
__________________
Psyk0tik is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 07-15-2019 , 18:12   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #52

Quote:
Originally Posted by Crasher_3637 View Post
The plugin isn't compiling because the online compiler still uses old syntax. You should put #pragma newdecls required after the includes.

Code:
SourcePawn Compiler 1.7.1
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2014 AlliedModders LLC

/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(49) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(59) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(59) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_engine.inc(69) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(47) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(58) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(58) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(68) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(81) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(90) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : error 147: new-style declarations are required
/groups/sourcemod/compiler-1.7/include/sdktools_functions.inc(102) : fatal error 189: too many error messages on one line

Compilation aborted.
14 Errors.
damn its been that long since i touched this...that would certainly explain it. thanks
MasterMind420 is offline
phoenix0001
Senior Member
Join Date: Apr 2010
Location: China
Old 11-18-2019 , 09:12   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #53

After the M60 picks up the incendiary or high-explosive bomb, it shoots the gun to the last bullet.
The M60 cannot replace the magazine. It is not possible to continue shooting.
__________________
I like this BBS sharing of spirit

I come from China, my English is poor
phoenix0001 is offline
Shao
Senior Member
Join Date: Jan 2015
Old 03-20-2020 , 17:16   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #54

I have this problem where if I shoot one bullet then pick ammo from the pile, I get a progressive stack of bullets back into my spare ammo which can be exploited to add an extra magazine over time even when it's not allowed. Would be nice if it could be fixed, I love this plugin!!
Shao is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 03-20-2020 , 17:21   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #55

hmm i dont think thats a bug but more likely an incompatibility with another plugin...list the plugins u are using and i'll look into it.
MasterMind420 is offline
Shao
Senior Member
Join Date: Jan 2015
Old 03-21-2020 , 03:42   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #56

[SM] Listing 17 plugins:
01 "[L4D2] Improved Prevent M60 Drop" (1.6) by MasterMind420, Ludastar, DeathChaos25
02 "Basic Comm Control" (1.10.0.647 by AlliedModders LLC
03 "Basic Ban Commands" (1.10.0.647 by AlliedModders LLC
04 "Basic Chat" (1.10.0.647 by AlliedModders LLC
05 "Fun Commands" (1.10.0.647 by AlliedModders LLC
06 "[L4D2] Weapon/Zombie Spawner" (1.0a) by Zuko & McFlurry
07 "Admin Help" (1.10.0.647 by AlliedModders LLC
08 "Anti-Flood" (1.10.0.647 by AlliedModders LLC
09 "Basic Votes" (1.10.0.647 by AlliedModders LLC
10 "Admin Menu" (1.10.0.647 by AlliedModders LLC
11 "Client Preferences" (1.10.0.647 by AlliedModders LLC
12 "Sound Commands" (1.10.0.647 by AlliedModders LLC
13 "[L4D & L4D2] Left 4 DHooks Direct" (1.10) by SilverShot
14 "Basic Info Triggers" (1.10.0.647 by AlliedModders LLC
15 "Basic Commands" (1.10.0.647 by AlliedModders LLC
16 "Fun Votes" (1.10.0.647 by AlliedModders LLC
17 "Admin File Reader" (1.10.0.647 by AlliedModders LLC

I tried with the least plugins as possible and it still occurs. The problem is very specific but I recommend you try it for yourself. All it takes is just using an ammo pile with the m60 anytime you don't have a full mag with it and as you will be shooting with it, the spare ammo will go up, you'll see.
Shao is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 03-21-2020 , 04:22   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #57

ahh ok...i think i better understand whats going on. So you're shooting and reloading ammo at the same time?...i will try to reproduce this and come up with a fix, prob block shooting while reloading from an ammo pile or vice versa. Thanks for reporting this.
MasterMind420 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 03-21-2020 , 11:32   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #58

Shao please test this version and get back to me if there are any problems, thanks for reporting the bug.

---VERSION 1.7---
Removed redundant code.
Reworked ammo pile code to work more naturally.
Fixed bug when reloading at ammo piles current clip would flow into reserve ammo (Shao).
MasterMind420 is offline
MasterMind420
BANNED
Join Date: Nov 2010
Old 03-21-2020 , 12:09   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #59

Quote:
Originally Posted by Shao View Post
Here, I made a video that best shows it since it's hard to explain.

https://www.youtube.com/watch?v=wSishyU5Yys
i've corrected the issue but messed up the ammo pickup for empty M60's...give me about a half hour and the new plugin will be uploaded.
MasterMind420 is offline
Shao
Senior Member
Join Date: Jan 2015
Old 03-21-2020 , 12:11   Re: [L4D2] Improved Prevent M60 Drop
Reply With Quote #60

Okay I'll keep an eye out, sorry for that earlier post.
Shao 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 06:08.


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