1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[RELEASED] Major Surf Timer Update

Discussion in 'Announcements' started by n0name, Dec 26, 2017.

Thread Status:
Not open for further replies.
  1. n0name

    n0name Founder VIP

    Joined:
    Aug 27, 2012
    Messages:
    7,646
    Likes Received:
    1,424
    Steam:
    Steam SteamRep SourceBans gameMe
    More than 3 months after starting work, I am now proud to announce that the major surf timer refactoring is done and ready for testing through a public beta.
    The refactoring mostly consisted of getting rid of old/bad coding practises, converting all code over to the new SP syntax (so it can actually be compiled with non-ancient compilers) and ditch unused/barely used components.

    The new version is currently deployed on Donator until next week (January 2nd). If there are no or only minor issues, the system will then be deployed on all surf servers.

    Please report any issues you find as a reply to this thread - while we have done intensive testing already (we being me, @Rizor@Rizor, @Seynethic@Seynethic and @Avaritia@Avaritia) there still may be some edge cases / rarely used functions we weren't able to test.
    Keep in mind though, that some old-standing, hard-to-fix bugs, such as broken special characters in !top, were not fixed, as they simply require more effort to fix than they bring a return (will reply if you found one of these).

    The changes include:
    • Refactorings:
      • Converted all 15k+ lines of code from the timer over to SM1.7+ (transitional) syntax
      • Removed a lot of old/duplicate/generally useless code
      • Removed no longer used/never working config options
      • Removed unused zone types
      • Redid config loading - instead of each plugin including the loader component, they all now call natives provided by a central plugin.
      • Removed timer-teams (!challenge), as the code in it was horrible and barely anyone (if at all) used it
      • Simplified some plugins (e.g. godmode/no damage, chat handling)
    • Suggestions implemented (see: https://forums.f-o-g.eu/threads/cs-go-suggestion-collection-vdev.15299/):
      • Added the following to the !settings menu:
        • Hide other players - on/off
        • Quake sounds - on/off
        • Spectator list - on/off
        • Hud settings - redirects to !hud
        • Hide chat - on/off (hides all chat elements, including voice indicators)
        • Remove weapons - on/off
      • Added a plugin for grinding stages, as in, you will be teleported back to the start of the current stage once you reach the next one.
        Commands:
        • !loop - Toggle to enable/disable this feature
        • !ls X - Teleport to stage X while keeping the feature enabled. Regular !s / !r are blocked, you will always be returned to the stage.
      • Disallow finishing while the times are loading (the timer will stop, but no time will be saved now)
      • Improved noclip handling when using CPs
    • Changed the ugly [Timer] prefix to a more clean FoG | (in blue) one
    • Fixed !playerinfo map info not working properly (aka. 60% of its functionality)
    • The center hud will now entirely disappear if you disable all of its components
    • Re-colored some chat messages - namely the ones for finishing a map and passing a stage.
    • Various other smaller/medium-sized improvements/bug fixes
    Note: BHop will be updated at a later time, since it requires a lot of extra testing.
     
    Last edited: Dec 29, 2017
    • Like Like x 3
    • Friendly Friendly x 1
    • List
  2. n0name

    n0name Founder VIP

    Joined:
    Aug 27, 2012
    Messages:
    7,646
    Likes Received:
    1,424
    Steam:
    Steam SteamRep SourceBans gameMe
    Added loop plugin.
     
  3. Seynethic

    Seynethic DeadlyTruth Server Manager Creative Team VIP

    Joined:
    Aug 21, 2016
    Messages:
    185
    Likes Received:
    15
    Steam:
    Steam SteamRep SourceBans gameMe
    Spec timer bug(?)
    22:19 - Firezone: a3 kept getting time added whenever he went to spectator and back
    22:20 - Firezone: went from 22 hours to 35 hours to 00:-77630 after 2 more times I think
    22:21 - Firezone: it just goes full spastic when he goes spec and back
    22:21 - Firezone: sometimes it goes back in time
    22:22 - Firezone: sometimes it skips ahead
    22:23 - Firezone: lemme see if i can get it too
    22:26 - Firezone: you can recreate it by completing a stage and then just spam /spec /resume
    22:27 - Firezone: if it doesnt happen at first
    22:27 - Firezone: you go to spec
    22:27 - Firezone: for like a minute
    22:27 - Firezone: and then it should happen if u keep spamming

    CP Menu
    also please change the !cp menu. "teleports you to last checkpoint" should be back on position 2. (instead of 4 as it is now) it's awful to press "4" when cping since you let off your strafe key D. <- got a couple complains regarding this.

    Thanks in advance.
     
  4. n0name

    n0name Founder VIP

    Joined:
    Aug 27, 2012
    Messages:
    7,646
    Likes Received:
    1,424
    Steam:
    Steam SteamRep SourceBans gameMe
    Both fixed.
     
  5. n0name

    n0name Founder VIP

    Joined:
    Aug 27, 2012
    Messages:
    7,646
    Likes Received:
    1,424
    Steam:
    Steam SteamRep SourceBans gameMe
    The updated version has now been deployed on all our Surf servers.
    BHop will follow at a later date (still needs testing).
     
Thread Status:
Not open for further replies.