Comments (4)
If you apply NetHack/NetHack@b35d8a3 you should be able to compile and run it without this issue. You could also remove the NHL_SANDBOX
define in config.h I guess, though it's probably safer to do it the other way since you'd lose whatever protection the sandbox is meant to offer (I think it's supposed to prevent malicious execution of something or other from lua files).
But I'm a little confused because looking at the Makefile it seems like it should be specifically downloading and using Lua 5.4.4 instead of 5.4.6 -- do you have a lib/lua-5.4.6 directory in the repo? (Or maybe it's using the system Lua version?)
from xnethack.
Thanks for your reply. I will apply the patch and see if it works. I forgot to mention I am compiling it in Windows using VS 2022. Perhaps that might be relevant.
I do not have a lib
folder, but I just checked under submodules/lua/lua.h
and it is indeed version 5.4.6
. In the file, it reads:
#define LUA_VERSION_MAJOR_N 5
#define LUA_VERSION_MINOR_N 4
#define LUA_VERSION_RELEASE_N 6
from xnethack.
That does help; it seems like the Windows build (at least the recommended way to build it from the text files) uses a git submodule instead of downloading the specified lua version directly. NetHack/NetHack@b4f3a0f updated the submodule to point to 5.4.6 but the "this is the expected version" code was only updated two weeks later with the commit I mentioned. I think xnethack merged the upstream code at some point between the two, so anyone using that git submodule will have this problem. It should be fixed with the next vanilla merge, at the latest, and in the meantime applying NetHack/NetHack@b35d8a3 manually should fix it. [You could also follow the alternate "Via zip download" instructions in sys/windows/Install.windows which avoid the submodule, though I think it may miss another couple VScode-specific submodules/ references that would need changing in sys/windows/vs/dirs.props.] I don't have any write permissions on the repo so @copperwater will have to figure out what to do when he's around (I would think at least the Windows binaries should be removed until a fix is in place, if they have this issue).
By the way, someone previously reported the Windows tiles version was crashing on startup (#95) -- if that's what you're building, keep an eye out for that and please report back if that happens to you too. If you run into it and you've also built NetHack-3.7 on your system it'd be helpful to know if the same thing is happening there.
from xnethack.
Ah great! I'm glad to hear my error helped you to identify a problem! It seems it'll solve itself soon. Thanks again for the help.
I also agree that it's a good idea to remove the windows binaries until the issue is fixed. At the moment they are broken.
from xnethack.
Related Issues (20)
- Add some more themed rooms
- Martial arts buffs: second attack at Grand Master
- Martial arts buffs: AC bonus
- Martial arts buffs: immunity to leg damage from bad kicks
- Martial arts buffs: disarming on crits
- Martial arts buffs: scale the die size with skill HOT 1
- Martial arts buffs: automatic kicks
- Cancelled ghosts should be incapable of turning invisible HOT 1
- Grudge Patch: leprechauns have a one-way grudge against gold golems and gold dragons HOT 1
- Sitting on the floor should mess up dust/carve engravings
- Wishing for "tripe" should give a tripe ration (currently it doesn't recognize that)
- Wizard's Tower second floor is boring and tedious HOT 7
- No portal on the Plane of Air HOT 1
- Vault Guards HOT 10
- while helplessstuck HOT 2
- Vapors from dropped potion of monster detection can cause panic while levitating.
- Vanilla Text Fragment
- Strong Valkyries "clumsily throw" Mjollnir
- rogues
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 xnethack.