Nagware Plugin

Place for people to discuss public servers, and also for admins to lay out the details of their servers
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

ok i am getting

Code: Select all

bad argument "."C:\BZFLAG\PLUGINS\NAGWARE\config.conf""
and yet in my conf ive got:

Code: Select all

-loadplugin "C:\BZFLAG\PLUGINS\NAGWARE\nagware.dll"."C:\BZFLAG\PLUGINS\NAGWARE\config.conf"
and ive tryed a load of combitations of the quotes and none work why?
Image
Sig Made By AlliedArmour

TGPH
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

no.
You download the dll and copy it into C:\windows\system32 (Windows XP/NT).

Then, you put the nagware plugin into a known folder and add to your shortcut / configfile

Code: Select all

-loadplugin "C:\bzflagstuff\plugins\nagware.dll, C:\bzflagstuff\plugins\nagware.cfg"
Thereby, it's important, that you created the nagware config file. (Where some errors are, too)
Then, you run your server.

The 2 dll files have to be copied into your C:\windows\system32 folder.
That's all.
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

The Knights Who Say Ni:

You have to use:


- loadplugin "C:\bzflagstuff\plugins\nagware.dll, C:\bzflagstuff\plugins\nagware.cfg"

So the " only on start and on end, not between config and plugin file.
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

So I put all my server settings in nagware.cfg to get it to work right?
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

no.
nagware.cfg should contain this:

Code: Select all

# Sample configuration file for the nagware plugin. 
# 

# permission tag to use to grant "/nag" command permissions 
# defaults to "NAG" if not specified. 
permname = say 

# Apply logic to observers ?  (yes/no) 
# default is no 
kickobs = yes 

# minplayers: There must be this many players before anybody is 
#    kicked, but the warnings will still happen. 
# default is 1 
minplayers  = 2 

# messagesuffix: Message to be added to the end of all other defined messages. 
messagesuffix = \nRegister at http://my.bzflag.org/bb/ and use your login in the bzflag connect screen. 

# Message: Messages to be sent to players at specified times. 
#   Format is:  TIME,[REPEAT] MESSAGE 
#       *) Time and repeat are in minutes, whole numbers only (0 is allowed) 
#       *) If repeat is specified, the message will be repeated every [REPEAT] minutes until the next 
#          message is applied (if any), or the player is kicked. 
message = 1 This server requires global registration. 
message = 2 Dieser Server erfordert globale Registrierung.\nCe serveur exige l'enregistrement global\nEste camarero requiere matrícula global 
message = 3,1 You will be kicked from this server shortly, please register and come back! 
message = 6,2 You are now marked to be kicked randomly. 

# Same format as above, except 'repeat' is not used. 
# If not defined, no players will be kicked. 
kickmessage = 7 You have been kicked because you are not registered.
The server settings should stay in a config file or shortcut parameters.


But i get errors with using this file :
...
2006-01-21 18:16:13: +++ Error opening nagware config file ( M:\bzflagstuff\plugins\nagware.conf)
2006-01-21 18:16:13: +++ nagware plugin config file error, plugin NOT loaded
2006-01-21 18:16:13: Plugin:M:\bzflagstuff\plugins\nagware.dll loaded
...
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

This applications has failed to start because MSVCR71D.dll was not found. Re-installing the application may fix this problem.

I have it in the system folder and in by bzflag directory...what's wrong?
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

which one ?
MSVCR71D.dll or MSVCP71D.dll
They are both needed.
Download links are on the first page.
User avatar
The Knights Who Say Ni
Private First Class
Private First Class
Posts: 556
Joined: Mon Sep 26, 2005 7:21 pm
Location: Uplyme, England
Contact:

Post by The Knights Who Say Ni »

JPT wrote:no.
nagware.cfg should contain this:

Code: Select all

# Sample configuration file for the nagware plugin. 
# 

# permission tag to use to grant "/nag" command permissions 
# defaults to "NAG" if not specified. 
permname = say 

# Apply logic to observers ?  (yes/no) 
# default is no 
kickobs = yes 

# minplayers: There must be this many players before anybody is 
#    kicked, but the warnings will still happen. 
# default is 1 
minplayers  = 2 

# messagesuffix: Message to be added to the end of all other defined messages. 
messagesuffix = \nRegister at http://my.bzflag.org/bb/ and use your login in the bzflag connect screen. 

# Message: Messages to be sent to players at specified times. 
#   Format is:  TIME,[REPEAT] MESSAGE 
#       *) Time and repeat are in minutes, whole numbers only (0 is allowed) 
#       *) If repeat is specified, the message will be repeated every [REPEAT] minutes until the next 
#          message is applied (if any), or the player is kicked. 
message = 1 This server requires global registration. 
message = 2 Dieser Server erfordert globale Registrierung.\nCe serveur exige l'enregistrement global\nEste camarero requiere matrícula global 
message = 3,1 You will be kicked from this server shortly, please register and come back! 
message = 6,2 You are now marked to be kicked randomly. 

# Same format as above, except 'repeat' is not used. 
# If not defined, no players will be kicked. 
kickmessage = 7 You have been kicked because you are not registered.
The server settings should stay in a config file or shortcut parameters.


But i get errors with using this file :
...
2006-01-21 18:16:13: +++ Error opening nagware config file ( M:\bzflagstuff\plugins\nagware.conf)
2006-01-21 18:16:13: +++ nagware plugin config file error, plugin NOT loaded
2006-01-21 18:16:13: Plugin:M:\bzflagstuff\plugins\nagware.dll loaded
...
i have this problem and i am using the default config does it have to be .cfg or can it be .conf if i chage the path

and who evver said they had to be in my system32 folder well when i had my error i put those DLLs into my bzflag folder and the error went away so im assuming that it is now solved if there are no errors...
Last edited by The Knights Who Say Ni on Sat Jan 21, 2006 6:37 pm, edited 1 time in total.
Image
Sig Made By AlliedArmour

TGPH
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

Sweet! no more errors! Only problem is I can't seem to get my server on the list. I have a port open, I have all the settings right and stuff...weird.

One time I had to delete one of those .dll files to get a server to work. I'm on Windows XP...why does my server not show up or let me spawn?
User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

Post by SilverFox »

ducati,

You have a backslash in front of the config file that doesn't need to be there
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

Ok, my server works fine when I remove

Code: Select all

#Public description for the server
-public "DW's BZFlag Server - Now Playing Rabbit Koth - Come Join Us :-)"

#Public network address for the server
-publicaddr 0dwserver.servegame.com:5154
But it doesn't show up on the list (duh, public isn't in there).

When I have them in there I can connect to my server...but I don't see flags...and I can't spawn. I don't login or anything. I just see the radar and it sits there blinking "Click Right Mouse or press I to enter"
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

I'm using 2.0.5b4 on WindowsXP
User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

Post by SilverFox »

Ducati, you're offtopic.

Knights, your problem is that you're using a period to seperate the plugin file and config file, where you need to use a comma.

Code: Select all

-loadplugin "C:\BZFLAG\PLUGINS\NAGWARE\nagware.dll,C:\BZFLAG\PLUGINS\NAGWARE\config.conf"
Last edited by SilverFox on Sun Jan 22, 2006 12:00 am, edited 1 time in total.
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

SilverFox:

And what's about my Error i posted almost 3 times ?
...
2006-01-21 18:16:13: +++ Error opening nagware config file ( M:\bzflagstuff\plugins\nagware.conf)
2006-01-21 18:16:13: +++ nagware plugin config file error, plugin NOT loaded
2006-01-21 18:16:13: Plugin:M:\bzflagstuff\plugins\nagware.dll loaded
...
The path is completely correct.
But this error let me think about a small mistake in the nag-config...
Please post exactly the nag-config file you use.
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

JPT
Your drive is named "M"? :shock:

Windows defualt is C...
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

Not on my Computer... it's D:\
I copied this stuff on my USB stick. I've got 1 FDD, 5 HDD, 4 CD-Devices and one USB Stick.

But this isn't the topic.

Can you help me with that error or not ?

EDIT: oh, sorry. 5 CD-devices...


...back to topic:
Look at my post...
Last edited by JPT on Sat Jan 21, 2006 8:47 pm, edited 2 times in total.
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

JPT wrote:Not on my Computer... it's D:\
I copied this stuff on my USB stick. I've got 1 FDD, 5 HDD, 4 CD-Devices and one USB Stick.

But this isn't the topic.

Can you help me with that error or not ?

