Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] Zombie Server Lock after Round 30 (Configurable)

[Release] Zombie Server Lock after Round 30 (Configurable)

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
7 Posts 3 Posters 748 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PoPoFRundefined Offline
    PoPoFRundefined Offline
    PoPoFR
    wrote on last edited by
    #1

    The "Zombie Server Lock after Round 30" script is a tool designed for T6ZM server. It allows you to maintain the integrity of high-round records and make your server more competitive.

    Features:

    • Automatic Lock: This script monitors the current round number and, when it reaches round 30 or higher, it automatically locks the server to prevent additional players from joining.

    • Customizable Password: You can define a server password of your choice to limit access to authorized players. When the server is locked, joining players will need to enter the specified password.

    • Dynamic Unlock: If the round number drops back to 30 or lower, the script will automatically unlock the server, allowing new players to join.

    • User-Friendly: Easy installation and usage. Simply place the script in the designated directory.

    Installation :

    • Ensure you have T6ZM Server installed.

    • Place the script in the following directory:

    • AppData\Local\Plutonium\storage\t6\scripts\zm

      Download here

    1 Reply Last reply
    1
    • Sorexundefined Offline
      Sorexundefined Offline
      Sorex
      Contributor
      wrote on last edited by
      #2

      https://github.com/DoktorSAS/GSC/blob/main/T6/zm/zombies%2B%2B%2B.gsc

      Here is an alternative version of it. It have also a few other things but the logic is the same or simpler since it possible to lock set the lock round and the password to set.

      Dvars:
      - sv_password : Password used to lock the server once reached a specific round
      - sv_lockround : If specified will prevent players from joing after round specifided

      PoPoFRundefined 1 Reply Last reply
      0
      • Sorexundefined Sorex

        https://github.com/DoktorSAS/GSC/blob/main/T6/zm/zombies%2B%2B%2B.gsc

        Here is an alternative version of it. It have also a few other things but the logic is the same or simpler since it possible to lock set the lock round and the password to set.

        Dvars:
        - sv_password : Password used to lock the server once reached a specific round
        - sv_lockround : If specified will prevent players from joing after round specifided

        PoPoFRundefined Offline
        PoPoFRundefined Offline
        PoPoFR
        wrote on last edited by
        #3

        Sorex I didn't see the purpose of adding dvars in this case.

        Sorexundefined 1 Reply Last reply
        0
        • PoPoFRundefined PoPoFR

          Sorex I didn't see the purpose of adding dvars in this case.

          Sorexundefined Offline
          Sorexundefined Offline
          Sorex
          Contributor
          wrote on last edited by
          #4

          PoPoFR
          It just to be a generic script by default.

          Suggestion, you can remove the line

          wait 60; // Wait 60 seconds before checking again
          

          and change it to

          break;
          

          Since the code after the set password is not longer needed there is no use for that and you can kill the thread. You can also remove onPlayerConnect since its serve no use in this case.

          If you want to reset the password for the next game you can just use a waittill or set it on the init once.

          PoPoFRundefined 1 Reply Last reply
          0
          • Sorexundefined Sorex

            PoPoFR
            It just to be a generic script by default.

            Suggestion, you can remove the line

            wait 60; // Wait 60 seconds before checking again
            

            and change it to

            break;
            

            Since the code after the set password is not longer needed there is no use for that and you can kill the thread. You can also remove onPlayerConnect since its serve no use in this case.

            If you want to reset the password for the next game you can just use a waittill or set it on the init once.

            PoPoFRundefined Offline
            PoPoFRundefined Offline
            PoPoFR
            wrote on last edited by
            #5

            Sorex done thx for suggestion !

            1 Reply Last reply
            0
            • MBHGBundefined Offline
              MBHGBundefined Offline
              MBHGB
              wrote on last edited by
              #6

              Hi, will this also work for T5 servers? (Bo1) or just T6?

              PoPoFRundefined 1 Reply Last reply
              0
              • MBHGBundefined MBHGB

                Hi, will this also work for T5 servers? (Bo1) or just T6?

                PoPoFRundefined Offline
                PoPoFRundefined Offline
                PoPoFR
                wrote on last edited by
                #7

                MBHGB Good question, you can try it, I've never tested BO1.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Donate