Author Topic: Vote kick disable - how?  (Read 4471 times)

0 Members and 1 Guest are viewing this topic.

Offline SneS

  • Soldier
  • **
  • Posts: 112
Vote kick disable - how?
« on: May 27, 2014, 12:23:54 pm »
how to turn off "vote kick" on server?

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Vote kick disable - how?
« Reply #1 on: May 27, 2014, 01:07:03 pm »
If you want a quick solution, just set vote% to something above 100. It won't turn it off, but make it effectively unusable.
If you want a good solution, write yourself a script that returns false unconditionally on OnVoteKickStart event.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Vote kick disable - how?
« Reply #2 on: May 27, 2014, 01:16:48 pm »
returns false
really?

Code: [Select]
function OnVoteKickStart(Voter, Target: byte; Reason: string): boolean;
begin
Result:=TRUE;
end;
Classic banana

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Vote kick disable - how?
« Reply #3 on: May 27, 2014, 01:24:50 pm »
wooops, sorry!
Of course, you're right.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline homerofgods

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2029
  • We can do better!
Re: Vote kick disable - how?
« Reply #4 on: May 27, 2014, 01:28:02 pm »
It would be cool to see servers with voting off, but where you could call an admin by using !admin

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Vote kick disable - how?
« Reply #5 on: May 27, 2014, 01:58:54 pm »
I could agree as long as there's an admin 24/7, which is most likely impossible.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: Vote kick disable - how?
« Reply #6 on: May 27, 2014, 06:43:21 pm »
Changing % over 100 is not always working (bug has been reported some time ago).

So in such script is should return true only when no admin is currently connected ;)

Offline SneS

  • Soldier
  • **
  • Posts: 112
Re: Vote kick disable - how?
« Reply #7 on: May 28, 2014, 01:35:24 am »
I don't use ARSSE or Baka Admin. Is there any other way? Because some players started vote kick other players for no reason  :|

Offline kicikici

  • Soldier
  • **
  • Posts: 180
Re: Vote kick disable - how?
« Reply #8 on: May 28, 2014, 02:10:53 am »
My script will disable vote permanently. Even if u somehow change result value in OnVoteKickStart event, vote will be still disabled.

Changing % over 100 is not always working
Did u try 4000%? xD
« Last Edit: May 28, 2014, 02:12:56 am by kicikici »
Classic banana

Offline Szaman

  • Soldier
  • **
  • Posts: 145
Re: Vote kick disable - how?
« Reply #9 on: May 28, 2014, 02:46:25 am »
Dude, even 101% should work... it doesn't matter if it's 101 or 4000.
I can try, but what's the difference?

Offline SneS

  • Soldier
  • **
  • Posts: 112
Re: Vote kick disable - how?
« Reply #10 on: May 30, 2014, 12:36:41 pm »
Dude, even 101% should work... it doesn't matter if it's 101 or 4000.
I can try, but what's the difference?

It doesn't work. I set at 101% - doesn't work. I changed to 400% - Doesn't work too...

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Vote kick disable - how?
« Reply #11 on: May 30, 2014, 01:23:16 pm »
Define "doesn't work". Were you able to kick somebody? Or it's just that it's possible to start the vote kick (not necessarily end it "positively")?
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline SneS

  • Soldier
  • **
  • Posts: 112
Re: Vote kick disable - how?
« Reply #12 on: May 30, 2014, 02:04:53 pm »
Were you able to kick somebody?

Exactly :( Players can still started "vote kick" and kicked other players.

Offline Falcon`

  • Flagrunner
  • ****
  • Posts: 792
  • A wanted lagger
Re: Vote kick disable - how?
« Reply #13 on: May 30, 2014, 02:37:31 pm »
Please write in details what did you try to do to make vote percent above 100%.
If you're not paying for something, you're not the customer; you're the product being sold.
- Andrew Lewis

Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.

Offline SneS

  • Soldier
  • **
  • Posts: 112
Re: Vote kick disable - how?
« Reply #14 on: May 30, 2014, 03:57:20 pm »
Please write in details what did you try to do to make vote percent above 100%.

I edited "Vote_Percent=400" in soldat.ini