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!

You are here: Big Brother Bot ForumAdd-OnsPlugins Discussion (Moderator: MordyT)COD4 - Auto add players to group request
Pages: [1]   Go Down
  Print  
Author Topic: COD4 - Auto add players to group request  (Read 1547 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: Many.
Posts: 24
Offline Offline
« on: November 08, 2009, 08:05:10 PM »

Is it possible to have b3 make any players that reach "X" amount of playing time be promoted.For instance. Players with 5 hours playing time will be considered "regulars". Can b3 track playing time and automatically add them to the group "regulars" (level 2)
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 #1 on: November 09, 2009, 06:56:06 AM »

b3 doesn't actually track playertime ingame. The CTime xlrstats plugin does, but only for the last month. You could theoretically set b3 up so that it promotes someone to a certain status if they had >50 connections or whatever, however.
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #2 on: April 08, 2010, 06:22:02 AM »

b3 doesn't actually track playertime ingame. The CTime xlrstats plugin does, but only for the last month. You could theoretically set b3 up so that it promotes someone to a certain status if they had >50 connections or whatever, however.

How would someone do this? I would like to setup B3 so once a player connects to the server 30 times they are put into the regular user group. How is this accomplished?

Thanks,
Ski
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #3 on: April 09, 2010, 07:36:26 AM »

Currently there is no such functionality or plugin.

I have the code somewhere on my comp, I'll make a plugin of it later. But first we'll release a new version of the bot Wink
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #4 on: April 10, 2010, 06:30:54 PM »

Currently there is no such functionality or plugin.

I have the code somewhere on my comp, I'll make a plugin of it later. But first we'll release a new version of the bot Wink

Thanks Xlr80r, can not wait for both the bot and the plugin Smiley

Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #5 on: April 18, 2010, 10:15:00 AM »

Here's a first draft for you to test: http://github.com/xlr8or/b3-plugin-autoleveler/archives/master

Let me know what's up. I'll release it after you (or anybody else) tests it.
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #6 on: May 08, 2010, 12:24:09 PM »

Sorry it took me so long to get back to you. Installing this now and will let you know.

*addition*

Could not open the read me... so in the config file. Is the number the number of times the person connects to the server?

- <configuration plugin="xlraddonsurt">
- <settings name="autoleveler">
  <set name="enable">True</set>
  <set name="user">25</set>
  <set name="regular">200</set>
  <set name="moderator">0</set>
  </settings>
  </configuration>

So when they reach 25 connections they are set to user and 200 connections they are set to regular?

Is this correct?

Moderator is turned off because its 0?

Thank you!
Ski
« Last Edit: May 08, 2010, 12:28:15 PM by Ski » Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #7 on: May 08, 2010, 12:52:58 PM »

Could not seem to get this to start. Here is what I entered in my b3 config.

<plugin name="xlraddonsurt" priority="15" config="C:\UserFiles\DANG1\GameServers\TC38342713850682725412763\b3/b3/extplugins/conf/autoleveler.xml"/>

I tried "xlraddonsurt" and "autoleveler" for the plugin name. Would not work with either name. Showed "xlraddonsurt" in the autoleveler.xml file config settings.

And this is from the log file:

100508 15:50:07   BOT       Loading Plugin #15 xlraddonsurt [C:\UserFiles\DANG1\GameServers\TC38342713850682725412763\b3\b3\extplugins\conf\autoleveler.xml]
100508 15:50:07   INFO   Could not find built in plugin xlraddonsurt, trying external plugin directories.
No module named xlraddonsurt
100508 15:50:07   CRITICAL   Error loading plugin: No module named xlraddonsurt
Traceback (most recent call last):
  File "C:\UserFiles\DANG1\GameServers\TC65575286432702133781333\b3\b3\parser.py", line 437, in loadPlugins
    pluginModule = self.pluginImport(p)
  File "C:\UserFiles\DANG1\GameServers\TC65575286432702133781333\b3\b3\parser.py", line 500, in pluginImport
    fp, pathname, description = imp.find_module(name, [self.config.getpath('plugins', 'external_dir')])
ImportError: No module named xlraddonsurt

Ski
« Last Edit: May 08, 2010, 12:57:27 PM by Ski » Logged
Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #8 on: May 08, 2010, 01:23:42 PM »

I was able to get B3 to start and the plugin loaded when I edit the autoleveler.xml file to the following

- <configuration plugin="autoleveler"> <-- changed this to autoleveler
- <settings name="settings"> <-- changed this settings
  <set name="enable">True</set>
  <set name="user">25</set>
  <set name="regular">200</set>
  <set name="moderator">0</set>
  </settings>
  </configuration>

However, I am not sure how to tell if it is working correctly. Any suggestions?

Ski
Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #9 on: May 09, 2010, 12:30:04 AM »

An updated version is available in my repo. (see link above)
Logged

Full Member
***
OS: Windows
Type: Renting Server with B3
Gameservers: CoD4, CoD7, HomeFront
Posts: 79
Offline Offline
« Reply #10 on: May 09, 2010, 12:28:51 PM »

Ok, will get the updated version installed.

Thanks,
Ski
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #11 on: September 17, 2010, 02:14:40 PM »

Just wondering if this plugin was ever officially completed or if it works with the current B3?
Logged
Former Dev. (senate)
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: OpenArena
Posts: 258
Offline Offline
« Reply #12 on: September 17, 2010, 03:58:59 PM »

From what I can see in the code, the plugin should be working flawlessly. This would be a nice addition to the plugin downloads page, as it can be used for other games as well, and automate a little more the bot. Maybe it could even be directly included in the next release.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal