Bank devel thread...again

Handles economics and bountying.

Moderator: Andreas the Wise

Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Bank devel thread...again

Post by Erik Mortis »

Okey.. guess I'm not as tired, depressed and busy as I thought I was...

So I'm implementing transaction logging. I just finished the logger itself, just need to edit the database to allow for it. and make a viewer...

And as expected... right as I tell you this.. I lose energy and desire to go to bed... oh well.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Okey.. guess my mood improved... the database is set up... I just wish I still had a local test server.

And I just got an idea on how to link companies to people in the system, by keeping a list of companies and their owners.. and maybe.. total stock the company has created/distributed. Then create a means for people to buy and sell stock, and they set the prices. No automated systems to set price.. people would actually have to negotiate the price... This needs another thread...
Hesam Jayatar
Posts: 851
Joined: Tue Jul 08, 2008 2:52 am

Re: Bank devel thread...again

Post by Hesam Jayatar »

This looks interesting, is it visible to everyone yet?
User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Bank devel thread...again

Post by Andreas the Wise »

Transaction logger is very good ...
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

It's all still on my computer. I don't wanna risk putting it on the server till I know I won't kill the bank in the process. and it's not done. most of the coding is invisible at the moment.
Hesam Jayatar
Posts: 851
Joined: Tue Jul 08, 2008 2:52 am

Re: Bank devel thread...again

Post by Hesam Jayatar »

Alright, Before you upload it, let me know and I'll take a screenshot of the Bank so that if it does crash, we've got a record of who has what.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

good idea. I doubt I'll fuck up the database... but you never know.
User avatar
Ari Rahikkala
Posts: 4326
Joined: Sun Jan 21, 2001 12:56 pm
Contact:

Re: Bank devel thread...again

Post by Ari Rahikkala »

There's always PhpMyAdmin's backup tool... and once you get around to enabling SSH access on the account I'll be able to autobackup the wiki and bank, too :)
No-one should be without a parasol, Sirocco.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

What did I need to do for that again?
User avatar
Ari Rahikkala
Posts: 4326
Joined: Sun Jan 21, 2001 12:56 pm
Contact:

Re: Bank devel thread...again

Post by Ari Rahikkala »

Pick the "Secure shell" option in the control panel. They want a copy of some kind of photo ID which you can send as a file attachment or fax in. I still don't know *why* they want it... I guess they think it's a dangerous terrist tool or something. :p
No-one should be without a parasol, Sirocco.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Once I get my scanner/printer set up, I will do this.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Okey.. my knowledge of PHP/MySQL is hitting a problem...

I need to generate a unique and sequential log id number every time I add a log. I've looked into auto-increment, but I think if I had two people adding logs at the same time I might end up with 2 id's that are the same.
User avatar
Ari Rahikkala
Posts: 4326
Joined: Sun Jan 21, 2001 12:56 pm
Contact:

Re: Bank devel thread...again

Post by Ari Rahikkala »

No, you won't. Trust me. MySQL mightn't be very ACID, but its authors would all have been lynched long ago if auto_increment wasn't atomic.
No-one should be without a parasol, Sirocco.
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Bank devel thread...again

Post by Jonas »

I have an idea for the bank, maybe it's said before.
Can we seperate company and personal accounts? If you register you need to have the chose between 'personal' and 'company'.
On the Transfer fund page the company accounts could be in a framework (how do you call it?) on the right, instead in the left framework where now all the accounts are placed.

It's just more neat.
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

I have this plan in the works in my mind. but transfer logs are priority.
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Bank devel thread...again

Post by Jonas »

I read your mind! :surprise
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Bank devel thread...again

Post by Andreas the Wise »

I only support company accounts if they're separate ... otherwise it gets very confusing - we have about a dozen companies, do we need another dozen accounts?

Jonas also suggested (for months later when you have spare time) - Dukes should be able to view the accounts within their Duchy ...
The character Andreas the Wise is on indefinite leave.
However, this account still manages:
Cla'Udi - Count of Melangia
Manuel - CEO of VBNC. For all you'll ever need.
Vincent Waldgrave - Lord General of Gralus
Q - Director of SAMIN
Duke Mel'Kat - Air Pirate, Melangian, and Duke of the Flying Duchy of Glanurchy

And references may be made to Vur'Alm Xei'Bôn (a Nelagan Micron of undisclosed purpose).
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Bank devel thread...again

Post by Jonas »

Andreas the Wise wrote: Jonas also suggested (for months later when you have spare time) - Dukes should be able to view the accounts within their Duchy ...
Maybe the normal people should be able to see it too. If a Baron wants to tax his Count.
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Yeah.. until I see something ordering me to do that I don't plan to, I have this weird concept of privacy...
User avatar
Jonas
Posts: 5334
Joined: Mon Feb 19, 2007 9:53 am

Re: Bank devel thread...again

Post by Jonas »

Privacy in a micronation? :no
From a distance I'm concerned about the rampant lawyerism manifesting itself in Shireroth currently. A simple Kaiserial slap on the wrist or censure by the community should suffice. - Jacobus Loki
Can't you see? I'm crazy! :tomcutterhamonfire :smashy
Hesam Jayatar
Posts: 851
Joined: Tue Jul 08, 2008 2:52 am

Re: Bank devel thread...again

Post by Hesam Jayatar »

As it stands, you can make company accounts right now. The limitation is that the government will ONLY interact with a personal account. Meaning you cannot ask for bounties to be deposited into a company account. We're just not going to do it, it's far to complex.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

http://www.shireroth.org/banktemp/shirebank.php

Transfers will now log in theory. But there is no view transfers page yet.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

I take it no one has found any problems with the test build of the new bank?
User avatar
Jacobus Loki
Posts: 4205
Joined: Mon Oct 02, 2006 1:00 pm

Re: Bank devel thread...again

Post by Jacobus Loki »

Well, I've transferrred out a lot, and no one has come and said "Jake , where is my money?"
Jacobus Loki
Shireroth sumus. Tempus in parte nostrum est.
Lord of Hallucination, Protector of Illumination, MiniEx of Shireroth, Traditional King of the Mala'anje.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Well.. that's good. I should check the database and see if it's logging properly.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

odd.. no transactions aside from my test ones have been logged.
Hesam Jayatar
Posts: 851
Joined: Tue Jul 08, 2008 2:52 am

Re: Bank devel thread...again

Post by Hesam Jayatar »

I couldn't see the transaction log. Is it visible?
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

I haven't written it yet. But it IS logging.
User avatar
Jacobus Loki
Posts: 4205
Joined: Mon Oct 02, 2006 1:00 pm

Re: Bank devel thread...again

Post by Jacobus Loki »

And my balance keeps dropping..............
Jacobus Loki
Shireroth sumus. Tempus in parte nostrum est.
Lord of Hallucination, Protector of Illumination, MiniEx of Shireroth, Traditional King of the Mala'anje.
Erik Mortis
Posts: 7238
Joined: Thu Oct 02, 2003 10:37 pm
Location: County of Monty Crisco
Contact:

Re: Bank devel thread...again

Post by Erik Mortis »

Is it not supposed to be?
Post Reply

Return to “Ministry of Trade”

Who is online

Users browsing this forum: No registered users and 5 guests