Looty

External page that displays guild bank data from the Roster database

Moderator: trell

Looty

Postby robojerk » Sun Jan 14, 2007 9:18 pm

You didn't configure the character's correctly.

Can you plase post all the text in the config after
Code: Select all
/*---------------
  BANK CHARACTERS :: characters used as mules for the guild bank
  ---------------*/ 
it will show what you did wrong.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

Looty

Postby Artillery » Sun Jan 14, 2007 10:31 pm

Ayeee... I am an idiot. Too much time in front of the computer makes me go crazy. It was just a wrong name in the bank character field. Now the bank shows up, but refuses to show items... I'm going to try to use the recommended code fixes in previous posts to remedy it.

Thanks, robojerk.
Artillery
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Jan 14, 2007 7:46 pm

Looty

Postby Artillery » Sun Jan 14, 2007 10:34 pm

Alright, none of the corrections worked for the problem the person before me is having. None of the items are showing up and the following error is coming up:

Warning: Invalid argument supplied for foreach() in /web/www.emberguild.com/public_html/looty/index.php on line 485
Artillery
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Jan 14, 2007 7:46 pm

Looty

Postby jdruud79 » Sun Jan 14, 2007 11:25 pm

Having the exact same issue it shows the gold value of the bank but none of the items.
jdruud79
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Thu Dec 28, 2006 8:10 am

Looty

Postby trell » Mon Jan 15, 2007 12:56 am

If you are using looty 1.1 you don't need to apply the fixes shown in my earlier post. Could you either send me, or attach your copy of index.php so I can take a look at it?

Thanks,

-trell
trell
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 19
Joined: Wed Dec 06, 2006 4:11 pm
Location: UK

Looty

Postby Artillery » Mon Jan 15, 2007 1:38 am

Artillery
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Jan 14, 2007 7:46 pm

Looty

Postby Finja » Mon Jan 15, 2007 3:29 pm

*tap* *tap*

Is this thing on? Did anyone read my last post?
User avatar
Finja
WR.net Apprentice
WR.net Apprentice
 
Posts: 4
Joined: Wed Jan 10, 2007 11:35 pm
Location: Prague, the Czech Republic

Re: Looty - where is the progress ?

Postby tuigii » Mon Jan 15, 2007 3:50 pm

Finja wrote:*tap* *tap*
Is this thing on? Did anyone read my last post?

I think the index.php is posted above = it's your !!

I also downloaded this one http://www.wowroster.net/Downloads/c=6/page=2.html
which is the same v1.1 zip file as propsed on your 'demo site'.

But :
I have the 'old' looty installed on ROOT/looty1
The new one (the latest january 2007 version) in ROOT/looty2

The Looty1 just plain works (after applying the patches proposed in this thread) - and yes, I have multiple Bank Characters - they all show up !
So, I installed the newest Looty v1.1 in ROOT/looty2.
I copied the 'good initialized' config.php from Looty1 to Looty2.

Still the same problem for Looty2 v1.1 (the new one) - money is there - the bank Characters also - but no way to see any Bank items. An empty list - "that's all, folks"

