Raised This Month: $32 Target: $400
 8% 

[TF2] gScramble Team Balancer/Scrambler -- 3.0.33 4/14/2015


Post New Thread Reply   
 
Thread Tools Display Modes
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 02-26-2015 , 14:02   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.25 2/13/2016
Reply With Quote #1411

Quote:
Originally Posted by Powerlord View Post
As long as you're updating again, I have a few feature requests.
  • Disable the Valve scramble system if its on. Do this in OnConfigsExecuted by setting sv_vote_issue_scramble_teams_allowed to 0.
  • Make StartScrambleDelay fire the teamplay_alert event, like this:
    PHP Code:
        new Handle:event CreateEvent("teamplay_alert");
        
    SetEventInt(event"alert_type"0);
        
    FireEvent(event); 
    0 is the scramble alert... although Valve hasn't actually coded any other alert messages for this event (its arena counterpart has several though), so any value passed to "alert_type" works.
  • Implement NativeVotes as an option for the voting system.

    Unlike the previous things, this is not necessarily a simple change.

I actually made all of these modifications to GScramble 3.1.20... a good diff program could tell you where the changes were made.

Unfortunately, overriding Scramble in the vote menu was called off after NativeVotes lost that ability. Although I'm working on bringing vote overrides back.
What exactly does this event show?

Edit I think I remember what it shows. Never mind.
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 02-26-2015 at 14:07.
BrutalGoerge is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-26-2015 , 14:09   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.25 2/13/2016
Reply With Quote #1412

Quote:
Originally Posted by BrutalGoerge View Post
What exactly does this event show?

Edit I think I remember what it shows. Never mind.
It's the thing that pops up in the middle of the screen saying that teams will be scrambled.

Or was that the one that tells people that teams were scrambled, I forget.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 02-26-2015 , 14:40   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.25 2/13/2015
Reply With Quote #1413

I added the event and vote disable to the project on google code, will add to thread when i get home
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-28-2015 , 08:40   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1414

One of my admins was balanced three times in one round. This means its still balancing players with immunity flags and its also ignoring the timer which I have set at 30 minutes
__________________
Phaiz is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 02-28-2015 , 09:15   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1415

Quote:
Originally Posted by Phaiz View Post
One of my admins was balanced three times in one round. This means its still balancing players with immunity flags and its also ignoring the timer which I have set at 30 minutes
This makes no sense, since i had friends come and I verified all this :\

I, admin, was properly protected from balance.

My friend, only medic, was properly protected from balance,

Friend, engie, no building, did get balanced

Friend, engie, with building, was properly protected from balance.

Friend, second medic, but with 50% charge was properly protected.

I made sure the force timer was behaving properly

You are using the latest update I put on the thread ya?
If you're still having issues, maybe compile the debug versions, see what its spitting in the log when its balancing your admin.

Actually I just did find a bug with force balance... the way I was calling the priority sorting function was messed up. It should work properly now. GAH 3 years without looking at this code, and working on it now makes me sad.

Sorry for saying I've fixed it when its a lie, I AM THE ULTIMATE TROLL D:

But yeah the bug I fixed, I could totally see it causing your admin to be swapped over and over when theres a force-balance called.
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 02-28-2015 at 09:53.
BrutalGoerge is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-28-2015 , 17:39   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1416

Quote:
Originally Posted by BrutalGoerge View Post
This makes no sense, since i had friends come and I verified all this :\

I, admin, was properly protected from balance.

My friend, only medic, was properly protected from balance,

Friend, engie, no building, did get balanced

Friend, engie, with building, was properly protected from balance.

Friend, second medic, but with 50% charge was properly protected.

I made sure the force timer was behaving properly

You are using the latest update I put on the thread ya?
If you're still having issues, maybe compile the debug versions, see what its spitting in the log when its balancing your admin.

Actually I just did find a bug with force balance... the way I was calling the priority sorting function was messed up. It should work properly now. GAH 3 years without looking at this code, and working on it now makes me sad.

Sorry for saying I've fixed it when its a lie, I AM THE ULTIMATE TROLL D:

But yeah the bug I fixed, I could totally see it causing your admin to be swapped over and over when theres a force-balance called.
This is happening with version 3.0.26
__________________

Last edited by Phaiz; 02-28-2015 at 17:39.
Phaiz is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 02-28-2015 , 17:45   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1417

Quote:
Originally Posted by Phaiz View Post
This is happening with version 3.0.26
https://code.google.com/p/tf2tmng/so...nce.sp&old=198
Yeah, should be ok now, I HOPE D: The problem was that the way it was before, it was only calling the PLayer Priority Function only if the player was flagged as being a valid balance target. Else given a priority of -5. So that meant that admins, who are SUPPOSED to have their priority set to -20 for sorting, were set to -5. Which isn't very low. Sooooooo an admin could has easily been made the target for that function over and over and over and over.... Derp.
The way it is now, it will work properly.

*edit
Until we find the next bug *shifty eyes
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 02-28-2015 at 23:09.
BrutalGoerge is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-01-2015 , 09:01   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1418

Quote:
Originally Posted by BrutalGoerge View Post
https://code.google.com/p/tf2tmng/so...nce.sp&old=198
Yeah, should be ok now, I HOPE D: The problem was that the way it was before, it was only calling the PLayer Priority Function only if the player was flagged as being a valid balance target. Else given a priority of -5. So that meant that admins, who are SUPPOSED to have their priority set to -20 for sorting, were set to -5. Which isn't very low. Sooooooo an admin could has easily been made the target for that function over and over and over and over.... Derp.
The way it is now, it will work properly.

*edit
Until we find the next bug *shifty eyes
I will update to .28 in the morning. Is the cfg file the same as .26?
__________________
Phaiz is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 03-01-2015 , 12:37   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.27 2/27/2015
Reply With Quote #1419

Quote:
Originally Posted by Phaiz View Post
I will update to .28 in the morning. Is the cfg file the same as .26?
Just the translation file changed.
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 03-02-2015 , 12:10   Re: [TF2] gScramble Team Balancer/Scrambler -- 3.0.28 2/27/2015
Reply With Quote #1420

.28 is still balancing admins
__________________
Phaiz is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode