Jump to content


Photo
- - - - -

auto off-class reporter


  • Please log in to reply
4 replies to this topic

#1 happs

happs

    Advanced Member

  • Users
  • PipPipPip
  • 37 posts

Posted 23 April 2017 - 06:59 AM

TF2Center Profile:
https://tf2center.co...561197980708791
Idea/Suggestion Type:
Other
Description:
Can we get a little bit of lee-way to off-class as medic? Or a lobby option to disable the auto off-classing reporter?

http://logs.tf/1706653

tick: 100200

http://na.serveme.tf...17-20170423.zip

I wasn't going to be able to reconnect with my team. Went to pyro to try and save a few the point for few seconds while teammates respawned. Got reported. Pyro playtime didn't even show-up on logs.tf.
Pros/Cons:
I feel it's too restrictive. There are times when it is viable to change class. Now we can no longer do a roster change-up in the middle of a lobby.

#2 MasterNoob

MasterNoob

    Founder

  • Users
  • PipPipPipPipPip
  • 3757 posts

Steam Profile

Posted 23 April 2017 - 02:45 PM

When offclassing is disabled (and the auto reporter is active), you have 40 seconds before you get punished. I would like to think that's enough or you prefer the option "offclassing enabled"?



#3 happs

happs

    Advanced Member

  • Users
  • PipPipPip
  • 37 posts

Posted 23 April 2017 - 09:08 PM

I was pyro for 3 seconds before the round ended!

 

https://pastebin.com/raw/FrLgxVM0


 

(tick was actually 111200)

 

I'm assuming you are processing the server logs in near real-time with `logaddress_add`.

 

I'm think there are few edge cases.  My best guess:

 


  • Not handling round-over / game-over events

  • Not handling disconnect event

  • Not handling the case where enforcement occurs only during time when player is alive ( if your trigger is "changeclass" over "spawned" and "killed" )

  • Using server-time over log timestamps to calculate off-classing threshold and the delta in processing the logs is causing timing issues.


 

Does the system currently, or do you plan to, handle the case where two players decide to swap roles?

 

Just for clarity; auto reporter is not active in offclassing enabled lobbies?

 

I would need to test the new system more before I could form a opinion on the 40s threshold.  Although, I would use different thresholds for round start ( off-classing to mid ), and off-classing later in the round (presumably at last).

 

edit:

 

take a look at the logs for: https://tf2center.com/lobbies/820430


 

I joined the red medic sub spot, game says red medic is off-classing, and lobby tells me that I've been reported. 


Edited by happs, 23 April 2017 - 09:18 PM.


#4 MasterNoob

MasterNoob

    Founder

  • Users
  • PipPipPipPipPip
  • 3757 posts

Steam Profile

Posted 24 April 2017 - 07:19 PM

There has been a set of bugs when we first rolled this feature out; I believe that has been addressed and everything should work as expected now. Let's leave the details (handling specific events) out for now ;-)



#5 happs

happs

    Advanced Member

  • Users
  • PipPipPip
  • 37 posts

Posted 25 April 2017 - 02:02 AM

Okay, just trying to help.

 

With a slight attempt at picking your brain.