EDIT: oh, sorry. 5 CD-devices...
Well, I was asking because maybe I thought it could of been the wrong drive. (simple mistake)

EDIT: Maybe if you try the defualt configuration?

Code: Select all

# Sample configuration file for the nagware plugin.
#

# permission tag to use to grant "/nag" command permissions
# defaults to "NAG" if not specified.
permname = say

# Apply logic to observers ?  (yes/no)
# default is no
kickobs = yes

# minplayers: There must be this many players before anybody is
#    kicked, but the warnings will still happen.
# default is 1
minplayers  = 2

# messagesuffix: Message to be added to the end of all other defined messages.
messagesuffix = \nRegister at http://my.bzflag.org/bb/ and use your login in the bzflag connect screen.

# Message: Messages to be sent to players at specified times.
#   Format is:  TIME,[REPEAT] MESSAGE
#       *) Time and repeat are in minutes, whole numbers only (0 is allowed)
#       *) If repeat is specified, the message will be repeated every [REPEAT] minutes until the next
#          message is applied (if any), or the player is kicked.
message = 1 This server requires global registration.
message = 2 Dieser Server erfordert globale Registrierung.\nCe serveur exige l'enregistrement global\nEste camarero requiere matrícula global
message = 3,1 You will be kicked from this server shortly, please register and come back!
message = 6,2 You are now marked to be kicked randomly.

# Same format as above, except 'repeat' is not used.
# If not defined, no players will be kicked.
kickmessage = 7 You have been kicked because you are not registered.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

That is, what i want to make sure: Is this sample config file 100% correct ?

It is the only possibility, because i checked every path more than twice.


I'll try it again. But i think about a small mistake in this config file!

EDIT:

Okay, i found the mistake.
The BZFS Version 2.0.5b5 can only use this:

Code: Select all

-loadplugin "M:\bzflagstuff\plugins\nagware.dll,M:\bzflagstuff\plugins\nagware.cfg"
The " " was a bad argument...
User avatar
ducatiwannabe
Private First Class
Private First Class
Posts: 3258
Joined: Tue Aug 10, 2004 3:55 pm
Location: Planet Earth
Contact:

Post by ducatiwannabe »

Sorry for getting off topic. Glad you got it working, JPT.
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

I'm glad that it works now, too.
But in the configfile is an option:

Code: Select all

# Apply logic to observers ?  (yes/no) 
# default is no 
kickobs = no
But my BZAdmin still gets kicked...
BTW, How do i start a log with BZAdmin with a registered Callsign?

Usual is this:

Code: Select all

bzadmin Logger@192.168.0.101:5154 "/password serverpass" > M:\bzflagstuff\adminlog\Log1.txt
But if i want BZAdmin to use a Callsign pass, where do i fill it in ?

OK, i found out:

Code: Select all

bzadmin Logger:pass@192.168.0.101:5154 "/password serverpass" > M:\bzflagstuff\adminlog\Log1.txt
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

JPT
BZAdmin logging off is a Windows problem. It shouldn't be the plugin as long as you have that set.

BTW, you globally registered "Logger"? :shock: (shucks, I was planning on doing that)
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
L4m3r
Hater of Everything
Hater of Everything
Posts: 724
Joined: Tue Feb 08, 2005 5:15 am
Location: Los Angeles

Post by L4m3r »

A Meteorite wrote:BTW, you globally registered "Logger"? :shock: (shucks, I was planning on doing that)
Crap, I use that too.
Optimism is just a milder alternative to denial.
JPT
Private First Class
Private First Class
Posts: 260
Joined: Tue Nov 29, 2005 1:21 pm
Location: Germany

Post by JPT »

No, i registered "JPTLOG"
The plugin always kicked him...
I had to do it.
User avatar
SilverFox
Private First Class
Private First Class
Posts: 163
Joined: Wed Oct 06, 2004 6:51 pm
Contact:

Participation?

Post by SilverFox »

Is there any servers actively using this besides SilverCat using this?
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

Yes, we are actively using this at bzflag.norang.ca and louman.bzflag.bz. At bzflag.norang.ca we are actively kicking people, at louman.bzflag,bz we are not using the kick functionality yet (we may or may not turn it on at somepoint). We really like it ... so far. We have even temporarily changed our register to talk policy on norang.ca as a test because of this. We think it may do a better job of getting people to register.
Post Reply