Code Monkey home page Code Monkey logo

roboserver's People

Contributors

asb01 avatar dunstad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roboserver's Issues

Server crashes when robot attempts to send data [master 11/9/17]

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

a robot called... is already connected to account

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
...

How???

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!

Add a way of clearing scan data without closing the program

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.

Network info missing (Sorry btw)

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.

Port or Ip error

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.

Patreon Link

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?

Nothing shows up in the browser...

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:

  • Install RoboServer web server
  • Install RoboServer client on the robot
  • Link them together
  • Fiddle around with options
  • See the results
  • Get frustrated when nothing shows up (lol kek)

The expected behavior:
After selecting the robot and setting Scan Size not to None, a map should appear.

The actual behavior:
Nothing shows up.

image
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.
image

robot can't connect to server

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.