munificent / hauberk Goto Github PK
View Code? Open in Web Editor NEWA web-based roguelike written in Dart.
Home Page: http://munificent.github.io/hauberk/
License: Other
A web-based roguelike written in Dart.
Home Page: http://munificent.github.io/hauberk/
License: Other
stab.dart:
library hauberk.engine.command.stab;
lance.dart:
library hauberk.engine.command.stab;
I wanted to play again. This morning everything was fine. Now the character is gone. I think I was level 15 warrior and dungeon 47 or something like that. Can't remember precisely. But now it is just gone and I can't play anymore.
There seems to be a glitch when exiting the new buildings or dungeon your character gets stuck in the doorway after pressing [Eec].
SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, http://download.microsoft.com/download/B/9/F/B9FF9327-7A72-4165-BF91-9B7EEB6C579B/DeviceList.json
26
Also the dungeon load screen hangs as well. :(
SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, http://download.microsoft.com/download/B/9/F/B9FF9327-7A72-4165-BF91-9B7EEB6C579B/DeviceList.json
15
Was using the lance action to bash down a corridor of fire worms when the game crashed with an uncaught exception. Not sure if this is enough information, but it might be of interest.
Uncaught Error: RangeError: Value not in range: -1
at Object.wrapException (main.dart.js:3348)
at Interceptor.removeAt$1 (main.dart.js:656)
at Monster.onDied$1 (main.dart.js:19071)
at Monster.takeDamage$4 (main.dart.js:15702)
at Hit.perform$4$canMiss (main.dart.js:16993)
at Hit.perform$3 (main.dart.js:17033)
at LanceAction.dart.FuryAction.attack$1 (main.dart.js:14801)
at LanceAction.performAttack$0 (main.dart.js:14847)
at LanceAction.onPerform$0 (main.dart.js:14780)
at LanceAction.perform$2 (main.dart.js:14223)
One challenge with loot is most random equipment is useless. If a weapon is a type your class can't use, or is equal to or less powerful than what you have equipped, it has zero value.
Especially near the end game, you end up wading through piles of useless stuff. Auto-squelch is a hack to address that, but it feels like a hack.
Gold and shops do help. They let you effectively transmute equipment to something that's known useful. But even then, near the end game, money becomes mostly useless. You could address that by having very high quality expensive items available in shops, but that feels not very exciting to me. The Amazing
Blade of Super Decapitation should be something you get from a glorious battle, not from pinching pennies.
Actually, now that I think about it, saving up for great gear is kind of fun too. So maybe that's not too bad.
Either way, here's an idea to address that that takes advantage of the crucible.
We add shops to the game. They carry basic useful items along with a variety of equipment of different types and quality, but usually not up to magic gear. We make non-magical equipment less likely to drop in the dungeon. (At high levels, of course, magical artifacts and stuff do start turning up.) Instead, we drop more gems, runes, stones and other crucible ingredients that power up equipment.
The idea then is that you buy the right kind of gear for what you want. Then you hope to find good components you can use to put that gear in the crucible and amp it up.
This way, you don't have to deal with finding 20 Swords of Flame that you're a priest. Instead, you buy a mace, find one "of Flame" gem and get the right combination yourself.
Player throws a bottle of wind at enemy. All of the bottles of wind in the player's inventory (two) were thrown and fall to the floor between the player and the enemy. At that point the player can no longer move. The player can hit the (U) and (D) keys but can not use or drop items. Standing in place does not work; I have a loaf of bread equipped but hitting the 5 key does not heal me.
If I am standing on an item, I would like to be able to hit +to pick up something I am standing on.
This is useful for numpad players who do not want to switch over to the keyboard just to pick something up.
Minus could be used to shut doors.
I noticed there's no longer a list of controls anywhere to make use of and also the skills menu information doesn't seem to be appearing anywhere too.
Hello there,
how does rng.oneIn(x) work exactly? Could some1 describe it?
Failed to precompile markdown:markdown:
file:///Users/t-justinl/.pub-cache/hosted/pub.dartlang.org/markdown-2.0.0/lib/src/util.dart:6:37: Error: Getter not found: 'ELEMENT'.
const HtmlEscape(HtmlEscapeMode.ELEMENT).convert(html);
^
Failed to precompile build_runner:build_runner:
file:///Users/t-justinl/.pub-cache/hosted/pub.dartlang.org/io-0.3.2+1/lib/src/shared_stdin.dart:55:22: Error: Getter not found: 'UTF8'.
return transform(UTF8.decoder).transform(const LineSplitter());
^^^^
file:///Users/t-justinl/.pub-cache/hosted/pub.dartlang.org/io-0.3.2+1/lib/src/shared_stdin.dart:55:22: Error: The getter 'UTF8' isn't defined for the class '#lib1::SharedStdIn'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'UTF8'.
return transform(UTF8.decoder).transform(const LineSplitter());
^
make: *** [serve] Error 1
installed dart today and havent changed anything
Is there a screen/menu/button to show my characters strength, intelligence, dexterity, etc..?
I have been trying to find it for a while now.
The first bug occurs when you create a new character,
as the [enter] key doesn't take you back to the menu after you are done.
I hit [esc] instead and got back to the main menu and realized I had made several characters.
so the character creation works but it's missing a link to take you back.
The second and more pressing error, is that my new characters don't seem to be saving.
the second I close the browser, they are just gone. even if I complete several levels. :/
Ps. My older characters are still there but they don't seem to work well with the new content.
the newer of the 2 old characters don't save any new progress.
When I press Shift + Numpad(1..9), it just moves 1 in this direction, the same as without Shift.
I've completely cleared level 3 of the Goblin Stronghold (the one where the quest is to kill Feng) a few times and have never found Feng.
Is he just super hard to find, or does he just never spawn?
Having a lot of fun with it, and happy to be just told "yep, keep looking", just want to make sure I'm not running into a bug.
Thanks!
For versions up to @2.16, I first needed to do dart pub get
and dart pub upgrade
to cope with errors like the following:
Analyzer language version: 2.13.0
SDK language version: 2.16.0
If you are getting this message and have the latest `analyzer` version, then a
new version of `analyzer` needs to be published. Check for an open issue at:
https://github.com/dart-lang/sdk/issues?q=is%3Aissue+is%3Aopen+No+published+analyzer+2.16.0
and thumbs up and/or subscribe to the existing issue, or file a new issue at
https://github.com/dart-lang/sdk/issues/new with the title
"No published analyzer available for language version 2.16.0".
From @2.17 onward, directly calling pub
is no longer supported, so make serve
fails with the following:
pub run build_runner serve
make: pub: No such file or directory
make: *** [serve] Error 1
I was able to get @2.17 to work by updating instances of pub run
in Makefile
to dart pub run
System info:
MacBook Pro 16-in, 2019
macOS Ventura 13.1
During melee, threw a stick which landed on top of a barrel and was unable to retrieve as player can not stand on top of a barrel.
This is the first time this has happened. I tried to enter level 4 and the app crashed at the loader screen with the following error:
Uncaught Error: Invalid argument: null
at Object.wrapException (:8080/main.dart.js:3550)
at Interceptor.$gt (:8080/main.dart.js:1202)
at Object.J.$gt$n (:8080/main.dart.js:30145)
at $async$generate$1 (:8080/main.dart.js:14140)
at :8080/main.dart.js:6009
at _SyncStarIterator.moveNext$0 (:8080/main.dart.js:6014)
at LoadingDialog.update$0 (:8080/main.dart.js:25881)
at UserInterface.refresh$0 (:8080/main.dart.js:27684)
at UserInterface.dart.UserInterface._tick$1 (:8080/main.dart.js:27713)
at Object.eval (eval at Closure_forwardCallTo (:8080/main.dart.js:3866), <anonymous>:2:39)
As far as I can tell, new skills aren't added (like the "you can begin training in [weapon]") if the "pick up and use" (U, tab, tab, A) command is used, but the skills are added normally when the weapon is picked up using the G key before being equipped from inventory.
On my system,port 8080 is already in use by my LAN proxy server, and I cannot change that without breaking my LAN.
Since I cannot find where in Hauberk it sets port 8080, I am guessing that Dart needs to be modified, not Hauberk. However, you should include information in the README about such a potential conflict, and how to resolve it.
I was going through the old Amaranth repo and realized there's a bunch of monsters and other content in there that I never migrated over. I should do that.
I'm only seeing "How to play" on the Hauberk main screen, everything else is missing.
different browsers made no difference.
Could we get the web service to listen on all IP instead of just localhost?
I have run across this glitch about 3 or four times,
I will light a candle in a dark room, and I have a
bunch of other light sources in my inventory.
(lamps, tallow candles, wax candles, torches.)
Nothing unusual happens until I get to the next floor,
That's when all of my light sources just vanish from my inventory. : (
I activate the mapping scroll it mapped half of the dungeon and then hung the game.
there was some fire on the screen at the time, not sure if it's related.
Though I'd post it because I've seen this error twice now. :(
Here's the error code:
SCRIPT7002: XMLHttpRequest: Network Error 0x80700013, http://download.microsoft.com/download/B/9/F/B9FF9327-7A72-4165-BF91-9B7EEB6C579B/DeviceList.json
33
I just found a room (in the training area level 1) that has an entrance of 2 doors and an opening. I assume the 'choose connections' phase of your algorithm isn't checking to see if there is already a connection used next to it beforehand? IE:
#.####
#.#
#.#
#.'
#.'
#. .
#.###
#.#
#.#
Ran into this bug when trying to load up the level to play:
Failed to load resource: the server responded with a status of 404 (Not Found) main.dart.js:5016 Uncaught TypeError: Cannot read property '_sortOrder' of null at SlayDiscipline.compareTo$1 (main.dart.js:21098) at Object.J.compareTo$1$ns (main.dart.js:31990) at StaticClosure.dart.JSArray.static.JSArray__compareAny (main.dart.js:1023) at Object.Sort__insertionSort (main.dart.js:1544) at Object.Sort__doSort (main.dart.js:1532) at Object.Sort_sort (main.dart.js:1526) at Interceptor.sort$1 (main.dart.js:892) at Interceptor.sort$0 (main.dart.js:895) at SkillSet.get$discovered (main.dart.js:21217) at Hero.refreshProperties$0 (main.dart.js:20788)
Also noticed that when exiting shops at the moment you don't move back a screen, but when you hit exit again you end up back at the character selection screen.
With some spells, particularly Fire Barrier and Brilliant Beam, I occasionally find myself wanting to manually aim the spell, so that I can put my barrier down exactly where I want it, or maximize the number of enemies hit by Brilliant Beam's cone. Perhaps the auto-aim could be replaced with a hybrid aim where the reticle auto-aims, but the player can then toggle that off if they want to manually aim their spell?
Casting the spell "Icicle" on yourself will cause the spell animation to endlessly repeat, preventing you from issuing any commands.
I am playing the game through my default browser (Firefox), and I've not yet tested anything on but my local machine.
Probably best to not ask why I was casting offensive spells against myself.
I'm really enjoying your game so far, with a long history of classical roguelikes under my belt I can readily feel the thought and care in the code. I hope things go well for you and you continue to have time to work on it. If this comment helps to bring any fixes or additions to your work, I'm glad it helped and was worth your time.
I've frequently encountered the problem that it is so dark in the dungeon that I am unable to see enemies in the square adjacent to me. It may be a design concept, however when I encounter areas like that, I've taken to avoiding them altogether or even quitting the game because it simply isn't enjoyable anymore.
Please understand that I do enjoy the darkness - it's exciting to be in an area where you don't quite know where your enemies are. It's just not as exciting when you're in an area where you have to punch the wall to know it's there, and you used your last light source on all the other areas like this one.
Shift+ L, allows you to stand in place repeatedly until your health is full.
Shift +5 does not have the same effect.
Same for all directional moves
hauberk/lib/src/content/item/weapons.dart
Line 53 in 09e6466
..skill("Club Mastery")
Shift + L lets you stand in place until you generate health, or until a monster comes nearby.
I died doing this because getting hit by spark does not seem to count as being near an enemy.
I think the a secondary issue here is that if you're doing automoves (shift + whatever) and your health starts going down, auto-moves should stop.
I don't seem to be able to equip things,
as the options is blacked out.
am I missing a new feature or something ?
I've been unable to play the game because it has been crashing often. When it crashes the game freezes, I can access a few menus, but I can't do anything with them. Here is the most recent error:
main.dart.js:1360 Uncaught Error: TypeError: 145.45454545454544: type 'jh' is not a subtype of type 'int'
at Object.i (main.dart.js:1172)
at Object.r (main.dart.js:1360)
at a0.cU (main.dart.js:7861)
at a0.f6 (main.dart.js:7869)
at iy.I (main.dart.js:7491)
at nP.ba (main.dart.js:7954)
at j6.ba (main.dart.js:10585)
at cJ.cV (main.dart.js:12568)
at cJ.dart.cJ.mF (main.dart.js:12591)
at Object.eval (eval at iH (main.dart.js:1304), :3:35)
Starting around the middle of last week...
the browser version of the game fails to load.
(I tried 4 different browsers)
"ERROR
Service Unavailable
The requested service is unavailable.
Please try again later. "
After I created my hero, I was able to get to the hero screen, but after playing for a while I can no longer access it.
Now when I select my hero I just get presented with the level selector. Am I missing something or is this a bug?
I unequipped both my weapons - a stiletto and a baselard. Then I equipped the stiletto, followed by the baselard. Then I happened to press x
. Free stiletto! I can sell the stiletto, press x
again and get another. I tested this a number of times :)
The file index.html links to getting-started.html (on http://munificent.github.io/hauberk/) but the file doesn't exist.
I made it to the Goblin Stronghold, engaged a slug in mortal combat and then was killed by a {1}.
I checked the Javascript console and just saw:
Saved. /hauberk/main.dart.js:5518
This is Mac Chrome Version 40.0.2214.111 (64-bit)
Prior to this fight-to-the-death with a slug, I tried clicking on the font-changing buttons a bunch.
Is there any chance of an option for Nethack-style movement keys? As odd as it sounds, they're much more intuitive for me than your positionally-accurate choices for the non-numpad keys (I don't have a numpad), and don't lose diagonal movement like using the arrow keys would.
For the record, they go like this:
.---.---.---.
| y | k | u |
'---'---'---'
| h | | l |
'---'---'---'
| b | j | n |
'---'---'---'
I want to know how to run the logic of dynamically generating maps separately.
First you can't get items out of your home, not sure what the trigger is since I come at one time but hitting G while it gets into the right menu doesn't let me pull anything.
Second the bow's cost is way too high! lose a digit at least please so it'll come down into a usable range.
Third Shops fill up with sold items and either don't sell them between levels or for a long time. Also shops can fill up with their own items after a while. maybe they shops should use a scrolling menu to get around this.
Forth the inventory stops at x and doesn't go to z pretty sure just by guessing it's an off by one or two error or they just aren't included.
Nice game though. :)
munificent.github.io/hauberk/
Is nice
I've been playing around with the master branch lately, and noticed http://munificent.github.io/hauberk/ is a little out of date (updated 3 years ago)
TravisCI supports github pages deployments too.
Cheers!
Hey, nice game)
I have one question about control. Why I can't go right? I press ";", on my language it's "ΠΆ" (Ukrainian) near the "L", but nothing changes.
P.S. Sorry for my spelling mistakes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.