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

[NT] NEOTOKYO° XP Scale (1.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FlyGemma
New Member
Join Date: Jul 2009
Plugin ID:
1025
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Neotokyo
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin allows you to scale the amount of XP players gain from killing each other in NEOTOKYO°, with various options and settings.
    Old 07-22-2009 , 04:48   [NT] NEOTOKYO° XP Scale (1.0.1)
    Reply With Quote #1

    [NT] NEOTOKYO° XP Scale (1.0.1)

    This plugin allows you to scale the amount of XP players gain from killing each other in NEOTOKYO°, with various options and settings.

    Normally, players get 1 XP for a kill. Once a player reaches max rank (20+xp), Their teams can often get very one sided and full of Lieutenants while the other team is forced to progress slowly with lower ranked players and bad weapons vs the other team and their better weapons.

    With this you can set the scale players gain XP from killing other players in NEOTOKYO°, and if higher players should gain any XP from killing lower players.

    Config
    sm_ntxs_scale_enabled - Enables or Disables XP Scaling System. Required for Worthless XP System. (Default 1)

    sm_ntxs_scale_gap - The XP scale gap interval. (Default 4, Min 1, Max 100)

    sm_ntxs_scale - The XP Multiplier scale. (Default 1, Min 1, Max 20)

    sm_ntxs_minxp - The minimum amount of XP gained. (Default 1, Min 1, Max 20)

    sm_ntxs_maxxp - The maximum amount of XP gained. (Default 3, Min 1, Max 20)

    sm_ntxs_worthless - Enables or Disables the Worthless XP System. sm_ntxs_scale_enabled 1 required. (Default 1)

    sm_ntxs_worthless_gap - The Worthless XP gap.(Default 8, Min 1, Max 100)

    Example 1
    -Using default settings.

    Player A has 0 XP, Player B has 12 XP.

    Player A kills Player B, Player B has 12 more xp, divided by the gap interval, Player A gains 3 XP.
    Player A now has 3 XP.

    Player A kills Player B, Player B has 9 more xp, divided by the gap interval, Player A gains 2 XP.
    Player A now has 5 XP.

    Example 2
    -Using default settings.

    Player A has 19 XP, Player B has 11 XP.

    Player A kills Player B, Player B has 8 less xp.
    Player A gains no XP.

    Credits
    Bot04
    -Testing and lack of feedback.

    Change log
    1.0.0 - 22/7/09
    -Initial release
    1.0.1 - 24/7/09
    - Fixed client index 0 (Server) errors.
    Attached Files
    File Type: zip fg_nt_xp_scale.zip (6.2 KB, 323 views)
    File Type: sp Get Plugin or Get Source (fg_nt_xp_scale.sp - 1039 views - 4.4 KB)

    Last edited by psychonic; 03-23-2010 at 12:33. Reason: Reason: changed "game" field to newly created Neotokyo category
    FlyGemma is offline
    Marx
    Junior Member
    Join Date: May 2009
    Old 07-22-2009 , 05:35   Re: [NT] NEOTOKYO° XP Scale (1.0.0)
    Reply With Quote #2

    Sounds like a great idea, should really balance some gameplay issues with NT, i've added it to my server, i'll give feedback after testing.
    Marx is offline
    R3M*
    Member
    Join Date: May 2009
    Location: Germany
    Old 07-24-2009 , 08:05   Re: [NT] NEOTOKYO° XP Scale (1.0.0)
    Reply With Quote #3

    Im getting some errors with this plugin

    Quote:
    L 07/24/2009 - 137:21: SourceMod error session started
    L 07/24/2009 - 137:21: Info (map "nt_rise_ctg") (file "errors_20090724.log")
    L 07/24/2009 - 137:21: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 07/24/2009 - 137:21: [SM] Displaying call stack trace for plugin "fg_nt_xp_scale.smx":
    L 07/24/2009 - 137:21: [SM] [0] Line 62, /home/groups/sourcemod/upload_tmp/phpQ6BPVF.sp::Event_Player_Death()
    L 07/24/2009 - 138:50: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 07/24/2009 - 138:50: [SM] Displaying call stack trace for plugin "fg_nt_xp_scale.smx":
    L 07/24/2009 - 138:50: [SM] [0] Line 62, /home/groups/sourcemod/upload_tmp/phpQ6BPVF.sp::Event_Player_Death()
    L 07/24/2009 - 13:51:13: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 07/24/2009 - 13:51:13: [SM] Displaying call stack trace for plugin "fg_nt_xp_scale.smx":
    L 07/24/2009 - 13:51:13: [SM] [0] Line 62, /home/groups/sourcemod/upload_tmp/phpQ6BPVF.sp::Event_Player_Death()
    L 07/24/2009 - 13:52:40: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 07/24/2009 - 13:52:40: [SM] Displaying call stack trace for plugin "fg_nt_xp_scale.smx":
    L 07/24/2009 - 13:52:40: [SM] [0] Line 62, /home/groups/sourcemod/upload_tmp/phpQ6BPVF.sp::Event_Player_Death()
    L 07/24/2009 - 13:59:25: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
    L 07/24/2009 - 13:59:25: [SM] Displaying call stack trace for plugin "fg_nt_xp_scale.smx":
    L 07/24/2009 - 13:59:25: [SM] [0] Line 62, /home/groups/sourcemod/upload_tmp/phpQ6BPVF.sp::Event_Player_Death()
    R3M* is offline
    FlyGemma
    New Member
    Join Date: Jul 2009
    Old 07-24-2009 , 09:08   Re: [NT] NEOTOKYO° XP Scale (1.0.0)
    Reply With Quote #4

    Thanks for the feedback, how silly of me to not test world deaths

    Error has been Fixed. 1.0.1 released.

    Change log
    1.0.1 - 24/7/09
    - Fixed client index 0 (Server) errors.
    FlyGemma is offline
    R3M*
    Member
    Join Date: May 2009
    Location: Germany
    Old 07-24-2009 , 09:22   Re: [NT] NEOTOKYO° XP Scale (1.0.1)
    Reply With Quote #5

    That was quick, thank you! ;)
    R3M* is offline
    violentcrimes
    Senior Member
    Join Date: Nov 2006
    Old 07-26-2009 , 13:07   Re: [NT] NEOTOKYO° XP Scale (1.0.1)
    Reply With Quote #6

    Nice work FlyGemma
    __________________
    violentcrimes is offline
    berni
    SourceMod Plugin Approver
    Join Date: May 2007
    Location: Austria
    Old 09-10-2009 , 15:53   Re: [NT] NEOTOKYO° XP Scale (1.0.1)
    Reply With Quote #7

    Good work approved.

    Greetings ~Berni
    __________________
    Why reinvent the wheel ? Download smlib with over 350 useful functions.

    When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
    powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
    berni 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 20:13.


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