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

User avatar
v-rob
Developer
Posts: 969
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

I've added the rest of the red theme and buttons for both the blue theme and the red theme. I forked it on GitHub here if you want to merge it.

The X and < buttons are in better positions and have better sizes to fit the theme better. The text on the title bar is positioned based on whether there is a back button so that there's no overlap or empty space.

Example screenshots of the title bar:

With the back button:

Image

Without the back button:

Image

(I didn't put the save button back in the notepad app on the GitHub. It's only in my personal copy.)

Thoughts on these new buttons?

BTW, I renamed "laptop_theme_blue_minor_button.png" to "laptop_theme_minor_button.png" because both the red and the blue theme use the same texture, so there's no reason to have two of the same texture.

--------------------

Two more suggestions: I think that the old computer should launch to a terminal app that acts like a command line. You use commands to open up apps and documents and navigate through directories. The theme is very basic and can't be changed because it's old.

A login app. Turn it on and set/change the password in the settings. After the computer is turned on, boot to the login app. Don't boot to it again unless the computer is turned off and on again. The lock screen could be the same as the launcher background. Anyone who knows the password can access the computer, but only the placer of the computer can change/turn on/turn off the password.

Should I put these suggestions on GitHub, or did you decide against it?
Attachments
screenshot_20171203_173711.png
screenshot_20171203_173711.png (361.58 KiB) Viewed 831 times
screenshot_20171203_173730.png
screenshot_20171203_173730.png (359.93 KiB) Viewed 831 times
Core Developer | My Best Mods: Bridger - Slats - Stained Glass

slemon
Member
Posts: 112
Joined: Sun Apr 27, 2014 03:56

Re: [MOD] Laptop (WIP)

by slemon » Post

Add a programing language and make it possible for players to write their own programs!

slemon
Member
Posts: 112
Joined: Sun Apr 27, 2014 03:56

Re: [MOD] Laptop (WIP)

by slemon » Post

Also, make it compatible with mesecons/digilines.

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Features like a programming language would take time. Not saying it can or can't be done. We plan to get it working as a functional computer first of all then add additional features like maybe simple coding. The app API is ready for developers to start to make apps. We are but still a small group working on this project. Please submit your requests for the basics for the laptops to the issues on the GitHub and for additional apps that you want to see created add them to the Laptop Apps subforum linked on opening topic.
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by bell07 » Post

