Code Monkey home page Code Monkey logo

Comments (14)

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024 1

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.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

image
config
image
games folder
image

from discord-text-adventure-bot.

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024

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:

  1. Move dfrotz.exe into C:\users\{your username}\bin\
  2. 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 put dfrotz.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.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

image

from discord-text-adventure-bot.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

image
ahh wait linux found it

from discord-text-adventure-bot.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

image
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.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

i did sudo npm run start did $targetChannel
$start game and it crashed
image

from discord-text-adventure-bot.

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024

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.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

image

from discord-text-adventure-bot.

PlushBanshee avatar PlushBanshee commented on September 13, 2024

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?
image

from discord-text-adventure-bot.

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024

Cannot reproduce with latest version of bot; please see screenshot below.

System: macOS running dfrotz.


Screen Shot 2019-07-16 at 3 37 18 PM

from discord-text-adventure-bot.

KawaiiFiveO avatar KawaiiFiveO commented on September 13, 2024

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.

Capture

2020-06-18T15_37_36_232Z-debug.log

from discord-text-adventure-bot.

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024

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.

ava-cassiopeia avatar ava-cassiopeia commented on September 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.