Page 1 of 2

[Mod] Smart shop 4r [smartshop]

PostPosted: Sun Mar 27, 2016 13:27
by AiTechEye
Image



Like the title says, this is a smart and easy shop, that also will fit everywhere.

it is a mix of a vending machine, a shop, item frames and light.

You can toogle it unlimited or limited if you have give or creative
(unlimited will not take or add stuff to its inventory)

Licenses: code and media CC0
Depends: none
Supported mods: pipeworks and aliveai 1.9+

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 13:36
by ExeterDad
I haven't gotten a chance to test this yet, but I just had to jump in and tell you how cool I think this is!

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 14:13
by jp
Can you use a OSI-approved license for your mods, please ? Your custom licensing (some identify it as proprietary) is quite vague, contradictory and stuffed of spelling mistakes.

We are not really sure if we're allowed to make a fork and release it.

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 17:12
by AiTechEye
-- Licence stuff --

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 18:14
by rubenwardy
Just use a premade license, less of a legal nightmare.
Your mods won't be allowed in the mod releases section of the forum, and shouldn't be allowed here.

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 18:26
by Thomas-S
Maybe this will help you with choosing another license:
http://choosealicense.com/

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 19:01
by rubenwardy
It sounds like you'd want a CC-BY-SA license. Anybody that takes your code must:

1. Credit you as the original author.
2. Make their code under the same license (anyone that takes their copy of your code must also credit you)

Re: [Mod] Smart shop 0.5 [smartshop]

PostPosted: Sun Mar 27, 2016 21:24
by AiTechEye
rubenwardy wrote:It sounds like you'd want a CC-BY-SA license. Anybody that takes your code must:

1. Credit you as the original author.
2. Make their code under the same license (anyone that takes their copy of your code must also credit you)


Edit
Thanks rubenwardy! the CC-BY-SA is best suited.


the license is applied to all the others mods

My internet is very limited right now, and it took 40 seconds just to load the forum (2 minutes to upload the image)...i will get back my speed in next month.

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Tue Mar 29, 2016 18:21
by benrob0329
I know how that works, I used to have crappy satellite internet....would slow down if you went over ~20 GB.

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Tue Mar 29, 2016 18:40
by AiTechEye
My mt server ate all my 50GB in 3 weeks >_<

I had a unusually many projects during the month, and i had to test them online, (finding bugs that rarely happens in singleplayer)

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Mon Apr 04, 2016 20:46
by rubenwardy
There are some comments here that you may want to look at, UjEdwin: https://www.reddit.com/r/Minetest/comme ... smartshop/

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Tue Apr 05, 2016 10:09
by AiTechEye
I have no desire to go through all 33 mods again ...

and the stuff in found in their pages didn't say saying about it, and there license tags are too large to read (even i read a part of it)

but ok, i have all the mods on my pc, easier to replace the files :-)

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Tue Apr 05, 2016 11:29
by AiTechEye
done... it went faster than i was thought, all the mods have the CC-BY-SA now.

Re: [Mod] Smart shop [smartshop]

PostPosted: Wed Jun 08, 2016 10:43
by amadin
Propose replace 1 sign by Mese lamp in shop's recipe, becasue shop glows in the dark and has 4 locked chests, 4 items for sale but 5 signs in shop's recipe.

Re: [Mod] Smart shop [smartshop]

PostPosted: Sun Aug 14, 2016 18:19
by maikerumine
PLEASE FIX:
ServerError: Lua: Runtime error from mod 'smartshop' in callback on_playerReceiveFields(): C++ exception

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 13:36
by ParaklataChotou
maikerumine wrote:PLEASE FIX:
ServerError: Lua: Runtime error from mod 'smartshop' in callback on_playerReceiveFields(): C++ exception

I've got the same problem. I think I'll need to be forced to remove this mod. Could you help us, Ed?

Re: [Mod] Smart shop V1 [smartshop]

PostPosted: Tue Aug 23, 2016 13:44
by ParaklataChotou
rubenwardy wrote:There are some comments here that you may want to look at, UjEdwin: https://www.reddit.com/r/Minetest/comme ... smartshop/

