Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3

Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
bankeagle
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • September 21, 2019, 06:31:29 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: bankeagle  (Read 3069 times)
0 Members and 1 Guest are viewing this topic.
alva
Guest
« on: September 27, 2005, 08:12:07 AM »

Hello!

I have extended CortalUX's version (http://dragonprime.net/users/CortalUX/bankeagle.zip) of the bankeagle to allow for banking while in debt.

You can set the amount of "interest" the bank takes from allowing you to use their eagle.

The module is available for download at: http://dragonprime.net/users/alva/bankeagle.zip

I must say that the reason that most of my modules are based upon CortalUX's are that most of my downloaded modules that are used in used in "normal" game play are by CortalUX.

Best wishes,
  Alva
Logged
alva
Guest
« Reply #1 on: September 27, 2005, 08:16:22 AM »

I forgot to point out that the deducted money is from *everything* banked, not just the amount borrowed or anything. So if the loan is on 1 gold, and I bank 10'000 gold, the interest will be taken from those 10'000 and not just the 1 gold.

Best wishes,
  Alva
Logged
Deedee
Guest
« Reply #2 on: October 30, 2005, 08:00:46 AM »

Any chance this could take less than 100% of the gold on hand so enough is left for a healing on the next fight should the victim be a bit on the poor side?  The MAX settings don't appear to be percentages but if >100 gold on hand then take anything over that and leave that for healing purposes would be nice, otherwise the trip you save to the bank isn't really saved if you want to be healed.  (Unless I'm missing something obvious, which is always possible.)

EDIT: I found an update by Matt Mullen that works fine, so nevermind I guess.

Here's a little contribution (replacement image is same size for easy change) Designed to blend in real nice on my favorite template, VancWest.


« Last Edit: October 31, 2005, 09:41:10 AM by Deedee » Logged
kickme
Global Moderator
Mod God
*****
Offline Offline

Posts: 1589


Yay for elephants!


View Profile WWW
« Reply #3 on: October 30, 2005, 11:08:41 PM »

You could divide the % by 100, then times it by $session['user]['gold']
Logged

Waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka waka
alva
Guest
« Reply #4 on: November 06, 2005, 07:29:04 AM »

I did a short check with CortalUX and my code is the most recent one. I am going to add the "not take all the money"-thing probably this weekend, I've been thinking about it being a good feature as well, but I never really got around to do it, been too busy. But I will start working on it this weekend.

EDIT: The module that has the "not take all the money"-thing does not seem to have the ability to send money if you are in debt.

Best wishes,
  Alva
« Last Edit: November 06, 2005, 07:30:59 AM by alva » Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
85 Guests, 1 User
savell
Home Forums News Downloads Login Register Advanced Search