This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
G3R4RD's profile picture

[MC 1.2.5 / CC 1.4.1] CCPortable - And not even overpowerd

Started by G3R4RD, 27 August 2012 - 12:44 AM
G3R4RD #1
Posted 27 August 2012 - 02:44 AM

—– Oops —–


It seems this peripheral is bussy with upgrading.

Please come tomorrow back.



What's done:
+ Connecting PDA to a server
When the server is destroyed, the pda will give a message.
+ Every PDA has his own MAC-Address.
justync7 #2
Posted 27 August 2012 - 02:51 AM
Awesome!
cant_delete_account #3
Posted 27 August 2012 - 03:16 AM
So basically a portable computer but needs a computer? Cool!
Graypup #4
Posted 27 August 2012 - 03:25 AM
Yet not OP… Does the recipe include a battery (if ic2 is installed), a wireless modem, whaat else? Also, *if* you still don't think it's OP, go ask Ecu if it's OP, and how to nerf it.
G3R4RD #5
Posted 27 August 2012 - 03:27 AM
Yet not OP… Does the recipe include a battery (if ic2 is installed), a wireless modem, whaat else?

I'm gonna add batteries later.
I did get already from other users (from servers) to add batteries. But this is a test, just for looking if there are bugs in it.
And also if you want already to use it. :D/>/>
FuzzyPurp #6
Posted 27 August 2012 - 06:10 AM
This looks neat. Needs a configurable config file?
Xfel #7
Posted 27 August 2012 - 07:06 AM
Tell me… what would be an unconfigurable config file? (The opposite to the configurable config file you proposed)
FuzzyPurp #8
Posted 27 August 2012 - 09:35 AM
Tell me… what would be an unconfigurable config file? (The opposite to the configurable config file you proposed)

Hardcoded ID's/Config files with no ingame effect
G3R4RD #9
Posted 27 August 2012 - 10:49 AM
There is a config…
When you have started minecraft, it generates it in mods/ccportable.
It's also sets all the PDA ID's there… Will be changed in the next version.

I have already fixed some bugs, and added some new functions.
FuzzyPurp #10
Posted 27 August 2012 - 10:49 AM
Null Pointer Exception if you click the peripheral with the item PDA and the peripherla isn't mounted.
Rebooting and changing Icon seems to hang the PDA?
Running your example program hangs the PC, console errors about the peripheral not being detached, might be related to the problem above( i think this is a CC bug?, i've encountered something like this with another addon, also bricks your PC - ctrl+s,r,t won't work.)
I had to move your receiver API in the rom folder, your mod is not mounting your lua file(s)
G3R4RD #11
Posted 27 August 2012 - 11:00 AM
Null Pointer Exception if you click the peripheral with the item PDA and the peripherla isn't mounted.
Rebooting and changing Icon seems to hang the PDA?
Running your example program hangs the PC, console errors about the peripheral not being detached, might be related to the problem above( i think this is a CC bug?, i've encountered something like this with another addon, also bricks your PC - ctrl+s,r,t won't work.)
I had to move your receiver API in the rom folder, your mod is not mounting your lua file(s)

Null Pointer Exception is also fixed, same for the Icon. When you switch from receiver the PDA will be cleared.
About the API is weird, do you have placed the folder in .minecraft/mods and called CCPortable?
FuzzyPurp #12
Posted 27 August 2012 - 11:05 AM
I found the config file, didnt think to look there :D/>/>

Yea, i also have my CC extracted and installed the old way - as well as all my ccaddons, folders, not zips.
Not sure why the api isn't being loaded i'll test it some more. Even os.load("api/receiver.lua") or ("/receiver.lua")/("receiver.lua")
gives "file not found"

If you punch with the portable receiver with your hand, it breaks instantly with no drop(losing the block)
breaking it with a tool breaks fast and drops the block tho.

Now it just won't work, don't know what happened
Just keep getting "receiver:29: attempt to index ? (a nil value)
but i havent altered the API at all, and it was working before

Waiting to test the new version.
G3R4RD #13
Posted 27 August 2012 - 11:53 AM
Well, it isn't "api/receiver.lua".
Its load like this:
"mods/CCPortable/api/receiver.lua" > "rom/apis/receiver"

I can just use receiver.adssad(), without any os.load().
FuzzyPurp #14
Posted 27 August 2012 - 12:10 PM
deleting config file fixed the nil error, guess you can't change ID's or something. When's the next version up?
G3R4RD #15
Posted 27 August 2012 - 12:12 PM
Today. I'm adding some features and testing if there some bugs to fix, then I will post it
Xfel #16
Posted 27 August 2012 - 12:13 PM
You should add a way to wrap pda io into a term-like object so that we can use term.redirect (and similar) on it.
FuzzyPurp #17
Posted 27 August 2012 - 12:26 PM
You should add a way to wrap pda io into a term-like object so that we can use term.redirect (and similar) on it.

All the functions of term would be nice
G3R4RD #18
Posted 27 August 2012 - 12:38 PM
Possible in the Next version:
https://dl.dropbox.com/u/70433861/Screenshots/2012-08-27_13.36.23.png
There was a bug with the text-size. And now you can do receiver.setTextAt(0, 2, "Hello world", id) :D/>/>
FuzzyPurp #19
Posted 27 August 2012 - 01:06 PM
Possible in the Next version:
https://dl.dropbox.c...27_13.36.23.png
There was a bug with the text-size. And now you can do receiver.setTextAt(0, 2, "Hello world", id) :D/>/>

Seems PDA's dont unload, needs a way because if i update my program for it and relink it, both old and new software runs.
G3R4RD #20
Posted 27 August 2012 - 01:28 PM
Updated. Try if you now gets error's. :D/>/> .
Sammich Lord #21
Posted 27 August 2012 - 01:47 PM
The first time I crafted this I could open the GUI, now it will not let me open the GUI for the PDA.
Sammich Lord #22
Posted 27 August 2012 - 01:49 PM
When I re-open my world and try to use the PDA it says: The PDA has been glitched
FuzzyPurp #23
Posted 27 August 2012 - 02:15 PM
Using the new vew version, none of my code is getting passed to the pda - just shows no channel/tite and as if its disconnected - but tooltip shows otherwise.
I see you removed setName, i just replaced that with setTitle, not sure what's going on - could be because i mess with the configs again
.

Had to rewrite my program, Still the name and title is not working using the new functions, just shows No connection/Title

Also the peripheral still doesnt properly unmount, correctly and bricks the PC.I can see the log in my console.

Image of Name/Title bug - im using receiver.setChannel("blah") & receiver.setTitle("blahblah") - program still runs but wont let the custom channel and title show. The mouseover tooltip on the pda will show correctly tho. The 1st version i could set name/title and it would display on the PDA's Gui just fine.

ETHANATOR360 #24
Posted 27 August 2012 - 10:39 PM
this is by far one of coolest peripherals in the forums :D/>/>

Using the new vew version, none of my code is getting passed to the pda - just shows no channel/tite and as if its disconnected - but tooltip shows otherwise.
I see you removed setName, i just replaced that with setTitle, not sure what's going on - could be because i mess with the configs again
.

Had to rewrite my program, Still the name and title is not working using the new functions, just shows No connection/Title

Also the peripheral still doesnt properly unmount, correctly and bricks the PC.I can see the log in my console.

Image of Name/Title bug - im using receiver.setChannel("blah") & receiver.setTitle("blahblah") - program still runs but wont let the custom channel and title show. The mouseover tooltip on the pda will show correctly tho. The 1st version i could set name/title and it would display on the PDA's Gui just fine.

very cool siri in minecraft
ETHANATOR360 #25
Posted 27 August 2012 - 10:58 PM
when i crafted a pda and right clicked it said this pda has been broken
Sxw #26
Posted 27 August 2012 - 11:45 PM
I think this is a bug, try setting your use item control key to the up arrow, it sets it but you cant place blocks.
G3R4RD #27
Posted 28 August 2012 - 12:14 PM
Because as in 0.2 you need to use:
receiver.setTitle("blahblah", ID)
Add id, and it should work.

About the PDA ID: Glitch will be fixed soon.
I'm gonna think to rewrite the PDA System… Again… :D/>/>
djblocksaway #28
Posted 28 August 2012 - 02:44 PM
sexy ;D, been waiting for something like this for a while now :D/>/>
Dirkus7 #29
Posted 28 August 2012 - 03:09 PM
My configuration file is empty, how do i change the ID now?
FuzzyPurp #30
Posted 28 August 2012 - 06:01 PM
Because as in 0.2 you need to use:
receiver.setTitle("blahblah", ID)
Add id, and it should work.

About the PDA ID: Glitch will be fixed soon.
I'm gonna think to rewrite the PDA System… Again… :D/>/>

Adding ID does not work, try testing it yourself
FuzzyPurp #31
Posted 01 September 2012 - 06:39 AM
Still working on this or is it dead already? Title cannot be adjusted like i stated above.
Also you never fixed the bug where the peripheral disables the comp from rebooting or shutting down.
console error below.

ComputerCraft: Error running task.
java.lang.RuntimeException: You didn't mount this location
at dan200.computer.core.Computer$PeripheralWrapper.unmount(Computer.java:259)
at TileEntityPrinter.detach(TileEntityPrinter.java:504)
at dan200.computer.core.Computer$PeripheralWrapper.detach(Computer.java:119)
at dan200.computer.core.Computer$63.execute(Computer.java:2080)
at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:68)
at java.lang.Thread.run(Unknown Source)
G3R4RD #32
Posted 02 September 2012 - 11:58 PM
Still working on this or is it dead already? Title cannot be adjusted like i stated above.
Also you never fixed the bug where the peripheral disables the comp from rebooting or shutting down.
console error below.

ComputerCraft: Error running task.
java.lang.RuntimeException: You didn't mount this location
at dan200.computer.core.Computer$PeripheralWrapper.unmount(Computer.java:259)
at TileEntityPrinter.detach(TileEntityPrinter.java:504)
at dan200.computer.core.Computer$PeripheralWrapper.detach(Computer.java:119)
at dan200.computer.core.Computer$63.execute(Computer.java:2080)
at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:68)
at java.lang.Thread.run(Unknown Source)

I will continue if CC is for 1.3.2
Then I will make it also SMP.
FuzzyPurp #33
Posted 03 September 2012 - 03:14 AM
I will continue if CC is for 1.3.2
Then I will make it also SMP.

CC will be for 1.3.2 we're beta testing it now. Would be nice if you could update this for 1.2.5. Alot of people will be on 1.2.5 for awhile, atleast another month
G3R4RD #34
Posted 05 September 2012 - 08:45 PM
I will work tomorrow on it. I got a new system in my head, that's much better. :D/>/>
Also, I'm thinking about a Tablet, not text but touchscreen.
But I will see… :P/>/>
n1ghtk1ng #35
Posted 13 September 2012 - 11:07 PM
What CC update/MC Update is this for? I LOVED the idea, but it's not working for me(I'm on MC 1.2.5, CC 1.4)
immibis #36
Posted 14 September 2012 - 07:46 AM
Look at the title.
Pigbear #37
Posted 15 September 2012 - 05:13 PM
You need to make it so you can find the location of the person using the PDA.
FuzzyPurp #38
Posted 16 September 2012 - 08:01 AM
/me wants an update..
Loopin #39
Posted 16 September 2012 - 10:53 PM
Update please and fix these bugs
Loopin #40
Posted 16 September 2012 - 10:55 PM
Sorry my phone has some problems
G3R4RD #41
Posted 24 September 2012 - 08:56 PM
This week, I will work on it. (Also Multiplayer).
Laserman34170 #42
Posted 06 October 2012 - 03:00 AM
So, could it be conceivable that you could make a mobile operating system with all of the processing down on the receiving computer? The computer could read keystrokes and make it look as though you were inputting a command.

