BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: laryllan on August 02, 2009, 07:29:34 pm

Title: Autoinvite not working?
Post by: laryllan on August 02, 2009, 07:29:34 pm
I recently updated to 0.6.4.
Autoinvite still doesn't work - or do I miss something?

I have to add the players to the notify list if I want autoinvite to work.
Is this working as intended or a bug?
Title: Autoinvite not working?
Post by: Khalem on August 02, 2009, 08:40:43 pm
This is intended.

In order for the bot to be able to invite someone, it has to know when they log on, which it can only do if they are on the notifylist. This has nothing to do with the OP however which deals with the bot no longer automatically adding someone as a member of the bot.

Splitting out to its own topic.
Title: Re: Autoinvite not working?
Post by: laryllan on August 11, 2009, 04:41:46 pm
Sounds like a decent explanation. Thank you. :)
Title: Re: Autoinvite not working?
Post by: Zweiblum on March 01, 2010, 09:18:16 am
is there a way to "auto add guests to Notifylist" ?
Title: Re: Autoinvite not working?
Post by: Shelly on March 03, 2010, 03:35:39 am
If you change the default autoinvite in the database to "Yes" when you add a new guest it will autoinvite them. You can also tell the guest to do a "/tell <yourbot> !autoinvite on" if what I said above is greek.  :P
Title: Re: Autoinvite not working?
Post by: Snarfblatt on March 04, 2010, 01:34:24 am
I could be wrong, but it looks like automatically putting a new member on AutoInvite no longer works. When I add a member, they have to then go in and do an '!autoinvite on'. The setting for autoinv is ignored. I looked in User.php and saw where users were added, and it appears the setting for autoinv is never check nor is the user ever put on autoinvite.

In __construct, you can see the settings for AutoInvite being updated, but in the "Add" function, they are never checked or used.
Title: Re: Autoinvite not working?
Post by: Khalem on March 04, 2010, 08:25:33 pm
That definately sounds like a bug offhand.

Think you could open up a bug report on it so it won't be lost in space?
Title: Re: Autoinvite not working?
Post by: Snarfblatt on March 11, 2010, 12:00:18 am
Added to bugs.
Title: Re: Autoinvite not working?
Post by: lulifuz on July 19, 2010, 10:40:38 pm
Is this fixed already?
I think I got that issue also.
Autoinvite for new members is not tuned on althoug I chose this setting.
Title: Re: Autoinvite not working?
Post by: lulifuz on September 02, 2010, 02:18:51 pm
Hi,

I tried to fix this by adding
Code: [Select]
// Set Autoinvit to on in the prefs if Autoinvite is on
if ($this -> bot -> core("settings") -> get("Autoinv", "Activated"))
{
// check which user_level to autoinvite
if ($user_level > $this -> bot -> core("settings") -> get("Members", "AutoInviteGroup"))
{
$this->bot->core('prefs')->change($name, 'AutoInv', 'recieve_auto_invite', 'On');
}
}

into Users.php

But it does not have an effect.
Problem seems to be the first IF where I try to find out if Autoinvite is activated at all.

Any ideas?

Regards,

 lulifuz
SimplePortal 2.3.7 © 2008-2024, SimplePortal