kandi X-RAY | mud-server Summary
kandi X-RAY | mud-server Summary
A MUD server written in Java which aspires to be something of a general purpose framework for such games. For example, I have adopted the MUSH/MUCK convention of allowing exit names to be arbitrary text (rather than n/s/e/w), although there may be some support for reliably using the latter in the future (nothing explicity prevents creating exits with those names). Also, there is a fairly limited internal scripting system highly reminiscent of MPI from Fuzzball MUCK (Which is to say that it allows setting, modifying, and checking properties on each object. In general, though the code sticks closer to the hardcode end (at the moment) regard game systems and mechanics.
Top functions reviewed by kandi - BETA
- Command entry point
- Called when a death is detected
- Generates and returns the looted items
- Calculates the damage of a given fighter
- Reads a Spell object
- Sets the surname of the class
- Encodes the target string array into a binary ID
- Runs the tool
- Convert a string to a list of strings
- Initialize the PC
- Retrieve the list of players
- Loads the book
- Imports an area from a text file
- Parse an integer representation of a string
- Execute the spell
- Reads the account data
- Evaluate a list of strings
- Returns a JSON representation of this field
- Initialize members
- Load item data
- Load a list of strings
- Drop an item from the database
- Runs the command
- Load an item data
- Loads and returns the dialog
mud-server Key Features
mud-server Examples and Code Snippets
Trending Discussions on mud-server
I have a telnet server running circlemud. I have websockify running as python proxying the connection. I can receive data as well as send data with the enclosed wstelnet.html that comes with websockify. However when I use the included simple.html file or the following code, it will receive data but will not send, or at least the telnet server never receives anything.
I am assuming the data I am receiving is blob, because that is the only way I can parse it. When you output the raw data to console it doesn't specify what data type it is. Also I am using the default Websocket api with my only include being jquery.
In the following I receive the message $('#message').html("asking for username"); as intended but the ws.send(blob); never sends anything, I have also tried just regular ws.send("test123"); to no avail....
ANSWERAnswered 2019-Mar-11 at 19:19
Make sure your client is sending line endings (i.e. ASCII character 10 or '\n') that the telnet server is expecting because it won't do anything with the text you sent until it sees a whole line.
No vulnerabilities reported
You can use mud-server like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the mud-server component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Reuse Trending Solutions
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page