Announcement

Collapse
No announcement yet.

TitanTeamFixUT3[Beta21][Updated:30-4-08]

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by Captain_Tea View Post
    Still no luck with the default character bots. If I might make a suggestion, perhaps you can let it allow the bots currently in game to travel with you to the next level like they do with the st_disabled setting, instead of dropping them right before server travel and getting new bots on the next map. Perhaps that is the key.
    The problem with that in the past, was that the bots wouldn't be evenly distributed throughout the teams when they get to the next level, so that will have to do for the moment.

    As for the bBotsBalanceTeams thing not working; that is extremely odd, does that fix itself with ShuffleTeams=ST_Disabled? (I think the two problems may be related)

    Comment


      Originally posted by Shambler View Post
      The problem with that in the past, was that the bots wouldn't be evenly distributed throughout the teams when they get to the next level, so that will have to do for the moment.
      Roger that, Thanks for trying

      Originally posted by Shambler View Post
      As for the bBotsBalanceTeams thing not working; that is extremely odd, does that fix itself with ShuffleTeams=ST_Disabled? (I think the two problems may be related)
      I will try that and let you know soon.

      Comment


        Still does it with Shuffle disabled. Its strange, it will balance the teams a few times as people come and go and it will start leaving bots in, i've seen it leave as many as 3 bots in when the server had like 7 people on it.

        Edit:It seems to work pretty well when botsbalanceteams is set to false.

        Comment


          Ok here is a version with a debug command, which will let you see (in more detail) what is going on; when the problem occurs again, type "mutate TTFPlayerCount" into the console, and it will report three things:
          DesiredPlayerCount: This is equivalent to MinPlayers, TTF modifies this during the game to add bots; NumPlayers: The number of human players; NumBots: The number of bots.
          http://homepage.eircom.net/~JBarrett...bug_beta17.rar (just the .u)

          What I specifically suspect might happen is that either NumBots might not represent the actual number of bots, or DesiredPlayerCount will not be set correctly.

          Sorry this is taking so long to fix; the one big problem for me with developing TTF is that it requires an active server to test, and I don't run any servers myself.

          Comment


            Originally posted by Shambler View Post
            Sorry this is taking so long to fix; the one big problem for me with developing TTF is that it requires an active server to test, and I don't run any servers myself.
            No need to apologize, I am happy to help. I will get it set up and tonight when the server gets more populated I will test it and hopefully get you some good feedback tomorrow morning .

            Comment


              Actually just a second I've spotted something else, GameInfo.NumPlayers doesn't include the number of players who are still seamlessly travelling, I'll need to account for that.

              Comment


                Here you go:
                http://homepage.eircom.net/~JBarrett...v1.0beta18.rar

                Comment


                  Originally posted by Shambler View Post
                  So far so good . I'll test it more tonight when things get busier and if I run into any problems I'll let you know. Does the debug command work with beta18 in case I need it?

                  Comment


                    Not sure if this makes a difference or not, but in previous posts I called out minplayers=4 as being in my command line, but I was mistaken it is numplay=4

                    Comment


                      Yep the debug command is in beta18 too.

                      Comment


                        I had my server fill up and the btbalance teams was up to its old tricks again. I used the debug and this was what I found the 3 times I checked:

                        Desiredplayercount 8 numplayers 6 numbots 2

                        Desiredplayercount 10 numplayers 8 numbots 2

                        Desiredplayercount 10 numplayers 7 numbots 3

                        I turned the botsbalanceteams=false and it was still adding bots to balance teams, just not as many.



                        I was looking thru my UTgame.ini file and was wondering if maybe this setting was affecting things:

                        [UTGame.UTTeamGame]
                        bPlayersBalanceTeams=True


                        PS: The Talking Icon Rocks!!!

                        Comment


                          bPlayersBalanceTeams may be affecting the shuffle code, but it also prevents players from unbalancing the teams by switching when they are even, so best leave that on; I've added a bit of code which takes bPlayersBalanceTeams into account now, so the default character problem should be gone BUT there may be extra bots in the game after traveling (let me know if that happens).

                          I've adjusted the bBotsBalanceTeams code some more, it wasn't properly adjusting 'DesiredPlayerCount' when players exited the server, hopefully that will fix it (have also updated the debug command to show NumTravellingPlayers):
                          http://homepage.eircom.net/~JBarrett...v1.0beta19.rar

                          Comment


                            Testing...

                            Comment


                              sweetness, thanks for the follow-through on this one, it's badly needed.

                              Comment


                                Originally posted by Shambler View Post
                                the default character problem should be gone
                                The default character bots is definitely fixed . I will run the bPlayersBalanceTeams thru the paces tonight when the server gets populated.

                                Comment

                                Working...
                                X