DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • July 17, 2019, 03:43:18 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Data storage problem with clan hall module  (Read 2545 times)
0 Members and 1 Guest are viewing this topic.
Damien
Guest
« on: September 03, 2004, 02:05:21 PM »

I have data storage problem with my module. I've created a vault module for clan hall and it's purpose is allow clan members to deposit/withdraw/donate gold and gems and stipend other players. Because the module shouldn't make any database modification I need alternative solution to store data(amount of gold and gems). Simply the module should keep book of deposits and withdraws etc. made by any clan member and total amount of the clan vault without creating or altering any tables... if it's even possible.  I don't know logd code too well to solve this problem by myself so I ask help from you guys.

- Damien
Logged
Spider
Guest
« Reply #1 on: September 03, 2004, 02:35:05 PM »

to keep track of transactions, you should have each one be put into the clan commentary, and you can use set_module_setting() to store the total gold and gems in the clans vault.

you would need to set it up so that it uses the clan ID to store the data, so you would have a gold1 and gem1 setting for clan 1.

It should be too tricky to achieve, you'll just have to figure out how to do the above.

You mentioned that you wouldn't mind someone else finishing off the module, so if I get some free time and you haven't gotten any further I might look at it.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

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