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: InfoServers Plugin  (Read 13398 times)

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #15 on: September 27, 2010, 02:49:48 PM »
This functions!

But when I write '!addservers Smokin' Guns[...]' B3-Bot answers:
Unregionaze command...

When I take a look into my log I found this:
Code: [Select]
100927 14:44:15	CONSOLE	17:33 say: ^5Haris^72201: !addservers Smokin' Guns
100927 14:44:15 DEBUG AdminPlugin: OnSay handle 5:"!addservers Smokin' Guns"
100927 14:44:15 DEBUG AdminPlugin: Handle command !addservers Smokin' Guns
If I write !help the !addservers and !delserver command doesn't get displayed.

What I have to do?

 ???  ???  ???


Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #16 on: September 27, 2010, 03:22:06 PM »
try "smokin guns" without '

!addservers smokin guns,adress,-q3s (exemple "!addservers smokin guns,95.130.9.86:27965,-q3s" )
« Last Edit: September 27, 2010, 03:25:52 PM by PtitBigorneau »
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #17 on: September 27, 2010, 03:47:11 PM »
Nothing changed.

The bot says that this commnad doen't exist.
When I write !help every command gets displayed bot not the infoserver-commands.
Code: [Select]
100927 15:41:52	CONSOLE	4:36 say: ^5Haris^72201: !addservers smokin guns,91.121.74.167:27960,-q3s
100927 15:41:52 DEBUG AdminPlugin: OnSay handle 5:"!addservers smokin guns,91.121.74.167:27960,-q3s"
100927 15:41:52 DEBUG AdminPlugin: Handle command !addservers smokin guns,91.121.74.167:27960,-q3s
100927 15:41:55 CONSOLE 4:38 ClientDisconnect: 2
100927 15:41:55 ERROR handler DuelPlugin could not handle event Client Disconnect: AttributeError: DuelPlugin instance has no attribute 'onDisconnect' [('b3\\parser.pyo', 765, 'handleEvents', None), ('b3\\plugin.pyo', 157, 'parseEvent', None), ('C:\\Program Files (x86)\\BigBrotherBot_1.3.2\\extplugins\\duel.py', 60, 'onEvent', None)]
100927 15:41:55 DEBUG CtimePlugin: CTIME LEFT:
100927 15:41:55 DEBUG CtimePlugin: CTIME LEFT: Player:^5Haris^72201^7 played this time: 44 sec
100927 15:41:55 DEBUG CtimePlugin: CTIME LEFT: Player:^5Haris^72201^7 played this time: 0:0:44


Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #18 on: September 27, 2010, 04:00:07 PM »
you can show the rest of your log

