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 YG player profile module  (Read 35630 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkGord

  • BeBot Rookie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #15 on: July 29, 2009, 06:55:54 pm »
Hi, was under the impression that using this
Code: [Select]
   $password = '';
would make me not need a password, however it is saying profile not found when looking for profiles that i know do exist.
So i assume i do need to get the password afterall ?(Using the modified code by Getrix btw)

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AoC YG player profile module
« Reply #16 on: July 29, 2009, 07:43:53 pm »
First of all you need a password for accessing Yg's xml data. You can get this by mailing them.
Once you have a password, insert it on line 76 in the module.

It quite clearly states that you do need a password...
BeBot Founder and Fixer Kingpin

Offline keirou

  • BeBot Apprentice
  • ***
  • Posts: 90
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #17 on: July 29, 2009, 07:47:35 pm »
You should be able to bypass the password issue entirely by using:
Code: [Select]
   $password = '';

This means php won't try to parse anything between the quotes.

you might want to delete this post then Khalem ;) giving people false hope

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: AoC YG player profile module
« Reply #18 on: July 29, 2009, 09:00:36 pm »
Apologies. It was not my intention to give the impression that you could use it without a password. I have clarified my post.

Using '' instead of "" was to bypass the issue with having $ in your password, and my post was aimed at the OP.
BeBot Founder and Fixer Kingpin

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #19 on: September 02, 2009, 02:00:18 pm »
As the ygadmin's have added "last_updated" to xml and its verry usefull to check whatever the data returned is up2date ingame its good to add to script.

Place this code in line 112 or other places you want it to be showed...

Code: [Select]
$blobname .= "##seagreen##Last updated##end## :: ##seablue##".$xmlobj->aocygplayerprofile->last_updated."##end##\n";

http://forums.yg.com/showthread.php?t=605
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline altera

  • BeBot Rookie
  • *
  • Posts: 11
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #20 on: September 09, 2009, 04:24:21 pm »
Anyone able to get the YG PW.  I have sent a couple of emails requesting the password, but no luck. They say they are still allowing access to this.

ANy hewlp would be appreciated, I would love to get this module working

Offline Poonjab

  • BeBot User
  • **
  • Posts: 59
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #21 on: September 09, 2009, 05:18:43 pm »
Anyone able to get the YG PW.  I have sent a couple of emails requesting the password, but no luck. They say they are still allowing access to this.

ANy hewlp would be appreciated, I would love to get this module working

They hooked me up no problem.  I think I was up and running by the next day.  It could be he is on vacation or otherwise unable to handle your request right at the moment and will get back to you when he can, but it went real smooth for me.

Offline WeZoN

  • Global Moderator
  • *****
  • Posts: 92
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #22 on: September 12, 2009, 06:38:15 pm »
same here ^^

i sent him a mail and got the password within 2 hours :P

Offline Noevo

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #23 on: September 23, 2009, 09:39:07 pm »
!yg is displaying correct default servername but still have to add set to any profile search or it returns no player on server.  Feel like i'm missing something simple...any ideas?

Offline Sudoka

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #24 on: September 24, 2009, 12:12:56 am »
Not sure what the problem is atm, but how about you hard-code the $servername in the last line like this:

/* Password to access YG xml data */
       $password = '';
        if ($servername == "")
            $servername = "Set";

Maybe that helps, if not, it may be a YG issue...  Let me know if this helps...

Offline Noevo

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #25 on: September 24, 2009, 04:59:15 am »
Thanks Sudoka, worked like a charm and can still search other servers.

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: AoC YG player profile module
« Reply #26 on: October 23, 2009, 09:34:35 am »
Tried to request a key via the email method and got the following back:
Quote
We have changed our XML request system from being e-mail based to a now completely automated system using our new YG Members section. To request an XML password please create a YG Member account at http://members.yg.com. Then on the My Account page click the Age of Conan tab and you will be able to request your password. For full details on how to use the XML system please check out this forum sticky: http://forums.yg.com/showthread.php?t=673

So for anyone else looking for a key this is the procedure :)

-Yite
« Last Edit: October 26, 2009, 04:52:18 pm by Yite »
-Yite [Crom]

Offline YGAdmin

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
    • The Yellow Gremlin Network
Re: AoC YG player profile module
« Reply #27 on: October 23, 2009, 10:20:26 am »
Thanks for posting that Yite. I just registered to let everyone know on this thread the same thing but you beat me to it :)

Regards,
YGAdmin

Offline Sudoka

  • BeBot User
  • **
  • Posts: 22
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #28 on: October 23, 2009, 03:43:15 pm »
Thanks for letting me know. Updated the first post with the correct procedure.
 :)

Offline Tomate

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: AoC YG player profile module
« Reply #29 on: October 28, 2009, 08:19:45 pm »
I would like to use the YG module instead of the Whois module. Is it possible to replace it?

Thanks in advance!
Our Guild would be very thankful.

 

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