In fact, I think I'll do just that.
TehSomeLuigi #43
Posted 10 October 2012 - 05:28 PM
Can't wait for this in 1.3.2!
ChunLing #44
Posted 16 October 2012 - 01:27 AM
I made a change in the interface so that the PDA screen is transparent (just by editing the texture). I find that this is helpful for using the PDA (particularly as a remote controller) since it doesn't block the view of the world. I also altered the block texture to look a little more computer crafty with a yellow lights.
ChunLing #45
Posted 16 October 2012 - 09:35 PM
Is there any way to reduce the amount of darkening that occurs when you use the PDA? It seems to be the same mechanism that happens for all other interfaces, but I'm fine with reducing the darkening of everything else too, if I can.
ChunLing #46
Posted 18 October 2012 - 06:28 PM
Huh. I thought I posted some code, but I guess I must have exited without posting.

Anyway, I made a pda initialization and testing function, that also provides functions for getting text output and input.
Spoiler
pdat = {ln = 0,icn = 1,scrn = {},}
for i,v in pairs(rs.getSides()) do
	if peripheral.getType(v) == "receiver" then
		pdamtd = peripheral.wrap(v) break
end	end
pdfnc = {
rdln = function(pda)
	local txtln,t_vnt = ""
	if pdamtd.connected() > 0 then
		pdamtd.setText(0,"Enter text",pda)
		repeat t_vnt = {os.pullEvent()}
			if t_vnt[1] == "pda_char" then
				txtln = txtln..t_vnt[3]
				pdamtd.setText(0,txtln,t_vnt[2])
			elseif t_vnt[1] == "pda_key" and t_vnt[3] == 14 then
				txtln = txtln:sub(1,#txtln-1)
				pdamtd.setText(0,txtln,t_vnt[2])
			end
		until t_vnt[1] == "pda_key" and t_vnt[3] == 28
		pdamtd.setText(0,"Entered...",t_vnt[2])
	else txtln = read() end
  return txtln
end,
wrtln = function(pda,txtln)
	print(txtln)
	if pdamtd.connected() > 0 then
		pdat.ln = pdat.ln+1
		pdat.scrn[pdat.ln] = txtln
		local ndx = pdat.ln-19
		for i = 1,20 do
			if pdat.scrn[ndx] then pdamtd.setText(i,pdat.scrn[ndx],pda) end
			ndx = ndx+1
		end
	end
end,
}
if pdamtd then
	if tArgs[1] then pdamtd.setChannel(tArgs[1])
	else print("Enter Channel") pdamtd.setChannel(read()) end
	print([[Test loop activated, use pda
on receiver to connect, press
1-5 to test pda functions,
Shift+S to test a read/write
"X" on pda to exit]])
else print("No pda receiver present") end
repeat
	t_vnt = {os.pullEvent()}
if t_vnt[1] == "pda_connected" then
	pdamtd.setIcon(4,t_vnt[2])
	pdamtd.setText(0,"Welcome to C-Provider",t_vnt[2])
elseif t_vnt[1] == "pda_key" and t_vnt[3] == 2 then
	pdat.icn = math.fmod(pdat.icn,8)+1
	pdamtd.setText(0,"Changing icon to "..pdat.icn,t_vnt[2])
	pdamtd.setIcon(pdat.icn,t_vnt[2])
elseif t_vnt[1] == "pda_key" and t_vnt[3] == 3 then
	pdamtd.setText(0,"Receiving an alert",t_vnt[2])
	pdamtd.alert("Alert!",t_vnt[2])
elseif t_vnt[1] == "pda_key" and t_vnt[3] == 4 then
	pdamtd.setTitle("New Title",t_vnt[2])
elseif t_vnt[1] == "pda_key" and t_vnt[3] == 5 then
	pdamtd.setText(pdat.ln,textutils.serialize({pdamtd.connected()}),t_vnt[2])
elseif t_vnt[1] == "pda_char" and t_vnt[3] == "S" then
	pdfnc.wrtln(t_vnt[2],pdfnc.rdln(t_vnt[2]))
end
until t_vnt[1] == "pda_char" and t_vnt[3] == "X"
Now, obviously this needs more development before it becomes useful. I'm thinking of two different approaches. One is to just run this to enable the PDA block, set the channel, and then use the PDA with programs that are designed for PDA control. The other is to entirely slave the computer to the PDA, so that all it's output and input has to go just to the PDA. That's clearly a bit more ambitious in scope, but I think it may turn out easier in the long run. In the middle, I suppose we have an either/both situation.

Anyone have any ideas?

Good grief, I checked on this to make sure I posted my code, and I saw it all hanging out. It's not the nicest looking code I've ever written, either. Sorry about that. Now that your eyes have been spared, anyone have any ideas?
Edited on 19 October 2012 - 01:05 AM
Thomasims3 #47
Posted 20 October 2012 - 04:49 PM
Is there any way to reduce the amount of darkening that occurs when you use the PDA? It seems to be the same mechanism that happens for all other interfaces, but I'm fine with reducing the darkening of everything else too, if I can.
When you make a GUI in minecraft, the first render thing you write is the darkening effect. I'm not sure if you can make a GUI without that line of code but if you remove the line, it should not make the screen darker.
ChunLing #48
Posted 23 October 2012 - 02:13 AM
Well, I know that I can't change it, because it's not my mod. It's a minor concern anyway, and it probably helps the PDA stay readable despite being mostly transparent.

I've been working more with the program I wrote to use the PDA, and I have this:
Spoiler
local tArgs = {...}
local pdat,tvnt,cnslID,pdamtd = {ln = 0,icn = 1,scrn = {},pda = {},},{},os.computerID()
for i,v in pairs(rs.getSides()) do
    if peripheral.getType(v) == "receiver" then
        pdamtd = peripheral.wrap(v) break
end    end
local wrtpdln = function(txtln)
    print(txtln)
    if pdamtd.connected() > 0 then
        for i = 1,math.ceil(#txtln/27) do pdat.ln = pdat.ln+1
            pdat.scrn[pdat.ln] = txtln:sub((i-1)*27+1,i*27)
        end
        local ndx = pdat.ln-19
        for i = 1,20 do
            if pdat.scrn[ndx] then
                for k,v in pairs(pdat.pda) do pdamtd.setText(i,pdat.scrn[ndx],k) end
            end
            ndx = ndx+1
        end
        for i,v in pairs(pdat.pda) do pdamtd.setIcon(3,i) pdamtd.setTitle("Text Update",i) end
    end
end
local rdpdln = function()
    local txtln = ""
    if pdamtd.connected() > 0 then
        write("input from PDA")
        for i,v in pairs(pdat.pda) do pdamtd.setIcon(5,i) pdamtd.setTitle("Enter Text",i) end
        repeat tvnt = {os.pullEvent()}
            if tvnt[1] == "pda_char" then txtln = txtln..tvnt[3]
            elseif tvnt[1] == "pda_key" and tvnt[3] == 14 then
                txtln = txtln:sub(1,#txtln-1)
            end
            for i = 0,math.floor(#txtln/27) do
                pdamtd.setText(i,txtln:sub(i*27+1,(i+1)*27),tvnt[2])
            end
        until tvnt[1] == "pda_key" and tvnt[3] == 28
        for i,v in pairs(pdat.pda) do pdamtd.setIcon(7,i) pdamtd.setTitle("...",i) end
        pdamtd.setTitle("Entered",tvnt[2]) pdamtd.setIcon(6,tvnt[2])
    else write("input>") txtln = read() end
  return txtln
end
local function opnmdm()
    for i,v in pairs(rs.getSides()) do    
        if peripheral.getType(v) == "modem" then
            if not rednet.isOpen(v) then rednet.open(v) end
        return true end
    end
return false end
if pdamtd then
    if tArgs[1] then pdat.chnl = tArgs[1]
    else print("Enter Channel") pdat.chnl = read() end
    local strtfl = fs.open("startup","w")
    strtfl.writeLine("shell.run("rcpda",""..pdat.chnl.."")") strtfl.close()
    pdamtd.setChannel(pdat.chnl)
    print([[Test loop activated, use pda
on receiver to connect, press
keys on pda to register pda,
"X" on pda to exit]])
else print("No pda receiver present") end
repeat
    tvnt = {os.pullEvent()}
    if tvnt[1] == "pda_connected" then
        pdamtd.setIcon(8,tvnt[2]) pdamtd.setTitle("Connected to terminal"..cnslID,tvnt[2])
        pdamtd.setText(0,"Welcome to C-Provider",tvnt[2])
    elseif tvnt[1] == "pda_key" then pdat.pda[tvnt[2]] = true
        wrtpdln("Key: "..tvnt[3].." pressed on PDA "..tvnt[2]) pdamtd.setIcon(4,tvnt[2])
        pdamtd.alert("Connected to terminal"..cnslID,tvnt[2]) end
until tvnt[1] == "pda_char" and tvnt[3] == "X"
local rcmdlst = {
    [0] = "bmb",[79] = "place",[80] = "back",[81] = "ddn",[75] = "turnLeft",[76] = "tnl",
    [77] = "turnRight",[71] = "placeUp",[72] = "dfd",[73] = "dup",[82] = "placeDown",
    [83] = "drop",[74] = "rfl",[78] = "slct",[181] = "gpshst",[55] = "gpslct",[28] = "pckup",
    [210] = "place",[211] = "dig",[199] = "dropUp",[207] = "dropDown",[201] = "up",[209] = "down",
    [200] = "forward",[208] = "back",[203] = "turnLeft",[205] = "turnRight",[26] = "digUp",
    [27] = "digDown",[51] = "suckUp",[52] = "suckDown",[45] = "trmn8RC",
}
local function setID() wrtpdln("Enter receiver ID") return tonumber(rdpdln()) end
shell.run('clear')
if not opnmdm() then wrtpdln("Modem Access Error") return false end
local rcID = nil
repeat     rcID = setID() until rcID
wrtpdln("Receiver ID set to "..rcID)
wrtpdln("Press "h" for help")
for i,v in pairs(pdat.pda) do pdamtd.setIcon(4,i) end
repeat
    tvnt = {os.pullEvent()}
    if tvnt[1] == "pda_key" and rcmdlst[tvnt[3]] then rednet.send(rcID,rcmdlst[tvnt[3]])
        pdamtd.setTitle("Sent ""..rcmdlst[tvnt[3]].."" to "..rcID,tvnt[2])
        if tvnt[3] == 45 then rcID = setID() end
    elseif tvnt[1] == "rednet_message" then wrtpdln(tvnt[2]..": "..tvnt[3])
        for i,v in pairs(pdat.pda) do pdamtd.setIcon(2,i) pdamtd.setTitle("Message from "..tvnt[2],i) end
        if tvnt[3]:find("^send") then rednet.send(tvnt[2],rdpdln()) end
    elseif tvnt[1] == "key" and rcmdlst[tvnt[2]] then rednet.send(rcID,rcmdlst[tvnt[2]])
        if tvnt[2] == 45 then rcID = setID() end
    elseif tvnt[3] == "S" or tvnt[2] == "S" then rednet.send(rcID,rdpdln())
        pdamtd.setIcon(1,tvnt[2]) pdamtd.setTitle("Rednet Sent",tvnt[2])
    elseif tvnt[3] == "R" or tvnt[2] == "R" then rcID = setID() pdamtd.setIcon(8,tvnt[2])
    elseif tvnt[3] == "h" or tvnt[2] == "h" or tvnt[3] == "H" or tvnt[2] == "H" then
        wrtpdln("Use "R" change receiver    Use "S" to send text")
        wrtpdln("Change receiver to nil to  exit rcpda")
        wrtpdln("Use numberpad to control   turtles: 284693 to digmove 5 to tunnel, 170 to place  '.' Home End, to drop")
        wrtpdln("Enter, <, >, to suck	   Del, [, ] to dig")
        wrtpdln("Direction Keys and PgUp/Dn to move, rCtrl to exit")
    end
until not rcID
This is somewhat specialized to work as a rednet interface (specifically for remote controlling a turtle), but the functions wrtpdln and rdpdln should be of general utility. Other people might find it useful to put them in an API for PDA functionality, I only use them with this one program so far, though.
skrypt #49
Posted 24 October 2012 - 04:03 AM
Is there any way to remove the darkening effect for menus for the entire game? I can't seem to find any mods for that.
skrypt #50
Posted 24 October 2012 - 05:25 AM
pda_disconnected is not being recognized when I disconnect a PDA. Anyone experiencing this as well?

As a note, pda_connected works just fine.

This is what I'm running


local event, id, key = os.pullEvent()
if event == "pda_disconnected" then
print("disconnected")
end
ChunLing #51
Posted 24 October 2012 - 08:11 AM
Hmm…I haven't all that much use for pda_disconnected, but I have noticed the events for it firing when I actually push the "disconnect" button (which I almost never do now that I'm no longer testing functionality, I don't know why it even has that button since all it does is brick your PDA).
Thomasims3 #52
Posted 30 October 2012 - 05:00 PM
Is there any way to remove the darkening effect for menus for the entire game? I can't seem to find any mods for that.
The darkening as I said is defined in the source code itself. So i guess no mod can remove it.
kdence #53
Posted 02 November 2012 - 10:18 PM
Hi,
This Is a great idea! But this mod is not loaded by ModLoader…

You can give me the source?
Cloudy #54
Posted 03 November 2012 - 01:21 AM
Hi,
This Is a great idea! But this mod is not loaded by ModLoader…

You can give me the source?

This mod is for 1.2.5 only - as such will not work on future versions.

Even if it did, CC is a forge mod, so making it compatible with ModLoader would be a waste of time.
ChunLing #55
Posted 03 November 2012 - 04:03 AM
Eventually the rednet portable computer will do anything this mod does, right? Only with far less hassle.
Falco #56
Posted 21 December 2012 - 10:07 PM
im finding it very hard to understand exactly what this does… is it a computer controller? is it a computer viewer?

please reply fast it looks great but i dont want to install if im never going to use it… :)/>
ChunLing #57
Posted 21 December 2012 - 11:17 PM
First off, it's for Minecraft 1.2.5 and isn't being updated, so unless you're on minecraft 1.2.5 for some reason (Tekkit, redpower, better frame rates, whatever) then don't bother.

Second, it requires significant coding to use, basically some custom software to run on a computer that will make it do stuff. I've written one for use with rednet controlled turtles and such, and still remember it fondly whenever I'm pulling out my control turtle and using that as a rednet terminal.

What it does is add a new peripheral block and a new item that passes events to a computer that has the block attached, and allows the computer to pass information in various forms to the item. When you use the item it brings up a PDA screen, and that displays whatever the computer tells it to display. I used mine as a remote control with a text feedback.

If you can get CCInput to work for you (I never could, myself) then you should probably go with that since it generates conventional key events so you can use it with existing programs rather than having to code all your own input functions. Or you can wait for CC core mod to include a rednet capable portable (other than a wireless turtle).

But if you are still on 1.2.5 and love coding your own input functions (or find my program suited to your needs), then this is a great peripheral.
Tiin57 #58
Posted 22 December 2012 - 12:45 AM
First off, it's for Minecraft 1.2.5 and isn't being updated, so unless you're on minecraft 1.2.5 for some reason (Tekkit, redpower, better frame rates, whatever)…
Ahem. eloraam.com.
immibis #59
Posted 22 December 2012 - 11:54 AM
First off, it's for Minecraft 1.2.5 and isn't being updated, so unless you're on minecraft 1.2.5 for some reason (Tekkit, redpower, better frame rates, whatever)…
Ahem. eloraam.com.
Eloraam updates CCPortable now?
FuzzyPurp #60
Posted 09 January 2013 - 02:40 PM
First off, it's for Minecraft 1.2.5 and isn't being updated, so unless you're on minecraft 1.2.5 for some reason (Tekkit, redpower, better frame rates, whatever)…
Ahem. eloraam.com.
Eloraam updates CCPortable now?

:)/>
theoriginalbit #61
Posted 09 January 2013 - 02:43 PM
First off, it's for Minecraft 1.2.5 and isn't being updated, so unless you're on minecraft 1.2.5 for some reason (Tekkit, redpower, better frame rates, whatever)…
Ahem. eloraam.com.
Eloraam updates CCPortable now?
Nah I'm pretty sure he was meaning, check there, there's an update for RedPower2 and no need to stay on 1.2.5 'for redpower'
Tiin57 #62
Posted 09 January 2013 - 04:01 PM
Yes, thank you. That's actually exactly what I meant. :D/>
Thomasims3 #63
Posted 21 January 2013 - 11:04 AM
Well, I'm updating it, I'm working on the gui and the client-server packets right now.
ChunLing #64
Posted 21 January 2013 - 01:25 PM
You are a hero.

I have a suggestion for the update…if possible it would be nice if the PDA receiver passed the standard input events rather than the special pda_key/char events, and could have terminal output redirected to it so that it wouldn't be necessary to write everything from such a low-level. I get that the special events allowed individual handling of several pda's on a single receiver…but I personally didn't find this wildly useful. You could still pass the input events with an extra parameter specifying the PDA that sent them, if people wanted to use that. And the special outputs (icon, title, alert) could be left in place (so while the main text for all the connected PDA's would be the same, they could still get individual messages).

Then again, I do have a working program for the input/output as it was, so it's not like I'm in dire need of such a change. But I imagine it would make the device much more usable.
Thomasims3 #65
Posted 22 January 2013 - 07:03 AM
Indeed that is a good idea, I was planning on the term functions (redirect) but I have to check how I could do that.

Since it is a PDA, I might remove the key/char events and replace it with touchscreen event but I dont know if it is a good idea.
EDIT: There may be different PDA-like devices (helmet, one with keyboard, …)

If I find a way to use the redirect function, the events passed will be different whether or not the term is redirected.

If you have any idea or need more informations, PM me.
ChunLing #66
Posted 22 January 2013 - 07:12 AM
Hmm…my sense was that the lack of passing standard key/char events was a factor in making it difficult for people to use the PDA, since it required substantial custom programming to be usable as an input device. I don't know that for sure, though.
Thomasims3 #67
Posted 23 January 2013 - 05:49 AM
@ChunLing
Yes, I guess it would be easier for people to use it like that. I kind-of want it to work like the advanced monitor because if you think about it, the new PDA could have the exact same functions since it's touch only and probably colors once I've finished gui and packets.
Thomasims3 #68
Posted 23 January 2013 - 05:51 AM
- snip - (double post lag)
G3R4RD #69
Posted 11 April 2013 - 11:32 AM
Oh hi, I´m back. ^_^/>
Today and tomorrow I will rewrite the mod to 1.5.1, currently I have changed the script to NBT, with other words: It's much faster and stable now. ;)/>
killie01 #70
Posted 30 May 2013 - 08:55 AM
Oh hi, I´m back. ^_^/>
Today and tomorrow I will rewrite the mod to 1.5.1, currently I have changed the script to NBT, with other words: It's much faster and stable now. ;)/>

is this still active?