Setting it to 40 players? Halp pls.

Discussion in 'Mod Discussions' started by squishypon3, October 9, 2014.

  1. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    I was trying to set the game to 40 players, having set it, I wasn't able to.

    var MAX_PLAYERS = 40;
    var MAX_SPECTATORS = 3;
    var MAX_CLIENTS = MAX_PLAYERS + MAX_SPECTATORS;

    I think this is probably because it's most likely still forced client side, anybody know where that's located? @cola_colin perhaps?
    superouman likes this.
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Open the new_game.js of the client and look for the numbers 10 and 5. Replace all occurrences that look like you want to replace them.
    SXX likes this.
  3. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    Mind showing me a snippet of what I should be looking for in the new_game.js? Also as I seem to remember you were using linux, is it the new_game.js that could be run as an executable, but of course opened in a text editor? :p
  4. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I have no idea what you mean with running new_game.js as an executable. Just search the file for the numbers 10 and 5, read where the places and modify the file.
  5. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    Eh nevermind it, all .js files are able to be run as an executable for some reason, disregard, just making sure I had the right file.

    Anyway, what do you mean search? Manually? Because it's quite a ways of searching if so.. Though I can deal with it for the greater good ;)
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    ctrl+f in any text editor.
  7. squishypon3

    squishypon3 Post Master General

    Messages:
    7,971
    Likes Received:
    4,357
    Oh wow, I had no idea, thanks! That'll help with other things as well...

    So I assume this is what I was looking for?

    self.showAddArmy = ko.computed(function () {
    if (self.playerCount() >= 10)
    return false;

    What is the 5 for?
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    max number of players per team I think?
  9. superouman

    superouman Post Master General

    Messages:
    1,007
    Likes Received:
    1,139
    Oh boy, here we go. I hope you have a beefy server :D


    20 vs 20 The Realm vs The World.
    /summon @cwarner7264
    Last edited: October 10, 2014
    squishypon3 likes this.
  10. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Your life on a computer must have been painful until now :eek:
    :D
    squishypon3 likes this.
  11. Geers

    Geers Post Master General

    Messages:
    6,946
    Likes Received:
    6,820
    So all this time you've just...

    [​IMG]
    Last edited: October 10, 2014
    squishypon3 likes this.
  12. FSN1977

    FSN1977 Active Member

    Messages:
    657
    Likes Received:
    232
    Anyone got this to work?, tryed what colin sayed, can't select more than 10 players in the game lobby (ffa)

    Edit; there is only 11 colours to select from, that could be a issue? :p

Share This Page