From a 'user point of view' nothing changed (sorry to say that :-( )

I think that my config.php is correct : it works for the first one.

I know it connect to the database (money show up) - all the Bank Characters are in the list. With this config.php file, the 'old' patched version works.

Gime a hint - or show me where I'm thinking wrong....

By the way : the roster is installed in ROOT/roster, so
Code: Select all
// only set if you wish to use details other than that of Guild Roster's
$dbhost   = 'localhost';   // hostname of the database server
$dbname   = 'xxxxxxx';   // name of the database containing character data
$dbuser   = 'yyyyyyy';   // username to connect with
$dbpass   = 'wwwww';   // password
$dbprefix = 'roster_';      // prefix for db table names
$guildname   = 'Les potes ages';   // required
$guildmaster   = 'Youcouncoun';   // required
$guildurl   = 'http://lpc.game-host.org';   // not required
$guildserver   = 'Suramar';   // free text
$showmoney   = 1;   // whether to display the bank balance
$showicons   = 1;   // whether to show icons next to item names
$longdisplay   = 0;   // default to show item descriptions or not
$searchtips   = 1;   // search tooltips when filtering items?
$showlevel   = 1;   // whether to show required levels in the list
$hidequest   = 1;   // hide quest items?
$hidesoulbound   = 1;   // hide souldbound items?
$hideequipped   = 1;   // hide equipped items?
$iconurlbase   = '../roster/img';   // base URL to icons (eg: /roster/img)


The actual working Looty is on http://les-potes-ages.game-host.org/looty :pirate:
Last edited by tuigii on Mon Jan 15, 2007 4:10 pm, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Looty

Postby faromith » Tue Jan 16, 2007 10:15 pm

Artillery wrote:
Code: Select all


take artillery code there... copy and make sure it over write everything in the index.php

should fix your problem because it fixed mine!
faromith
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Sat Dec 30, 2006 9:55 pm

Looty

Postby Artillery » Wed Jan 17, 2007 5:24 pm

...? That code is the code from my broken looty.
Artillery
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Jan 14, 2007 7:46 pm

Looty

Postby trell » Fri Jan 19, 2007 8:53 am

Sorry for the delay in getting back to you all. The expansion has been distracting me.

If you are using looty 1.1 and are suffering from the 'Invalid argument supplied for foreach()' on line 485 error then this is the fix for you.

It would appear that the logic is inverted in a statement earlier in the code. So to fix this edit line 230.

It should currently look like:

Code: Select all

$item
['color']        = preg_replace((strlen($item['color']) == '/^/' '/^ff/'), '#'$item['item_color']);
 


Change that line to look like:

Code: Select all

$item
['color']      = preg_replace((strlen($item['item_color']) == '/^ff/' '/^/'), '#'$item['item_color']);
 


I hope that helps.

-trell
Last edited by trell on Fri Jan 19, 2007 2:34 pm, edited 1 time in total.
trell
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 19
Joined: Wed Dec 06, 2006 4:11 pm
Location: UK

Looty

Postby Beltic » Sun Jan 21, 2007 5:38 pm

I have upgraded to 1.1 in hopes it would fix my errors, but it has not:

Code: Select all

Notice: Undefined offset: 1 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247

Notice: Undefined offset: 2 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247

Notice: Undefined offset: 1 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247



Link - http://www.deadandpissed.net/roster/add ... =guildbank
Image
User avatar
Beltic
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Tue Dec 19, 2006 9:05 am

Looty

Postby Artillery » Mon Jan 22, 2007 7:34 pm

That fix didn't work... still same error. :/
Thankyou for your recommendation, though. I've also been busy with the expansion so don't sweat the delay. ^.^
Artillery
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Sun Jan 14, 2007 7:46 pm

Re: Looty

Postby Troian » Wed Jan 24, 2007 5:31 pm

I am also having a problem with my bank items showing. Here is my looty: http://www.guild-is.com/looty/

The character name, number of items, and gold are shown but the items arent broken down.

Any suggestions?
Troian
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Wed Jan 24, 2007 5:26 pm

Re: Looty

Postby robojerk » Wed Jan 24, 2007 5:44 pm

Beltic wrote:I have upgraded to 1.1 in hopes it would fix my errors, but it has not:

Code: Select all

Notice: Undefined offset: 1 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247

Notice: Undefined offset: 2 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247

Notice: Undefined offset: 1 in /home/wwwdead/public_html/roster/addons/guildbank/gbank.php on line 247



Link - http://www.deadandpissed.net/roster/add ... =guildbank


Looty is not a wowroster Addon and has nothing to do with the built in guild bank. Looty is a seperate script that reads the roster database.
Image
For the Horde!
Image
User avatar
robojerk
WR.net Master
WR.net Master
 
Posts: 484
Joined: Wed Jul 05, 2006 12:17 am
Location: -The OmniMatrix- Web 3.0

PreviousNext

Return to Looty

Who is online

Users browsing this forum: No registered users and 0 guests

cron