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

[L4D & L4D2] Multiple Equipments


Post New Thread Reply   
 
Thread Tools Display Modes
MasterMind420
BANNED
Join Date: Nov 2010
Old 12-14-2013 , 14:26   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #121

decl Float:myPos[3]; //error 10 invalid function or declaration
GetEntPropVector( client, Prop_Data, "m_vecOrigin", myPos );
myPos[2] += 10.0;

new rifle = CreateEntityByName( "weapon_rifle" ); //warning 203 symbol is never used
if( rifle != -1 ) //error 10 invalid function or declaration
{
DispatchKeyValueVector( rifle, "origin", myPos );
DispatchSpawn( rifle );
}
else //error 10 invalid function or declaration
{
PrintToChatAll( "Fail to create a weapon" ); //error 21 symbol already defined
}

getting some compiling errors
MasterMind420 is offline
Ellie
Senior Member
Join Date: Apr 2013
Old 12-26-2013 , 14:35   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #122

Quote:
Originally Posted by MasterMind420 View Post
I can assure all of u that if u test it yourselves u will see the losing of your secondary weapon in the slot ALWAYS happens when you switch to spectate and back,
Yep. This happens to me too.
Ellie is offline
Ellie
Senior Member
Join Date: Apr 2013
Old 01-09-2014 , 13:07   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #123

Code:
("l4d_me_slot1", "1", "0:disable slot 1 (secondary ), 1,enable");


With that players can have 2 sets of pistols in L4D2. We tried it and works fine. But why doesn't this also work for L4D1?
Ellie is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 01-09-2014 , 18:00   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #124

Quote:
Originally Posted by MasterMind420 View Post
decl Float:myPos[3]; //error 10 invalid function or declaration
GetEntPropVector( client, Prop_Data, "m_vecOrigin", myPos );
myPos[2] += 10.0;

new rifle = CreateEntityByName( "weapon_rifle" ); //warning 203 symbol is never used
if( rifle != -1 ) //error 10 invalid function or declaration
{
DispatchKeyValueVector( rifle, "origin", myPos );
DispatchSpawn( rifle );
}
else //error 10 invalid function or declaration
{
PrintToChatAll( "Fail to create a weapon" ); //error 21 symbol already defined
}

getting some compiling errors
While I too get errors when I compile the script
It does still produce a working plugin without giving me an entry in the error.log
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
Brian_Zombait
Junior Member
Join Date: Jan 2014
Old 03-06-2014 , 22:53   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #125

Anyone else getting glitches when using weapons, guns or melee? The plugin does not seem to want to work. Perhaps it's not getting along with another plugin I'm running - I just don't know.

