[Mod] Mint & Automatic Commerce Machines [mint]

User avatar
VoidLord
Member
 
Posts: 46
Joined: Sun Jan 20, 2013 16:07
Location: SPACE! WHAT!?

by VoidLord » Wed Jun 12, 2013 20:40

The download link is dead? Can you provide a new one?

-webdesigner97
Last edited by VoidLord on Wed Jun 12, 2013 20:41, edited 1 time in total.
</randomtextcrap>
</forumposthing>
</body>
</html>
/0
 

User avatar
Cooper97
Member
 
Posts: 52
Joined: Thu Feb 21, 2013 19:55
Location: Germany

by Cooper97 » Thu Jul 18, 2013 14:08

Yes omploader is dead can you upload it again please? I recommend DropBox or Github.
Sorry for my bad english. (I am from germany.)
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
Location: Netherlands
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Sat Jul 20, 2013 06:25

Can you sell nodes in bundles? F.e. 20 wood for 10 minetoon coins.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [mod] mint & automatic commerce machines [mint]

by ExeterDad » Sat Jul 19, 2014 17:03

Just hoping someone has a copy of this mod laying around somewhere? Anyone?
 

User avatar
Topywo
Member
 
Posts: 1721
Joined: Fri May 18, 2012 20:27

Re: [mod] mint & automatic commerce machines [mint]

by Topywo » Sat Jul 19, 2014 17:16

ExeterDad wrote:Just hoping someone has a copy of this mod laying around somewhere? Anyone?


Found this one. I didn't check it

https://dl.dropboxusercontent.com/u/65428713/mint.zip
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad

Re: [mod] mint & automatic commerce machines [mint]

by ExeterDad » Sat Jul 19, 2014 18:10

Topywo wrote:
ExeterDad wrote:Just hoping someone has a copy of this mod laying around somewhere? Anyone?


Found this one. I didn't check it

https://dl.dropboxusercontent.com/u/65428713/mint.zip

I've never seen the original mod to determine if it's been modified or not, but it sure looks like the code snippets in this thread, and seems it will do as the OP advertised!
Thanks so much!
 

User avatar
kaeza
Moderator
 
Posts: 2162
Joined: Thu Oct 18, 2012 05:00
Location: Montevideo, Uruguay
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: [mod] mint & automatic commerce machines [mint]

by kaeza » Sat Jul 19, 2014 18:49

Topywo wrote:
ExeterDad wrote:Just hoping someone has a copy of this mod laying around somewhere? Anyone?


Found this one. I didn't check it

https://dl.dropboxusercontent.com/u/65428713/mint.zip

Package attached to first post. Thanks for the link!
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal
 

User avatar
lightonflux
Member
 
Posts: 384
Joined: Mon Nov 11, 2013 07:22
Location: Germany
In-game: lof

Re: [mod] mint & automatic commerce machines [mint]

by lightonflux » Mon Jul 21, 2014 05:09

Can you add the license for code, textures and sounds in the archive please? A file called LICENSE would work well.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: [mod] mint & automatic commerce machines [mint]

by aldobr » Fri Jul 25, 2014 12:46

Yes ! Thats my code !

Thanks !

This cold is a little older than the last version, it still works with mese.

So i believe this has the strange operator precedence bug that allows players other than the machine owner to move stuff in the machine, pls check this (i cant because i dont know how to mimmick "other player" here).
 

User avatar
ExeterDad
Member
 
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
Location: New Hampshire U.S.A
In-game: ExeterDad
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: [mod] mint & automatic commerce machines [mint]

by aldobr » Fri Jul 25, 2014 16:59

Everything was updated, even the code. But i need some testers to verify safety.

Licence is still WTFPL for the code. Some images have their own free licences. Sounds are free from a free sounds site.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46
 

User avatar
Topywo
Member
 
Posts: 1721
Joined: Fri May 18, 2012 20:27

Re: [mod] mint & automatic commerce machines (Updated) [mint

by Topywo » Wed Aug 06, 2014 11:11

- (Tried with singleplayer and then topywo on a server) I couldn't change the price of the goods to sell, but had full access to the machine's inventory (so I could swap items)
- For crafting the machines it might be better to use group:wood instead of default:wood
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: [mod] mint & automatic commerce machines (Updated) [mint

by aldobr » Wed Aug 06, 2014 14:20

The problem with setting price/fields is because you cannot leave a formspec by pressing enter. This is a minetest bug, not mod bug. Set the price (or item) field and click on something else at the inventory. Then press enter. Its annoying.

Edit: Fixed the ownership bug. For lua, "not a = b" is like "(not a) = b" instead of "not (a = b)". So i used "a ~= b", and i should have used this right from the start.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: [Mod] Mint & Automatic Commerce Machines [mint]

by aldobr » Sat Aug 09, 2014 01:09

Change 1.3, added a bank system to the mod. But i am still figuring out why it doesnt work.

Code: Select all
   accountexists = function(machine, account)
      -- Return true if the account account exists
      print('checking for account '..account..' '..machine.accounts.getn)
      for name, value in pairs(machine.accounts) do
         print(name, '=', value)
         if name == account then
            return true
         end
      end
      return false
      -- return machine.accounts[account] ~= nil
   end,


This function is not working. Accounts is a table with key = playername and value = ammount of coins.

It doesnot work upon startup.
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46
 

User avatar
balthazariv
Member
 
Posts: 214
Joined: Mon Apr 07, 2014 15:48

Re: [Mod] Mint & Automatic Commerce Machines [mint]

by balthazariv » Wed Oct 01, 2014 22:52

Hello,

I have this error

00:49:00: ERROR[main]: ========== ERROR FROM LUA ===========
00:49:00: ERROR[main]: Failed to load and run script from
00:49:00: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\mint\init.lua:
00:49:00: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\mint\init.lua:86: bad argument #1 to 'lines' (L:\Minetest\minetest - Copie\bin\..\worlds\Test/accounts.dat: No such file or directory)
00:49:00: ERROR[main]: stack traceback:
00:49:00: ERROR[main]: [C]: in function 'lines'
00:49:00: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\mint\init.lua:86: in function 'loadaccountsdatabase'
00:49:00: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\mint\init.lua:1188: in function 'mintonstartup'
00:49:00: ERROR[main]: L:\Minetest\minetest - Copie\bin\..\mods\mint\init.lua:1194: in main chunk
00:49:00: ERROR[main]: ======= END OF ERROR FROM LUA ========
 

tbillion
Member
 
Posts: 189
Joined: Wed Apr 03, 2013 16:07
Location: 38381, US, TN, Toone

Re: [Mod] Mint & Automatic Commerce Machines [mint]

by tbillion » Sun Nov 22, 2015 14:01

Code: Select all
2015-11-22 07:55:36: ERROR[Main]: ModError: Failed to load and run script from /home/tjohnson/Downloads/minetest-master/bin/../mods/mint/init.lua:
2015-11-22 07:55:36: ERROR[Main]: .../Downloads/minetest-master/bin/../mods/mint/init.lua:86: bad argument #1 to 'lines' (/home/tjohnson/Downloads/minetest-master/bin/../worlds/Old_World/accounts.dat: No such file or directory)
2015-11-22 07:55:36: ERROR[Main]: stack traceback:
2015-11-22 07:55:36: ERROR[Main]:       [C]: in function 'lines'
2015-11-22 07:55:36: ERROR[Main]:       .../Downloads/minetest-master/bin/../mods/mint/init.lua:86: in function 'loadaccountsdatabase'
2015-11-22 07:55:36: ERROR[Main]:       .../Downloads/minetest-master/bin/../mods/mint/init.lua:1188: in function 'mintonstartup'
2015-11-22 07:55:36: ERROR[Main]:       .../Downloads/minetest-master/bin/../mods/mint/init.lua:1194: in main chunk
2015-11-22 07:55:36: ERROR[Main]: Check debug.txt for details.
 

skiphoppy
Member
 
Posts: 16
Joined: Sat Jun 10, 2017 01:50

Re: [Mod] Mint & Automatic Commerce Machines [mint]

by skiphoppy » Tue Jun 13, 2017 23:06

The Dropbox link for this module's code no longer works. Does anyone have a copy?

I've been looking through several currency and exchange mods and this one has the best concept I've seen!
 

Previous

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 3 guests