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

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

Author Topic: AOC>TV: AAMon module for keeping track of AA skill training  (Read 38424 times)

0 Members and 4 Guests are viewing this topic.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #30 on: June 14, 2011, 03:02:57 pm »
Since the hostname has changed, everyone has to update the API-url to get the AAMon module working again by running:

Code: [Select]
!set aamon apiurl http://aoc.is-better-than.tv/api.php
Or you can update the setting directly in your mysql database if you prefer that:

Code: [Select]
update <botname>_settings set value = 'http://aoc.is-better-than.tv/api.php' where module ='AAMon' and setting = 'apiurl';
Replace <botname> with your bot's name.

After you've updated the settings, please restart the bot.

Sorry for the inconvenience :(
« Last Edit: June 14, 2011, 03:15:24 pm by Kentarii »

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #31 on: June 15, 2011, 11:29:47 am »
For those who are particularly interested, it seems like Bebot's curl implementation does not follow redirects, so you end up with this page instead of the expected xml result:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://aoc.is-better-than.tv/api.php?op=aamon/bot/init&amp;dimension=<dimension>&amp;botname=<botname>&amp;botkey=<botkey>&amp;agent=AAMon+module+for+Bebot&amp;version=0.0.9">here</a>.</p>
</body></html>

By adding the following two lines to function get_site_curl in the file main/14_Tools.php
Code: [Select]
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_MAXREDIRS, 3);
You will tell curl to follow 3 redirects. But it's just easier to update the apiurl I guess than change the source code for Bebot ;)
« Last Edit: June 15, 2011, 11:34:15 am by Kentarii »

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #32 on: June 15, 2011, 11:52:59 am »
Added a rule to the the apache mod_rewrite to not redirect requests to api.php, so I guess things will work without any user intervention now.
But I would still like people to update their apiurl whenever possible.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #33 on: June 15, 2011, 01:40:47 pm »
New version of AAMon is now out which will update apiurl automatically for you.

Download at: http://aoc.is-better-than.tv/aamon.php#download

Offline tank

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #34 on: August 02, 2011, 07:09:00 pm »
Hello, I am having issues with AAmon following some name changes on my toons. I run a bot for myself and recently changed the names of 3 characters. When I try to update their AAmon timers, I get positive feedback that the update was successful, but when I do a show or showall the response hasn't updated since mid-June. So the tool isn't working for me basically. Any ideas on how to fix this? I have the latest update of the module, I have uninstalled and reinstalled numerous times, with no success. I have also removed and added the toons from the bot manu times as well.  It seems to me to be an issue with the central database, but that's just speculation. Thanks for the help!

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #35 on: August 02, 2011, 07:25:53 pm »
Can't really help you without the following info (you can send in pm if you want):
-----------
Botname:
Server:
Name of characters before:
Name of characters after:
-----------
When you rename characters, Funcom keeps the old char_id, so that messes up Bebot and the Bebot modules which uses character names and character ids to identify the character.

Offline tank

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #36 on: August 02, 2011, 08:00:28 pm »
I had a suspicion that you would need that. I will PM this info later when I get home. thanks for helping!

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
AAMon for Windows Phone
« Reply #37 on: August 12, 2011, 04:41:39 pm »
A guildmate of mine has created an AAMon client for the Windows Phone platform. Go to the download section and follow the link for more info.

Offline Kepha

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #38 on: August 16, 2011, 08:14:04 pm »
Is anyone with problems on !AAMon or, as usual, its just me fighting agaisn't modules?

I had to reinstall the bot fresh few days ago and I did just now aswell. Before those two, he was running AAMon well but now he doesn't answer either on Guild chat or in private to the !aamon.
From what I caught during the loading he process the module.

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #39 on: August 16, 2011, 08:54:58 pm »
Send me a PM with the name and dimension of the bot, and I'll hook you up again with the correct botkey.

When reinstalling a bot, I thought it was common sense to take a backup of your database where your settings are stored, but what do I know? :P
« Last Edit: August 16, 2011, 09:08:32 pm by Kentarii »

Offline Kepha

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #40 on: August 16, 2011, 10:52:10 pm »
I refuse to use common sense often  ??? the AA time was ending and I wanted a clean install for possible DB errors  :)

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
E-mail notification in v0.0.12
« Reply #41 on: September 29, 2011, 11:32:07 am »
New version of AAMon module for bebot is out with support for e-mail notifications when a skill training finishes for a character. Please upgrade to version 0.0.12 or higher to get this functionality.

Offline GaRoN

  • BeBot User
  • **
  • Posts: 31
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #42 on: October 21, 2011, 11:01:27 pm »
Hmm since last week AAmon for windows isn't working anymore ...

Reinstall net framework changes nothing..

Perhaps somebody can help me ??

Offline Kentarii

  • BeBot Apprentice
  • ***
  • Posts: 153
  • Karma: +0/-0
    • AoC>TV
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #43 on: October 22, 2011, 02:24:43 am »
What's the name of your character and what skill are you training?

I'll try to look up the XML and see what's wrong with the formatting.

-K

Hmm since last week AAmon for windows isn't working anymore ...

Reinstall net framework changes nothing..

Perhaps somebody can help me ??

Offline Sheeth

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: AOC>TV: AAMon module for keeping track of AA skill training
« Reply #44 on: November 21, 2011, 08:34:53 pm »
Nice module,

I have a feature request. Can you make the email functions all work off the Main character email? or a toggle for this feature.

Its a bit of a pain to register the same email address for 12 characters.


Also it would be cool if it could work in local mode, storing data in the my sql database instead of a web server.

 

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


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 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: 511
  • 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