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

Plutonium

  1. Home
  2. MW3 Client Support
  3. display_players_stats ERROR!!

display_players_stats ERROR!!

Scheduled Pinned Locked Moved MW3 Client Support
11 Posts 4 Posters 155 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AlphaBlackundefined Offline
    AlphaBlackundefined Offline
    AlphaBlack
    wrote on last edited by AlphaBlack
    #1

    Resxt I got an error in your script
    display_players_stats. Just change the colors of the texts
    6476dfd9-381d-4c49-b947-ce3e39ff584e-image.png
    It happens as soon as someone enters the server

    1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      wrote on last edited by
      #2

      These are warnings not errors

      AlphaBlackundefined FutureRaveundefined 2 Replies Last reply
      0
      • AlphaBlackundefined Offline
        AlphaBlackundefined Offline
        AlphaBlack
        replied to Resxt on last edited by
        #3

        Resxt So it doesn't do anything? I can leave it so it won't cause problems in the long run.

        1 Reply Last reply
        0
        • AlphaBlackundefined Offline
          AlphaBlackundefined Offline
          AlphaBlack
          wrote on last edited by
          #4

          Another little thing. Regarding the manage_bots_fill.gsc script, I don't understand it very well... does it ensure that there are no bots in the game until a player enters? Or does it only manage the number of bots to keep in the game?

          1 Reply Last reply
          0
          • AlphaBlackundefined Offline
            AlphaBlackundefined Offline
            AlphaBlack
            wrote on last edited by
            #5

            Resxt Because when I load the server the bots appear, then someone has to enter and exit so they disappear

            1 Reply Last reply
            0
            • Resxtundefined Offline
              Resxtundefined Offline
              Resxt Plutonium Staff
              wrote on last edited by
              #6

              The script simply edits the dvar. See Bot Warfare for what it does. This script does not create any logic other than modifying the dvar value in certain cases

              1 Reply Last reply
              0
              • FutureRaveundefined Offline
                FutureRaveundefined Offline
                FutureRave VIP
                wrote on last edited by
                #7

                Would be interesting to have a copy of this GSC script because I don't think those are warnings at all.

                Kalitosundefined 1 Reply Last reply
                0
                • Kalitosundefined Offline
                  Kalitosundefined Offline
                  Kalitos
                  replied to FutureRave on last edited by
                  #8

                  FutureRave https://github.com/Resxt/Plutonium-IW5-Scripts/blob/main/small_scripts/display_player_stats.gsc

                  1 Reply Last reply
                  0
                  • FutureRaveundefined Offline
                    FutureRaveundefined Offline
                    FutureRave VIP
                    replied to Resxt on last edited by FutureRave
                    #9

                    Resxt Your script contains a mistake, you call the function setPoint with the first parameter being a "string" instead of a "float".

                    The line that needs to be fixed is this

                    1 Reply Last reply
                    0
                    • FutureRaveundefined Offline
                      FutureRaveundefined Offline
                      FutureRave VIP
                      wrote on last edited by
                      #10

                      It could be that the error message is wrong and that the first parameter needs to be actually a string.
                      Then you would need to fix the two other calls to the function that uses a float for the first parameter instead of a string.

                      Resxtundefined 1 Reply Last reply
                      0
                      • Resxtundefined Offline
                        Resxtundefined Offline
                        Resxt Plutonium Staff
                        replied to FutureRave on last edited by
                        #11

                        FutureRave this function can have strings, you can see the function declaration where it has conditions with "TOP" and so on, lot of scripts do it that way. It does work. They're just warnings. Tbh I don't really want to fix my old scripts they serve as archives/references more than anything. But again, it does work just fine, just a false warning. It's open source so anyone can fix it too

                        1 Reply Last reply
                        0
                        • Fryundefined Fry moved this topic from MW3 Modding Releases & Resources on

                        • Login

                        • Don't have an account? Register

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