Jump to content

Recommended Posts

Posted

As the title implies itself this is an ATM system that you can use on your own server. You can use this by typing @atm.

 

The script can do the following : 

 Register

- Register your account on the atm system.

- Initial account balance is 0.

- Initial account number is your account id.

• Deposit

- Deposit zeny on atm system

- Maximum deposit of 9,999,999z per transaction.

- Restrict 0z deposit.

- Restrict the user to deposit amount which is larger than the current holding zeny.

• Withdraw

- Withdraw zeny on atm system

- Maximum withdraw of 9,999,999z per transaction.

- Restrict 0z withdraw.

- Restrict the user to withdraw amount which is larger than the balance of the account.

- Restrict the user to withdraw which will probably result of holding 2,000,000,000z+.

• Inquire Balance 

- Check if you are registered on the atm system.

- Show your account number and account balance.

 

How to install? 

• Just import the bank.sql on your database.

• Just put the atm.txt on your server files.

 

Suggestions and bug reports are welcome. Feel free to message me here in rAthena.

 

atmsystem.zip

[Mediafire] atmsytem.zip

 

 

88x31.png
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.

  • Upvote 3
Posted

hi, nice script but how to deposit more then 10M per transaction?

Thank in advance ;)

You cannot deposit 10M zeny and up because the maximum amount being set on the script is 10,000,000z. 

Posted (edited)

Thank alot Emistry ;)

After you set the maximum value. Find and remove :

 

 
if (@amount > 9999999) {
                    mes .@npc$;
                    mes "You can only deposit 9999999z per transaction";
                    close;
                }

 

 
if (@wamount > 9999999) {
                    mes .@npc$;
                    mes "You can only withdraw 9999999z per transaction";
                    close;
                }
Edited by Traumatized
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...