[DISC/OpenSourced] Portable Peripherals 1....
mentlerd 15 Feb 2013
PortablePeripherals v1.0b Discontinued
This is a mod that adds wireless terminals (or PDAs if you prefer), and transmitters to computercraft! Using these these devices you can access your computers from 256-640 meters away, no more turtle chasing!
Terminals have support for multiple computer screens, colors, multiple users, and events! Pressing a key, or clicking the screen will queue an event on the host computer. For further info, see technical details.
How do I craft X?
Recipes are quite simple, they use vanilla minecraft items, for now. You can see their recipes on the image:
How do I use these items?
For a simple connection, you will need to create a transmitter, a terminal, and two quartz crystals. Transmitters and terminals are linked using crystals, if your terminal has a crystal that matches your transmitters, it will link up automatically.
If you wish to extend the range of your transmitter, put up to 4 antenna blocks on the top of it.
Altought crystals are not that simple. They have a frequency associated with. To change the frequency of a crystal, you need to 'pollute' it with other items. Put a crystal in the center of the crafting grid, and start placing items around: ( Be aware that the crystal does NOT support items that can be damaged, like tools, or armor )
Simplest usecase
Well, if you are not an advanced programmer, just use the built in program: transmit!
This little program will start the specified program, and transmit its output to a wireless transmitter. All events from the pda are translated, just like you started a program on a real computer!
API
The api is quite simple, it is exactly the same as a monitors. You have to wrap the device, and you can use it just like a monitor!
Since version 1.0, there are a few new functions tough:
Technical details
The range of transmitters is limited to 256 right now, but it is a subject to change.
For people who want to mess with the internal workings, currently these events are supported:
Downloads, and Changelog
[CC. 1.481][MC 1.4.7] - PortablePeripherals_1.0b
[CC. 1.481][MC 1.4.7] - PortablePeripherals 0.9b
[CC. 1.481][MC 1.4.7] - PortablePeripherals 0.9 RC1
Changelog:
It appears I wont be able to work on this anymore, so I decided to make my source code public, hoping someone could make something out of it:
Latest version: PortablePeripherals 1.0b
Since this is my first serious mod, I am open to any suggestions!
What is this?This is a mod that adds wireless terminals (or PDAs if you prefer), and transmitters to computercraft! Using these these devices you can access your computers from 256-640 meters away, no more turtle chasing!
Terminals have support for multiple computer screens, colors, multiple users, and events! Pressing a key, or clicking the screen will queue an event on the host computer. For further info, see technical details.
How do I craft X?
Recipes are quite simple, they use vanilla minecraft items, for now. You can see their recipes on the image:
Spoiler
How do I use these items?
For a simple connection, you will need to create a transmitter, a terminal, and two quartz crystals. Transmitters and terminals are linked using crystals, if your terminal has a crystal that matches your transmitters, it will link up automatically.
If you wish to extend the range of your transmitter, put up to 4 antenna blocks on the top of it.
Altought crystals are not that simple. They have a frequency associated with. To change the frequency of a crystal, you need to 'pollute' it with other items. Put a crystal in the center of the crafting grid, and start placing items around: ( Be aware that the crystal does NOT support items that can be damaged, like tools, or armor )
Spoiler
As mentioned above, your crystals must have the same frequency to work!Simplest usecase
Well, if you are not an advanced programmer, just use the built in program: transmit!
This little program will start the specified program, and transmit its output to a wireless transmitter. All events from the pda are translated, just like you started a program on a real computer!
transmit <side> <program> transmit right shell
API
The api is quite simple, it is exactly the same as a monitors. You have to wrap the device, and you can use it just like a monitor!
Since version 1.0, there are a few new functions tough:
Spoiler
Technical details
The range of transmitters is limited to 256 right now, but it is a subject to change.
For people who want to mess with the internal workings, currently these events are supported:
Spoiler
Downloads, and Changelog
[CC. 1.481][MC 1.4.7] - PortablePeripherals_1.0b
[CC. 1.481][MC 1.4.7] - PortablePeripherals 0.9b
[CC. 1.481][MC 1.4.7] - PortablePeripherals 0.9 RC1
Changelog:
Spoiler
Xavura 15 Feb 2013
It's great that we finally have an alternative to CCPortable (which was never updated for 1.4). I have really enjoyed testing this add-on and am happy to see a release.
Give it a try people, I've had some fun with this.
Give it a try people, I've had some fun with this.
Shnupbups 15 Feb 2013
*Claps* Well done! Downloading...
EDIT: Amazing! But I recommend moving them to the ComputerCraft creative tab.
EDIT 2: Clicking isn't working...
EDIT 3: If you insert a crystal and then immediately try to access the terminal, Minecraft crashes. You have to close and re-open the PDA not to crash.
EDIT: Amazing! But I recommend moving them to the ComputerCraft creative tab.
EDIT 2: Clicking isn't working...
EDIT 3: If you insert a crystal and then immediately try to access the terminal, Minecraft crashes. You have to close and re-open the PDA not to crash.
Ehrlingby 15 Feb 2013
CCPortable is going to update too, I'm kind of the beta tester for the upcoming version!
mentlerd 15 Feb 2013
Shnupbups100, on 15 February 2013 - 09:43 AM, said:
If you insert a crystal and then immediately try to access the terminal, Minecraft crashes. You have to close and re-open the PDA not to crash.
Could you send me the crashlog, or give more detailed info about this? I can't seem to reproduce.
I have fixed mouse events not working, also plan to add mouse_drag, mouse_scroll in the bugfix version. (Sometime tomorrow)
Left4Cake 16 Feb 2013
The range should be configurable like with Computer Craft as a whole. Or may be it could be (computer range x 4) since that kind of what it is right now with the default settings.
Xavura 16 Feb 2013
Ehrlingby, on 15 February 2013 - 11:11 AM, said:
CCPortable is going to update too, I'm kind of the beta tester for the upcoming version!
Left4Cake, on 16 February 2013 - 03:38 AM, said:
The range should be configurable like with Computer Craft as a whole. Or may be it could be (computer range x 4) since that kind of what it is right now with the default settings.
I agree that the range should be configurable but I'm also fond of the antenna idea...
Left4Cake 16 Feb 2013
Shnupbups100, on 15 February 2013 - 09:43 AM, said:
*Claps* Well done! Downloading...
EDIT: Amazing! But I recommend moving them to the ComputerCraft creative tab.
EDIT 2: Clicking isn't working...
EDIT 3: If you insert a crystal and then immediately try to access the terminal, Minecraft crashes. You have to close and re-open the PDA not to crash.
EDIT: Amazing! But I recommend moving them to the ComputerCraft creative tab.
EDIT 2: Clicking isn't working...
EDIT 3: If you insert a crystal and then immediately try to access the terminal, Minecraft crashes. You have to close and re-open the PDA not to crash.
It seems to happen when you click a terminal and there is no crstal in the tab. However the tab dose not load the crystal imminently on insertion, but rather when you close and reopen it.
absorr 16 Feb 2013
Hi, I would like to add your mod into a Tekkit addon I am making called the Hackers' Modkit. The modkit is all about adding more things for programming lovers to be able to do more with their code within Tekkit Lite. It will be an addon through the new custom zip feature in the Technic Launcher. You will, of course, be given the proper credit for your mod. I hope to hear from you soon with your reply!
mentlerd 16 Feb 2013
Thank you for the detailed crash report. Fixed.
Current versions changelog:
- Fixed mouse events being off
* added pda_scroll, and pda_drag events
- Moved items to the CC Creative tab
- Added config option for the transmitter max range
Current versions changelog:
- Fixed mouse events being off
* added pda_scroll, and pda_drag events
- Moved items to the CC Creative tab
- Added config option for the transmitter max range
Left4Cake 16 Feb 2013
Not sure if this is really a big deal, but I have a 4:3 monitor and if full screen with GUI set to auto the edges of the window go off screen. Not so much that any aspect of it is un-usable, but just thought you would like to know.
Thomasims3 17 Feb 2013
Xavura, on 16 February 2013 - 06:56 AM, said:
Ah great now I have to compete with someone who already released his peripheral... oh well, i have a great feature planned anyway
Nice peripheral btw
EDIT: it might not be a big competition now that I look at it, mentlerd has worked mostly on the transmitter while I've been putting my time in the PDA.( no spoilers untill I release first version )
DorfDepp 18 Feb 2013
Any way to make your mod compatible with xfel peripheral cable?
Time: 17.02.13 14:50 Description: Exception in server tick loop java.lang.AbstractMethodError: hu.mentlerd.ccportable.shared.TileEntityTransmitter.writeToNBT(Lbq;)V at xfel.mods.cccable.common.blocks.TileCableServer.b(TileCableServer.java:193) at aam.a(AnvilChunkLoader.java:311) at aam.a(AnvilChunkLoader.java:127) at im.b(ChunkProviderServer.java:232) at im.a(ChunkProviderServer.java:284) at in.a(WorldServer.java:844) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:373) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:605) at bdz.q(IntegratedServer.java:170) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) at fy.run(SourceFile:849)
mentlerd 18 Feb 2013
I tracked down the problem, I have to refactor the codebase entirely, because I made a design mistake with interfaces. I already made the code compile without errors, but I have to test everything again, so it will take a while. ( I think it will be done in less than 2 days )
schilcote 18 Feb 2013
Neat-O.
I'm working on a little project that this could be helpful for, for mapping and stuff. The range limit is going to be a tremendous pain for that though.
You might make it so that we can have boosters that take EU or something to transmit their signal for long distances.
EDIT:
Though I just tested it, and 256 blocks is a lot further than I thought.
I'm working on a little project that this could be helpful for, for mapping and stuff. The range limit is going to be a tremendous pain for that though.
You might make it so that we can have boosters that take EU or something to transmit their signal for long distances.
EDIT:
Though I just tested it, and 256 blocks is a lot further than I thought.
abihoooo 18 Feb 2013
It would be awesome if you could make a turtle peripheral for the PDAs. RC turtles!
mentlerd 18 Feb 2013
At the end, I decided to implement antenna blocks
I might add a cheat antenn, uncraftable, and it would give you infinite range. If there is a need for it.
The refactoring has a positive side effect that transmitters can exist now without tile entites, so this is comeing in the next update!
Update:
I still have to work on antenn blocks, and a way to allow turtles to select their transmitters frequency.
schilcote, on 18 February 2013 - 07:53 AM, said:
The range limit is going to be a tremendous pain for that though.
I might add a cheat antenn, uncraftable, and it would give you infinite range. If there is a need for it.
abihoooo, on 18 February 2013 - 09:34 AM, said:
It would be awesome if you could make a turtle peripheral for the PDAs. RC turtles!
The refactoring has a positive side effect that transmitters can exist now without tile entites, so this is comeing in the next update!
Update:
I still have to work on antenn blocks, and a way to allow turtles to select their transmitters frequency.
abihoooo 18 Feb 2013
Quote
I still have to work on antenn blocks, and a way to allow turtles to select their transmitters frequency.
You can do something like t.selectCrystal(slot), or craft the peripheral with a crystal.
mentlerd 20 Feb 2013
Updated to 1.0
Added turtle peripheral for terminals, and antenna blocks. I tried to resolve compatibility issues, but did not really tested it.
Added turtle peripheral for terminals, and antenna blocks. I tried to resolve compatibility issues, but did not really tested it.