Commonwealth Casino Co. Requests Business

Programmers Guild

Moderator: Andreas the Wise

Post Reply
vasroe
Posts: 145
Joined: Sun Dec 07, 2008 12:11 pm

Commonwealth Casino Co. Requests Business

Post by vasroe »

The Commonwealth Casino Co. requests to do business with the Church of the Machine God.

Primarily we wish to use an API to access the online bank and set up gambling operations on web pages hosted on Shireroth's web server. The financial and administrative aspects of this arrangement we assume the Ministry of Trade can assist with.

We are prepared to do what is necessary to pay erb for a) an advertisement link on the SC bank, b) the hosting (one or two pages and a few PHP scripts at most), and c) the API hookup to the bank.

Please let us know when you are ready. I, the CEO, will be on a LOA for the next few days, so there is no very immediate rush.

Thank you.

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

Re: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

As we discussed. I'll look into the matter.

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

Re: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

I haven't forgotten about this. Just haven't given it much technical thought. And haven't heard anything about it from the MiniTrade or SC about if a deal was made.

The bank is operated by the Small Commonwealth, with me being paid by the MiniTrade of Shireroth. So a deal will need to be struck with one of them before I can proceed.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Commonwealth Casino Co. Requests Business

Post by Andreas the Wise »

I was giving this some thought (mainly because I plan to open a stock exchange). Now we have a Small Commonwealth thing in the bank, we *could* make a Small Commonwealth account through which things to do with the bank (and indeed, membership fees or the like) could be handled. Then companies who wished to have something integrated with the bank could pay to do so; and the funds would go to the Small Commonwealth, which could then use it to pay Erik further, or for other Small Commonwealth uses. The Admin of the Bank would be authorised to negotiate prices etc, I'd assume (though you'd still have to talk to Erik about putting the links in etc).

Erik, Ari, does that sound like a good way to do it?
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: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

Political issue. Not a technical one. Well.. only partly technical.

vasroe
Posts: 145
Joined: Sun Dec 07, 2008 12:11 pm

Re: Commonwealth Casino Co. Requests Business

Post by vasroe »

Hello Again. I am still very interested in connecting my casino to the SC bank and advertising on it. Just provide me the API and I will start creating the necessary pages. As for the political aspect, things should hopefully work out soon.

How does 50.00 Erb for everything sound?

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

Re: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

Code: Select all

function transfer_funds($instigator, $sender, $receiver, $funds, $reason, $server)
//Take money from one account and put it in another. 
//Returns 0 on success. Returns 1 on failure due to insufficient funds. 
//2 is returned if the account for the reciever did not exist.
//3 if the sender doesn't exist.
//4 if trying to send to yourself.
//5 if funds to move are neg
//6 if the reciever is an Inactive account.
//7 if the instigator is an Inactive account.
//We handle cleaning up the funds.
//handles error messages and logging. 
instigator is the name of whoever is making the transfer. the sender is the account that the money is coming out of. receiver is where the money is going. fund is obviously the money. Reason is just a string with an explaination. $server is the resource with the server. By putting the following at the start of the page you'll have that resource.

Code: Select all

 //Connect to Server
 $server = bank_server_connect();
Then you'll need to have the file 'require/bankops.php' and 'require/config.php' included (once) in your files that use the transfer_funds() function and the code for connecting I gave. I should look into making that a function somehow. (done)

vasroe
Posts: 145
Joined: Sun Dec 07, 2008 12:11 pm

Re: Commonwealth Casino Co. Requests Business

Post by vasroe »

Thanks.

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

Re: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

Soon I'll be posting something on how to make mods for the bank. I modified things.

User avatar
Andreas the Wise
Posts: 5253
Joined: Sat Oct 27, 2007 10:41 pm
Location: The Island of Melangia, Atterock, Kildare
Contact:

Re: Commonwealth Casino Co. Requests Business

Post by Andreas the Wise »

vasroe wrote:Hello Again. I am still very interested in connecting my casino to the SC bank and advertising on it. Just provide me the API and I will start creating the necessary pages. As for the political aspect, things should hopefully work out soon.

How does 50.00 Erb for everything sound?
I was thinking the right to connect to the bank database and have a link on it to your integrated company would be worth 500 :erb . Of which 100 :erb would go to Erik for the bother of making the changes to put your link in and explain how to access the bank database.

Of course, if you also wanted Erik to host your casino files (which if you can avoid is probably easier, because it means you can modify your own files easily and test them online, not just in localhost), that would be a matter for you and Erik/Ari to come to some sort of agreement on over and above this.
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: Commonwealth Casino Co. Requests Business

Post by Erik Mortis »

For security the files have to be on our server. otherwise we have to hand out the password. Access I'm not inclined to give out.

This is why I gave you a copy of config that had username and password removed.

Post Reply

Return to “Church of the Machine God”

Who is online

Users browsing this forum: No registered users and 1 guest