Jump to content

Utility: ATM System


Patskie

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  03/15/13
  • Last Seen:  

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

Thank in advance ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  03/15/13
  • Last Seen:  

And how i can edit for maximum ? thak for your answer ^^

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

trunk/conf/script_athena.conf

// Default value of the 'max' argument of the script command 'input'.
// When the 'max' argument isn't provided, this value is used instead.
// Defaults to INT_MAX.
//input_max_value: 2147483647
input_max_value: 10000000
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   3
  • Joined:  03/15/13
  • Last Seen:  

Thank alot Emistry ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

Nice and working!! /thx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Nice and working!! /thx

Thanks!

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   0
  • Joined:  11/16/12
  • Last Seen:  

I want to report an error
I try this in svn idAthena
commands. @ atm can
balance could include (zeny reduced)
could not withdraw money
can not check the balance

Link to comment
Share on other sites

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.

×
×
  • Create New...