because I see no error with my plugin but with DuelPlugin
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #19 on: September 27, 2010, 04:05:02 PM »
Code: [Select]
100927 16:01:54	CONSOLE	0:41 say: ^5Haris^72201: !addservers smokin guns,91.121.74.167:27960,-q3s
100927 16:01:54 DEBUG AdminPlugin: OnSay handle 5:"!addservers smokin guns,91.121.74.167:27960,-q3s"
100927 16:01:54 DEBUG AdminPlugin: Handle command !addservers smokin guns,91.121.74.167:27960,-q3s
100927 16:02:00 DEBUG StatusPlugin: Writing XML status to C:\Users\*****/status.xml
100927 16:02:01 CONSOLE 0:48 ClientUserinfoChanged: 0 n\Unknown\t\2\model\wq_male2/blue\hc\100\w\0\l\0\skill\5.000000\tt\0\tl\0
100927 16:02:01 CONSOLE 0:48 ClientUserinfoChanged: 2 guid\1B5013BD44961B73F145C0B23469B496\n\^5Haris^72201\t\1\model\wq_male2/red\g_redteam\^1O^7utlaws^1!\g_blueteam\^4L^7awmen^4!\hc\100\w\0\l\0\tt\0\tl\0
100927 16:02:01 CONSOLE 0:48 ROUND: 1 end.
100927 16:02:01 CONSOLE 0:48 ROUND: 2 start.
100927 16:02:02 CONSOLE 0:49 Item: 2 ammo_dynamite  0:49 Item: 2 ammo_dynamite
100927 16:02:05 CONSOLE 0:52 Item: 2 weapon_schofield
100927 16:02:05 CONSOLE 0:52  bought ($18/$20)
100927 16:02:10 CONSOLE 0:57 sayteam: Unknown: Is there a team leader
100927 16:02:10 DEBUG AdminPlugin: OnSay handle 5:"Is there a team leader"
100927 16:02:13 DEBUG WelcomePlugin: LastVisit: 04:01PM CEST 09/27/10
100927 16:02:13 DEBUG WelcomePlugin: Client already welcomed in the past hour
100927 16:02:23 DEBUG WelcomePlugin: LastVisit: 04:01PM CEST 09/27/10
100927 16:02:23 DEBUG WelcomePlugin: Client already welcomed in the past hour
100927 16:02:25 CONSOLE 1:12 sayteam: Unknown: I'm the team leader
100927 16:02:25 DEBUG AdminPlugin: OnSay handle 5:"I'm the team leader"
100927 16:02:30 CONSOLE 1:17 77250: client:0 health:100 damage:51.5 where:neck from:MOD_REM58 by:2
100927 16:02:30 CONSOLE 1:17 77250: client:0 health:48 damage:67.2 where:neck from:MOD_SCHOFIELD by:2
100927 16:02:30 CONSOLE 1:17 Kill: 2 0 3: ^5Haris^72201 killed Unknown by MOD_SCHOFIELD
100927 16:02:30 DEBUG OnKill: 3 (^5Haris^72201 killed Unknown by MOD_SCHOFIELD)
100927 16:02:33 CONSOLE 1:20 ClientDisconnect: 2
100927 16:02:33 ERROR handler DuelPlugin could not handle event Client Disconnect: AttributeError: DuelPlugin instance has no attribute 'onDisconnect' [('b3\\parser.pyo', 765, 'handleEvents', None), ('b3\\plugin.pyo', 157, 'parseEvent', None), ('C:\\Program Files (x86)\\BigBrotherBot_1.3.2\\extplugins\\duel.py', 60, 'onEvent', None)]
100927 16:02:33 DEBUG CtimePlugin: CTIME LEFT:
100927 16:02:33 DEBUG CtimePlugin: CTIME LEFT: Player:^5Haris^72201^7 played this time: 74 sec
100927 16:02:33 DEBUG CtimePlugin: CTIME LEFT: Player:^5Haris^72201^7 played this time: 0:1:14
100927 16:02:33 CONSOLE 1:20 ClientUserinfoChanged: 0 n\Unknown\t\5\model\wq_male2/blue\hc\100\w\0\l\0\skill\5.000000\tt\0\tl\1
100927 16:02:33 CONSOLE 1:20 Warmup:
100927 16:02:43 CONSOLE 1:30 ClientConnect: 1
100927 16:02:43 CONSOLE 1:30 ClientUserinfoChanged: 1 n\Clint\t\4\model\wq_male2/red\hc\100\w\0\l\0\skill\5.000000\tt\0\tl\0
100927 16:02:43 DEBUG Client Connected: [1] Clint - BOT-1 ({'guid': 'BOT-1'})
100927 16:02:43 DEBUG Storage: getClient <b3.clients.Client object at 0x02D4D350>
100927 16:02:43 BOT    Client found in storage 4, welcome back TheMexican
100927 16:02:43 DEBUG Storage: getClientAlias <b3.clients.Alias object at 0x02D4D5B0>
100927 16:02:43 DEBUG Storage: setClientAlias <b3.clients.Alias object at 0x02D4D5B0>
100927 16:02:43 DEBUG Storage: setClientAlias data {'time_edit': 1285596163, 'num_used': 21, 'alias': 'TheMexican', 'client_id': 4, 'time_add': 1274877019, 'id': 27}
100927 16:02:43 BOT    New alias for 4: TheMexican
100927 16:02:43 DEBUG Storage: setClient <b3.clients.Client object at 0x02D4D350>
100927 16:02:43 DEBUG Storage: setClient data {'time_add': 1274807294, 'time_edit': 1285596163, 'name': 'Clint', 'group_bits': 0, 'ip': '0.0.0.0', 'auto_login': 1, 'greeting': '', 'pbid': '', 'connections': 359, 'mask_level': 0, 'guid': 'BOT-1', 'id': 4}
100927 16:02:43 DEBUG Client Authorized: [1] Clint - BOT-1
100927 16:02:43 DEBUG CtimePlugin: CTIME CONNECTED: Player Clint^7 started playing at: 2010-09-27 16:02:43.355000
100927 16:02:43 CONSOLE 1:30 ClientBegin: 1
100927 16:02:43 DEBUG CensorPlugin: Checking Clint^7 for badname



Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #20 on: September 27, 2010, 04:20:47 PM »
I do not see in your log
something like

