Toribash
Original Post
Toribank - Beta Testing
I thought i'd let you in on something I've been working on for the past 12 hours. It's not meant to be a robust solution to all the worlds problems, but more of a proof-of-concept that might result in something "official" later on.

Basically, Toribank is an automated user that takes commands via PMs, and manages funds in accounts that way. Account owners have the ability to add and remove account managers who can also manage funds in the accounts. The main target group of this feature is clans who share resources among them. Currently this is done by a shared account, despite being against the rules. With a bank system it's easier to share TC in a group, plus logging keeps track of who's using up all the TC.

This post/thread will only serve as startup. The most up to date info can be found here: http://toribash.jarmund.net/toribank.txt

As the title says, this system consists of around 600 lines of spagetti-code that i've baked together for the past 12ish hours, so keep that in mind when trying to break it.

From looking at the console right now, i think it's worth mentioning that all commands are to be sent in UPPERCASE... RTFM..

Oh, and this being beta, and all... use at your own risk. If you lose money to the bank, then there's no refund. However, on the flipside, if you manage to find a loophole and gain money, you get to keep it (bug reports appreciated, tho).
Update: Most teething problems should be weeded out now. I would consider it safe for clans to transfer TC over to toribank.
Last edited by Jarmund; Nov 28, 2011 at 12:35 PM.
Update: Most teething problems should be weeded out now. I would consider it safe for clans to transfer TC over to toribank now.
Originally Posted by Jarmund View Post
Shared resources within a clan. Quite common. It'd remove the hateful issue of sharing a bank-account, as it's against the rules.

Are you trying to tell, that all clanbanks will be banned?
Last edited by nblx; Nov 28, 2011 at 07:15 PM.
Originally Posted by EJM View Post
Does/will this handle items? Seeing that 2 or more people sometimes open up shops with one bank account (including clan shops), it will lower the chances of the bank being perma-banned.

If not, it would be a nice addition if it's possible.

At the present it does not support it, but it might at some point in the future.
-----
Originally Posted by nblx View Post
Are you trying to tell, that all clanbanks will be banned?

What i'm saying is that clanbanks are already against the rules, and run the risk of being banned at any time.
Last edited by Jarmund; Nov 28, 2011 at 07:28 PM. Reason: <24 hour edit/bump
Originally Posted by Jarmund View Post
I would consider it safe for clans to transfer TC over to toribank now.

Do you guarantee the safeness of tcs for clanbanks? And if all this idea will be ruined by the mistique forces, who will refund tcs?
Originally Posted by nblx View Post
Do you guarantee the safeness of tcs for clanbanks? And if all this idea will be ruined by the mistique forces, who will refund tcs?

To emulate realistic banking: No refunds! Plus, there's a 50% I'll waste the money, having to wait for hampa to give me a handout. The remaining 50% is the chance that this is a scam and I'm gonna keep all your TC for myself. Come to think of it, I have this Nigerian prince that i'm conducting business for, let me know if you're interested in a unique business proposal.

On a serious note: The system seems stable as it is. So from this point onward i guarantee for the safety of the TCs deposited, unless the was caused by the owner/manager somehow. If the system does fail horribly, i do have an exact log of who sent what to which account. Refunding it all is a straightforward process. But as previously mentioned: It's pretty stable and any bugs that might occur won't eat your TC.
UPDATE:
It seems that it might get hard to remember all the accounts you have registered or have access to, or how they were spelled, etc...
by sending the command MYACCESS to ToriBank, you will get a list of accounts that you are owner or manager for.

------------------------------------------------------

Originally Posted by marcus View Post
Excuse my random testings... I'm just trying several different things. (though some seem pretty silly, I would like to test it nonetheless)

Thanks, i was watching from the console while you were testing, hehe. I don't think you tested the obvious of WITHDRAW -12341234 though :P

Originally Posted by marcus View Post
EDIT: Okay so finally some progress. I was able to determine an account name through random guessing and an error message. Naturally if you receive the message "You do not have access to this account." It indeed does exist. So basically all I have done was figure out an account name(aside from mine). Not very impressive at all considering most will be plastered in clan "bank" threads anyways...

yeah, i was thinking of that while coding. I don't consider it to be a security-issue that it's easy to find out that an account exists. On the other side, i fucking hate the windows-style ambiguous error messages like "Website could not load. Either your network cable is unplugged, the web server is down, the page was 404, you do not have access, the DNS server didn't respond, aliens intercepted your HTTP request, or your computer is not switched on. You should call tech support who will hate you for it".

Originally Posted by marcus View Post
EDIT: False names/toribank messages don't seem to work to try and trick it. This is probably because it is case + character sensitive.

Usernames are only matched 100%, obviously

Originally Posted by marcus View Post
EDIT: Withdrawing more funds than available doesn't work. (this one seemed kind of obvious but worth a try)

First check i added, i believe.

Originally Posted by marcus View Post
EDIT: Oh cool... the account name I figured out has no money on it..

Eh, what?


Anyway, thanks for testing.
Last edited by Jarmund; Nov 28, 2011 at 11:20 PM.
Originally Posted by KillTheCook View Post
It has over 42k on it on the second day
People seem to trust it.

Nah... Most of that is money that i added during testing, and that stayed after i blanked the database.
I dumped some stats just now:
19648 TC over 7 account (22 accounts total)
Last edited by Jarmund; Nov 29, 2011 at 12:39 AM.
Gonna try and kill the toribank with my state-of-the-art spam-bucket.
Hehe ..

(Basically, I'm just going to test and see if massive spam in the message box can affect the toribank in any way. Added lots of s along with text.)

Edit: IT'S IMPENETRABLE



Last edited by firebolty; Nov 29, 2011 at 01:46 AM.
BAD LUCK
Originally Posted by iNoobBruh View Post
How do i add money to it And no im not kidding i dont know how

RTFM: http://toribash.jarmund.net/toribank.txt <-- instructions are all there. Adding funds is described just bellow the commands.

-----------------------------------------

From the toribank logs:
Tue Nov 29 00:29:15 UTC 2011 - DropKick junk: 1,000,000
Tue Nov 29 00:35:27 UTC 2011 - DropKick junk: 12,000,000
Tue Nov 29 00:39:35 UTC 2011 - DropKick junk: 20.000.000
Tue Nov 29 01:13:42 UTC 2011 - DropKick junk: 10000.00
. and , aren't alphanumeric, so it gets logged and then discarded as junk
Last edited by Jarmund; Nov 29, 2011 at 03:01 AM.