[Mod] Laptop (WIP) (V. 0.39)

Post Reply
User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

[Mod] Laptop (WIP) (V. 0.39)

by GamingAssociation39 » Post

Version: 0.39

The Laptop mod is a group collaboration between Bell07, Toby109tt, veNext, Cross_over, v-rob, Grizzly-Adam and Yours truly lol.
We aim to make a working laptop inside of MineTest.
There is multiple different computers to choose from and to use.

All Default Laptop Icons Made By Cross_over
Email read and unread (beside email) by: Toby109tt


Does anyone have any suggestions for it?

App suggestions other than basic laptop apps:
viewtopic.php?f=9&t=18920

Features (added):
Sticky Notepad
Settings
Email
Calculator
TNTSweeper
Tetris
Chess
MineBrowse

Features (maybe):
Store (Trading)
Crafting/Crafting Guide
Some kind of game of sorts

PC Pack 1 & 2 has been released:
viewtopic.php?f=9&t=19097

Additional Themes:
https://github.com/Gerold55/Laptop_Themes

Additional Websites
https://github.com/Gerold55/MineBrowse-Sites

There is an API documentation: https://github.com/Gerold55/laptop/blob/master/API.md

If you have questions about how a specific feature should be done, just ask bell07

Image
Image
Image

License: MIT
Download: https://github.com/Gerold55/laptop/archive/master.zip
GitHub: https://github.com/Gerold55/laptop

Use with MineTest 0.4.16 and above.
Rename mod to laptop.
Attachments
modern_os.png
(196.42 KiB) Not downloaded yet
CS-BOS.png
(186.32 KiB) Not downloaded yet
pc.png
(213.89 KiB) Not downloaded yet
Last edited by GamingAssociation39 on Mon Jul 23, 2018 17:58, edited 67 times in total.
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop? (WIP)

by azekill_DIABLO » Post

i agree with this project! i totally love the idea, and i'm ready to help with formspecs!

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

UPDATE:
Adjusted inventory image. Fixed the inventory code/cleaned it up.
Jesus Is Lord and Savior!!!

User avatar
v-rob
Developer
Posts: 772
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: [MOD] Laptop (WIP)

by v-rob » Post

.
Last edited by v-rob on Tue Jun 30, 2020 01:07, edited 1 time in total.
Minetest Core Developer | My Best Mods: Bridger - Slats - Stained Glass

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

v-rob wrote:Finally! A computer that will be more than decoration!

You should make it look like an actual computer when you use the computer. Have a good desktop background with file folders and/or a taskbar that direct you to the accessories. In other words, you click on the program icon (like a picture of a notepad) and it directs you to whatever it is (the notepad).

The crafting guide should direct you to a search engine-like thing. You could type in the name of the node here. If you want to search for it like in an inventory type of thing, then you click on a button in the search engine-like thing to direct you there.

Add a help sort of thing similar to this

A file that appears specifically for explaining how the computer works that opens the moment you start the computer for the first time.

Add statistics of what you've dug like this As a result of these being personalized to you only, you would have to sign into your account. Your account would be your server/multiplayer name. (Example: You sign in to the server by the name ExampleDigger, so your account is ExampleDigger. Single player games have the account singleplayer.) Your password would be set using a command like /set_password (your password goes here). Admins do not need passwords to sign in to accounts.

Multiple notepads could be saved. This would result in a notepad folder, where notepad files are stored. It does need a delete function and maybe a limit to the amount of documents. (You should also make sure that you can scroll down and up or have multiple pages in the folder and the document. Books can't do either, and it is annoying when typing something very big)

A printer. A written notepad document would have a print button. A printer would print a piece of paper with the text document title and content. Digging the paper would not make it lose this content. The printer would need to be next to the computer to print. If there is no printer next to the computer, an error message pops up on the computer screen.

Spreadsheet documents. Maybe ten to fifteen rows and columns at most. Also printable. Have some basic spreadsheet functions. They would have a folder like notepad documents.

A calculator. The more advanced, the better. If you make a full graphing calculator, then I have no complaints :-)

A clock telling Minetest time and a clock telling real time should always be present in one of the corners of the computer.

To email someone else, type in their server/multiplayer name in the Email search bar. They should pop up. Emails should have a delete function and a spam function. Marking people as spam makes it impossible to receive Emails from them. Unmarking them should also be allowed.

Music player. Make it highly customizable for players. Only the player that owns the computer can hear it, though. The song should repeat until player stops it or changes the song. Might have to use client side modding for this, so I don't expect it to happen.

Bank accounts. Players should be able to buy and sell things with money. Buying and selling online (not with other players) should exist as well as with other people. Online stores should change their prices within a set range periodically.

Trading/buying and selling with other players should have a chat function for bargaining. There needs to be a create trading post/store button in the trading interface. In the title, say exactly what you are selling and for what. A search bar will be used to find these trading posts/stores.

For buying and selling/trading, there should be three interfaces: One for online, one for player trades, and lastly one for buying and selling. All three would have a search bar and a set trading post/store.

Make a good mesh node that makes a nice slim computer. Add a texture for a computer that is on (probably only showing the desktop background). Make a monitor with the same functions (I like monitors better.). Lastly, add optional HD textures.

