UBB.Dev
Posted By: AshtarRose Currency - 09/23/2005 8:22 PM
I run a Harry Potter RPG and for awhile I have been interested in trying to find a currency hack where players can trade money between themselves.

Money accumilated by post counts
A total of how much money they have in their profile
Cents, Dollars like 9 sickles, 1 knut, 1 galleon
and the ability to give their money to another player without reducing their post count, just the money account.
Posted By: Gizmo Re: Currency - 09/23/2005 9:22 PM
You ould add to the point system mod for this...
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi/topic/33/154.html?#000000
Posted By: Ian Spence Re: Currency - 09/23/2005 11:26 PM
Don't do that until you've got the entire thing thought.

Ideally, it'd be a profile field (one of the customs to reduce code), and something like ubb_points.cgi

(Pseudocode)
Code
my @user = &OpenProfile( $usernumber );
if( $user[index] >= $in{donation} ) {
$user[index] -= $in{donation};
my @rec = &OpenProfile( $in{rec} );
@rec[index] += $in{donation};
}

&StandardHTML( "$in{donation} points donated to $rec[name]" );
I'm swamped with school work, Gizzy, could you work on that, ya know, while taking care of that ugly baby of yours wink
Posted By: Gizmo Re: Currency - 09/23/2005 11:37 PM
I've been up for 4 days, i'll see if i can find brett...
Posted By: AshtarRose Re: Currency - 09/24/2005 3:10 AM
Haha, I'm not a coding kind of person, but I can follow instructions if given them.. add this.. change this.. put this.. cache that..

But writing code.. nada, confuses me

I used to be on a harry potter board that had a pull down menu.. transfere this amount to this person, then it would be added to that persons monetary count
Posted By: AshtarRose Re: Currency - 10/26/2005 6:42 AM
Any progress on this? Idealy I wanted a point system like phpbb where every time you post in a forum you are awarded points according to how many characters are in your post. They even have a 'cash' magaer plugin for their control panel.
© UBB.Developers