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: modified alts  (Read 33861 times)

0 Members and 1 Guest are viewing this topic.

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: modified alts
« Reply #75 on: April 02, 2007, 09:07:57 pm »
Try remove the guest (!guest del) and readd, worked in my case :-)

-jj-

Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: modified alts
« Reply #76 on: April 02, 2007, 10:29:01 pm »
Code: [Select]
[2007-04-02 20:22:15]   [TELL]  [INC]   Spamheal: !guest del B
[2007-04-02 20:22:15]   [BUDDY] [DEL]   B
[2007-04-02 20:22:15]   [TELL]  [OUT]   -> Spamheal: B has been removed from guestlist.
[2007-04-02 20:22:32]   [TELL]  [INC]   Spamheal: !guest B
[2007-04-02 20:22:32]   [BUDDY] [ADD]   B
[2007-04-02 20:22:32]   [TELL]  [OUT]   -> Spamheal: B has been added to guestlist.
[2007-04-02 20:22:32]   [BUDDY] [LOG]   B logged [on] (guest)
[2007-04-02 20:22:39]   [TELL]  [INC]   Spamheal: !alts A
[2007-04-02 20:22:40]   [TELL]  [OUT]   -> Spamheal: Alts :: [link]View A's Alts[/link]
Alt list shows the toon as offline. It is the only alt on guestlist, and the only alt that shows as offline - the others do not have a status. (since they are not on guestlist)
Code: [Select]
[2007-04-02 20:22:53]   [TELL]  [INC]   Spamheal: !is A
[2007-04-02 20:22:53]   [TELL]  [OUT]   -> Spamheal: A and his/her alts are offline
[2007-04-02 20:27:47]   [TELL]  [INC]   Spamheal: !is B
[2007-04-02 20:27:47]   [BUDDY] [ERROR] B logged on despite of already being marked as logged on!!
[2007-04-02 20:28:04]   [TELL]  [INC]   Spamheal: !is B
[2007-04-02 20:28:04]   [TELL]  [OUT]   -> Spamheal: B is online

I am kinda clueless atm... and the bot really seems to have a bad day. It set my character ID to 0 today, which resulted in the bot crashing each time I logged on. Mebbe the whole machine just needs a hard kick in the butt.
« Last Edit: April 02, 2007, 10:33:38 pm by pusikas »
Luuv  Bot-Keeper of Vengeance ^^*

Offline jjones666

  • Contributor
  • *******
  • Posts: 353
  • Karma: +0/-0
Re: modified alts
« Reply #77 on: April 02, 2007, 10:47:45 pm »
It definately shows the main as OFFLINE?

   if ($this -> bot -> aoc -> buddy_exists($main))
   {
      if ($this -> bot -> aoc -> buddy_online($main))
         $result .= "Online Status: <font color=#33FF33>Online</font>\n";
      else
         $result .= "Online Status: <font color=#ff0000>Offline</font>\n";
   }

See if the buddy isn't found, the code shouldn't show anything.  Its just bizarre that its finding the buddy but showing it offline when it is actually online :-)

Same for the alts list, it checks if the alt is on memberlist then guestlist and then shows on/offline status only if so.

We did have some weird issues on Zodsnet where Maical sent the bot into infinite loop due to the buddy list (even in game one) just constantly logging on and off ;-p

-jj-

Offline pusikas

  • BeBot Apprentice
  • ***
  • Posts: 161
  • Karma: +0/-0
Re: modified alts
« Reply #78 on: April 03, 2007, 12:16:39 pm »
The main (in org) was offline, and correctly showed that way. The alt (out of org) was online and on guestlist, but both, your !alts command and Malosar's !is command had serious trouble with that alt. Two days ago, it all worked for me, and I only had this slight glitch that a main that was not in org did not correctly show as online. But his status did not show at all - guess that was just a problem with him not being on buddylist. Easy to fix, just removed and added him to guestlist. Now, since yesterday, I am having the strangest of problems with everyone that is on buddylist but not in org - guests namely. And from what I can tell, your code looks good. I never really understood the code in the !is modules, since to me it always looked like a buddy was added, but never removed. But your !alts code looks good to me.

I may be completely wrong, but I think the buddy commands are not working correctly for me. So this is not a real problem with your module anymore, but the base commands, and I am actually posting in the wrong thread. Will try to somehow pinpoint it.
Luuv  Bot-Keeper of Vengeance ^^*

 

* 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: 105
  • 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