Comments (18)
Interesting. I can include some regex to clear those out, but I've never seen this before. This looks like Zork; are you using a special version of Zork?
from discord-text-adventure-bot.
Yeah, it's Zork. I don't believe it's a special version. It's the .z5 from here:
http://ifdb.tads.org/viewgame?id=0dbnusxunq7fw5ro
It's working in terminal with dfrotz without the extra @ stuff.
from discord-text-adventure-bot.
Hmm, yeah, let me see if I can reproduce this with this file.
from discord-text-adventure-bot.
So, this is what I see with the latest version of the bot, and the Zork 1 .z5
file from that link you sent. I can't reproduce the issue.
What's your setup? OS version? dfrotz
version? discord-frotz
version?
from discord-text-adventure-bot.
Was there any other steps you took that might cause it to start outputting that stuff?
from discord-text-adventure-bot.
I don't think I did anything too crazy, but I'm not real confident working with Linux (easily may have done something wrong). I'm running "Linux Mint 18.2 Sonya" (32bit, cinnamon version), in a VM (Oracle VM VirtualBox), from http://www.osboxes.org/linux-mint/
node v6.11.3
dfrotz v2.44
discord-frotz 0.12.2
from discord-text-adventure-bot.
Huh, I have no idea what's up. Do you start seeing those weird @
messages as soon as you start playing Zork, or does it happen after a few commands?
from discord-text-adventure-bot.
Right from the start
https://i.gyazo.com/282cdd4ffc3e4335978d876eaf879c40.png
from discord-text-adventure-bot.
Googled and played around a bit, I see what it's doing but not why.
If you do:
dfrotz -o zork1.z5
It does the same thing. "Watch object movement" it's calling it.
Edit: Maybe something weird happened in the make process, a debug setting or something because I don't know what I'm doing?
from discord-text-adventure-bot.
So, this is the line that actually spawns the dfrotz process:
this.game.child = spawn('dfrotz', ["-m", gameConfig.path]);
The only thing we're passing it is -m
(other than the path to the game file) so that the output is easier to read.
from discord-text-adventure-bot.
Using -m gave me the object stuff too, doesn't without
from discord-text-adventure-bot.
Can you try to use this branch of the code to run your bot?
To use the branch instead of the version you npm i -g
installed, use the following steps:
- Uninstall the global bot with
npm remove -g discord-frotz
- Clone the repo into a temporary place with
git clone https://github.com/aeolingamenfel/discord-text-adventure-bot.git
cd
into the new folder and checkout thebad-output
branch withgit checkout bad-output
- Install node deps
npm i
- Link the command globally by running
npm link
- go to wherever you have your
discord-frotz.config.json
file and rundiscord-frotz
and see if you're still seeing it
Let me know how that goes. I changed the flag on that branch to use a different dfrotz
flag for plaintext.
from discord-text-adventure-bot.
Haha, might have been easier to just change that one letter manually. (Especially since I don't have git installed in there, I downloaded the zip from the site.)
It works, I don't see anything out of place.
https://i.gyazo.com/c0b3e2edff8c21b50a986e6979a8e23c.png
Really curious what -m means, dfrotz doesn't seem to mention it.
from discord-text-adventure-bot.
Ha, that's fair. It was literally a single char change lol. I'm not 100% sure either, actually. I believe @TheSofox was the one that found that switch. It seems fine to just use the -p
switch instead though, so I'm going to clean up the code a little and release a new version with that switch instead of the -m
version.
from discord-text-adventure-bot.
Sounds good!
from discord-text-adventure-bot.
Alright, I just deployed v0.12.3
of the bot (which includes that update) to NPM. Go ahead and update however you want, and let me know if the bot works as intended. It seems to be working fine on my end.
If so, I'll close this issue! Also, thank you for finding this issue!
from discord-text-adventure-bot.
Yep, still all good~
Thanks for the instructions btw, I would have had trouble there (despite downloading it differently).
from discord-text-adventure-bot.
Absolutely! I figured I'd err on the side of caution and outline it in case you weren't familiar with some of the stuff to do.
And cool, if you see it again, feel free to open this issue again. For now, I'm gonna close it.
from discord-text-adventure-bot.
Related Issues (20)
- Add Ability to Automagically Install Dfrotz
- Running on Raspberry Pi HOT 5
- bot isnt starting up HOT 9
- unable to start game HOT 4
- Can't get bot to work HOT 2
- Bot now works on Windows HOT 1
- Cannot install discord bot, not working for some reason. HOT 20
- Frotz repository has moved to Gitlab
- Listing multiple games. HOT 2
- CRASH ON $start A HOT 14
- don't encode UTF-8 HOT 1
- CRASH ON $start A (Raspian) HOT 16
- Really simple issue..... HOT 3
- Migrate From discord.io to discord.js
- Bot Gives Near-Meaningless Error When It Fails to Find Game File
- Add Ability to Kill Bot From Discord
- z5 files stuck in loading HOT 1
- DiscordAPIError: Invalid Form Body content: Must be 2000 or fewer in length. HOT 1
- Add Support for Discord Character Limit to the Bot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord-text-adventure-bot.