nkhoit / dcss.py Goto Github PK
View Code? Open in Web Editor NEWA Dungeon Crawl Stone Soup (DCSS) Python API wrapper
License: MIT License
A Dungeon Crawl Stone Soup (DCSS) Python API wrapper
License: MIT License
Right now, if you try to login to a remoteConnection with an invalid username/pw, it behaves poorly.
I'm not sure exactly what happens, but you end up with a blank screen and no real feedback. The validConnection parameter is still true though.
Right now, all of the lines are pushed up by one, beyond what they should be. This is likely due certain escape sequences at the end of the screen input, potentially the \x1b[*X command (which deletes characters) or manually moving the cursor beyond the edge of the terminal's size.
Also, the line which stays "(options read from {path})" will be partially overwritten if part extends onto the next line. not sure why this is happening.
just testing 123
We should be logging a lot more stuff. Most notably, we should have a verbose log which contains every communication from the server, and also contains a list of 'unsupported' escape sequences that are being ignored by TerminalBuffer
When quitting a remote game, the client just closes the connection. If a user manually enters the commands to exit, the connection doesn't recognize when it's been fully terminated, and will eventually throw an exception (after the user kills the ssh session, if they send another command, the ssh will just error, instead of the connection recognizing that its been closed already)
When quitting a local game, the client just kills the program. If a user manually saves and quits, pexpect will throw an unhandled EOF error.
Not entirely sure the cause of this bug, but it seems that if the crawl instance for a local copy thinks the window size is larger than standard 80x24, it starts doing things that makes the terminal buffer fail to properly keep track of anything (in my testing, it results in a totally empty buffer)
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.