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
-
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?
-
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.
-
Sounds like a decent explanation. Thank you. :)
-
is there a way to "auto add guests to Notifylist" ?
-
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
-
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.
-
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?
-
Added to bugs.
-
Is this fixed already?
I think I got that issue also.
Autoinvite for new members is not tuned on althoug I chose this setting.
-
Hi,
I tried to fix this by adding
// 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