lzinga / TTTWeightedTraitorSelection

A Garrys Mod TTT addon that improves the traitor selection process
Other
11 stars 6 forks source link

SetDetectiveCount not called #8

Closed MinIsMin closed 7 years ago

MinIsMin commented 7 years ago

When being selected as detective the detective counter isn't called but round counter.

wef

print("Detective Count: " .. det_count) shows the correct detective count.

lzinga commented 7 years ago

so print("Detective Count: " .. det_count) is printing into server console how many detectives are expected for the round. The menu you are showing is each players information on how many times they have played and how many times they have been each role.

Not sure if I fully understand, apart from maybe that you were selected as Detective in that picture and the count didn't go up for you. Could you please expand on what is happening?

MinIsMin commented 7 years ago

The "Detective" count isn't going up when I'm selected as detective. The image shows that I played 4 rounds but played only two times as Innocent. The two Detective count's are missing there.

I think, there's an error (maybe during SQL) saving the data (which can be accessed and looks like the image).

monster010 commented 7 years ago

12 that should solve the problem. =)