Central Forums Code Wiki Characters Tools Helpbot
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]   Go Down
Print
Topic: Notify messages  (Read 563 times)
« on: January 26, 2010, 07:15:55 »
Noob

View Profile


Epeen: 0
Posts: 13


I have another question though, is it possible to add a note to a notify entry and have the bot add it to the announcement that this person is online?

Edit: Second question, I expected !axp to be able to tell me how many AI levels I could have at a certain level, but it won't, is there a command for that? (if not, consider this an idea for helpbot Wink)
« Last Edit: January 26, 2010, 10:33:32 by Rainlilly »
Logged
« Reply #1 on: January 26, 2010, 14:49:06 »
Novice

View Profile
****

Epeen: 3
Posts: 481


Rain: Are you talking about !logon? Where you can store some message and the bot announces it? Or are you talking about notes? Basically, you can place a few descriptions about that person when they log on.
----------------------------------------------------------
Sex is like hacking. You get in, you get out, and you hope you didn't leave something behind that can be traced back to you.
----------------------------------------------------------
Naturalistic - RK 1 220 Doctor

Campalot Coder and Superadmin
Logged
« Reply #2 on: January 26, 2010, 17:04:26 »
Noob

View Profile


Epeen: 0
Posts: 13


Yes, exactly like logon, but for other people, I tried !notify add <text> but that didn't do it.

And I dunno, can't find a notes command, is that how it works?

What I'd like is this:
26-01-10 08:55:34 [Lillybot] Lillybot: Lillytech (Level 53/0 Omni Nano-Technician) has logged on - <Message here>

To be able to set a message there for other people, I think this is the message that !logon sets.
Logged
« Reply #3 on: January 26, 2010, 17:42:25 »
Administrator
Novice

View Profile
*****

Epeen: 4
Posts: 326


!logon has to be set by the user who is on the notify list. Assuming its an org bot, this usually isn't a problem, but there is presently no facility for anyone (admin or not) to specify a logon message for anyone but themselves.

With a test version of the PrivateGroup plugin, there is a facility to add a logon message for guestlist members. A beta version of this will be posted in the coming weeks, when an overhaul of the PrivateGroup plugin is complete.

I wasn't aware of a !notes command .. Nat?

Re: !axp .. I think what you may be referring to, is a !alien-level type command. A bit like !level or !titlelevels perhaps. We'll look into this.
Logged
« Reply #4 on: January 31, 2010, 13:12:06 »
Noob

View Profile


Epeen: 0
Posts: 13


If I edit vhnotify.db3 to add the logon messages I want to set for other people (tested and working), do I have to reboot the bot? Is there another way to reload them?

Edit: Decided to just try it, simply editing and saving while the bot is running works, as soon as someone logs on it will have the new message \o/

Alternatively, is there a way to get the bot to invite everyone on guestlist into the channel? Or maybe even automagically when it logs on?

Also is there a command to see who, on the notify list, is currently online?

Also, what does the command Notify Sync do?

And finally: Thanks in advance for your great work! Smiley
« Last Edit: January 31, 2010, 14:01:10 by Rainlilly »
Logged
« Reply #5 on: January 31, 2010, 16:53:15 »
Administrator
Novice

View Profile
*****

Epeen: 4
Posts: 326


Alternatively, is there a way to get the bot to invite everyone on guestlist into the channel? Or maybe even automagically when it logs on?
There is an updated version of the PrivateGroup plugin due out shortly. It is currently still in testing/evaluation.

Also is there a command to see who, on the notify list, is currently online?

Also, what does the command Notify Sync do?

And finally: Thanks in advance for your great work! Smiley
1) The !online command lists everyone on the bot's notify list, who is online.

2) Notify sync checks to ensure all the Bot members are also in the Notify list.

Edited
« Last Edit: January 31, 2010, 17:10:07 by veremit »
Logged
« Reply #6 on: January 31, 2010, 17:04:27 »
Administrator
Grandmaster

View Profile
*****

Epeen: 23
Posts: 3075


Actually, sync only checks the actual notify list against the internal list.
What isn't remembered never happened.
Memory is merely a record.
You just need to rewrite that record.
Logged
« Reply #7 on: January 31, 2010, 17:17:52 »
Administrator
Novice

View Profile
*****

Epeen: 4
Posts: 326


So .. whats the purpose of that then? It matches the bot Buddys list to Friendlist.List("notify") .. oh yeah .. so it does!
Logged
« Reply #8 on: January 31, 2010, 23:29:09 »
Noob

View Profile


Epeen: 0
Posts: 13


!online =
Code:
Error Report
Error: The given key was not present in the dictionary.
Source: mscorlib
Target Site: Void ThrowKeyNotFoundException()
Stack Trace:
   at System.ThrowHelper.ThrowKeyNotFoundException()

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at VhaBot.Plugins.OnlineBase.BuildList(BotShell bot, String[] users, RichTextWindow& window, Int32& results, String profs)

   at VhaBot.Plugins.OnlineBase.OnOnlineCommand(BotShell bot, CommandArgs e)

   at VhaBot.Plugins.OnlineBase.OnCommand(BotShell bot, CommandArgs e)

   at VhaBot.PluginBase.FireOnCommand(BotShell bot, CommandArgs args)

