xangelo [Tue, 5 Sep 2023 18:12:51 +0000 (14:12 -0400)]
fix: min/max level definitions for monsters
There was some confusion over types and whether or not we needed to
included faction data with monsters (We don't). This should sort out
that mess and give us a clearer definition for monsters.
xangelo [Tue, 5 Sep 2023 15:39:00 +0000 (11:39 -0400)]
feat: migrate to augmenting express.Request interface
We were originally extending the express.Request interface inline in
`src/server/auth.ts`, We are now just augmenting the actual
express.Request interface via typescript definition.
xangelo [Tue, 5 Sep 2023 15:21:00 +0000 (11:21 -0400)]
feat: add debug/error methods to logger
xangelo [Tue, 5 Sep 2023 14:58:59 +0000 (10:58 -0400)]
chore: move healer handler
xangelo [Tue, 5 Sep 2023 14:55:30 +0000 (10:55 -0400)]
chore: remove unused websocket handlers
xangelo [Fri, 1 Sep 2023 18:47:24 +0000 (14:47 -0400)]
feat: variable level monsters
Monsters now define a min/max level. When you start a fight a monster is
generated within that level range. We use that to define a modifier for
all stats on the monster and adjust accordingly.
The stats defined on the monster sheet in airtable reference the
min-stats on the monster.
xangelo [Fri, 1 Sep 2023 18:46:37 +0000 (14:46 -0400)]
chore: ignore migrations during live reload
xangelo [Fri, 1 Sep 2023 17:43:19 +0000 (13:43 -0400)]
chore(release): 0.3.2
xangelo [Fri, 1 Sep 2023 17:43:03 +0000 (13:43 -0400)]
fix: skills not progressing with use
xangelo [Fri, 1 Sep 2023 17:39:41 +0000 (13:39 -0400)]
feat: `/online` to list usernames of all online players
xangelo [Fri, 1 Sep 2023 17:14:26 +0000 (13:14 -0400)]
fix: small chat style tweaks
xangelo [Fri, 1 Sep 2023 17:14:04 +0000 (13:14 -0400)]
fix: add missing "Back to Town" button
xangelo [Thu, 31 Aug 2023 21:10:16 +0000 (17:10 -0400)]
chore(release): 0.3.1
xangelo [Thu, 31 Aug 2023 21:08:45 +0000 (17:08 -0400)]
fix: spells support durability
Spells have "Uses" which function the same as durability except they
don't take damage after a battle (like weapons).
For now you go to the "repair" store to repair this.. but eventually you
can go to the:
- Mageshop to recharge spells
- Armoury to repair armour
- Forge to repair weapons
xangelo [Thu, 31 Aug 2023 21:08:26 +0000 (17:08 -0400)]
fix: add button that goes back to town from any page
xangelo [Thu, 31 Aug 2023 20:39:00 +0000 (16:39 -0400)]
fix: tooltip text centered due to media-query
xangelo [Wed, 30 Aug 2023 15:44:28 +0000 (11:44 -0400)]
fix: stop z-stacking alert messages
xangelo [Wed, 30 Aug 2023 13:51:33 +0000 (09:51 -0400)]
chore(release): 0.3.0
xangelo [Wed, 30 Aug 2023 13:51:26 +0000 (09:51 -0400)]
feat: move alerts to bottom of main section
xangelo [Tue, 29 Aug 2023 19:34:47 +0000 (15:34 -0400)]
feat: repairing damaged equipment
If your equipment is damaged in battle, you can visit the Iron Smith to
repair it for a fraction of what you would pay to buy new equipment!
xangelo [Sat, 26 Aug 2023 03:24:13 +0000 (23:24 -0400)]
fix: spacing for stat increase button
xangelo [Sat, 26 Aug 2023 03:23:55 +0000 (23:23 -0400)]
feat: display optimal level range for monsters
xangelo [Sat, 26 Aug 2023 03:14:55 +0000 (23:14 -0400)]
feat: unequip items if they hit 0 ap in battle
xangelo [Fri, 25 Aug 2023 20:13:04 +0000 (16:13 -0400)]
feat!: vigor mortensen
This introduces the new vigor system which replaces the previous armour
point system.
The new Vigor system introduces a new stat based on constitution that
comprises your "vigor". At 100% vigor your defence + damage are at their
highest possible base values. As you fight your vigor drops (until you
visit a healer). As it drops it starts affecting your defence + damage
negatively.
Armour Points still exist, but have been converted into a "durability"
system which goes down much slower per fight and a bit more drastically
if you die. However, nowhere near the same rate as before.
As such, mitigation no longer has any effect.
xangelo [Fri, 25 Aug 2023 16:05:16 +0000 (12:05 -0400)]
chore(release): 0.2.17
xangelo [Fri, 25 Aug 2023 16:05:04 +0000 (12:05 -0400)]
fix: xss username on signup
xangelo [Fri, 25 Aug 2023 15:57:15 +0000 (11:57 -0400)]
chore(release): 0.2.16
xangelo [Fri, 25 Aug 2023 15:57:09 +0000 (11:57 -0400)]
fix: properly increment skill level
xangelo [Fri, 25 Aug 2023 15:37:18 +0000 (11:37 -0400)]
chore(release): 0.2.15
xangelo [Fri, 25 Aug 2023 15:04:25 +0000 (11:04 -0400)]
feat: expoential exp drop-off/gain
When you are over 3 levels of the monster you are fighting you start
gaining less exp.
When you are under 3 levels of the monster you are fighting, you start
gaining more exp.
xangelo [Fri, 25 Aug 2023 14:39:45 +0000 (10:39 -0400)]
fix: rate limit fights!
You can only start 1 fight every 2 seconds.
xangelo [Thu, 24 Aug 2023 17:53:54 +0000 (13:53 -0400)]
chore: separate fight round into its own file
xangelo [Thu, 24 Aug 2023 17:53:27 +0000 (13:53 -0400)]
fix: add block timer for casting and clear after fight
xangelo [Thu, 24 Aug 2023 16:35:11 +0000 (12:35 -0400)]
fix: standardize blocking timeouts for buttons
All buttons that block have been extracted into a single Button
component and the values for blocking have been extracted into a
"constants" file.
This file also includes constants for things like how long an alert
notification is displayed for.
xangelo [Wed, 23 Aug 2023 19:23:12 +0000 (15:23 -0400)]
fix: make signup collapsible
If you are using a session account, we make the actual form portion
collapsible so that you can hide it and play.
xangelo [Wed, 23 Aug 2023 19:14:06 +0000 (15:14 -0400)]
fix: time displays at 0 for midnight
xangelo [Mon, 21 Aug 2023 20:39:17 +0000 (16:39 -0400)]
chore(release): 0.2.14
xangelo [Mon, 21 Aug 2023 20:34:03 +0000 (16:34 -0400)]
feat: display travel progress
When you're travelling it shows you your:
- Starting city
- Destination
- How long it will take you to get there
xangelo [Mon, 21 Aug 2023 20:04:39 +0000 (16:04 -0400)]
chore(release): 0.2.13
xangelo [Mon, 21 Aug 2023 20:04:33 +0000 (16:04 -0400)]
fix: strip all tags in chat
xangelo [Mon, 21 Aug 2023 19:52:39 +0000 (15:52 -0400)]
chore(release): 0.2.12
xangelo [Mon, 21 Aug 2023 19:52:32 +0000 (15:52 -0400)]
fix: xss chat input
xangelo [Mon, 21 Aug 2023 19:06:54 +0000 (15:06 -0400)]
feat: return to town button while travelling
When you're travelling between towns, there's always an option to return
to the starting town.
xangelo [Mon, 21 Aug 2023 17:28:30 +0000 (13:28 -0400)]
chore(release): 0.2.11
xangelo [Mon, 21 Aug 2023 17:27:14 +0000 (13:27 -0400)]
fix: chat history clearning existing chat on load
Since we delay chat history loading for 1s, when it does load there is
the possibility that the history messages wipe out any existing
messages. This ensures that they get prepended to the chat and appear
before any new messages.
xangelo [Mon, 21 Aug 2023 17:24:46 +0000 (13:24 -0400)]
fix: green button colors
xangelo [Mon, 21 Aug 2023 17:24:23 +0000 (13:24 -0400)]
fix: migrate recruiter to htmx
xangelo [Fri, 18 Aug 2023 18:40:05 +0000 (14:40 -0400)]
chore(release): 0.2.10
xangelo [Fri, 18 Aug 2023 18:38:28 +0000 (14:38 -0400)]
fix: missing % from player bar
xangelo [Fri, 18 Aug 2023 18:38:16 +0000 (14:38 -0400)]
feat: add icons for beginner equipment
xangelo [Fri, 18 Aug 2023 18:18:28 +0000 (14:18 -0400)]
fix: move purchase button under icon in stores
xangelo [Thu, 17 Aug 2023 19:28:06 +0000 (15:28 -0400)]
feat: increase hp gain rate
xangelo [Thu, 17 Aug 2023 17:55:14 +0000 (13:55 -0400)]
fix: background not appearing if reload during fight
If you reload during a fight the city background was not properly
appearing. You would need to complete the fight, then revisit the
Explore tab for the city background to load.
xangelo [Thu, 17 Aug 2023 17:54:29 +0000 (13:54 -0400)]
fix: chat timeline to messages show up chronologically
The orginal setup was appending history to the wrong element causing
chat to appear out of order.
xangelo [Thu, 17 Aug 2023 15:11:32 +0000 (11:11 -0400)]
fix: only disable equipping/unequipping in a fight
xangelo [Wed, 16 Aug 2023 20:00:17 +0000 (16:00 -0400)]
fix: cant perform other actions in a fight
xangelo [Wed, 16 Aug 2023 18:30:59 +0000 (14:30 -0400)]
fix: dont display death text after fleeing
The check now validates that the player has ACTUALLY died before
displaying that they died on the front end.
xangelo [Tue, 15 Aug 2023 18:33:04 +0000 (14:33 -0400)]
chore(release): 0.2.9
xangelo [Tue, 15 Aug 2023 18:31:53 +0000 (14:31 -0400)]
feat: new UI
This is a huge overhaul of the existing UI away from the temp white
boxes setup to something that embodies the game a bit more. No
functionality has changed, but there's been a ton of CSS updates to
ensure that we keep load times short but still provide a good looking
experience to players.
xangelo [Tue, 15 Aug 2023 18:31:33 +0000 (14:31 -0400)]
chore: update credits
xangelo [Thu, 10 Aug 2023 19:01:24 +0000 (15:01 -0400)]
fix: avatar takes up too much space on mobile
On mobile views the 128px square avatar is too large and doesn't convey
much information. We still want it to be present since it's a
representation of the player and fosters further connection. As a result
we've shrunken the size to 96px on desktop.. down to 32px on lower
resolutions
xangelo [Thu, 10 Aug 2023 18:11:18 +0000 (14:11 -0400)]
feat: default player to the Explore tab
xangelo [Thu, 10 Aug 2023 15:22:07 +0000 (11:22 -0400)]
chore(release): 0.2.8
xangelo [Thu, 10 Aug 2023 15:21:51 +0000 (11:21 -0400)]
fix: migrate signup/login form to htmx
xangelo [Thu, 10 Aug 2023 15:21:20 +0000 (11:21 -0400)]
chore: copy changelog to website
xangelo [Wed, 9 Aug 2023 17:24:45 +0000 (13:24 -0400)]
chore(release): 0.2.7
xangelo [Wed, 9 Aug 2023 17:22:26 +0000 (13:22 -0400)]
fix: reduce spam requests on /status
Instead of pinging the `/status` endpoint we send a status ws event when
there's a new connect/disconnect to the server.
xangelo [Wed, 9 Aug 2023 17:08:00 +0000 (13:08 -0400)]
fix: time displays 0pm at noon instead of 12pm
xangelo [Wed, 9 Aug 2023 15:02:19 +0000 (11:02 -0400)]
fix: seed equipment info
xangelo [Wed, 9 Aug 2023 14:55:12 +0000 (10:55 -0400)]
chore(release): 0.2.6
xangelo [Wed, 9 Aug 2023 14:55:02 +0000 (10:55 -0400)]
fix: migrate stat increase to htmx
xangelo [Wed, 9 Aug 2023 14:37:46 +0000 (10:37 -0400)]
fix: armour icon support
xangelo [Tue, 8 Aug 2023 18:48:52 +0000 (14:48 -0400)]
chore: move unused js
xangelo [Tue, 8 Aug 2023 18:35:44 +0000 (14:35 -0400)]
fix: chat history calls clearing chat
xangelo [Tue, 8 Aug 2023 14:46:40 +0000 (10:46 -0400)]
fix: auto-load player object and place in request
xangelo [Sat, 5 Aug 2023 12:59:04 +0000 (08:59 -0400)]
chore(release): 0.2.5
xangelo [Sat, 5 Aug 2023 11:35:21 +0000 (07:35 -0400)]
fix: migrate chat to htmx
xangelo [Sat, 5 Aug 2023 11:25:36 +0000 (07:25 -0400)]
fix: remove unnecessary console.log
xangelo [Sat, 5 Aug 2023 09:08:36 +0000 (05:08 -0400)]
fix: migrate item usage to htmx
xangelo [Fri, 4 Aug 2023 19:39:35 +0000 (15:39 -0400)]
fix: migrate exploring to htmx
xangelo [Fri, 4 Aug 2023 17:58:50 +0000 (13:58 -0400)]
fix: migrate explore fight to htmx
xangelo [Fri, 4 Aug 2023 16:14:30 +0000 (12:14 -0400)]
fix: migrate shops to htmx
xangelo [Thu, 3 Aug 2023 19:52:24 +0000 (15:52 -0400)]
fix: migrate healer to htmx
xangelo [Thu, 3 Aug 2023 18:43:51 +0000 (14:43 -0400)]
fix: migrate inventory to htmx
xangelo [Thu, 3 Aug 2023 16:36:24 +0000 (12:36 -0400)]
fix: support time display
xangelo [Thu, 3 Aug 2023 16:31:51 +0000 (12:31 -0400)]
fix: migrate skills page to htmx
xangelo [Thu, 3 Aug 2023 15:31:57 +0000 (11:31 -0400)]
fix: profile page to html (wip)
xangelo [Thu, 3 Aug 2023 13:17:20 +0000 (09:17 -0400)]
feat: purchasable items from the store
Health potions are now available from the Magehop! This also introduces
a cool new feature where we're actually moving off socket-binding to
http so that we're tracking less state on the server.
xangelo [Wed, 2 Aug 2023 17:47:49 +0000 (13:47 -0400)]
fix: rename shop_items to shop_equipment
shop_equipment is more explanatory as the items listed are only
equipment types (weapon/armour/spells).
xangelo [Wed, 2 Aug 2023 16:13:33 +0000 (12:13 -0400)]
feat: add health-potion functionality
Once the user has health potions, they are displayed on the Inventory
page. In order to do that we had to split up inventory + profile. We
also introduced the new "Modal" system which utilizes the default
`<dialog>` HTML element to display more information about an item.
It also introduces the ability to filter equipment in shops based on
whatever it actually sells. The idea is that you can switch to a tab
that matches what you're trying to buy.
xangelo [Sat, 29 Jul 2023 12:03:32 +0000 (08:03 -0400)]
chore(release): 0.2.4
xangelo [Sat, 29 Jul 2023 12:03:27 +0000 (08:03 -0400)]
fix: time gradients not scaled properly
xangelo [Sat, 29 Jul 2023 11:58:49 +0000 (07:58 -0400)]
fix: filtered shop views
Shop views now display the different tabs for the different item types
that the shop sells making it easier to buy stuff.
xangelo [Fri, 28 Jul 2023 19:38:10 +0000 (15:38 -0400)]
chore(release): 0.2.3
xangelo [Fri, 28 Jul 2023 19:38:04 +0000 (15:38 -0400)]
fix: spacing of time on mobile
xangelo [Fri, 28 Jul 2023 19:35:16 +0000 (15:35 -0400)]
chore(release): 0.2.2
xangelo [Fri, 28 Jul 2023 19:35:10 +0000 (15:35 -0400)]
feat: first profile picture
xangelo [Fri, 28 Jul 2023 18:49:31 +0000 (14:49 -0400)]
fix: display right background based on travelled distance
xangelo [Fri, 28 Jul 2023 18:35:22 +0000 (14:35 -0400)]
fix: 3s delay when clicking the button to keep walking
You have to wait 3s before you're able to take the next step.
Fixes: #11
xangelo [Fri, 28 Jul 2023 16:28:01 +0000 (12:28 -0400)]
fix: extend in-game day to 2 IRL hours