The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: megaempire11 on October 14, 2007, 10:58:01 AM

Title: Help with bank script
Post by: megaempire11 on October 14, 2007, 10:58:01 AM
Hi guys,

I have made some bank script, and it's totally working awesome, except for one thing.
If you deopsit money to the bank, it won't show up...

Here's the script (Part where it gets converted to bank in red box):
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg142.imageshack.us%2Fimg142%2F802%2Fbankscript1xj3.png&hash=860a1a3300cc6fa69c5558141ca50d2dde7ec1e4)

And the variables (Variables used in bank script in red box):
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg147.imageshack.us%2Fimg147%2F8671%2Fbankscript2gq8.png&hash=e9af1aec9741e4990c72642be1719bf485cc4d0f)


BTW: It's Dutch  ;)

Title: Re: Help with bank script
Post by: Leventhan on October 14, 2007, 12:39:49 PM
Is it just me, or that's an event system, not a script. :o
Title: Re: Help with bank script
Post by: megaempire11 on October 14, 2007, 12:44:00 PM
Err, yea its a event system, sorry, im kinda newb  ;D
Title: Re: Help with bank script
Post by: Forty on October 14, 2007, 11:46:07 PM
This maybe of no use, but someone's made a bank system with events, try the event system section.
Title: Re: Help with bank script
Post by: Kokowam on October 14, 2007, 11:59:31 PM
If you did want us to help, we'd prefer it be in English. Also, wtf? Why a bank? I never got the point of money-only banks in RMXP. If you die, you die. You don't lose money or w/e.
Title: Re: Help with bank script
Post by: djkdjl on October 15, 2007, 06:48:41 AM
well,,when I want it to display whatever is stored in variable #006 I just do \v[6].

Seems to me like under label 4,,you display \v[006] and \v[0007],,I don't know if that is the cause of the error or not.  006 (2 zeros in front) and 0007 (three zeros in front) have different context.  Try \v[0006] perhaps? or \v[007]?

Or you can also try \v[6] and \v[7] <--- that should work.
Title: Re: Help with bank script
Post by: megaempire11 on October 16, 2007, 06:04:30 PM
That part is just to show much you with you, and how much you got on the bank, but the red part is a bit buggy.
It´s just the part where the number that needs to be deposited (variable 0004) gets added to the bank cash (variable 0007).
But if it says how much you deposited, it won't show up in the bank cash variable.
Any help?