v-rob wrote:Did you read the whole post?
Yes I read it, but seems to not understand full because of my bad english :-(
Great work, I looked trough your changes and all of them can be merged from my point of view. So you can just create a pull request in github from your master branch (I know, the right way is to create a new branch for each PR)

The save-button in texteditor, I removed it because it suggests the text is not saved using back or exit button. But anyway at this point the logic will be changed if the app supports multiplte textfiles.
A login app
Some words about the security.
1. Technically the Nodemeta-used for storage is sent to all clients!! So using clientmods it is possible to read (and manipulate?) all data. The Laptop-mod is no place for personal private data.
2. The formspec is generated and written to the node without any User-Relation. The user is known only if he takes an action (on_receive_fields). ((now I added last playername to os.appdata.os.last_player))
3. If multiple payer looks to the formspec at the same time all of them see the same screen (like in real-live)
4. No passwort app is necessary the player is automatically authenticated by minetest (the mentioned last_player is the fingerprint? :) But inside the apps in on_receive_fields the implementation can check for right player or player-change before taking actions.
slemon wrote:Add a programing language
I'll prefer lua ;-) Should be possible, but for the most player (as in real-live) unattractive. Technically possible to port some functionality from my qa_block mod. But again, we need to collect all ideas mentioned above to github issues to be able to discuss all of them separately.

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [MOD] Laptop (WIP)

by ShadMOrdre » Post

In case it hasn't been mentioned....

viewtopic.php?f=9&t=16538&hilit=functional+lua

Might be good app or at least built in language, or more....

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

Re: [MOD] Laptop (WIP)

by bell07 » Post


ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [MOD] Laptop (WIP)

by ShadMOrdre » Post

Those are only decor. Link I posted has OpSys and is command line Lua machine, capable of executing lua.

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

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

A login app
Locked chest fork
Image

BTW: I planning to make a little codepad app, but I don't have the time to do, so it will take time. PM me if I forget!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Cross_over
Member
Posts: 11
Joined: Fri Nov 10, 2017 18:28
In-game: Cross_over

Re: [MOD] Laptop (WIP)

by Cross_over » Post

The save-button in texteditor, I removed it because it suggests the text is not saved using back or exit button. But anyway at this point the logic will be changed if the app supports multiplte textfiles.
what if..you make a "Save as..." button better?.

about command line, i'm with GA, this is not of Computercraft clone. if it was me i would use Freedos and its not bad as possible mod, or maybe using the old computer for command line Os. some time ago i suggested octacius to use my old computer node for its digicomputer mod, but doesn't seem he is still working on that mod.

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

UPDATED:
New Desktop by Cross_over
Updated Icons by Toby109tt
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Updated:
Brand-New Screenshots

Coming Soon:
Updates to old models
Jesus Is Lord and Savior!!!

User avatar
azekill_DIABLO
Member
Posts: 7507
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 love them
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
veNext​
Member
Posts: 85
Joined: Sun Dec 03, 2017 21:23
IRC: Idk
In-game: veNext

Re: [MOD] Laptop (WIP)

by veNext​ » Post

You know a cool thing to add would be for the computer to put off light if it is on

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

UPDATED:
New Info/Readme file

See first post.
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Which one does everyone like?
Attachments
laptop_usb_2.png
laptop_usb_2.png (954 Bytes) Viewed 831 times
laptop_usb.png
laptop_usb.png (854 Bytes) Viewed 831 times
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by bell07 » Post


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

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

GamingAssociation39 wrote:Which one does everyone like?
USB 2 it fits better the game. For me at least. And if you want a floppy bell:
license: CC-BY-SA
repo.png
repo.png (461 Bytes) Viewed 831 times
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Couldn't we do both because of using the old computer? We need to figure out the functionality of each the USB and a floppy.
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by azekill_DIABLO » Post

Sure we can do both!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
sorcerykid
Member
Posts: 1841
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: [MOD] Laptop (WIP)

by sorcerykid » Post

More than likely when I begin work on the file manager, I'll add inventory slots to the side of the formspec to accept external media so the player can simply drag and drop from their main inventory to mount floppy disks, USB flash drives, external HDD, etc. on the fly.

I'm planning for all data related to the laptop to be saved on the server in a JSON file for security, since mod metadata and node metadata are both exposed to the client.

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

Re: [MOD] Laptop (WIP)

by GamingAssociation39 » Post

Am working on redoing my (old) models. It has been a bit of a challenge for me personally. So please bear with me on this. The models have been made but I'm having trouble texturing them. :)
Jesus Is Lord and Savior!!!

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

Re: [MOD] Laptop (WIP)

by bell07 » Post

sorcerykid wrote:I'll add inventory slots to the side of the formspec to accept external media so the player can simply drag and drop from their main inventory to mount floppy disks, USB flash drives, external HDD, etc. on the fly.
I planned to take own app for external media exchange because the full player inventory needs to be there. 1x1 Inventory slot, can be filled by punching laptop with disk or using the specific app. The app contains further disk administrative tasks like formatting, system backup, write OS for old comupter to be able to boot and so on.

See https://github.com/Gerold55/laptop/issues/17 for further ideas

User avatar
azekill_DIABLO
Member
Posts: 7507
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 for this idea! We could also ad multiple OS to install!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

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

Re: [MOD] Laptop (WIP)

by bell07 » Post

azekill_DIABLO wrote:+1 for this idea! We could also ad multiple OS to install!
It is possible already to define different OS'ses for each system by set "custom_launcher". The launcher is the visible part of operating system.
At the time we have 2 OS'es: THe modern for modern computers/laptops and the small for old computer, currently only the "Pease insert disk" screen part of them.

Feel free to write own Other-OS Launcher-Apps like Fuit-OS or MT-DOS

Post Reply

Who is online

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