Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
The creator of these plugins has not shown activity in a while. Posting in this board may not result in a fast reply or a reply at all. [ Read the full Support Disclaimer here ]
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: TopKiller plugin 1.0.4  (Read 54857 times)

Offline leonpadi

  • Full Member
  • ***
  • Posts: 53
Re: TopKiller plugin
« Reply #45 on: May 12, 2009, 05:11:45 PM »
1) I've got the plugin in external plugins folder and the .xml in the main b3/conf folder.

2) 090512 09:43:13   INFO   Could not find built in plugin topkiller, trying external plugin directories.
No module named topkiller

1) The default location topkiller.py should be is on...
\3\b3\b3\extplugins
and it's config file (plugin_topkiller.xml) should be on...
\3\b3\b3\extplugins\conf

finally the line you need to add on b3.xml should be this...
<plugin name="topkiller" priority="x" config="@b3/extplugins/conf/plugin_topkiller.xml"/>
...where x is the next increased number (in addition to the last you already use...)
WARNING ! If you don't use the VERY NEXT increased number, plugin may not work at all...so if you last's plugin priority was 10 , then you must type 11 ...
This is how it works on my b3 installation.


2) Be carefull about this message as it should help you find what's wrong...
It says "Could not find built in plugin topkiller" so...you may have mispelled something here...
config="@b3/extplugins/conf/plugin_topkiller.xml
...you must use the correct location...
« Last Edit: May 12, 2009, 05:16:11 PM by leonpadi »

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: TopKiller plugin
« Reply #46 on: May 12, 2009, 05:25:44 PM »
As a couple of corrections, priority numbers do not matter unless there are two plugins with the same number. Otherwise, the bot just doesn't care.

Code: [Select]
090512 09:43:13	BOT    	Plugin topkiller (1.0.1 - Anubis) loaded

tells us that the code was indeed loaded, which means that he has it set up already.

Based on the code, it should output a log message after every kill and every piece of damage.

Something like this:
Code: [Select]
Kill: Bakes count: 1 damage: "30" total damage: "200"

Offline Stec

  • Full Member
  • ***
  • Posts: 58
    • [83rd]Division Thunderbolts
Re: TopKiller plugin
« Reply #47 on: May 12, 2009, 05:31:06 PM »
1) The default location topkiller.py should be is on...
\3\b3\b3\extplugins
and it's config file (plugin_topkiller.xml) should be on...
\3\b3\b3\extplugins\conf

finally the line you need to add on b3.xml should be this...
<plugin name="topkiller" priority="x" config="@b3/extplugins/conf/plugin_topkiller.xml"/>
...where x is the next increased number (in addition to the last you already use...)
WARNING ! If you don't use the VERY NEXT increased number, plugin may not work at all...so if you last's plugin priority was 10 , then you must type 11 ...
This is how it works on my b3 installation.


2) Be carefull about this message as it should help you find what's wrong...
It says "Could not find built in plugin topkiller" so...you may have mispelled something here...
config="@b3/extplugins/conf/plugin_topkiller.xml
...you must use the correct location...

Strange that it's not finding it.


Here's my B3.xml excerpt:
Code: [Select]
 <plugin name="chatlogger" priority="1" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
<plugin name="censor" priority="2" config="@b3/conf/plugin_censor.xml"/>
                <plugin name="spamcontrol" priority="3" config="@b3/conf/plugin_spamcontrol.xml"/>
<plugin name="admin" priority="4" config="@b3/conf/plugin_admin.xml"/>
                <plugin name="stats" priority="5" config="@b3/conf/plugin_stats.xml"/>
<plugin name="adv" priority="6" config="@b3/conf/plugin_adv.xml"/>
<plugin name="status" priority="7" config="@b3/conf/plugin_status.xml"/>
                <plugin name="topkiller" priority="8" config="@b3/extplugins/conf/plugin_topkiller.xml"/>
<!--            <plugin name="tk" priority="9" config="@b3/conf/plugin_tk.xml"/>
-->


And inside b3bot\b3\extplugins I have the "topkiller.py" file and the .pyc file it created.