Thank you Ruben for the information. Now I know that I need to remove this. Wich what do you recommend as shop mod? I'm looking a good one, but I don't know... It's really difficult find a very good shop mod.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 14:18
by rubenwardy
the license is perfectly fine now

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 14:27
by ParaklataChotou
rubenwardy wrote:the license is perfectly fine now

Ruben, do you know how to fix this callback?

"ERROR[Main]: ServerError: Lua: Runtime error from mod 'smartshop' in callback on_playerReceiveFields(): C++ exception"

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 14:40
by ParaklataChotou
Now I'm thinking it's not a bug of the code. Maybe it's Microsoft C++ 2008. Upgrade C++ to C++2010. Let's see if the error persists.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 14:43
by Nathan.S
It will be an error with the mod itself, possibly you have an older version of minetest, or this mod is written for an older version.
The version of C++ you have installed on your system will not make any impact on the games running.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 17:23
by ParaklataChotou
Nathan.S wrote:It will be an error with the mod itself, possibly you have an older version of minetest, or this mod is written for an older version.
The version of C++ you have installed on your system will not make any impact on the games running.

:( . Did you have debuged it or something? Because I downloaded the same smartshop of this topic.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 18:08
by MineYoshi
ParaklataChotou wrote:
Nathan.S wrote:It will be an error with the mod itself, possibly you have an older version of minetest, or this mod is written for an older version.
The version of C++ you have installed on your system will not make any impact on the games running.

:( . Did you have debuged it or something? Because I downloaded the same smartshop of this topic.

If there's an error with "callback" should be from the mod!... Doesn't matter the "version of C++", starting from the fact that the mods of Minetest are wrote in Lua... So it must be a problem of the mod, try with another Minetest, then it should be working alright...

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 18:17
by ParaklataChotou
I removed the old c++ and now it's working fine - by the moment. but if you say that it's error on programming, so I'll need to consider remove this mod. It's an amazing mod, but these bugs are unacceptable for a server.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 18:21
by MineYoshi
ParaklataChotou wrote:I removed the old c++ and now it's working fine - by the moment. but if you say that it's error on programming, so I'll need to consider remove this mod. It's an amazing mod, but these bugs are unacceptable for a server.

I forgot the say there is a Lua compiler in the engine... So can be from the engine too, but since mostly times is the mod, i have to say i didn't think about that fact

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 18:30
by rubenwardy
Wow, this is like watching a really bad hacking ahow

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 19:07
by ParaklataChotou
MineYoshi wrote:
ParaklataChotou wrote:I removed the old c++ and now it's working fine - by the moment. but if you say that it's error on programming, so I'll need to consider remove this mod. It's an amazing mod, but these bugs are unacceptable for a server.

I forgot the say there is a Lua compiler in the engine... So can be from the engine too, but since mostly times is the mod, i have to say i didn't think about that fact

YES, THE PROBLEM IS C++ ENGINE. BECAUSE NOW MY SERVER IT'S NOT CRASHING.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 21:42
by ParaklataChotou
You were right. My server still crashing. I'll download the mod again, and install it. If it still crashing, I'll remove it.

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 22:07
by MineYoshi
ParaklataChotou wrote:You were right. My server still crashing. I'll download the mod again, and install it. If it still crashing, I'll remove it.

Try with a fresh Minetest version...
Are you using 64bit Minetest? (Justly wondering)

Re: [Mod] Smart shop [smartshop]

PostPosted: Tue Aug 23, 2016 23:08
by ParaklataChotou
MineYoshi wrote:
ParaklataChotou wrote:You were right. My server still crashing. I'll download the mod again, and install it. If it still crashing, I'll remove it.

Try with a fresh Minetest version...
Are you using 64bit Minetest? (Justly wondering)

Yes, I'm using 64 bit. And this minetest I downloaded recently. But I tried this: now I added the smartshop folder directly to minetest_game folder. Now let's see if it works.