GoldenEye: Source Forums

  • November 27, 2024, 07:48:39 pm
  • Welcome, Guest
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: [Bug] Auto balance  (Read 6142 times)

0 Members and 3 Guests are viewing this topic.

SuperSonic

  • Agent
  • *
  • Posts: 21
  • Reputation Power: 0
  • SuperSonic is looked down upon.
  • Offline Offline
[Bug] Auto balance
« on: September 16, 2012, 05:22:29 pm »

I've coded a game mode that prevents certain players from changing teams.  When auto balance kicked in, it reported that the player that cannot switch teams, just did.  After this, it selected a player that could change teams, moved him, and didn't report the switch.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Bug] Auto balance
« Reply #1 on: September 16, 2012, 06:04:32 pm »

Auto balance overrides anything the gamemode has in place. Easy solution... disable autobalance.
Logged

SuperSonic

  • Agent
  • *
  • Posts: 21
  • Reputation Power: 0
  • SuperSonic is looked down upon.
  • Offline Offline
Re: [Bug] Auto balance
« Reply #2 on: September 16, 2012, 07:58:48 pm »

No, I have a better idea.  How about you code it when the person actually switches teams it says, "PlayerX was switched to MI6/Janus."  The way you have it now, if the game mode doesn't allow it, it still says, "PlayerX was switched to MI6/Janus."  It should be when they're actually placed on that team, it says it.
Logged

killermonkey

  • GES Programmer
  • Retired Lead Developer
  • GE:S Fanatic
  • *
  • Posts: 5,473
  • Reputation Power: 346
  • killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!killermonkey is awe-inspiring!
  • Offline Offline
    • DroidMonkey Apps
Re: [Bug] Auto balance
« Reply #3 on: September 16, 2012, 08:01:58 pm »

I think you need a trip to Walgreens to pickup some more Midol



btw, I fixed the logic so that auto balance will exclude players blocked from changing teams by the game mode. If no players are eligible it will reschedule the auto balance for a later time.
« Last Edit: September 16, 2012, 08:23:28 pm by killermonkey »
Logged

SuperSonic

  • Agent
  • *
  • Posts: 21
  • Reputation Power: 0
  • SuperSonic is looked down upon.
  • Offline Offline
Re: [Bug] Auto balance
« Reply #4 on: September 16, 2012, 09:54:07 pm »

Midol, no thanks.  Looks to me like you need an attitude adjustment.
Logged

TriDefiance

  • 00 Agent
  • ***
  • Posts: 343
  • Reputation Power: 78
  • TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!TriDefiance is awe-inspiring!
  • Offline Offline
Re: [Bug] Auto balance
« Reply #5 on: September 16, 2012, 10:08:17 pm »

Midol, no thanks.  Looks to me like you need an attitude adjustment.

Troy?
Logged

SuperSonic

  • Agent
  • *
  • Posts: 21
  • Reputation Power: 0
  • SuperSonic is looked down upon.
  • Offline Offline
Re: [Bug] Auto balance
« Reply #6 on: September 17, 2012, 03:01:32 am »

btw, I fixed the logic so that auto balance will exclude players blocked from changing teams by the game mode. If no players are eligible it will reschedule the auto balance for a later time.

Good work. ;)
Logged
Pages: [1]   Go Up