doornode | A BBS door game server written in node.js | Game Engine library
kandi X-RAY | doornode Summary
kandi X-RAY | doornode Summary
DoorNode is a node.js application for launching BBS door games using Dosbox on modern operating systems. It's designed to be used with MajorBBS/WorldGroup software to launch non-MBBS doors via the RLogin module, but it could be easily adapted to other use cases. It has been tested on Ubuntu Linux and OSX.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handles input buffer
- Start debug server
- passing loginAuth arr
- Validate configuration
- send wrapper to the wrapper
- Start the server
- Pick a wrapper in the queue
- Starts the debugger server
- Detects cursor position .
- Render backspace .
doornode Key Features
doornode Examples and Code Snippets
Community Discussions
Trending Discussions on doornode
QUESTION
I want to have 3 classes which are related. A Node class a DoorNode class and a SisterDoorNode class.
There are different types of nodes, which all have an id, a position, connections and a few functions.
One of these types are door nodes, which, just like the sister door nodes, have the node type "door", a corresponding element and a few functions. Their id and position are calculated in one way.
Then there are also sister door nodes. They have a different way of calculating the id and the position and also have a boolean that states that they are a sister door node.
This is how I wanted it to look like:
...ANSWER
Answered 2019-Apr-19 at 23:31So, you're dead on about not being able to use 'this' before 'super', as there is no 'this' to reference before the base class' constructor has finished running.
There are a few solutions to this, but they involve restructuring your code.
1) pass in the id
and pos
as params, just like the base class is doing.
2) Make getId
and getPos
static methods. ( this will introduce new complexities to do with using static variables )
3) make pos
and id
optional, and set them sometime after the super call.
4) you could just reference the props directly; super( door.id, door.pos )
, but that won't work in your extended class that is doing logic on the id
and pos
Update to include example of using a static function with a super call.
QUESTION
ANSWER
Answered 2017-May-27 at 12:19I suggest that you do what the Kitten Monitor sample does, http://gojs.net/latest/samples/kittenMonitor.html. Here's the relevant code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install doornode
Install the latest stable version of node.js
Clone the DoorNode repository: git clone https://github.com/dinchak/doornode
Modify config.js to match your preferences. See the configuration section below.
Copy your door installation files to somewhere in dosbox/drive.
Run dosbox from the dosbox folder and install your doors. See the configuration section below.
Run node app.js to run DoorNode.
Connect to the Debug port by running telnet localhost 1234 or by using your favorite terminal program.
Run a door from the Debug port to test if everything is working as expected.
Configure your BBS software to connect to DoorNode via RLogin.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page