That's all that I have, but it's a lot more than I thought I would suggest, and it took me a long time :/
I think it was worth it though. This mod has huge potential.
Well I've found this mod viewtopic.php?f=9&t=14464 for the emails just gotta figure how to implement image button w/o text and to incorporate other mod into mine that intertwine with the laptop & Computer (WIP;Not Done Yet). Any suggestions? Anyone willing to help out some? I've got the idea I'm still a noob @ lua but I'm gonna be adding as much as I can to the laptop. So if u wanna contribute to it let me know.
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

you could also add a kind of terminal in lua for the computer!

bell07
Member
Posts: 598
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [MOD] Laptop (WIP)

by bell07 » Post

Some proposals:
In homedecor_modpack there is a "Arcade" computer with the tetris game
We have some trading mods you can integrade for "mobile home banking"
Lua does have an "os.call()" so it is possible to write an interface to the "Real" Host the minetest runs on.

Maybe you get the infrastructure / an API working at the first. My proposal is to create an function

Code: Select all

laptop.register_app(name, required_permission, formspec, on_receive_fields)
so it could be possible to write "Apps" for our laptop from other mods.

For complex fomspecs you can get a look to the smartfs or my enhanced fork I use in smart_inventory.

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

bell07 wrote: Maybe you get the infrastructure / an API working at the first. My proposal is to create an function

Code: Select all

laptop.register_app(name, required_permission, formspec, on_receive_fields)
so it could be possible to write "Apps" for our laptop from other mods.
NVM
Jesus Is Lord and Savior!!!

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

UPDATE:
Added a monitor
Edited how to operate the computers (WIP)
Added a proper readme and license documents
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

i had an excelent idea: there is some time, a guy realised the exploit of embeding a working browser in a formspec, and he managed to go on youtube from minetest!

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [MOD] Laptop (WIP)

by Diamond knight » Post

Ooh, maybe an admin app or an in game minetest wiki.

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Update:
Added a brand-new computer to the mod.
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

+1

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [MOD] Laptop (WIP)

by Diamond knight » Post

maybe use this MC mod for some ideas?

https://www.youtube.com/watch?v=e27UmZcvebg

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [MOD] Laptop (WIP)

by BBmine » Post

I'm trying to figure out, which is better, this mod or octacian's mod?

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

which one? (OM*G what happened to your profile pic?)

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [MOD] Laptop (WIP)

by BBmine » Post

azekill_DIABLO wrote:which one? (OM*G what happened to your profile pic?)
Lone_Wolf ductaped me because he thought I talked too much :(

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

XD

User avatar
v-rob
Developer
Posts: 772
Joined: Thu Mar 24, 2016 03:19
GitHub: v-rob
IRC: v-rob
Location: Right behind you.

Re: [MOD] Laptop (WIP)

by v-rob » Post

.
Last edited by v-rob on Tue Jun 30, 2020 01:08, edited 1 time in total.
Minetest Core Developer | My Best Mods: Bridger - Slats - Stained Glass

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

I am still looking for some developers help to work on this mod. Please!!!!
Jesus Is Lord and Savior!!!

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Update:
API/OS
Redone coding/cleanup


Many updates and advancements are happening thanks to bell07. :)

Thank you for all of your help with this mod. You didn't have to do it, thanks :)
Last edited by GamingAssociation39 on Fri Nov 24, 2017 08:13, edited 1 time in total.
Jesus Is Lord and Savior!!!

User avatar
GamingAssociation39
Member
Posts: 844
Joined: Mon Apr 25, 2016 16:09
GitHub: Gerold55
IRC: Gerold55
In-game: Gerold55
Location: Maryland, USA

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Added:
App API Documentation

By bell07
Jesus Is Lord and Savior!!!

bell07
Member
Posts: 598
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [MOD] Laptop (WIP)

by bell07 » Post

Primary I did work on the framework as I am not a UI-Guy.
Now I wrote the API-Documentation: https://github.com/bell07/laptop/blob/master/API.md
The App-Development can be started for now ;-). For example the demo2 App to get the feeling

Code: Select all

laptop.register_app("demo2", {
	app_name = "Demo App 2",
	formspec_func = function(app, os)
		local data = app:get_storage_ref()
		data.counter = data.counter or 1

		if data.counter % 2 == 0 then
			app.background_img = "background1.png"
		end
		return 'button[3,1;5,1;count;Click: '..data.counter..']'..
				'button[3,3;5,1;back;Back to launcher]'
	end,
	receive_fields_func = function(app, os, fields, sender)
		if fields.count then
			local data = app:get_storage_ref()
			data.counter = data.counter + 1
		elseif fields.back then
			os:set_app("launcher")
		end
	end
})
I think the most important part is to get the launcher-app eye-candy ;-)

bell07
Member
Posts: 598
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [MOD] Laptop (WIP)

by bell07 » Post

Image
Image
Attachments
screenshot_20171124_190456.png
(199.48 KiB) Not downloaded yet
screenshot_20171124_190002.png
(180.71 KiB) Not downloaded yet

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

amazing, i must say!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 6 guests