collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18365
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: Autoinvite not working?  (Read 10287 times)

0 Members and 1 Guest are viewing this topic.

Offline laryllan

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Autoinvite not working?
« 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?
« Last Edit: August 02, 2009, 08:03:07 pm by laryllan »

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Autoinvite not working?
« Reply #1 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.
« Last Edit: August 02, 2009, 10:05:52 pm by Khalem »
BeBot Founder and Fixer Kingpin

Offline laryllan

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #2 on: August 11, 2009, 04:41:46 pm »
Sounds like a decent explanation. Thank you. :)

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #3 on: March 01, 2010, 09:18:16 am »
is there a way to "auto add guests to Notifylist" ?

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #4 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

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #5 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.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: Autoinvite not working?
« Reply #6 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?
BeBot Founder and Fixer Kingpin

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #7 on: March 11, 2010, 12:00:18 am »
Added to bugs.

Offline lulifuz

  • BeBot User
  • **
  • Posts: 40
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #8 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.

Offline lulifuz

  • BeBot User
  • **
  • Posts: 40
  • Karma: +0/-0
Re: Autoinvite not working?
« Reply #9 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

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm ]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am ]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm ]

* Who's Online
  • Dot Guests: 160
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal