Comments (14)
Per discussion on Discord, this looks like an actual bug with the bot, which I'll try to address. The game in question seems to be Asylum.z5
from this link, and repro steps are:
$targetChannel
$start Asylum
$south
On a Windows machine.
from discord-text-adventure-bot.
from discord-text-adventure-bot.
You will need to add dfrotz not to the games folder but to your path. I've assumed that you're using Windows because that screenshot looks like the Windows file explorer, but please correct me if otherwise. In general, you should follow these steps:
- Move
dfrotz.exe
intoC:\users\{your username}\bin\
- Locate the tool to edit your system path. The instructions provided by Oracle for Java (link) are useful, but once you have clicked the "edit" button in Windows, add the following to the end of the path (do not wipe out the existing value, just append to it):
;C:\users\{your username}\bin\
(or wherever you putdfrotz.exe
)
Of course, replacing {your username}
with your actual Windows username. You can verify that you did these steps by performing the following afterwards: opening a new terminal/command line window and typing dfrotz
and pressing enter. If it gives you some sort of "unrecognized command" or similar, then you have failed.
Please let me know if those instructions are useful.
from discord-text-adventure-bot.
from discord-text-adventure-bot.
from discord-text-adventure-bot.
okay i got this to show in the windows linux terminal i fixed the spelling mistake with the user folder name but it still crashes when i try to run a game
from discord-text-adventure-bot.
i did sudo npm run start did $targetChannel
$start game and it crashed
from discord-text-adventure-bot.
Can you try running the game in the terminal using dfrotz directly? IE.
dfrotz path\to\{game name}.z5
And let me know if that runs as expected?
from discord-text-adventure-bot.
from discord-text-adventure-bot.
is there by any chance we can talk this over discord i built bots before but this is new to me adding .exes to node,js scripts i really like the idea of this bot and i got a tone of .z# games ready but i'm still at a loss?
from discord-text-adventure-bot.
Cannot reproduce with latest version of bot; please see screenshot below.
from discord-text-adventure-bot.
Experiencing same issue. dfrotz is installed normally, can be used to play the game from any location.
Bot works until starting a game and entering a command, crashes with the same "throw er, unhandled error event".
Running Raspbian (Debian variant). All packages reinstalled and updated with npm wherever possible.
2020-06-18T15_37_36_232Z-debug.log
from discord-text-adventure-bot.
I've created #39 as a direct copy of your comment, @KawaiiFiveO , just so I can keep the two discussions separate. If it turns out they are related, then I'll update this issue with the findings.
from discord-text-adventure-bot.
The bot has been updated to a new framework, so this bug might be solved, but since I couldn't reproduce it, I'll leave it open for a bit.
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
- Text that shouldn't be there HOT 18
- 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
- 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.