Code: [Select]
VERBOSE RCON sending (......) tell 9 ^2B3: ^3[pm]^7 This game server is now registered

or

Code: [Select]
VERBOSE RCON sending (......) tell 9 ^2B3: ^3[pm]^7 Unrecognized command addservers 


something that shows what happens after you type the command

in your b3.xml you do not

Code: [Select]
<set name="log_level">9</set>
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #21 on: September 27, 2010, 04:24:35 PM »
In my b3.xml I have set level 10 not 9.


Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #22 on: September 27, 2010, 04:28:15 PM »
you restart 'B3', after installing the plugin ?
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #23 on: September 27, 2010, 04:33:52 PM »
Yes, I sayed I am a homeuser so it's easy for me to do it again.
But I've done it again for you.


Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: InfoServers Plugin
« Reply #24 on: September 27, 2010, 04:42:56 PM »
you'd better post the beginning of your b3.log where we can see the bot loading the plugins and registering the commands

Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #25 on: September 27, 2010, 04:49:08 PM »
if you type the commands:

! Infoservers
! AddServers
! Delservers
! Listservers
! Listplayersserver

he says 'Unrecognized command'?

If yes, the plugin does not work

you've added in b3.xml the line

<plugin name="infoservers" config="@b3/extplugins/conf/infoservers.xml"/> ?

 and Courgette is right, will see if the plugin load well in b3.log
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #26 on: October 09, 2010, 01:00:07 PM »
Sorry, I must write 3 classtest =))
I'm a little bit late.
I install your TagProtect plugin too, same thing with the command: unregionice command  (don't know the exact name of this word =P)

My log file is too big.
Download or read :http://3lite.dyndns.org/B3Bot/b3.log



Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #27 on: October 10, 2010, 03:08:59 AM »
http://3lite.dyndns.org/B3Bot/b3.log
 
the link does not work  :'(
PtitBigorneau

Offline Haris2201

  • Full Member
  • ***
  • Posts: 108
  • Best Western-Game: Smokin' Guns
    • Haris2201 on X-Fire
Re: InfoServers Plugin
« Reply #28 on: October 10, 2010, 11:11:13 AM »
Sorry, try it again =))


Offline PtitBigorneau

  • Moderator
  • Sr. Member
  • *
  • Posts: 194
    • www.ptitbigorneau.fr
Re: InfoServers Plugin
« Reply #29 on: October 10, 2010, 02:43:59 PM »
ok thank you
then plugins Firstkill, Tagprotect and infoservers do not work, they do not find admin plugin

in your log :
Code: [Select]
ERROR	FirstkillPlugin: Could not find admin plugin
ERROR TagprotectPlugin: Could not find admin plugin
ERROR InfoserversPlugin: Could not find admin plugin

I am not sure but I think this may be because he missed "_adminPlugin = None " at the beginning of the plugins

you should try with these versions

download -> infoservers
download -> tagprotect
download -> firstkill




PtitBigorneau

 


Rate this page +1 at Google Search

anything