mathilde411 / bperipherals Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://www.curseforge.com/minecraft/mc-mods/bperipherals
License: Other
Home Page: https://www.curseforge.com/minecraft/mc-mods/bperipherals
License: Other
Title sums it up quite well. I'm not sure if I'm just not spelling it right or something but I seem to have tried everything.
I am mainly asking this as i would love to see mods that support/add blocks that act as peripherals to CC:R,
The hardest part about porting in this mods current state is block registration and player interactions as we did our best to keep the peripheral code 1:1 with CC:T
We need more info about the database, it seems like a VERY interesting block but I have no idea how to use it
It would be cool if the mag_write event would return the data previously on the card or both 'mag_swipe' and 'mag_write' events fired.
I know this feels useless, and can easily get worked arround, but i wanted to register how many times the card was used, or for an one use ticket system, stored on the card. I'm the only one on my friends server that knwo how to use computercraft and this would make things easier than sharing info between computers to knwo that the card has been used.
So there's already a function to generate RSA Keys, and a function to encrypt/decrypt with AES,
so if you exchange two public RSA keys, you could use the Diffie–Hellman key exchange method to both generate a secrete key to use with the AES, without ever exchanging the key,
and I really want to do this, and I've been researching how to implement RSA DHKE in lua but Im totally stuck
So it would be nice if it was included in the mod itself as a function :3
Im sure as the developer of a computer cryptographic mod you already knew about the DHKE but just in case it does this:
ecdh(a.priv, b.pub) == ecdh(b.priv, a.pub)
That way both parties can result in the same shared key over a network, without actually sharing anyway to get the key to other people
Then use the key with AES Encryption and boom you're sharing secure encrypted messages without having to secretly send the other person anything
Also, I second the use the cryptographic accelerator on pocket computers/phones, that would be amazing, secure texting :D
Lastly, thanks for developing this so I don't go crazy trying to figure how to implement all these functions in pure lua xD
not really sure how you would do it I would just like a way for the phones to be able todo Cryptographic stuff.
Can you please add a keyboard for computers in this mod? There are no other peripherals mod for 1.15.2, and it would be very usefull, thanks for the attention
Feature Request
Add the ability to set a optional boolean parameter to the write method on the Mag Card Reader/Writer
write(data,secure)
'secure' would be default to True
Would allow you to disable ByteArray encryption from your Mag Cards.
I have been trying to implement this myself but sadly not working because the parameter gets set to a String type when data is written.
<Line 36>: BPeripherals/src/main/java/fr/bastoup/bperipherals/peripherals/magcardreader/PeripheralMagCardReader.java
<Line 87>: BPeripherals/src/main/java/fr/bastoup/bperipherals/peripherals/magcardreader/TileMagCardReader.java
A worlscanner is a peripheral that would be able to detect the blocks around it in a given radius. It would take coordinates of either a single block , a radius or a 3 dimensional area given as 2 sets of xyz coordinates. it will go through the blocks and return a table or a single entry for the blocks it found in its environment. Maybe also include blockstates or NBT Data. It could additionally take in Forge Energy to increase its search radius
Well I gess we still need more info about database...
Did database disk has any memory limit? And how can I get it if it exists...
I want to run your mod no server so that why I asked that...
If DB disk has no memory limit I am more than sure that someone tries to shutdown the server overloading the memory with useless stuff in DB disk...
Please add the info about memory limit on wiki or add memory limit for your disks if it not exists (like for the normal floppy disk (125KB or more but no more than 1MB))...
The textures for the items seem like they are just pixelated .pngs found when searching, so maybe updating those textures may be beneficial to this mod. Like other items, such as the floppy disk, it may also be an improvement if the items had a color overlay, to allow them to be dyed for customizability, especially the mag card. I made some textures for a texture pack for an adventure map I am making, and the overlay, which sadly cannot be added in a resource pack. I have attached the textures and my overlay testing textures on here, just in case you could use them, whether it be just making them the new textures or inspiring some new textures, I would have been glad to have contributed something to this project which I will most likely use a lot in the future.
Currently with the mag card reader thingy you can only write 32 characters, I would like to be able to expand that limit.
Adding a config file (server side) could be a solution to this.
Thanks ^^
It would be very nice if it was possible to mantain a database connection, maybe with a connection object on lua side, for then to be able to use transaction control.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.