Jump to content




Wireless monitor


2 replies to this topic

#1 Xelostar

  • Members
  • 134 posts
  • LocationOn Earth

Posted 06 March 2019 - 09:08 AM

"Just Gekto" made this program, but was unable to create an account for this forum and has asked me to make this post. For more info see: https://forums.compu....msg359#msg359.
Enjoy:

CC wireless monitor beta 1.1
Change log:
- Added auto update

Description:
This program allow you to cast your computer screen over rednet.

Know issues:
- term.setCursorBlink() dont work
- shell.compleate() causes crash
- big graphical programs may freeze or display half of image

Sloves of isues:
- disabe shell.complete() by entering this to the shell "set bios.useautocompleate false"

Api docs:
wr_monitor.connect(modem,id,mode)
return table with all the functions of remote term

Plans for future updates:
- Working term.setCursorBlink()
- Working shell.autocomplete()
- Faster way to send commands (no lags)
- Ability to interact with programs using any of screens

Github repository: https://github.com/J...ireless-monitor

Pastebin installer:https://pastebin.com/AYupa3Xu

Install command:
pastebin run AYupa3XuShowcase:

Video:

Edited by Xelostar, 06 March 2019 - 09:08 AM.


#2 LDDestroier

  • Members
  • 1,090 posts
  • LocationACDC Town

Posted 06 March 2019 - 02:21 PM

What would be really cool is if all the peripherals API functions could be modified to use this API to treat network monitors exactly the same as connected ones.

And might I ask, does this support monitor_touch events?

#3 magiczocker

  • Members
  • 38 posts

Posted 07 March 2019 - 08:20 AM

You can improve the performance by calling the modems directly with
peripheral.call(modemSide,"transmit",senderChannel,replyChannel,message)
and receive the events with
while true do
  local e={coroutine.yield()}
  if e[1]=="modem_message" then
   print("Side: "..e[2])
   print("Cannel: "..e[3])
   print("Reply Cannel: "..e[4])
   print("Message: "..e[5])
  end
end






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users