Author Topic: Votekick for servers with bots v1.4  (Read 2136 times)

0 Members and 1 Guest are viewing this topic.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Votekick for servers with bots v1.4
« on: September 22, 2008, 11:03:03 am »
Script Name: Votekick
Script Description:
    Players can kick and ban other player but can't kick bots from server. !votekick <id>
    Admins can disable/enable script using command - /votekick <1/0>
Original Author: Gizd
Core Version: 2.6.3
Compile Test: Passed
Code: Just download it !

Most of servers with bots have disabled votekick to don't let players kick bots. But on servers like Last Stand(i hope they will add it ;)) where all players must be active to start playing it can stuck server and piss off all players. So here comes Me with my script that enables players to kick afk's, noobs and other bad guys.

Expecting comments  8)

PS. You can do everything what you want with this script, but i will be happy if my name stay in it as original author.



(Size 2.23 KB)
- http://soldatcentral.com/index.php?page=script&f=38 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **

Changelog 1.0 ---> 1.1
Added command !cancel - cancels your vote.

Changelog 1.1 ---> 1.2
Fixed bug that player can crash server by saying '!votekick'
Kick shouldn't spam console

Changelog 1.2 ---> 1.3
Script is totally noob-proof.

Changelog 1.3 ---> 1.4
Fixed many little and stupid bugs
Added time beetwen votes
Voted player is kicked when leaves if at last 3 players voted
Other s***

I want to thank Leo for help in finding bugs.
« Last Edit: December 16, 2008, 08:48:31 am by Gizd »

Offline BombSki

  • Flagrunner
  • ****
  • Posts: 927
    • Climbing-soldiers.net
Re: Votekick for servers with bots
« Reply #1 on: September 22, 2008, 12:52:17 pm »
not a bad idea, in multimode i just set vote% to 110 if theres a mode with bots.
this will work, but i doubt it will be used very much

Offline falcon.

  • Major(1)
  • Posts: 20
  • quak!!!
Re: Votekick for servers with bots v1.1
« Reply #2 on: October 12, 2008, 01:27:05 pm »
a good scrip tanks :D

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Votekick for servers with bots v1.1
« Reply #3 on: November 07, 2008, 11:42:18 am »
ERROR FIXED !!!
If u downloaded this script before - update it !

Fix:
Vote ends when voted leaves.
« Last Edit: November 07, 2008, 11:43:51 am by Gizd »

Offline Leo

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1011
Re: Votekick for servers with bots v1.1 Fixed
« Reply #4 on: November 29, 2008, 03:56:46 am »
There is a serious bug with the script. Check out what happens after a successful vote:

Code: [Select]
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)
08-11-27 21:26:39 IP number 94.42.63.32 banned for 15 minutes.
08-11-27 21:26:39 pan gowno has been kicked. (94.42.63.32)

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Votekick for servers with bots v1.1 Fixed
« Reply #5 on: November 29, 2008, 05:42:40 am »
:O i'll try to fix it
----------------------------
Updated. It shouldn't do this now, but im not sure.
« Last Edit: November 29, 2008, 06:05:46 am by Gizd »

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: Votekick for servers with bots v1.4
« Reply #6 on: December 15, 2008, 11:32:37 am »
Sorry for many upgrades but I'm trying to make this perfect :D

I hope this is last version.