In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGeneral Usage Support (Moderator: MordyT)Struggling about custom warning names
Pages: [1]   Go Down
  Print  
Author Topic: Struggling about custom warning names  (Read 1417 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« on: June 24, 2009, 10:37:43 AM »

Hi there,

I wanted to setup custom names for the warning to use ingame, so admins can remember easier what they are for.

So I did change some bits in teh admin.xml file and wonder where I think into the wrong direction.

Maybe you can help me with this example:

Code:
       <set name="stack">^3Rule #2: No clan stacking, members must split evenly between the teams</set>

        <settings name="warn_reasons">
           
                <set name="stack">1d, /spam#stack</set>

                <set name="stack">/stack</set>

So what I mainly did to replace the name "rule8" with the name "stack"

I am sure I missed something...

Can you help me with that?

Thanks in advance

Elric666
Logged


]

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: June 24, 2009, 10:55:56 AM »

search all config files for "rule8". There might be other plugin using it as a reference to that warning
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« Reply #2 on: June 24, 2009, 11:23:44 AM »

Nnot sure if you got me right.
When I try to use !warn player stack it just shows stack not the rule for it... Sad

Elric666
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 #3 on: June 24, 2009, 12:14:24 PM »

does !s stack do anything?
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 #4 on: June 25, 2009, 07:48:06 AM »

Here's how the 'linking' works in the plugin_admin.xml config file. I've taken one spamage (rule1) and two warn_reasons that refer to the rule1 spamage:

Code: xml
	
^3Rule #1: No racism of any kind



10d, /spam#rule1
/rule1


As you can see, you can let a warn_reason refer to a spamage. That's how it flows. It doesn't work the other way around.
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« Reply #5 on: June 25, 2009, 09:09:49 AM »

I understand what you explain.
Now to get rid of the name "rule1" I would change it that way?

Code: xml
	
^3Rule #1: No racism of any kind



10d, /spam#racism
/racism


Do I get this correct this way?

As I understood the #rule1 is related to the name I gave the rule?
As that's what I did and it does not work for me.

Thanks for your help!

Elric666
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 #6 on: June 25, 2009, 09:24:02 AM »

Yes, you can flip names, result is the same
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« Reply #7 on: June 25, 2009, 10:32:26 AM »

That's what I thought, btu it seems either it does not work, or more evantual, it is me.
Would you please check this xml please?

I am sure I miss something... :S

Code:
<settings name="spamages">
<set name="ts">^3Teamspeak voice chat: ^285.14.220.231:8767 ^3password ^2lucker^3</set>
<set name="join">^3Join ^4S^7N^4L^1! ^3by signing up on the forums at www.snl-clan.com</set>
<set name="forum">^3Visit our forums at www.snl-clan.com</set>
<set name="rtfm">^3RTFM! www.snl-clan.com</set>
<set name="stack">^7No clan stacking, members must split evenly between the teams, go spectator and wait if you have to</set>
<set name="racism">^3 No racism of any kind</set>
<set name="stack">^3 No clan stacking, members must split evenly between the teams</set>
<set name="arg">^3 No arguing with admins (listen and learn or leave)</set>
<set name="langad">^3 No abusive language or behavior towards admins or other players</set>
<set name="name">^3 No offensive or potentially offensive names, annoying names, or in-game (double caret (^)) color in names</set>
<set name="recruit">^3 No recruiting for your clan, your server, or anything else</set>
<set name="web">^3 No advertising or spamming of websites or servers</set>
<set name="lang">^3 No profanity or offensive language (in any language)</set>
<set name="eng">^3Chat in ^1ENGLISH ONLY</set>
<set name="obj">^3 Offense players must play for the objective and support their team</set>
<set name="piss">^3 Do not piss off ^4S^7N^4L^1! ^3admins</set>
</settings>
<settings name="warn_reasons">
<set name="generic">5d, ^7</set>
<set name="default">5d, ^7behave yourself</set>

<set name="racism">300d, /spam#racism</set>
<set name="stack">10d, /spam#stack</set>
<set name="arg">30d, /spam#arg</set>
<set name="langad">30d, /spam#langad</set>
<set name="name">10d, /spam#name</set>
<set name="recruit">60d, /spam#recruit</set>
<set name="web">30d, /spam#web</set>
<set name="lang">30d, /spam#lang</set>
<set name="eng">10d, /spam#eng</set>
<set name="obj">3d, /spam#obj</set>
<set name="piss">20d, /pam#piss</set>

<set name="stack">10d, /spam#stack</set>

<set name="lang">/lang</set>
<set name="language">/lang</set>
<set name="cuss">/lang</set>
<set name="profanity">/lang</set>

<set name="name">/name</set>
<set name="color">10m, ^7No in-game (double caret (^)) color in names</set>
<set name="badname">10m, ^7No offensive, potentially offensive, or annoying names</set>
<set name="spec">/spectator</set>


<set name="adv">/web</set>
<set name="racism">/racism</set>
<set name="stack">/stack</set>
<set name="recruit">/recruit</set>
<set name="argue">/arg</set>


<set name="afk">10m, ^7you appear to be away from your keyboard</set>
<set name="tk">60m, ^7stop team killing!</set>
<set name="obj">60m, ^7go for the objective!</set>
<set name="camp">60m, ^7stop camping or you will be kicked!</set>
<set name="fakecmd">5m, ^7do not use fake commands</set>
<set name="nocmd">5m, ^7do not use commands that you do not have access to, try using !help</set>
<set name="ci">5m, ^7connection interupted, reconnect</set>
<set name="spectator">1m, ^7spectator too long on full server</set>
<set name="spam">1m, ^7do not spam, shut-up!</set>
</settings>



*edited as wrong code entered...
Elric666
« Last Edit: June 25, 2009, 11:08:52 AM by Elric666 » 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 #8 on: June 26, 2009, 12:45:24 AM »

Looks okay. Did you restart the bot?
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2/4/BO
Posts: 21
Offline Offline
WWW
« Reply #9 on: June 26, 2009, 01:20:24 AM »

Yes, sure I did...

Elric666
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 #10 on: June 26, 2009, 04:22:44 AM »

Did you test !spam <spammages name> ?

And can you give me an example of the command you type ingame?
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal