PoRK fix (!whois, !orglist, org roster, etc)

Budabot releases
Tyrence
Posts: 1959
Joined: Sat Jan 09, 2010 1:32 am

PoRK fix (!whois, !orglist, org roster, etc)

Postby Tyrence » Sat Mar 02, 2013 8:15 pm

So after we released the Merge Release version of Budabot FC changed the PoRK server number again.

To fix open /core/PLAYER_LOOKUP/PlayerManager.class.php and on line 64 change this:

Code: Select all

$xml = $this->lookup_url("http://people.anarchy-online.com/character/bio/d/1/name/$name/bio.xml");

To this:

Code: Select all

$xml = $this->lookup_url("http://people.anarchy-online.com/character/bio/d/5/name/$name/bio.xml");


Then open /core/PLAYER_LOOKUP/GuildManager.class.php and on line 29 change this:

Code: Select all

$url = "http://people.anarchy-online.com/org/stats/d/1/name/$guild_id/basicstats.xml";

To this:

Code: Select all

$url = "http://people.anarchy-online.com/org/stats/d/5/name/$guild_id/basicstats.xml";


Notice that the only change is changing the "1" to a "5".

You should be running the Merge Release version of Budabot before you apply this fix: viewtopic.php?f=8&t=1106

For those people who have their bot checked out from Git, simply update and restart the bot.
"Those who expect to reap the blessings of freedom, must, like men, undergo the fatigues of supporting it." — Thomas Paine
"Nearly all men stand adversity, but if you want to test a man's character, give him power." — Abraham Lincoln
Budabot Releases and Downloads: https://github.com/Budabot/Budabot/releases

Return to “Releases”

Who is online

Users browsing this forum: No registered users and 1 guest