#1
Posted 31 March 2013 - 06:02 AM
LanAPI: http://pastebin.com/sisCipkP
Chat room using the API (peer to peer) : http://pastebin.com/r3PsAFjG
#2
Posted 31 March 2013 - 05:51 PM
i mean, your LANApi isn't bad but it's kind of already built in the game. you can use
rednet.open("side")
for bundled cables as well and send/receive messages over these:--send
fileHandle = fs.open("path", "r")
content = fileHandle.readAll()
fileHnadle.close()
rednet.open("side")
rednet.send(ip/id, content)
rednet.close()
--receive
rednet.open("side")
content = rednet.receive(timeoutValue)
rednet.close()
fileHandle.open("path","w")
fileHandle.write(content)
fileHandle.close()
it does the same as the example in your documentation without any additional API. because the rednet API already supports communication over bundled cables
#4
Posted 01 April 2013 - 03:15 PM
theoriginalbit, on 31 March 2013 - 05:58 PM, said:
#5
Posted 01 April 2013 - 03:21 PM
Edited by MudkipTheEpic, 01 April 2013 - 04:02 PM.
#7
Posted 01 April 2013 - 03:55 PM
MudkipTheEpic, on 01 April 2013 - 03:21 PM, said:
theoriginalbit, on 01 April 2013 - 03:30 PM, said:
but it was possible in the version he created this for. because it makes even less sense to communicate over bundled cables with the new network cables
#8
Posted 01 April 2013 - 03:58 PM
InDieTasten, on 01 April 2013 - 03:55 PM, said:
#9
Posted 01 April 2013 - 04:02 PM
InDieTasten, on 01 April 2013 - 03:55 PM, said:
MudkipTheEpic, on 01 April 2013 - 03:21 PM, said:
theoriginalbit, on 01 April 2013 - 03:30 PM, said:
but it was possible in the version he created this for. because it makes even less sense to communicate over bundled cables with the new network cables
I did not think that would make you mad.. removed...
#10
Posted 01 April 2013 - 04:21 PM
theoriginalbit, on 01 April 2013 - 03:58 PM, said:
InDieTasten, on 01 April 2013 - 03:55 PM, said:
ok, it's not exactly shown here, for what version this is for, but i was brazenly enough to say that it doesn't make any more sense to use bundled cables for communicating in the new versions. the networking cables are faster and have more features. and they are cheaper in all modpacks i can remember compared to the bundled cables. but you're right. i just found some more ways to defend my first post, so yeah, you won and stuff like this. *voting your posts up*
#11
Posted 01 April 2013 - 04:24 PM
MudkipTheEpic, on 01 April 2013 - 04:02 PM, said:
InDieTasten, on 01 April 2013 - 03:55 PM, said:
MudkipTheEpic, on 01 April 2013 - 03:21 PM, said:
theoriginalbit, on 01 April 2013 - 03:30 PM, said:
but it was possible in the version he created this for. because it makes even less sense to communicate over bundled cables with the new network cables
I did not think that would make you mad.. removed...
#12
Posted 06 April 2013 - 06:11 AM
Edit: If your friend (and by any chanse he has made a program that can read input from bundlecable in forth) likes forth computers more than CC computers. You could send messages between a CC computer and a redpower forth computer
#13
Posted 06 April 2013 - 07:19 AM
I was actually thinking of making something just like this myself for a totally different reason... overcoming the distance limitations of wireless modems through the use of wireless redstone transmitters. Basically, with this API I will not have to write any of that code myself! Congratulations... you just made it possible for me to create a server-wide internet.
#14
Posted 06 April 2013 - 08:54 AM
shazbot, on 06 April 2013 - 07:19 AM, said:
I was actually thinking of making something just like this myself for a totally different reason... overcoming the distance limitations of wireless modems through the use of wireless redstone transmitters. Basically, with this API I will not have to write any of that code myself! Congratulations... you just made it possible for me to create a server-wide internet.
Edit: [off topic] why is Google online in the first page of the forum? [/off topic]
#16
Posted 07 April 2013 - 07:01 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