Inside \b3bot\b3\extplugins\conf I have the "plugin_topkiller.xml" file.

For what it's worth, the .xml file doesn't actually have anything in it.  The contents of the xml are only the following:

Code: [Select]
<configuration plugin="topkiller">
</configuration>

This is how it was downloaded.  Is this normal?  If so, what else might cause it to not work?


For the sake of complete information, we also use the chatlogger plugin and the log also says that "module not found" however the chatlogger seems to be working fine.

Most recent log excerpt:

Code: [Select]
090512 10:20:56	BOT    	Loading Plugin #1 chatlogger [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\extplugins\conf\plugin_chatlogger.xml]
090512 10:20:56 INFO Could not find built in plugin chatlogger, trying external plugin directories.
No module named chatlogger
090512 10:20:56 BOT    ChatloggerPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\extplugins\conf\plugin_chatlogger.xml for ChatloggerPlugin
090512 10:20:56 DEBUG ChatloggerPlugin: Using default value (chatlog) for db_table
090512 10:20:56 DEBUG ChatloggerPlugin: max age : 0 => 0 days
090512 10:20:56 INFO ChatloggerPlugin: chat log messages are kept forever
090512 10:20:56 DEBUG Register Event: Stop Process: ChatloggerPlugin
090512 10:20:56 DEBUG Register Event: Program Exit: ChatloggerPlugin
090512 10:20:56 BOT    Plugin chatlogger (0.2.0 - Courgette) loaded
090512 10:20:56 BOT    Loading Plugin #2 censor [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_censor.xml]
090512 10:20:56 BOT    CensorPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_censor.xml for CensorPlugin
090512 10:20:57 DEBUG Register Event: Stop Process: CensorPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: CensorPlugin
090512 10:20:57 BOT    Plugin censor (2.1.0 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #3 spamcontrol [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_spamcontrol.xml]
090512 10:20:57 BOT    SpamcontrolPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_spamcontrol.xml for SpamcontrolPlugin
090512 10:20:57 DEBUG Register Event: Stop Process: SpamcontrolPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: SpamcontrolPlugin
090512 10:20:57 BOT    Plugin spamcontrol (1.1.2 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #4 admin [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_admin.xml]
090512 10:20:57 BOT    AdminPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_admin.xml for AdminPlugin
090512 10:20:57 DEBUG Register Event: Stop Process: AdminPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: AdminPlugin
090512 10:20:57 BOT    Plugin admin (1.3.2 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #5 stats [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_stats.xml]
090512 10:20:57 BOT    StatsPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_stats.xml for StatsPlugin
090512 10:20:57 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
090512 10:20:57 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
090512 10:20:57 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
090512 10:20:57 DEBUG Register Event: Stop Process: StatsPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: StatsPlugin
090512 10:20:57 BOT    Plugin stats (1.2.3 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #6 adv [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_adv.xml]
090512 10:20:57 BOT    AdvPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_adv.xml for AdvPlugin
090512 10:20:57 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x023D24E0>> (37569488) - 0s [0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57]m -1h -1d -1M -1DOW
090512 10:20:57 DEBUG Register Event: Stop Process: AdvPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: AdvPlugin
090512 10:20:57 BOT    Plugin adv (1.1.2 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #7 status [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_status.xml]
090512 10:20:57 BOT    StatusPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\conf\plugin_status.xml for StatusPlugin
090512 10:20:57 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x023E0508>> (37780848) - [0]s -1m -1h -1d -1M -1DOW
090512 10:20:57 DEBUG Register Event: Stop Process: StatusPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: StatusPlugin
090512 10:20:57 BOT    Plugin status (1.2.5 - ThorN) loaded
090512 10:20:57 BOT    Loading Plugin #8 topkiller [C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\extplugins\conf\plugin_topkiller.xml]
090512 10:20:57 INFO Could not find built in plugin topkiller, trying external plugin directories.
No module named topkiller
090512 10:20:57 BOT    TopkillerPlugin: Loading config C:\UserFiles\ADMIN\GameServers\cod4_2\b3bot\b3\extplugins\conf\plugin_topkiller.xml for TopkillerPlugin
090512 10:20:57 DEBUG Register Event: Stop Process: TopkillerPlugin
090512 10:20:57 DEBUG Register Event: Program Exit: TopkillerPlugin
090512 10:20:57 BOT    Plugin topkiller (1.0.1 - Anubis) loaded

Offline Bakes

  • B3 Contrib/Support
  • Hero Member
  • *
  • Posts: 1226
Re: TopKiller plugin
« Reply #48 on: May 12, 2009, 06:34:30 PM »
Find a client kill event and see if there is a topkiller event. Also, read my post above :)

Offline seanbarr1988

  • Full Member
  • ***
  • Posts: 82
    • NitroServers
Re: TopKiller plugin
« Reply #49 on: May 15, 2009, 10:55:56 PM »
Well... as promised announcing 3 top killers. Please download, install and test it :) Awaiting your feedback!

>>> Download <<<


is it possible to make this work for urban terror  (even if it doesn't count headshots  thats not important)  also rather than

 TopKiller 1
 Top Killer 2
 Top Killer 3   

 could we  have
 
 GOLD AWARD:  Player A blah blah
 SILVER AWARD: Payer B Blah
 BRONZE AWARD: Player c blah

Offline Stec

  • Full Member
  • ***
  • Posts: 58
    • [83rd]Division Thunderbolts
Re: TopKiller plugin
« Reply #50 on: May 16, 2009, 02:44:01 PM »
Find a client kill event and see if there is a topkiller event. Also, read my post above :)

Seems to be logging fine....is there something else going on?  Is this an automatic thing at the end of round or does it need a command to do the topkiller thing?


Code: [Select]
090516 07:36:05	VERBOSE	Parsing Event: Client Kill: SpreePlugin
090516 07:36:05 VERBOSE Parsing Event: Client Kill: TopkillerPlugin
090516 07:36:05 DEBUG TopkillerPlugin: Kill: SPQR_fighter count: 16 damage: 30 total damage: 584

It's definitely not doing anything on screen right now.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: TopKiller plugin
« Reply #51 on: May 28, 2009, 10:56:48 AM »

is it possible to make this work for urban terror  (even if it doesn't count headshots  thats not important)  also rather than

 TopKiller 1
 Top Killer 2
 Top Killer 3   

 could we  have
 
 GOLD AWARD:  Player A blah blah
 SILVER AWARD: Payer B Blah
 BRONZE AWARD: Player c blah

Sure... good idea. I will change it :)

@Stec
No.. there are no actions required. It's fully automatic plugin.

Offline Stec

  • Full Member
  • ***
  • Posts: 58
    • [83rd]Division Thunderbolts
Re: TopKiller plugin
« Reply #52 on: May 28, 2009, 12:27:51 PM »
@Stec
No.. there are no actions required. It's fully automatic plugin.


Any guess as to the issue?  I posted the log samples. It seems to be logging but nothing is happening on screen.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: TopKiller plugin
« Reply #53 on: May 31, 2009, 10:28:20 PM »
Any guess as to the issue?  I posted the log samples. It seems to be logging but nothing is happening on screen.

Could you show more log entries to me? Currently I know that plugins is starting, but I don't know what's happening after.

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: TopKiller plugin
« Reply #54 on: June 04, 2009, 12:02:34 AM »

is it possible to make this work for urban terror  (even if it doesn't count headshots  thats not important)  also rather than

 TopKiller 1
 Top Killer 2
 Top Killer 3   

 could we  have
 
 GOLD AWARD:  Player A blah blah
 SILVER AWARD: Payer B Blah
 BRONZE AWARD: Player c blah

here you go ;)

You can specify the numbering or place names as you like:
Quote
<configuration plugin="topkiller">
   <settings name="settings">
      <set name="firstplace">^3John Rambo</set>
      <set name="secondplace">^3John Matrix</set>
      <set name="thirdplace">^3Joan Collins</set>
   </settings>
</configuration>


Just grab new 1.0.4 version and configure it :)

>>> Download <<<


Offline j0rd0n

  • Newbie
  • *
  • Posts: 4
Re: TopKiller plugin 1.0.4
« Reply #55 on: July 24, 2009, 10:12:31 AM »
How do I go about configuring this plugin so that only the 1st place person is listed after the round? In call of duty 4.

Thanks for any help.

Offline Intruder

  • Newbie
  • *
  • Posts: 2
Re: TopKiller plugin 1.0.4
« Reply #56 on: August 16, 2009, 01:30:02 PM »
Jordon scroll back through the posts and intall a older one like i done, i think it was 1.02

good work btw anubis

Offline Anubis

  • Moderator
  • Sr. Member
  • *
  • Posts: 228
    • g4g.pl
Re: TopKiller plugin 1.0.4
« Reply #57 on: September 09, 2009, 02:50:05 PM »
How do I go about configuring this plugin so that only the 1st place person is listed after the round? In call of duty 4.

Thanks for any help.

Currenlty it's not possible. Would you like to have it in the configuration?

Offline Elric666

  • Jr. Member
  • **
  • Posts: 21
    • SNL-CLAN
Re: TopKiller plugin 1.0.4
« Reply #58 on: December 05, 2009, 09:23:27 AM »
Wow, really nice plugin.
BUt I found an issue.
When you play in COD4 a map with a round based gametype, like the one with teh bomb, the messages are shown at the begnning of the new round.
When the map in fact changes at the end of the round, it is send by the plugin, but not shown ingame.
It looks like it is doing this while players load the new map or at some point before when it is not shown.

It is definitly in the b3 log, but just during map change not shown....

Any ideas about that?

Btw. I will check out today if it is similar with COD2...

Thanks for any help!

Elric666

]

Offline MrMind

  • Jr. Member
  • **
  • Posts: 39
Re: TopKiller plugin
« Reply #59 on: December 17, 2009, 09:07:28 PM »
Seems to be logging fine....is there something else going on?  Is this an automatic thing at the end of round or does it need a command to do the topkiller thing?

It's definitely not doing anything on screen right now.

I have this problem too with my Urban Terror server.

Here is my b3.xml:

Code: [Select]
<plugins>
<!--    <plugin name="censor" priority="1" config="@b3/conf/plugin_censor.xml"/> -->
    <plugin name="spamcontrol" priority="2" config="@b3/conf/plugin_spamcontrol.xml"/>
    <plugin name="admin" priority="3" config="@b3/conf/plugin_admin.xml"/>
    <plugin name="tk" priority="4" config="@b3/conf/plugin_tk.xml"/>
    <plugin name="stats" priority="5" config="@b3/conf/plugin_stats.xml"/>
    <plugin name="pingwatch" priority="6" config="@b3/conf/plugin_pingwatch.xml"/>
<!--    <plugin name="adv" priority="7" config="@b3/conf/plugin_adv.xml"/> -->
    <plugin name="status" priority="8" config="@b3/conf/plugin_status.xml"/>
    <plugin name="welcome" priority="9" config="@b3/conf/plugin_welcome.xml"/>
<!--    <plugin name="publist" priority="10" config="@b3/conf/plugin_publist.xml"/> -->
    <plugin name="knifer" priority="11" config="@b3/extplugins/conf/knifer.xml"/>
    <plugin name="headshotsurt" priority="12" config="@b3/extplugins/conf/headshots.xml"/>
    <plugin name="poweradminurt" priority="13" config="@b3/extplugins/conf/poweradminurt.xml"/>
    <plugin name="topkiller" priority="14" config="@b3/extplugins/conf/plugin_topkiller.xml"/>
    <plugin name="spree" priority="15" config="@b3/extplugins/conf/plugin_spree.xml"/>
<!--    <plugin name="punkbuster" priority="16" config="@b3/conf/plugin_punkbuster.xml"/> -->

I upload the plugin_topkiller.xml to: /b3/extplugins/conf/
And topkiller.py to: /b3/extplugins/

Thx in advance...
« Last Edit: December 17, 2009, 09:10:42 PM by MrMind »

 


Rate this page +1 at Google Search