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

L4D2 Melee Weapons Mod 2.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
asto
Member
Join Date: Aug 2010
Old 12-23-2011 , 10:47   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #111

Quote:
Originally Posted by alexip121093 View Post
I will try to use sdkhooks tO fix it
When will you fix it?
asto is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-23-2011 , 17:46   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #112

Quote:
Originally Posted by asto View Post
When will you fix it?
quick edit version
you can try it works or not
because my l4d2 is region locked by steam
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_meleemod2.2.1.sp - 266 views - 54.7 KB)
File Type: smx l4d2_meleemod2.2.1.smx (20.9 KB, 169 views)
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-24-2011 , 00:24   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #113

fixed something
Attached Files
File Type: smx l4d2_meleemod2.2.1.smx (21.0 KB, 126 views)
File Type: sp Get Plugin or Get Source (l4d2_meleemod2.2.1.sp - 271 views - 54.8 KB)
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
asto
Member
Join Date: Aug 2010
Old 12-24-2011 , 06:56   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #114

I got these error messages:

L 12/24/2011 - 12:54:46: [SM] Native "GetEntProp" reported: Property "m_iReloadMode" not found (entity 1/player)
L 12/24/2011 - 12:54:46: [SM] Displaying call stack trace for plugin "l4d2_meleemod2.2.1.smx":
L 12/24/2011 - 12:54:46: [SM] [0] Line 1207, D:\scripting\scripting\l4d2_meleemod2.2.1.sp: :MA_OnGameFrame1()
L 12/24/2011 - 12:54:46: [SM] [1] Line 1127, D:\scripting\scripting\l4d2_meleemod2.2.1.sp: :OnGameFrame()
asto is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-24-2011 , 11:57   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #115

Quote:
Originally Posted by asto View Post
I got these error messages:

L 12/24/2011 - 12:54:46: [SM] Native "GetEntProp" reported: Property "m_iReloadMode" not found (entity 1/player)
L 12/24/2011 - 12:54:46: [SM] Displaying call stack trace for plugin "l4d2_meleemod2.2.1.smx":
L 12/24/2011 - 12:54:46: [SM] [0] Line 1207, D:\scripting\scripting\l4d2_meleemod2.2.1.sp: :MA_OnGameFrame1()
L 12/24/2011 - 12:54:46: [SM] [1] Line 1127, D:\scripting\scripting\l4d2_meleemod2.2.1.sp: :OnGameFrame()
then this should works
Attached Files
File Type: smx l4d2_meleemod2.2.1.smx (21.0 KB, 131 views)
File Type: sp Get Plugin or Get Source (l4d2_meleemod2.2.1.sp - 262 views - 54.9 KB)
__________________

Last edited by alexip121093; 12-24-2011 at 12:15.
alexip121093 is offline
Send a message via MSN to alexip121093
asto
Member
Join Date: Aug 2010
Old 12-24-2011 , 13:11   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #116

Quote:
Originally Posted by alexip121093 View Post
then this should works
Thanks, now I don't have error messages.

I've tested, and found a bug:
If the fatigue become activated, then I switch to my primary weapon then I press the reload button, the fatigue will disappear, but if I switch back to melee weapon (or any weapon) the fatigue is active again.

So the reloading still removes the fatigue, but the weapon switching gives back the same the fatigue.
asto is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-24-2011 , 15:32   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #117

Quote:
Originally Posted by asto View Post
Thanks, now I don't have error messages.

I've tested, and found a bug:
If the fatigue become activated, then I switch to my primary weapon then I press the reload button, the fatigue will disappear, but if I switch back to melee weapon (or any weapon) the fatigue is active again.

So the reloading still removes the fatigue, but the weapon switching gives back the same the fatigue.
my l4d2 still downloading...
but can the melee fatigue works after reloading ? (not during reloading)
this version added some code but still may not work
i cant test it myself before my l4d2 done downloading
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_meleemod2.2.1.sp - 337 views - 55.9 KB)
File Type: smx l4d2_meleemod2.2.1.smx (21.2 KB, 144 views)
__________________
alexip121093 is offline
Send a message via MSN to alexip121093
asto
Member
Join Date: Aug 2010
Old 12-29-2011 , 13:44   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #118

Quote:
Originally Posted by alexip121093 View Post
my l4d2 still downloading...
but can the melee fatigue works after reloading ? (not during reloading)
this version added some code but still may not work
i cant test it myself before my l4d2 done downloading
It works a bit, but it has problems.

Problems with shotguns:
When I start reloading the shotgun, and I shoot before the reloading become finished, the fatigue will disappear.

It works good in this case: if I wait until the reload finished (so the shotgun's clip is full), the fatigue will not disappear.

Problems with rifles, snipers:
If I use a rifle, and the clip is full then I press the reloading button, the fatigue will disappear.

If the clip is not full, the reloading animation will start, but 'after the animation', the fatigue will disappear.
asto is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-29-2011 , 18:24   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #119

Quote:
Originally Posted by asto View Post
It works a bit, but it has problems.

Problems with shotguns:
When I start reloading the shotgun, and I shoot before the reloading become finished, the fatigue will disappear.

It works good in this case: if I wait until the reload finished (so the shotgun's clip is full), the fatigue will not disappear.

Problems with rifles, snipers:
If I use a rifle, and the clip is full then I press the reloading button, the fatigue will disappear.

If the clip is not full, the reloading animation will start, but 'after the animation', the fatigue will disappear.
I have tried to fix it,it is on the first page
But it still cant fully works
the code is not fast enough to block shove at the moment after reloaded
It allows you to shove 1 time, then you can't shove anymore
__________________

Last edited by alexip121093; 12-29-2011 at 18:30.
alexip121093 is offline
Send a message via MSN to alexip121093
asto
Member
Join Date: Aug 2010
Old 12-30-2011 , 15:06   Re: L4D2 Melee Weapons Mod 2.2
Reply With Quote #120

Quote:
Originally Posted by alexip121093 View Post
I have tried to fix it,it is on the first page
But it still cant fully works
the code is not fast enough to block shove at the moment after reloaded
It allows you to shove 1 time, then you can't shove anymore
Yeah, the plugin works better, but this bug is still exist:
If I use a rifle, and the clip is full then I press the reloading button, the fatigue will disappear.
Then I switch to other weapon, the fatigue is active again, but the fatigue timer will start from the beginning.

New bug:
(If I complete a map, in the next map) sometimes the fatigue become activated without any reason (I don't have/use any melee weapon) and description. Usually it happens after reloading other weapons, or switching between weapons.

Last edited by asto; 12-30-2011 at 15:06.
asto 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 08:03.


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