Raised This Month: $ Target: $400
 0% 

SM Damage


Post New Thread Reply   
 
Thread Tools Display Modes
Author
upuranus
Junior Member
Join Date: Feb 2009
Plugin ID:
533
Plugin Version:
2.0
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Individual damage multiplier for each client. That means the weapons have more damage.
    Old 06-18-2009 , 07:48   Re: SM Damage
    Reply With Quote #1

    Here is what I get when I try to set a player's damage:

    sm_damage "testplayer" "1.3"
    L 06/17/2009 - 07:43:46: [SM] Native "GetUserAdmin" reported: Client index 0 is invalid
    L 06/17/2009 - 07:43:46: [SM] Displaying call stack trace for plugin "sm_damage MultiMod.smx":
    L 06/17/2009 - 07:43:46: [SM] [0] Line 195, /home/groups/alliedmodders/forums/files/5/2/2/3/3/42478.attach::CmdDamage()

    Any Ideas?

    I have SM 1.3 snapshot, The latest Dukehacks, and I tried your precompiled plugin and also compiled my own from source. I get the same thing no matter which way I do it.
    upuranus is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 06-18-2009 , 12:59   Re: SM Damage
    Reply With Quote #2

    Quote:
    Originally Posted by upuranus View Post
    Here is what I get when I try to set a player's damage:

    sm_damage "testplayer" "1.3"
    L 06/17/2009 - 07:43:46: [SM] Native "GetUserAdmin" reported: Client index 0 is invalid
    L 06/17/2009 - 07:43:46: [SM] Displaying call stack trace for plugin "sm_damage MultiMod.smx":
    L 06/17/2009 - 07:43:46: [SM] [0] Line 195, /home/groups/alliedmodders/forums/files/5/2/2/3/3/42478.attach::CmdDamage()

    Any Ideas?

    I have SM 1.3 snapshot, The latest Dukehacks, and I tried your precompiled plugin and also compiled my own from source. I get the same thing no matter which way I do it.
    I check if the executer is an admin. Therefore the command must be executed ingame, either from chat or console.

    If you execute from the console use "sm_damage", not "rcon sm_damage", because server is an invalid admin.

    I will fix that in my next version.
    __________________
    SWAT_88 is offline
    SWAT_88
    SourceMod Donor
    Join Date: Jan 2008
    Location: Austria
    Old 06-21-2009 , 09:30   Re: SM Damage
    Reply With Quote #3

    Fixed Rcon bug!

    Added Different damage amount per weapon!

    Code:
    sm_damage_amount <weapon> <amount>  - Add/Set damage amount of weapon
    Have Fun!
    __________________
    SWAT_88 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 18:11.


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