What I do know is that when you try to fire a weapon, with the plugin loaded, it swaps to pistol slot (if it wasn't there already) and goes between whatever you have in the pistol slots. Fire, change, fire, change. It's a real mess when one is a pistol and the other is a melee.
__________________
Brian_Zombait is offline
klin34970
Member
Join Date: Feb 2014
Old 03-07-2014 , 04:49   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #126

Hi, I modified the code of this plugin and I don't have any problems now!
But my code it's improved for my server and 'connect' plugin I made.

If you want you can try on my server and if you see it's correct for you I can share it.
Contact me

Sorry for my english
klin34970 is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 03-07-2014 , 05:34   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #127

Depends what you mean by glitches?

This plugin can be confusing at times and could easily be mistaken for having a bug
If you run out of ammo on 1 primary weapon you loose access to the 2nd primary weapon
This, I would say, IS a bug whether intentional or not

Best way to test for compatibility with another plugin
1 rename both sourcemod folders in addons & cfg folders
2 install new sourcemod
3 add plugin you want to test and restart server
4 test
If its ok, remove or rename 2nd installation of sm (the one you just tested) and rename back your main sm.
If it still glitches then its like said above "This plugin can be confusing at times....."
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK
Munch is offline
Brian_Zombait
Junior Member
Join Date: Jan 2014
Old 03-08-2014 , 10:00   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #128

Munch

I know about the no ammo thing. It's a PITA, but recognized for what it is.

For me the one that is consistent is the loss of pipe bombs. You can pick one up but cannot use it. As soon as you try to it disappears. Molly and Vomit work just fine.

The other has to do with primary and secondary weapons. You go to use and it fires a single shot from that weapon and then draws your secondary weapon, even if you're already holding it.
My current list of plugins follows:

09:53:21 [SM] Listing 40 plugins:
01 "Admin File Reader" (1.5.2) by AlliedModders LLC
02 "Admin Help" (1.5.2) by AlliedModders LLC
03 "Admin Menu" (1.5.2) by AlliedModders LLC
04 "Advertisements" (0.6) by Tsunami
05 "AFK Manager" (3.5.2) by Rothgar
06 "All4Dead" (2.0.0) by James Richardson (grandwazir)
07 "Anti-Flood" (1.5.2) by AlliedModders LLC
08 "Basic Chat" (1.5.2) by AlliedModders LLC
09 "Basic Comm Control" (1.5.2) by AlliedModders LLC
10 "Basic Commands" (1.5.2) by AlliedModders LLC
11 "Basic Info Triggers" (1.5.2) by AlliedModders LLC
12 "Basic Votes" (1.5.2) by AlliedModders LLC
13 "[L4D2] AutoHelp" (1.2.3) by chinagreenelvis
14 "[L4D, L4D2] No Death Check Until Dead" (1.5.6) by chinagreenelvis
15 "Client Preferences" (1.5.2) by AlliedModders LLC
16 "Fun Commands X" (2.3) by Spazman0 and Arg!
17 "Infinite Jumping" (2.15) by Chanz
18 "[L4D2] Bonus Healing" (1.31) by Mortiegama
19 "L4D Assistance System" (1.6) by [E]c & Max Chu, SilverS & ViRaGisTe
20 "L4D2 Bile the World" (1.0.7) by AtomicStryker
21 "[L4D2] Bulldozer Certification" (1.1.1) by AtomicStryker
22 "[L4D2] Custom admin commands" (1.0.9) by honorcode23
23 "L4D2 Infinite Ammo" (1.5.5) by Machine
24 "[L4D2] Lethal Weapon" (2.1) by ztar
25 "[L4D2] Player Join Messages" (1.0.1) by Dirka_Dirka
26 "L4D2 Pounce Kinetics" (1.0.0) by AtomicStryker
27 "L4D2 Riot Cop Head Shot" (1.2) by dcx2 | helped by Mr. Zero / McFlurry
28 "[L4D, L4D2] Self Get Up" (0.0.3) by GsiX
29 "Show Damage" (1.0.7) by exvel
30 "[L4D2] Weapon Unlock" (0.8.9) by Crimson_Fox & AtomicStryker
31 "[L4D2] Points and Gift System" (1.36) by Drakcol - Fixed by AXIS_ASAKI
32 "climb everywhere" (1.02) by Pan Xiaohai
33 "Player Commands" (1.5.2) by AlliedModders LLC
34 "[ANY] Cvar Configs Updater" (1.3) by SilverShot
35 "Sound Commands" (1.5.2) by AlliedModders LLC
36 "SourceBans" (1.4.11) by SourceBans Development Team
37 "[L4D2] Tank Buster 2 Menu" (1.2.1) by Teddy Ruxpin
38 "L4D Vote Manager 2" (1.5.5) by Madcap
39 "Night Vision" (1.0) by Pan Xiaohai & Mr. Zero
40 "[L4D1/2] Infinite Reserve Ammo" (1.0) by adzty
__________________

Last edited by Brian_Zombait; 03-08-2014 at 10:01.
Brian_Zombait is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 03-08-2014 , 12:33   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #129

Not sure this is the right forum for this query especially as you don't use "Multiple Equipments" plugin

I notice your using the Tank Buster 2 menu along with the Points and Gifts
I would of thought one makes the other redundant

I'll redirect you to my answer for Infinite Reserve Ammo

As for the other issue
Quote:
Originally Posted by Brian_Zombait View Post
The other has to do with primary and secondary weapons. You go to use and it fires a single shot from that weapon and then draws your secondary weapon, even if you're already holding it.
The Multiple Equipments can be confusing to use if your not used to it and could easily give what appears to be your issue, however as you don't use it according to your list, then this cant be so here.

That really is a strange one. the only plugins you have that deal with weapons are:
All4Dead
Infinite Ammo
Lethal Weapon
Riot Cop Head Shot
Weapon Unlock
Points and Gift System
Tank Buster 2
Infinite Reserve Ammo

I would remove all these and test by adding one at a time, testing between
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 03-08-2014 at 14:08.
Munch is offline
Brian_Zombait
Junior Member
Join Date: Jan 2014
Old 03-08-2014 , 14:55   Re: [L4D & L4D2] Multiple Equipments
Reply With Quote #130

Actually, I did use it, but it is not working properly and is causing the problem I explained above. That's why it is not loaded.

As to TankBuster2 and Points & Gifts, sometimes I just want one item. But, at the beginning of a round TB2 is great for getting a whole set of gear to get going with.

Odd, I didn't realize I had Infinite Ammo and Infinite Reserve Ammo both loaded. Now I have to check on that.
__________________
Brian_Zombait 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 03:09.


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