This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] Laser that never sucks (useful upgrades)


Post New Thread Reply   
 
Thread Tools Display Modes
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 08:25   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #71

I don't support other people's fork.
Hell, I don't even support my own plugins at the moment due to personal situation.
Use the latest version of plugin and don't waste my time. All sound block is already implemented at least 1 year ago. Older versions have no benefits in speed optimization. They're tons of ConVars to control which upgrade should be available on the server, and which not. You just need to read carefully and change the value, that's all.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 02-08-2023 at 08:29.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 08:35   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #72

offtopic.
P.S. To make weapon larger mag size there are special ConVars:
Quote:
ammo_smg_max
ammo_assaultrifle_max
ammo_huntingrifle_max
ammo_buckshot_max
Don't push everything in a single plugin doing the different job, otherwise you'll confuse yourself, losing the understanding which modification and where it is located.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 02-08-2023 at 08:39.
Dragokas is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 02-08-2023 , 08:36   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #73

I'm sorry, it was never my intention to waste your time. In fact, I only wanted to know how to fix the sound issue, which I have now done with your help. So your time hasn't been totally wasted. I reluctantly mentioned this fork plugin only because you asked me why the sound wasn't working for me. I wasn't expecting you to do any further work on your plugin just to accommodate this issue I personally experienced. It was just information given to you as you had requested. If you hadn't asked me, I would not have posted anything else.

With best wishes.
Sunyata is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 08:39   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #74

offtopic.
As about clip size modification you may look Pan XiaoHai's "Melee Infected" plugin to see how it is implemented, if that's what are you are looking for.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 08:44   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #75

Quote:
Originally Posted by Sunyata View Post
I'm sorry, it was never my intention to waste your time. In fact, I only wanted to know how to fix the sound issue, which I have now done with your help. So your time hasn't been totally wasted. I reluctantly mentioned this fork plugin only because you asked me why the sound wasn't working for me. I wasn't expecting you to do any further work on your plugin just to accommodate this issue I personally experienced. It was just information given to you as you had requested. If you hadn't asked me, I would not have posted anything else.

With best wishes.
No, I already started an implementation (because I forgot I did it before), because I had the free time and wish, and that thing didn't look for me too difficult. And then, I just see WTF, that thing is already present in source code. So what the hell am I doing here, re-implementing the already existed thing.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 02-08-2023 , 08:46   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #76

Yes. Indeed, I can now understand that from your point of view.
Sunyata is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 08:47   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #77

Your intention is clear, and this is probably my flaw that the topic is not explicitly marked that the plugin is blocking sound atm. Will do.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-08-2023 , 09:11   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #78

As about your question on modded thing.
The "m_upgradeBitVec" bits are undocumented. If you find more information on them, I would be also interested in it.
The guy who modified the plugin, uses the bit:

Quote:
0x100000
which is according to (his) description means "weapon larger mag/clip size".
And since it is undocumented (?) I can say nothing about it.

The more simplified code of that thing as a stand-alone plugin would be something like:
PHP Code:
public void OnClientPutInServer(int client)
{
    const 
int WEAPON_CLIP_BIT 0x100000;
    
SetEntProp(clientProp_Send"m_upgradeBitVec"GetEntProp(clientProp_Send"m_upgradeBitVec") | WEAPON_CLIP_BIT);

maybe with bot check and +timer / join team event.

P.S. This is much likely can also be just the highest bit of DWORD of clip size value. Need to look the table. Somebody can check in "Double equipment" plugin to prove.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 02-08-2023 at 09:15.
Dragokas is offline
MeZZoO
Junior Member
Join Date: Feb 2023
Old 05-02-2024 , 17:02   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #79

Plugin Stopp Working
MeZZoO is offline
Sunyata
Senior Member
Join Date: Nov 2017
Location: Wherever I am
Old 05-04-2024 , 08:16   Re: [L4D1 & L4D2] Laser that never sucks (useful upgrades)
Reply With Quote #80

Quote:
Originally Posted by MeZZoO View Post
Plugin Stopp Working
It seems you're new here, with only three posts since joining. If you want Dragokas to respond to your post, it would be helpful to provide more detailed information about the issue you're experiencing. For examples:

* Which version of SM are you using?
* Are you on Windows or Linux?
* Which game are you playing, L4D1 or 2?
* Did the plugin work for you before it stopped?
* Is this your first time using this plugin?
* Did you compile the script yourself, and did it fail?
* Are there any error messages being generated in the log files?
* If it's your first time, have you read the original post - i.e. extracted the files and installed them to where they should go?
* Always offer a better explanation as to why it stopped working.

Including this type of constructive feedback in your future posts will increase the likelihood of receiving a response from the coder.

Last edited by Sunyata; 05-04-2024 at 08:30.
Sunyata 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 19:01.


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