Oh, and are you (or whoever is in charge of helpbot, does he frequent here?) aware that doing a whois to helpbot=
Code:
Error Report
Error: Value cannot be null.
Source: mscorlib
Target Site: Void Enter(System.Object)
Stack Trace:
   at System.Threading.Monitor.Enter(Object obj)

   at VhaBot.Plugins.HelpbotTags.GetTagText(String UserName, String dimName)

   at VhaBot.Plugins.HelpbotXmlServices.OnWhoisCommand(BotShell bot, CommandArgs e, Server dimension, Boolean showDimension)

   at VhaBot.Plugins.HelpbotXmlServices.OnCommand(BotShell bot, CommandArgs e)

   at VhaBot.PluginBase.FireOnCommand(BotShell bot, CommandArgs args)

(works fine on my bot though)
« Last Edit: January 31, 2010, 23:33:25 by Rainlilly »
Logged
« Reply #9 on: January 31, 2010, 23:46:06 »
Administrator
Novice

View Profile
*****

Epeen: 4
Posts: 326


For your !online issue .. try in the Config settings for Online plugin .. set "Display Sub-Headers" to Text not 'Icons'.

The problem arises because there is no Icon set in the plugin for the 'Unknown' profession type, so it fails to build the list correctly.
There is an updated version due out shortly, but for now this is the recommended fix.
Logged
« Reply #10 on: February 01, 2010, 00:23:37 »
Novice

View Profile
****

Epeen: 3
Posts: 481


Rain: What dimension do you get that error? Whois won't work properly on Testlive because of it lacking a XML character database.

Can you give me the names used so I can check and see what could be causing the error?

Cheers.
----------------------------------------------------------
Sex is like hacking. You get in, you get out, and you hope you didn't leave something behind that can be traced back to you.
----------------------------------------------------------
Naturalistic - RK 1 220 Doctor

Campalot Coder and Superadmin
Logged
« Reply #11 on: February 01, 2010, 02:08:57 »
Noob

View Profile


Epeen: 0
Posts: 13


Rimor.

Tried with Techlilly, Gigantius, and a few randoms from the street.

However, with asjhdfj it will properly say no character found.

And thanks for the online fix Smiley
Logged
« Reply #12 on: February 01, 2010, 04:39:28 »
Novice

View Profile
****

Epeen: 3
Posts: 481


Tried those names, and was not getting an error.

I'll scan through the logs as well. Any chance you have a timestamp? :p
----------------------------------------------------------
Sex is like hacking. You get in, you get out, and you hope you didn't leave something behind that can be traced back to you.
----------------------------------------------------------
Naturalistic - RK 1 220 Doctor

Campalot Coder and Superadmin
Logged
« Reply #13 on: February 01, 2010, 07:52:29 »
Noob

View Profile


Epeen: 0
Posts: 13


01.02.2010 07:46:10 (ish on the seconds part) GMT time (08:46 GMT+1, etc.)

Code:
To [helpbot]: whois rainlilly1
To [helpbot]: whois rainlilly
To [helpbot]: whois alexadolpvon
[Helpbot]: There has been an error while executing this command »» More Information
To [helpbot]: whois sauntone
[Helpnet1]: No such user: sauntone
[Helpbot]: There has been an error while executing this command »» More Information
[Helpbot]: There has been an error while executing this command »» More Information

and
Code:
Error Report
Error: Value cannot be null.
Source: mscorlib
Target Site: Void Enter(System.Object)
Stack Trace:
   at System.Threading.Monitor.Enter(Object obj)

   at VhaBot.Plugins.HelpbotTags.GetTagText(String UserName, String dimName)

   at VhaBot.Plugins.HelpbotXmlServices.OnWhoisCommand(BotShell bot, CommandArgs e, Server dimension, Boolean showDimension)

   at VhaBot.Plugins.HelpbotXmlServices.OnCommand(BotShell bot, CommandArgs e)

   at VhaBot.PluginBase.FireOnCommand(BotShell bot, CommandArgs args)
Logged
« Reply #14 on: February 05, 2010, 16:20:33 »
Noob

View Profile


Epeen: 0
Posts: 13


Whatever you did, it's working again Smiley
Logged
« Reply #15 on: February 05, 2010, 20:00:10 »
Novice

View Profile
****

Epeen: 3
Posts: 481


Oh, it looks around the time I was tweaking the tagging system.

May have been caused by a few minor bugs I found (which got fixed of course. Tongue)
----------------------------------------------------------
Sex is like hacking. You get in, you get out, and you hope you didn't leave something behind that can be traced back to you.
----------------------------------------------------------
Naturalistic - RK 1 220 Doctor

Campalot Coder and Superadmin
Logged
Pages: [1]   Go Up
Print
Jump to: