[Mod] Bank Accounts [1.1][bank_accounts]

User avatar
Tmanyo
Member
 
Posts: 195
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Tmanyo » Mon Jul 24, 2017 01:03

christoferlevich wrote:
I didn't want to see buildings made out of ATMs


Rofl. You're right! And your PC would be everywhere! At least with my students.

Yeah on my Realism server I am starting, I have the bank builders placing the ATMs so that we don't have tons of them all around.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
luizsab
Member
 
Posts: 32
Joined: Mon Jan 16, 2017 13:49

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by luizsab » Mon Aug 21, 2017 03:14

Hello.
I'm testing the mod Bank Accounts in local game with lan network and I found error and server shutdown. See the log of debug.txt:
2017-08-21 00:12:07: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnPlace(): /home/luiz/.minetest/mods/bank_accounts/card_swipe.lua:71: attempt to compare string with number
2017-08-21 00:12:07: ERROR[Main]: stack traceback:
2017-08-21 00:12:07: ERROR[Main]: /home/luiz/.minetest/mods/bank_accounts/card_swipe.lua:71: in function 'on_rightclick'
2017-08-21 00:12:07: ERROR[Main]: /usr/share/games/minetest/builtin/game/item.lua:347: in function </usr/share/games/minetest/builtin/game/item.lua:340>
2017-08-21 00:12:07: ERROR[Main]: Access denied. Reason: This server has experienced an internal error. You will now be disconnected.


I realized that if a player put items at card_swiper and dig it he lost the items.
Luiz
[luizsab]
 

User avatar
Tmanyo
Member
 
Posts: 195
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Tmanyo » Fri Aug 25, 2017 00:05

luizsab wrote:Hello.
I'm testing the mod Bank Accounts in local game with lan network and I found error and server shutdown. See the log of debug.txt:
2017-08-21 00:12:07: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback item_OnPlace(): /home/luiz/.minetest/mods/bank_accounts/card_swipe.lua:71: attempt to compare string with number
2017-08-21 00:12:07: ERROR[Main]: stack traceback:
2017-08-21 00:12:07: ERROR[Main]: /home/luiz/.minetest/mods/bank_accounts/card_swipe.lua:71: in function 'on_rightclick'
2017-08-21 00:12:07: ERROR[Main]: /usr/share/games/minetest/builtin/game/item.lua:347: in function </usr/share/games/minetest/builtin/game/item.lua:340>
2017-08-21 00:12:07: ERROR[Main]: Access denied. Reason: This server has experienced an internal error. You will now be disconnected.


I realized that if a player put items at card_swiper and dig it he lost the items.


I will look into that.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
luizsab
Member
 
Posts: 32
Joined: Mon Jan 16, 2017 13:49

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by luizsab » Sun Oct 08, 2017 22:41

Hello!
I'm testing Bank Accounts with my students. We found something wrong, when I put itens in the card_swiper the buyer can gets how many iten he wants for one price.
Example: I put some pick_stone for 5 Minegeld, when the buyer gets 2 or 3 it debit out only 5 Minegeld.

There are another problem, I already posted it, I don't know if you had time to look that. If I digs the card_swiper I lost the itens.

(Sorry my mistakes, my English is rusty)

Thank You! We like a lot this mod.
Luiz
[luizsab]
 

User avatar
Fixer
Member
 
Posts: 859
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

User avatar
Krock
Developer
 
Posts: 4106
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Krock » Thu Oct 12, 2017 20:08

Fixerol wrote:Images need replacing.

They still exist and may work fine on Chrome but OP doesn't care about other browsers and keeps them in the .webp format.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Tmanyo
Member
 
Posts: 195
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Tmanyo » Sat Oct 14, 2017 03:37

luizsab wrote:Hello!
I'm testing Bank Accounts with my students. We found something wrong, when I put itens in the card_swiper the buyer can gets how many iten he wants for one price.
Example: I put some pick_stone for 5 Minegeld, when the buyer gets 2 or 3 it debit out only 5 Minegeld.

There are another problem, I already posted it, I don't know if you had time to look that. If I digs the card_swiper I lost the itens.

(Sorry my mistakes, my English is rusty)

Thank You! We like a lot this mod.


I have been busy with work and school lately. I don't fully understand your issue. I will take a look at the card swipe digging issue today.

Edit:
I made a change that should fix the deleting objects issue when digging a card swipe. You will need to get the latest commit from github. Locate the repository and then there should be a green clone or download button. You will need to use that.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
christoferlevich
Member
 
Posts: 323
Joined: Thu Dec 01, 2016 23:44
Location: Athol, Massachusetts
GitHub: ChristoferL

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by christoferlevich » Sat Oct 14, 2017 10:24

My students have started using the ATM feature for storage of their US Currency funds. I managed to get the ATM to accept 10, 20, 50... your code is awesome to troll through. I think Im actually learning something. lol.

Its only a matter of time before they go through the other features. Just dropping a line thanking you! They love it. All my kids are grades 1-5, so their imaginations are huge!
everything can be a learning experience...
 

User avatar
Fixer
Member
 
Posts: 859
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Fixer » Sat Oct 14, 2017 23:30

Here is small collage of his screenshots from the first post so anyone can see (not just those chrome users):
Image
Attachments
bank_acc.png
(552.96 KiB) Not downloaded yet
 

User avatar
Tmanyo
Member
 
Posts: 195
Joined: Mon Sep 29, 2014 01:20
Location: United States
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by Tmanyo » Sun Oct 15, 2017 00:27

christoferlevich wrote:My students have started using the ATM feature for storage of their US Currency funds. I managed to get the ATM to accept 10, 20, 50... your code is awesome to troll through. I think Im actually learning something. lol.

Its only a matter of time before they go through the other features. Just dropping a line thanking you! They love it. All my kids are grades 1-5, so their imaginations are huge!

In my opinion, my code is easier to understand than a lot of other people's. I am glad they are learning!
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player
 

User avatar
casp3r
Member
 
Posts: 21
Joined: Sat Nov 11, 2017 10:38

Re: [Mod] Bank Accounts [1.1][bank_accounts]

by casp3r » Tue Sep 11, 2018 22:45

hi, really good job, first :)

but can you please add something for using "enter" (keyboard) to validate PIN in the ATM.
maybe add readable receipt (like "signed letter" i imagine)
and lastly maybe 2, 3 lines for card swipe for 2,3 different price like all item put in the case are solde at the same price on the line

but it's already awesome

question what's happen if a player enter "set_pin XXXX" twice or more ? (like an idiot there are sometimes :) )

i don't know if it's normal but when i enter / unseize "" the player have a seized account and can't use debt/cred card
and when i enter /seize "" the player can buy
 

Previous

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 10 guests