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

[NMRiH] Scoreboard Tweaks


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MsDysphie
AlliedModders Donor
Join Date: Dec 2017
Plugin ID:
8322
Plugin Version:
Plugin Category:
Statistical
Plugin Game:
No More Room in Hell
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Resets scores on a new round and remembers scores for reconnecting players
    Old 12-09-2022 , 03:59   [NMRiH] Scoreboard Tweaks
    Reply With Quote #1

    Resets scores on a new round and remembers scores for reconnecting players.

    Download: https://github.com/dysphie/nmrih-sco...weaks/releases
    Source code: https://github.com/dysphie/nmrih-scoreboard-tweaks
    Details: https://github.com/dysphie/nmrih-sco...-tweaks#readme
    __________________
    Discord: @dysphie
    Donations: ko-fi.com/dysphie
    MsDysphie is offline
    Grey83
    Veteran Member
    Join Date: Dec 2014
    Location: Ukraine
    Old 12-10-2022 , 05:39   Re: [NMRiH] Scoreboard Tweaks
    Reply With Quote #2

    Slightly simplified the work of the plugin (for example, fewer SteamID requests are required) and made the code compatible with SM1.10 and older.

    SM1.10:
    PHP Code:
    //// scoreboard-tweaks 1.0.0.sp
    //
    // Z:\scoreboard-tweaks 1.0.0.sp(61) : error 017: undefined symbol "MAX_AUTHID_LENGTH"
    // Z:\scoreboard-tweaks 1.0.0.sp(61) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
    // Z:\scoreboard-tweaks 1.0.0.sp(62) : error 130: cannot coerce functions to values
    // Z:\scoreboard-tweaks 1.0.0.sp(62) : error 163: indeterminate array size in "sizeof" expression (symbol "steamId")
    // Z:\scoreboard-tweaks 1.0.0.sp(74) : error 130: cannot coerce functions to values
    // Z:\scoreboard-tweaks 1.0.0.sp(86) : error 017: undefined symbol "MAX_AUTHID_LENGTH"
    // Z:\scoreboard-tweaks 1.0.0.sp(86) : error 161: brackets after variable name indicate a fixed-size array, but a dynamic size was given - did you mean to use 'new char[size]' syntax?
    // Z:\scoreboard-tweaks 1.0.0.sp(87) : error 130: cannot coerce functions to values
    // Z:\scoreboard-tweaks 1.0.0.sp(87) : error 163: indeterminate array size in "sizeof" expression (symbol "steamId")
    // Z:\scoreboard-tweaks 1.0.0.sp(90) : error 130: cannot coerce functions to values
    //
    // 10 Errors.
    //
    // Compilation Time: 0,17 sec
    // ----------------------------------------

    //// scoreboard-tweaks 1.1.0.sp
    //
    // Code size:             4864 bytes
    // Data size:             3188 bytes
    // Stack/heap size:      16384 bytes
    // Total requirements:   24436 bytes
    //
    // Compilation Time: 0,14 sec
    // ---------------------------------------- 
    Attached Files
    File Type: sp Get Plugin or Get Source (scoreboard-tweaks 1.1.0.sp - 94 views - 2.4 KB)
    __________________
    Grey83 is offline
    MsDysphie
    AlliedModders Donor
    Join Date: Dec 2017
    Old 12-10-2022 , 06:53   Re: [NMRiH] Scoreboard Tweaks
    Reply With Quote #3

    Quote:
    Originally Posted by Grey83 View Post
    Slightly simplified the work of the plugin[/php]
    Thanks for your contribution, but this code has problems and won't work correctly on 9-player servers
    __________________
    Discord: @dysphie
    Donations: ko-fi.com/dysphie
    MsDysphie 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 01:55.


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