terminal-mmo 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +0 -7
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2182,7 +2182,6 @@ function runNetworked(url) {
2182
2182
  let zone2 = localZone(zoneId);
2183
2183
  let predicted = spawnAvatar(SPAWN.x, SPAWN.y);
2184
2184
  const localCd = {};
2185
- const RECONCILE = 3;
2186
2185
  const SEND_INTERVAL = 1000 / 30;
2187
2186
  let sendAcc = 0;
2188
2187
  const chat = new ChatInput;
@@ -2240,12 +2239,6 @@ function runNetworked(url) {
2240
2239
  predicted.hp = own.hp;
2241
2240
  predicted.maxHp = own.maxHp;
2242
2241
  predicted.hurtT = own.hurtT;
2243
- if (Math.abs(own.x - predicted.x) > RECONCILE || Math.abs(own.y - predicted.y) > RECONCILE) {
2244
- predicted.x = own.x;
2245
- predicted.y = own.y;
2246
- predicted.vx = 0;
2247
- predicted.vy = 0;
2248
- }
2249
2242
  }
2250
2243
  sendAcc += dt;
2251
2244
  if (sendAcc >= SEND_INTERVAL) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-mmo",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A persistent PvE side-scrolling MMORPG played entirely in your terminal. Alpha.",
5
5
  "type": "module",
6
6
  "bin": {