Page 1 of 2

Bank devel thread...again

Posted: Wed Jul 30, 2008 9:43 pm
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.

Re: Bank devel thread...again

Posted: Wed Jul 30, 2008 9:54 pm
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...

Re: Bank devel thread...again

Posted: Thu Jul 31, 2008 7:33 am
by Hesam Jayatar
This looks interesting, is it visible to everyone yet?

Re: Bank devel thread...again

Posted: Thu Jul 31, 2008 2:23 pm
by Andreas the Wise
Transaction logger is very good ...

Re: Bank devel thread...again

Posted: Fri Aug 01, 2008 1:32 am
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.

Re: Bank devel thread...again

Posted: Fri Aug 01, 2008 8:08 am
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.

Re: Bank devel thread...again

Posted: Fri Aug 01, 2008 9:40 am
by Erik Mortis
good idea. I doubt I'll fuck up the database... but you never know.

Re: Bank devel thread...again

Posted: Fri Aug 01, 2008 1:37 pm
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 :)

Re: Bank devel thread...again

Posted: Mon Aug 04, 2008 10:26 pm
by Erik Mortis
What did I need to do for that again?

Re: Bank devel thread...again

Posted: Mon Aug 04, 2008 10:47 pm
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

Re: Bank devel thread...again

Posted: Tue Aug 05, 2008 9:50 am
by Erik Mortis
Once I get my scanner/printer set up, I will do this.

Re: Bank devel thread...again

Posted: Tue Aug 05, 2008 2:03 pm
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.

Re: Bank devel thread...again

Posted: Tue Aug 05, 2008 2:24 pm
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.

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 12:58 am
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.

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 10:15 am
by Erik Mortis
I have this plan in the works in my mind. but transfer logs are priority.

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 10:19 am
by Jonas
I read your mind! :surprise

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 1:35 pm
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 ...

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 1:39 pm
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.

Re: Bank devel thread...again

Posted: Fri Aug 08, 2008 5:29 pm
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...

Re: Bank devel thread...again

Posted: Sat Aug 09, 2008 2:00 am
by Jonas
Privacy in a micronation? :no

Re: Bank devel thread...again

Posted: Sat Aug 09, 2008 7:34 am
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.

Re: Bank devel thread...again

Posted: Sun Aug 10, 2008 4:59 pm
by Erik Mortis
http://www.shireroth.org/banktemp/shirebank.php

Transfers will now log in theory. But there is no view transfers page yet.

Re: Bank devel thread...again

Posted: Wed Aug 13, 2008 11:48 am
by Erik Mortis
I take it no one has found any problems with the test build of the new bank?

Re: Bank devel thread...again

Posted: Wed Aug 13, 2008 11:55 am
by Jacobus Loki
Well, I've transferrred out a lot, and no one has come and said "Jake , where is my money?"

Re: Bank devel thread...again

Posted: Wed Aug 13, 2008 9:25 pm
by Erik Mortis
Well.. that's good. I should check the database and see if it's logging properly.

Re: Bank devel thread...again

Posted: Wed Aug 13, 2008 9:27 pm
by Erik Mortis
odd.. no transactions aside from my test ones have been logged.

Re: Bank devel thread...again

Posted: Thu Aug 14, 2008 3:37 am
by Hesam Jayatar
I couldn't see the transaction log. Is it visible?

Re: Bank devel thread...again

Posted: Thu Aug 14, 2008 10:13 am
by Erik Mortis
I haven't written it yet. But it IS logging.

Re: Bank devel thread...again

Posted: Thu Aug 14, 2008 7:22 pm
by Jacobus Loki
And my balance keeps dropping..............

Re: Bank devel thread...again

Posted: Thu Aug 14, 2008 11:03 pm
by Erik Mortis
Is it not supposed to be?