Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
144 stars 60 forks source link

Boost function #389

Closed Artapel closed 6 years ago

Artapel commented 6 years ago

Hi Guys. Quick Q. we experimented with the boost function and used one of the rank tags as the boost tag. now a few (50+) users lost their rank tag.

Is there anyway to have the rankbot reissue the tags for the level they are currently on?

Newcomer1989 commented 6 years ago

This should be repaired automatically with the next rank up of that persons.

Otherwise you can also give that users any higher group, which is part of the rank up definition, directly on the TeamSpeak server. The Ranksystem should remove that group and give the person the correct one. Then also the stored information in the database should be correct.

Artapel commented 6 years ago

there is to many users to assign tags to. can you perhaps write a validations check that compare all the users current tags with what they shòuld have? perhaps this could run when the rankbot restarts?

Sent from my Samsung Galaxy smartphone.

-------- Original message -------- From: Newcomer1989 notifications@github.com Date: 2018/01/13 01:39 (GMT+02:00) To: Newcomer1989/TSN-Ranksystem TSN-Ranksystem@noreply.github.com Cc: Corne Kruger corne.kruger@canon-ct.co.za, Author author@noreply.github.com Subject: Re: [Newcomer1989/TSN-Ranksystem] Boost function (#389)

This should be repaired automatically with the next rank up of that persons.

Otherwise you can also give that users any higher group, which is part of the rank up definition, directly on the TeamSpeak server. The Ranksystem should remove that group and give the person the correct one. Then also the stored information in the database should be correct.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://smex12-5-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fNewcomer1989%2fTSN%2dRanksystem%2fissues%2f389%23issuecomment%2d357384310&umid=62b3479b-fa7c-4dcb-a6c8-a948eaa13297&auth=6e844720194a020b12ab197f83da32980bbc49de-24487ab6058c5669d978953826bc3a617641cec4, or mute the threadhttps://smex12-5-en-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fgithub.com%2fnotifications%2funsubscribe%2dauth%2fARY%2dliWaueT4GuVxGaENbghZicFg5oPUks5tJ%2d0dgaJpZM4Rckkp&umid=62b3479b-fa7c-4dcb-a6c8-a948eaa13297&auth=6e844720194a020b12ab197f83da32980bbc49de-3ae27d54699d9f0943c7cfd7742a5c7a75a90928.

NOTE: This e-mail is intended solely for the use of the individual(s) to whom it is addressed. If you are not an intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.

Newcomer1989 commented 6 years ago

You wrote "a few 50+".. I understand with this between 50 and perhaps 75 users.

This is together a work for 5 seconds per user to give them directly on the TS3 server any group, which is part of the Ranksystem. 75 user * 5 seconds = 375 seconds ~= 6 minutes

To wrote such a function and check and handle all possible cases, sure this must also be tested and so on... That will need a couple of hours. Well no, I will not just yet write such a function. Perhaps it will come in future.