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

[CSS] Weapon Mod


Post New Thread Reply   
 
Thread Tools Display Modes
aLEN_St
Junior Member
Join Date: Mar 2010
Old 05-26-2010 , 13:50   Re: [CSS] Weapon Mod
Reply With Quote #11

many thanks , i do forget to remove //
aLEN_St is offline
jagdtigger
New Member
Join Date: Aug 2010
Old 08-07-2010 , 12:10   Re: [CSS] Weapon Mod
Reply With Quote #12

Hi everyone .

I put the plugin in the server but does not want to work because the "weaponmod" command tells the server to "Unknown command". The server, metamod, and sourcemod is the latest available version, operating system Windows 7. I hope you can help .

(I know you read this nightmare, but a web translator can wait nothing more .)

Last edited by jagdtigger; 08-07-2010 at 12:15.
jagdtigger is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-07-2010 , 12:31   Re: [CSS] Weapon Mod
Reply With Quote #13

Quote:
Originally Posted by jagdtigger View Post
Hi everyone .

I put the plugin in the server but does not want to work because the "weaponmod" command tells the server to "Unknown command". The server, metamod, and sourcemod is the latest available version, operating system Windows 7. I hope you can help .

(I know you read this nightmare, but a web translator can wait nothing more .)
You maybe not have installed SDKHooks extension on server ??
You can check using rcon
rcon sm exts list

[EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)

If I remember right what I have used on [OB] Counter Strike Source...
Code:
sdkhooks131-obv-sm13.zip   	 SDKHooks 1.3 (CSS / TF2 / DODS)
__________________
Do not Private Message @me
Bacardi is offline
jagdtigger
New Member
Join Date: Aug 2010
Old 08-07-2010 , 12:45   Re: [CSS] Weapon Mod
Reply With Quote #14

Now it works . Thank you for your help, and it would be a last question, if you modify the properties of weapons it is advisable to turn off the protection VAC, or leave it turned on?

Last edited by jagdtigger; 08-07-2010 at 12:47.
jagdtigger is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-07-2010 , 13:25   Re: [CSS] Weapon Mod
Reply With Quote #15

Quote:
Originally Posted by jagdtigger View Post
Now it works . Thank you for your help, and it would be a last question, if you modify the properties of weapons it is advisable to turn off the protection VAC, or leave it turned on?
Not need disable VAC
Bacardi is offline
jagdtigger
New Member
Join Date: Aug 2010
Old 08-07-2010 , 13:36   Re: [CSS] Weapon Mod
Reply With Quote #16

Thanks for the help .

@blodia
Great plugin. Very usefull.
jagdtigger is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 08-07-2010 , 14:00   Re: [CSS] Weapon Mod
Reply With Quote #17

if you run into any problems with the plugin let me know, even things like poor performance.
blodia is offline
duduric
Junior Member
Join Date: Jul 2008
Old 08-26-2010 , 00:20   Re: [CSS] Weapon Mod
Reply With Quote #18

Hi, I wanted to make it so only the bots will get extra damage. I suppose i should change the OnTakeDamage function. How can I detect if the "&attacker" is a bot or not?? Is it possible? Thanks in advance!

EDIT: Nevermind, found a function to do that! Much thanks for the creator of this great plugin.

Last edited by duduric; 08-26-2010 at 00:59.
duduric is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-02-2010 , 08:03   Re: [CSS] Weapon Mod
Reply With Quote #19

Hi, I have get one error from this plugin in long time.
Code:
L 09/01/2010 - 23:25:52: SourceMod error session started
L 09/01/2010 - 23:25:52: Info (map "de_thematrix_11") (file "errors_20100901.log")
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:25:52: [SM] Native "GetEntPropFloat" reported: Property "m_flNextPrimaryAttack" not found (entity 351/prop_physics_multiplayer)
L 09/01/2010 - 23:25:52: [SM] Displaying call stack trace for plugin "downloaded/weaponmod.smx":
L 09/01/2010 - 23:25:52: [SM]   [0]  Line 1263, C:\Program Files\Steam\steamapps\neoakuma\source dedicated server\cstrike\addons\sourcemod\scripting\weaponmod.sp::OnPostThink()
L 09/01/2010 - 23:31:00: Error log file session closed.
I have these configurations
Code:
// AWP
weaponmod awp recoil "2"
// weaponmod awp firerate "1"
weaponmod awp runspeed "0.9"
weaponmod awp headdamage "0.1"
weaponmod awp chestdamage "0.55"
weaponmod awp stomachdamage "0.55"
weaponmod awp armdamage "0.55"
weaponmod awp legdamage "0.6"
//weaponmod awp infiniteammo "0"

// hegrenade, flashbang, smokegrenade
weaponmod hegrenade genericdamage "1"
- AWP have been restricted from server so I don't think that have anything to do this issue.

I don't know what happened in that time but seems server have running normal.

Server OS Linux
Code:
Metamod:Source version 1.8.2
Build ID: 723:9c2b1e877e16
Loaded As: Valve Server Plugin
Compiled on: Jun 12 2010
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/





 SourceMod Version Information:
    SourceMod Version: 1.3.3
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.3)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Jun 24 2010 03:36:25
    Build ID: 2994:c5062ca82830
    http://www.sourcemod.net/


[SM] Displaying 10 extensions:
[01] Automatic Updater (1.3.3): Updates SourceMod gamedata files
[02] Webternet (1.3.3): Extension for interacting with URLs
[03] CS:S Tools (1.3.3): CS:S extended functionality
[04] BinTools (1.3.3): Low-level C/C++ Calling API
[05] SDK Tools (1.3.3): Source SDK Tools
[06] Top Menus (1.3.3): Creates sorted nested menus
[07] GeoIP (1.3.3): Geographical IP information
[08] Client Preferences (1.3.3): Saves client preference settings
[09] SQLite (1.3.3): SQLite Driver
[10] SDK Hooks (1.3.0): Source SDK Hooks
__________________
Do not Private Message @me
Bacardi is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 09-02-2010 , 14:23   Re: [CSS] Weapon Mod
Reply With Quote #20

that's strange, i have no idea what's causing it. the line the error points to gets a prop from the players active weapon, i don't see how a prop_physics_multiplayer could be a players active weapon.
blodia 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 16:23.


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