DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • June 24, 2019, 04:38:02 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Gem Interest  (Read 1565 times)
0 Members and 1 Guest are viewing this topic.
SinisterDragon
Codemeister
****
Offline Offline

Posts: 445



View Profile WWW
« on: July 05, 2006, 02:04:54 PM »

This module was created with the help of many people here on DP Cheesy
It was requested in the Idea place, so i thought i'd give it a shot.

You must have Spider's BankMod installed, for this to work.
You can configure the % of interest is received at newday, for gems that are placed in the bank. (you set High & Low, and the actual % is randomized between those two numbers)

Download:
http://lotbd.com/files/geminterest.zip
« Last Edit: July 05, 2006, 02:10:19 PM by SinisterDragon » Logged

Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5484



View Profile WWW
« Reply #1 on: July 05, 2006, 02:08:04 PM »

Why's the topic "Gold Interest"?   Tongue
Logged

Play the latest beta version here on DragonPrime
SinisterDragon
Codemeister
****
Offline Offline

Posts: 445



View Profile WWW
« Reply #2 on: July 05, 2006, 02:09:59 PM »

lmao
i just noticed that Wink
Logged

Anna
Guest
« Reply #3 on: August 28, 2006, 11:09:01 PM »

Great mod, and badly needed addition, but I am getting an error when newday happens and the interest is attempted to be added

The error returned is:

Code:
sprintf(): Too few arguments in /mounted-storage/home/xxxxx/games/dragon/lib/output.php (68)
--------------------------------------------------------------------------------

Call Stack:
2: sprintf() called from on line
3: call_user_func_array() called from /mounted-storage/home/xxxxx/games/dragon/lib/output.php on line 68
4: output_notl(2, "sprintf(): Too few argume...", "/mounted-storage/home/sub...", 68, Array(
"indata"=>"`2Today's interest rate o...", "output"=>"</span><span class='colDk...", "block_new_output"=>false, "args"=>Array(
0< /span>=>"`2Today's interest rate o...", 1=>2
), "last"=>2, "priv"=>false, "out"=>"`2Today's interest rate o..."
)) called from on line
5: call_user_func_array() called from /mounted-storage/home/xxxxx/games/dragon/lib/output.php on line 100
6: output() called from /mounted-storage/home/xxxxx/games/dragon/modules/geminterest.php on line 43
7: geminterest_dohook("`2Today's interest rate o...", "2")  called from /mounted-storage/home/xxxxx/games/dragon/lib/modules.php on line 512
8: modulehook("sprintf", Array(
0=>"`2Today's interest rate o...", 1=>2
)) called from /mounted-storage/home/xxxxx/games/dragon/newday.php on line 512

Any idea how to rectify this would be appreciated. Thanks.
Logged
trapeur
Guest
« Reply #4 on: August 29, 2006, 04:15:24 AM »

i have a bug me tooo

Call Stack:
2: sprintf() called from on line
3: call_user_func_array("Today's interest rate o...", "4") called from /home/web/heberg/sites/lddv.net/www/lib/output.php on line 68
4: output_notl("sprintf", Array(

0=>"Today's interest rate o...", 1=>4

)) called from on line
5: call_user_func_array("Today's interest rate o...", 4) called from /home/web/heberg/sites/lddv.net/www/lib/output.php on line 100
6: output("output_notl", Array(

0=>"Today's interest rate o...", 1=>4

)) called from /home/web/heberg/sites/lddv.net/www/modules/geminterest.php on line 43
7: geminterest_dohook("Today's interest rate o...", 4) called from /home/web/heberg/sites/lddv.net/www/lib/modules.php on line 512
8: modulehook("newday", Array(

"resurrection"=>false, "turnstoday"=>"Base: 13, Spirits: 1, DK:..."

)) called from /home/web/heberg/sites/lddv.net/www/newday.php on line 512

when it's a new day

+
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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