Home
Help
Search
Calendar
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Click here to join us on IRC (#charas on irc.freenode.net)!
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
delete this
« previous
next »
Print
Pages: [
1
]
Author
Topic: delete this (Read 2436 times)
Felix-0
And we'll never be
Royal
Posts: 3,563
(royals)
delete this
«
on:
July 28, 2008, 08:35:28 PM »
I'm having trouble posting images on this`lab-top so delete this topic
«
Last Edit: July 30, 2008, 03:19:40 PM by Felix-0
»
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------
Prpl_Mage
Administrator
Sage
Posts: 7,644
The Administrator Mage
Re: Bank System
«
Reply #1 on:
July 28, 2008, 09:54:32 PM »
Posting a screenshot with unnamed variables without any explaination isn't a tutorial I'm afraid.
Describe it step by step so people can understand. At least explain what's going on or it won't help anyone wo actualyl needs help doing this.
Logged
Cool RPGM Project!
Sprite till you die
Oh my god, this was ...10 years ago...
Felix-0
And we'll never be
Royal
Posts: 3,563
(royals)
Re: Bank System
«
Reply #2 on:
July 28, 2008, 10:15:52 PM »
1 the code |$ makes your money appear in a little box
Give it 3 choices
Deposit
ect...
Make these variables
ADD
SUB
Amount in bank
For deposit make a variable called ADD
use Imput number and set store variable to ADD
Add variable Amount in bank by value stored in ADD
Subtract Gold by value stored in ADD
after that set ADD to zero
For Withdraw
Use imput number and store that number in SUB
subtract variable Amount in bank by SUB
Add Gold by variable SUB
after all that set SUB
to zero
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------
Rahl
Lord Of Gamedwellers
Leader
Posts: 2,356
Re: Bank System
«
Reply #3 on:
July 29, 2008, 12:09:13 AM »
Well Felix theres some problems with your script if you dont mind me saying so:
1st: And most important, theres no safety system. I could just go in and deposit 9999999999 and it would let me and only take me down to 0 gold, but afterwards I could just withdraw 9999999999 gold and come out even.
2nd: Your withdraw system alls your numbers to go into the negatives, so I could just withdraw 9999999999 without any consequences and my bank account would just be -999999999.
3rd: To stop these things from happening you would have to have conditional branches to check to see if theres that much money held by the player, and conditional events to make sure that the stated amount is not more than the bank has.
Just some big bugs I found with this.
Logged
Felix-0
And we'll never be
Royal
Posts: 3,563
(royals)
Re: Bank System
«
Reply #4 on:
July 29, 2008, 12:56:01 AM »
I knew I was forgetting something...I'll just post it staraight from my game at my friends house....next time I go over there
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------
Print
Pages: [
1
]
« previous
next »
Charas-Project
»
Game Creation
»
Requests
»
Tutorials
»
delete this