Open Nosferatus-Shadow opened 4 years ago
In general, the instructions provided by the Java documentation (link) are pretty good for configuring your path. If you're not familiar with the PATH, here is a link to some information on it.
You want to edit the PATH such that you add to the end of the PATH a new directory that matches the directory that contains dfrotz.exe
in it. It should be the complete path, ie. it should start with C:\
, or whatever your top level drive is named (ex: D:\Users\foobar\frotz\
).
Hi Ivan,
Thanks for the information. I managed to get a bit further in the guide.
As I said....I am pretty much a noob, layman when it comes to this. But I am really intrigued by the idea of running a text based adventure game in discord.
I have added a path to dfrotz.
I have also created the requisite bot in discord and got the token code.
I have downloaded your files to a directory on my Pc.
npm node.js is also installed....
But, due to my lack of knowledge, I am stumped on this next part.
using cmd prompt I have gone to the directory of the code.
I then use the command
npm install
All looked to be going well until:
E:\Media Projects\Bot Testing\discord-text-adventure-bot-master>npm install
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\rxjs-cbcb3a32_esm2015\fetch\index.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\rxjs-cbcb3a32_esm2015\fetch\index.js.map'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\array.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\distance-iterator.js'
npm WARN tar ENOENT: no such file or directory, open 'E:\Media Projects\Bot Testing\discord-text-adventure-bot-master\node_modules.staging\diff-468dd747\lib\util\params.js'
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/woor/discord.io.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I will upload all my issues to your issues page. But, it is certainly because I am a complete laymen in this....it may be easier to work out my issues first and then upload how I solved the issue after the fact.
Do you have a discord server I can join temporarily to discuss this?
I may require a much more simplistic walk-through. Although I appreciate you may not have the time.
I really would like to try and get this bot active however as I really like the idea of playing a text adventure game in discord. It's a great bot concept.
Kind Regards
Ben
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, 22 June 2020 23:59, Ivan Mattie notifications@github.com wrote:
In general, the instructions provided by the Java documentation (link) are pretty good for configuring your path. If you're not familiar with the PATH, here is a link to some information on it.
You want to edit the PATH such that you add to the end of the PATH a new directory that matches the directory that contains dfrotz.exe in it. It should be the complete path, ie. it should start with C:\, or whatever your top level drive is named (ex: D:\Users\foobar\frotz).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
From the project directory, try doing the following:
First, delete the package-lock.json
file. Then, in the package.json
, edit the pinned version of discord.io
to be ^2.5.3
, like so:
"discord.io": "^2.5.3",
Then try running npm install
again.
I preface this by saying I am a layman with anything like this.
But really would like to get this working as a discord bot.
System: Windows 10 pro
Issue: The initial steps.
This is probably an issue with my understanding more than anything.
I have downloaded all the bot files the .json etc.
I have also downloaded dfrotz from the website as instructed as a windows user.
I am then stuck on the next sentence:
"All you have to do is add the dfrotz.exe file to your PATH and you will be good to go!"
I have no idea what to do next, pretty much, and as a layman, don't understand what I have to do.
Do I have to open a cmd prompt in windows and execute something from there?
The dfrotz.exe does not seem to do anything when clicked on....a brief window....then nothing.
So clearly, I am not understanding the instruction.
Apologies for being a bit of a dunce.
Regards