Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
Print Page - Backpack mod updated

DragonPrime - LoGD Resource Community

Modules, Themes and other customizations for your game => Completed Modules for version 1.x.x => Topic started by: WebPixie on March 12, 2005, 07:04:57 PM



Title: Backpack mod updated
Post by: WebPixie on March 12, 2005, 07:04:57 PM
I wrote a backpack for my site long ago, just updated it and figured others might be interested so here it is.

Basicly makes a link on your stats bar that says "Backpack View Contents". You can click it and a small popup comes up to view contents. Inside you see your items.

Right now it supports:
trading items for Trading Mod by Lonny
pet food and toys for petshop mod
ammo for secondweapon mod
bait and fishing turns for Poseidon's Pool mod
runes for Rune scavenger mod
fruit seeds for Orchard mod
medallions from Medallion contest mod

I also added a hook called "backpack" for anyone who wants to add their items to the backpack from their mod.

couldn't upload it here so here is a link for now
http://www.fourwindshall.com/download/backpack.zip

I wrote this a long time ago for my site and just updated it, so things are how I wanted them. If you want to change it feel free :)


Title: Re:Backpack mod updated
Post by: Lurch on March 12, 2005, 07:32:59 PM
Warning: reset(): Passed variable is not an array or object in /lib/modules.php on line 388

Warning: Variable passed to each() is not an array or object in /lib/modules.php on line 389



Title: Re:Backpack mod updated
Post by: WebPixie on March 13, 2005, 01:08:09 PM
Warning: reset(): Passed variable is not an array or object in /lib/modules.php on line 388

Warning: Variable passed to each() is not an array or object in /lib/modules.php on line 389



I'll take a look at it. It's working fine on my server without a hitch so I will see if I can track it down.

Anyone else having this problem?


Title: Re:Backpack mod updated
Post by: Lurch on March 13, 2005, 05:07:30 PM
Running the latest pre-release. Kinda wierd, there was a comment about the backpack doing this before but I don't think it was the backpack by you.


Title: Re:Backpack mod updated
Post by: sixf00t4 on March 17, 2005, 04:25:47 AM
Code:
Inside your backpack you see:

Nothing... it's empty.

In your back pack is an ammo case
In your ammo case you have:
Nothing... you're out of ammo

You have the following 'Move Potions'..
Courtyard, Amwayr, Haystable, Esoterra, Polareia Borealis, Under Hill, Kemsley, Qexelcrag, Glorfindal, Romar, Klingdum, Zachazzas, Sslyther, Glukmoore and Deus Nocturnem.

You have space left for 50 more items in your pack.

it says it's empty, then it says there is stuff in it.


Title: Re:Backpack mod updated
Post by: CortalUX on March 18, 2005, 06:04:40 AM
The 'Nothing... it's empty.' is done by the module itself, while the rest is done by other modules through the 'backpack' modulehook.
Maybe there should be an argument called 'empty' which defaults to 0, and if a module changes it to 1 it wouldn't show that line.


Title: Re: Backpack mod updated
Post by: Ernesto on November 08, 2006, 07:26:55 AM
The download link for this one is broken, anyone happen to have a copy of this module?


Title: Re: Backpack mod updated
Post by: Elessa on November 08, 2006, 09:49:10 AM
The download link for this one is broken, anyone happen to have a copy of this module?

hmmmm... the file in the file sharing area downloads just fine for me.

backpack (http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=968) download


Title: Re: Backpack mod updated
Post by: Ernesto on November 08, 2006, 10:26:32 AM
The file you get when you download from there is the 1.0 version, that only supports Trade items and nothing else.


Title: Re: Backpack mod updated
Post by: Ernesto on November 08, 2006, 10:31:41 AM
On Lonnyl's site there is a 1.1 version, but it's pretty much the same - No support for other than the trade items - I want my runes and stuff in the backpack as well.

© 2019 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines