thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: FirstKill Plugin  (Read 8682 times)

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
FirstKill Plugin
« on: September 27, 2010, 01:56:16 AM »
firstkill plugin v1.0

after an idea of macbok

http://www.bigbrotherbot.net/forums/plugins/looking-for-first-blood-plugin/

display in bigtext when some one make the first kill or teamkill in the round

"first kill : player 1 killed player 2" or "first teamkill : player 1 teamkilled player 2"

you can disable the message "first teamkill" in the firstkill.xml

<set name="tkonoff">off</set>

download -> firstkill v1.0

Sorry for my English
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: FirstKill Plugin
« Reply #1 on: September 27, 2010, 11:40:22 AM »
Hi PtitBigorneau!

I install your FirstKill Plugin on Smokin' Guns.
It works fine but when I make the first kill server says:
Code: [Select]
server: [u]bigtext[/u] FirstKill[...]
I think this bigtext is only for other games.

But it works!


Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #2 on: September 27, 2010, 12:01:37 PM »
plugin for urban terror or other game with 'bigtext'

smokin guns does not accept this command  :'(

but you can delete or comment with a # these 2 lines:

line 52 : self.console.write('bigtext "^2First Kill ^3:%s killed %s"' % (client.exactName, target.exactName))

and

line 64 : self.console.write('bigtext "^1First TeamKill ^3:%s Teamkilled %s"' % (client.exactName, target.exactName))

in firstkill.py

PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: FirstKill Plugin
« Reply #3 on: September 27, 2010, 12:23:17 PM »
Yes, now it works without this little bug  ;)


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: FirstKill Plugin
« Reply #4 on: September 27, 2010, 01:32:57 PM »
@PetitBigorneau: to make sure your code works with all supported games, you could use
Code: python [Select]
self.console.say('normal broadcasted text')
self.console.saybig('broadcasted bigtext')


for games that do not have /rcon bigtext,  saybig() would fallback on normal text

see http://github.com/courgette/big-brother-bot/blob/master/b3/parser.py#L1070

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #5 on: September 27, 2010, 01:40:31 PM »
thank you courgette

I change it

download -> firstkill
PtitBigorneau

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #6 on: May 30, 2011, 04:48:04 PM »
firstkill plugin v1.2

add 2 commands:

!firstkill <on / off>

enable or disable message for fisrtkill

!firsttk <on / off>

enable or disable message for fisrt teamkill

download -> firstkill v1.2

PtitBigorneau

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #7 on: September 30, 2011, 02:16:17 PM »
firstkill plugin v1.3

download -> firstkill v1.3
PtitBigorneau

Offline tiller

  • Newbie
  • *
  • Posts: 8
    • uDi Clan
Re: FirstKill Plugin
« Reply #8 on: February 13, 2012, 06:37:22 AM »
On my black ops server the first kill and first tk messages spam 5 times... is this configurable anywhere?  I'd like to have it only show once.

This is what I see:  http://steamcommunity.com/profiles/76561198000437307/screenshot/505764481098023497

Thanks,

TiLLeR

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4883
    • Github repository
Re: FirstKill Plugin
« Reply #9 on: February 13, 2012, 08:18:27 AM »
make sure you are not running the bot 5 times. Does B3 respond 5 times to other commands ?

Offline Freelander

  • XLRstats dev.
  • Dev. Team
  • Hero Member
  • *
  • Posts: 1000
Re: FirstKill Plugin
« Reply #10 on: February 13, 2012, 11:44:07 AM »
Please check my reply here at this post. Maybe ptitbigorneau can fix this in a future release.

Offline tiller

  • Newbie
  • *
  • Posts: 8
    • uDi Clan
Re: FirstKill Plugin
« Reply #11 on: February 13, 2012, 03:52:41 PM »
Thanks for the help and the link!  I searched the forum but didn't find that thread :)  will try it out tonight.

TiLLeR

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #12 on: February 13, 2012, 09:27:09 PM »
use the latest version (1.4)

download -> firstkill v1.4

if this no solves the problem, I will make a version for Urban Terror and another version for other games
« Last Edit: February 13, 2012, 09:36:11 PM by PtitBigorneau »
PtitBigorneau

Offline C7_4K

  • Jr. Member
  • **
  • Posts: 34
Re: FirstKill Plugin
« Reply #13 on: April 02, 2012, 12:41:02 PM »
use the latest version (1.4)

download -> firstkill v1.4

if this no solves the problem, I will make a version for Urban Terror and another version for other games
its work with battlefield 3 ??

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: FirstKill Plugin
« Reply #14 on: April 02, 2012, 01:13:27 PM »
normally  :)

currently 9 servers bf3 uses this plugin

for see the servers that use firstkill plugin -> http://master.bigbrotherbot.net/?plugin=firstkill
PtitBigorneau

 


Rate this page +1 at Google Search

anything