Seperate Guardian and Battle Elixiers

Categorizes items in your guildbank(s)

Moderator: Mathos

Re: Guildbank

Postby Helm » Mon Aug 13, 2007 8:48 pm

Okididokili,
I am aware that with the release of Roster 2 this mite be not the best time for this Question, but if anyone can help me figuring out why I still dont have the result I like, I would be gratefull and could prolly do the work n finish the Job.

The Idea:
Seperate Guardian and Battle Elixiers from the "Alchemy Materials, Oils & Potions" for a faster, better overview.

I added in conf.php the lines
$bankitem[35]['msg'] = $wordings[$roster_conf['roster_lang']]['bankitem_35']; //Motes
$bankitem[36]['msg'] = $wordings[$roster_conf['roster_lang']]['bankitem_36']; //Rep
$bankitem[37]['msg'] = $wordings[$roster_conf['roster_lang']]['bankitem_37']; //Battle Elixier
$bankitem[38]['msg'] = $wordings[$roster_conf['roster_lang']]['bankitem_38']; //Guardian Elixier


Then I added in the searcharray.php
$bankitem[35]["arg"]= 'motes'; // motes
$bankitem[36]["arg"]= 'rep'; // rep
$bankitem[37]["arg"]= 'battle'; // battle
$bankitem[38]["arg"]= 'guardian'; // guardian



In the last Step i added in the localization.php
$wordings['enUS']["bankitem_35"] = "Motes & Primals"; // Motes
$wordings['enUS']["bankitem_36"] = "Reputation Items"; // Rep
$wordings['enUS']["bankitem_37"] = "Battle Elixier"; // Rep
$wordings['enUS']["bankitem_38"] = "Guardian Elixier"; // Rep


and I added the searcharrays in the localization.php

$wordings['potion']['enUS'] =
array("Potion", "Frost Oil", "Fire Oil", "Blackmouth Oil", "Stonescale Oil",
"Oil of", "Volatile Rum", "Flask of the Titans", "Flask of Petrification",
"Flask of Supreme Power", "Flask of Chromatic Resistance",
"Flask of Distilled Wisdom", "Wizard Oil", "Mana Oil", "Stonescale Eel",
"Firefin Snapper", "Oily Blackmouth", "Winterfall Firewater", "Jungle Remedy");

$wordings['battle']['enUS'] =
array("Elixir of Healing Power");

$wordings['guardian']['enUS'] =
array("Gift of Arthas");



And moved as example the "Gift of Arthas" from the "potion" Array into the "Guardian" Array, still all Potions elixiers CocaColas and Vodkas are still be shown in the Alchemy Materials, Oils & Potions Tab in rooster:
http://www.ardinasrin.de/colroster/addo ... =guildbank

Is anyone able to explain me why thats still it that way? I am a little bit confused aboutit and would be thankfull for any Help.
Attachments
guildbank.zip
(22.16 KiB) Downloaded 387 times
Image
Cosmo: Who else is going to change the world, Marty? Greenpeace?
User avatar
Helm
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 21, 2006 12:11 pm
Location: Berlin

Seperate Guardian and Battle Elixiers

Postby sileed » Tue Aug 14, 2007 4:23 am

you need to update your $search_order in searcharrays.php for starters.

Try that, put 37 and 38 before the 12 which is potions. I think that will work.
ImageImage
User avatar
sileed
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Tue Jul 04, 2006 5:05 pm

Re: Seperate Guardian and Battle Elixiers

Postby Helm » Tue Aug 14, 2007 9:24 pm

Dont take that personal....but I love you :thumright:


Thx a lot
Ardawan

:ff:
Image
Cosmo: Who else is going to change the world, Marty? Greenpeace?
User avatar
Helm
WR.net Apprentice
WR.net Apprentice
 
Posts: 17
Joined: Fri Jul 21, 2006 12:11 pm
Location: Berlin


Return to Categorized Guild Bank

Who is online

Users browsing this forum: No registered users and 0 guests

cron