dunstad / roboserver Goto Github PK
View Code? Open in Web Editor NEWControl OpenComputers robots without writing any code!
License: MIT License
Control OpenComputers robots without writing any code!
License: MIT License
The roboserver server crashes whenever the robot sends ANYTHING. Nothing much more to say.
Using master branch from 11/9/17
MC 1.7.10 OC 1.6.1 (i think)
Steps to reproduce are simple, download current master branch server, and current robot script, set up as usual and observe that the server crashes whenever data is sent to it.
Browser : Firefox v. 56.0.2 64 bit
Basically all versions have crippling bugs in them (in 1.0.1, robots cant connect "robot [name] is already connected", the browser doesn't work in 1.0.0).
Pertaining error :
SyntaxError: Unexpected end of JSON input
at parse ()
at Array.map ()
at Socket.tcpSocket.on ([redacted]\roboserver-master\public\js
\server\customizeServer.js:79:47)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:594:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] server: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] server script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! [redacted]\AppData\Roaming\npm-cache_logs\2017-11-09T21_38_2
5_627Z-debug.log
I have installed the server and client (both with default settings) and the robot identified for the account and then seemed to lose it's identity or connection.
The server output:
unidentified robot connected
id { account: 'oc', robot: 'R2-D2' }
robot R2-D2 identified for account oc
unidentified robot connected
id { account: 'oc', robot: 'R2-D2' }
a robot called R2-D2 is already connected to account oc
unidentified robot connected
robot R2-D2 for account oc disconnected
closed
id { account: 'oc', robot: 'R2-D2' }
robot R2-D2 identified for account oc
closed
unidentified robot connected
id { account: 'oc', robot: 'R2-D2' }
a robot called R2-D2 is already connected to account oc
unidentified robot connected
robot R2-D2 for account oc disconnected
closed
id { account: 'oc', robot: 'R2-D2' }
robot R2-D2 identified for account oc
closed
unidentified robot connected
id { account: 'oc', robot: 'R2-D2' }
a robot called R2-D2 is already connected to account oc
...
You never explained Roboserver's Ip and port, and I still have no damn idea how to find them, and I'm using the standalone version!
I tested this out with Opencomputers 1.7.4 on MC 1.12.2. There were a few moments when the robots location de-synced with the roboserver causing block placements to fail, but aside from that it works very well. The only issue is that with large amounts of scan data, the program slows down rendering it. There should be some way to clear all scan data without having to close the program.
I cloned the repository and managed to get past npm install, yet when I run npm run server it begins but stops at >node .bin/www
Can you provide any insight as to why this is?
To be clearer, and nicer, I don't know what the robot needs from me.
It asks me for a network Ip and port, but using the desktop version this info isn't displayed anywhere.
I'm really confused.
address could not be parsed or no valid port given
I have all the right components
The Ip i set was 127.0.0.1
the port was 3001
I'm using the desktop version.
edit: Weirder is that it worked twice before, but stopped working afterwards.
Sorry if this is the wrong place for this, but the Patreon link referenced in many of the files does not appear to have an option to support this and gain access to the desktop version of the program. Is this intentional?
MC 1.10.2, OC 1.6.2.7
Using Iridium (Chromium fork), version 58.0. Also tried Firefox 54.0.1, still nothing.
Steps to reproduce the problem:
The expected behavior:
After selecting the robot and setting Scan Size not to None, a map should appear.
The actual behavior:
Nothing shows up.
I tried to change Scan Size but still nothing shows up at all.
However if i look into the terminal output produced by the server (npm run server
), it detects the robot.
i click on the desktop download in the main readme and i get a 404 from github
test issue
I have been unable to get this to control a robot on a dedicated server every time I setup the robot it just gives the address could not be parsed or no valid port given
error
After installing the server edition from source as specified, I receive this error when issuing the "npm run server" command:
Holy hell that is expensive, fix pl0x
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.