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 ]

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugins by Anubis (Moderator: Anubis)TopKiller plugin 1.0.4
Pages: 1 2 3 [4] 5   Go Down
  Print  
Author Topic: TopKiller plugin 1.0.4  (Read 22207 times) Bookmark and Share
Full Member
***
Posts: 53
Offline Offline
« Reply #45 on: May 12, 2009, 07:11:45 AM »

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, 07:16:11 AM by leonpadi » Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #46 on: May 12, 2009, 07:25:44 AM »

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:
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:
Kill: Bakes count: 1 damage: "30" total damage: "200"
Logged

Full Member
***
Posts: 58
Offline Offline
WWW
« Reply #47 on: May 12, 2009, 07:31:06 AM »

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:
<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:
<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:
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
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #48 on: May 12, 2009, 08:34:30 AM »

Find a client kill event and see if there is a topkiller event. Also, read my post above Smiley
Logged

Full Member
***
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 74
Offline Offline
WWW
« Reply #49 on: May 15, 2009, 12:55:56 PM »

Well... as promised announcing 3 top killers. Please download, install and test it Smiley 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
Logged
Full Member
***
Posts: 58
Offline Offline
WWW
« Reply #50 on: May 16, 2009, 04:44:01 AM »

Find a client kill event and see if there is a topkiller event. Also, read my post above Smiley

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:
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.
Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #51 on: May 28, 2009, 12: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 Smiley

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

Full Member
***
Posts: 58
Offline Offline
WWW
« Reply #52 on: May 28, 2009, 02:27:51 AM »

@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.
Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #53 on: May 31, 2009, 12: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.
Logged

Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #54 on: June 03, 2009, 02:02:34 PM »


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 Wink

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 Smiley

>>> Download <<<

Logged

Newbie
*
Posts: 4
Offline Offline
« Reply #55 on: July 24, 2009, 12: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.
Logged
Newbie
*
Posts: 1
Offline Offline
« Reply #56 on: August 16, 2009, 03:30:02 AM »

Jordon scroll back through the posts and intall a older one like i done, i think it was 1.02

good work btw anubis
Logged
Moderator
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD4
Posts: 228
Offline Offline
WWW
« Reply #57 on: September 09, 2009, 04:50:05 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.

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

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« Reply #58 on: December 05, 2009, 12: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
Logged


]
Jr. Member
**
OS: Windows
Type: Renting Server with B3
Gameservers: UrT
Posts: 39
Offline Offline
« Reply #59 on: December 17, 2009, 12: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:
<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, 12:10:42 PM by MrMind » Logged
Tags:
Pages: 1 2 3 [4] 5   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal