L* R*
HOME FORUM DOWNLOADS
Content
  Links
     Browse SVN
     SVN Commit log
     Documentation (Wiki)
  Developers
     Taskmanager
User
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 04:43:25 PM

Login with username, password and session length
Search



Advanced search
Support GoPHP5.org
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: OnlineDB.php and Is.php
Pages: [1]   Go Down
« previous next »
Print
Author Topic: OnlineDB.php and Is.php  (Read 627 times)
0 Members and 1 Guest are viewing this topic.
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
OnlineDB.php and Is.php
« on: August 15, 2007, 11:02:13 AM »

Modified core/OnlineDB.php and modules/Is.php

Removed Disconnect stuff from onlinedb as this conflicts with reinvite
only use for disconnect is if another bot2 uses online list from bot1 the list may not be accurate

Added Reinvite so when bot starts it checks the online list for who was in pgroup , clears online list then invites those that are online still

Added Alt checking to !is
the seen part of !is Requires this OnlineDB.php

Example output is !is
Alt1 is offline, Alt2 is online
Alt1 is offline, last seen at October 2nd, 2007 15:36 on Alt2

« Last Edit: December 05, 2007, 11:43:30 PM by Temar » Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: OnlineDB.php and Is.php
« Reply #1 on: October 02, 2007, 01:13:11 PM »

Updated !is to check Alts, but the updated OnlineDB is required for last seen message
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Neshire
Freshman
*
Offline Offline

Posts: 2


Re: OnlineDB.php and Is.php
« Reply #2 on: October 03, 2007, 03:57:25 PM »

gettin this : Fatal error: Call to undefined method Bot::get_uid() in D:\<mybotname\>\modules\Is.php on line 144
Sad any ideas ?
Logged
Alreadythere
BeBot Maintainer
Administrator
Grandmaster
********
Offline Offline

Posts: 1085


Re: OnlineDB.php and Is.php
« Reply #3 on: October 03, 2007, 04:03:54 PM »

Those commands are based on the trunk version.
Logged
Neshire
Freshman
*
Offline Offline

Posts: 2


Re: OnlineDB.php and Is.php
« Reply #4 on: October 03, 2007, 04:13:12 PM »

my bad, sorry. didnt realized what category i am in.
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: OnlineDB.php and Is.php
« Reply #5 on: December 04, 2007, 07:42:29 PM »

Updated Files to Latest SVN
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: OnlineDB.php and Is.php
« Reply #6 on: December 05, 2007, 01:28:01 AM »

i just completely updated my orgs bot (didnt re-do SQL) and when i try the !is command, it only give the character i did the !is on.  Example, i have alts

!is Metaphblade
Metaphblade is offline, last seen at December 5th, 2007 04:47

i am logged on another toon, that is in my alt list, but didnt show in the !is.  Did i do something wrong/need to edit some setting?
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: OnlineDB.php and Is.php
« Reply #7 on: December 05, 2007, 01:36:59 AM »

There is a Setting but its on by Default
!set is
make sure the bot knows it ur alt too by doing !alts

i just tested to make sure too

[Leet] Chris05: !is chris96
[Leet] Leetboss: Chris96 is offline, Chris05 is online
« Last Edit: December 05, 2007, 01:39:16 AM by Temar » Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: OnlineDB.php and Is.php
« Reply #8 on: December 05, 2007, 01:38:45 AM »

yup, settings are on....and i have done an !alts.  still same thing  Sad  Guess ill try restarting the bot next


edit....restarting didnt help either.
« Last Edit: December 05, 2007, 01:40:23 AM by Metaphblade » Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: OnlineDB.php and Is.php
« Reply #9 on: December 05, 2007, 01:52:57 AM »

well the code looks fine, it works fine for me

i do plan on reviewing the code and making improvement tomorrow anyway so hopefully it will work then
Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Metaphblade
Rookie
**
Offline Offline

Posts: 49


Re: OnlineDB.php and Is.php
« Reply #10 on: December 05, 2007, 01:58:10 AM »

ok, ill just wait till then  Smiley
Logged
Temar
BeBot Developer
Grandmaster
********
Online Online

Gender: Male
Posts: 877



WWW
Re: OnlineDB.php and Is.php
« Reply #11 on: December 05, 2007, 10:52:57 PM »

done, i have changed the working of it alot so hopefully ur bug is gone

EDIT:Fixed a few Bugs
including what i think ur bug was.
were if your main wasnt on buddy list and wasnt the name u used for !is
the bug would use the name u used for !is and not ur main.
« Last Edit: December 05, 2007, 11:45:14 PM by Temar » Logged

MSN messenger: chris_smith96 at hotmain dot com
Xfire: chriss96
Pages: [1]   Go Up
Print
BeBot - An Anarchy Online/Age Of Conan chat automaton > Forum > Modules > 0.5.x Custom/Unofficial Modules > Topic: OnlineDB.php and Is.php
« previous next »
 
Jump to:  

Recent
Log playtime from buddys ...
by IKShadow
[Today at 06:48:12 AM]

[request] Raid timers
by Elesar1
[December 01, 2008, 04:41:09 PM]

Shared DB online list
by Temar
[December 01, 2008, 01:55:47 AM]

relay colors
by Temar
[December 01, 2008, 01:54:56 AM]

BeBot v0.6.0 released
by Alreadythere
[November 30, 2008, 05:32:00 PM]

Change to Bid.php
by Temar
[November 30, 2008, 11:41:44 AM]

OnlineOrg
by Jiheld
[November 29, 2008, 12:44:27 PM]

Silly Newbie Question.
by Temar
[November 29, 2008, 12:00:02 PM]

massive_pvp_time_table 1
by gerborg
[November 29, 2008, 06:55:35 AM]

Bot not see Guild Chat
by Delvar
[November 28, 2008, 08:30:34 AM]
Stats
Members
Total Members: 1244
Latest: Armonkens
Stats
Total Posts: 11145
Total Topics: 1505
Online Today: 25
Online Ever: 168
(July 01, 2007, 09:30:02 PM)
Users Online
Users: 6
Guests: 14
Total: 20
Glarawyn
xlDanek
clashbot
gerborg
Temar

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc | NewDef design by Bloc
Page created in 0.451 seconds with 28 queries. (Pretty URLs adds 0.03s, 4q)
Loading...