Giter VIP home page Giter VIP logo

saito-lite's People

Contributors

arpee avatar bearguy avatar clayrab avatar dependabot[bot] avatar escapedcat avatar estapeluo avatar f8daniel avatar msr-lovely avatar ramcas42 avatar rammko avatar saitoclay avatar scottmcmaster avatar trevelyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saito-lite's Issues

Solitrio game create fails.

the newGame function sets the game id to a random number:

newGame(game_id = null) {

    if (game_id == null) { game_id = Math.random().toString(); }

Bur the save function rejects this:

if (this.game.id.length < 25) {
        console.log("Apparent Error: " + this.game.id);
        process.exit();
      }

in game template

Having multiple arcade tabs open breaks games

Quoting Duke:

when having another window open on the arcade, same browser/wallet (was doing it for chat)
it desyncs games in a weird way, as in, you can play normally, but if you refresh after a certain point, it takes you back to the start of the game, or some arbitrary checkpoint of sorts

console looks normal on the side playing the game, but it looks like this on the one idling at the arcade
image

Should be noted that since chat doesn't work in-game, it's necessary to open the arcade in another window or tab, which causes games to stop functioning correctly in case of the latter.

Vietnam Revolts affects US when playing the China card

Simple yet very important bug. US gets the bonus from Vietnam Revolts when playing China.

Take a look:

USSR headlines Vietnam Revolts and then USA plays the China card for 6 ops in Thailand, getting both China's and VR's bonuses.
image

image

This only affects China and doesn't apply to the rest of the cards:
Played all of East European Unrest's ops into SE Asia and didn't get the bonus
image

NATO event restrictions don't work

USSR gets to make Realignment rolls in European US controlled countries even if NATO is triggered, take a look at the log:

image

Also, NATO correctly stops coup attempts by the USSR but it also stops coup attempts by the US in US controlled countries:
image

Chess doesn't work

Chess is really really broken. Games don't sync up with each other, you get to play as both sides and the log goes haywire.

This is supposed to be the same match:
1
image

2
image

Console shows the following errors:
image

Garbled cards in TS

Tried to play a match against Tele. When it started, this is what I saw:

image

Match didn't even load on Tele's side. Refreshing didn't fix it.

Add Confirmation Before Resetting Your Account

The reset your account button in the new arcade currently resets your account immediately as soon as you press it and it could pose a danger to people that have yet to backup their wallets.

Adding an "Are you sure you want to reset your account" prompt should be good enough to fix this!

<div id="alert-shim"> freezes the game

Bugtesting game against myself. Couped Argentina as the US and the game got stuck at this screen:
image

The other player sees this tho. The OK button works fine and the game can be continued on his side so it must be an interface bug.
image

Took a look at the console and deleted this element:
image

Deleting it fixed the issue, game went back to normal and I kept on playing:
image

Invites don't show up until refreshing

Tried to start a match against myself so I sent an invite:
image
Mine's the first one (US+6)

This is what the arcade looks like on the incognito tab before refreshing:
image

Refreshing makes it show up correctly, but it shouldn't be necessary to reload the tab in order to see invites.
image

Correct Various Block Syncing Issues

Various issue occur when attempting to sync blocks:

Not going to do a super thorough job documenting as there are many errors trying to sync to nodes. These should be obvious trying to run two nodes in tandem.

On node tying to sync:

(node:29602) UnhandledPromiseRejectionWarning: ReferenceError: tmperr is not defined
    at Peer.sendRequestWithCallback (/home/richardp/projects/saitotoo/saito-lite/lib/saito/peer.js:283:16)
    at Network.sendRequestWithCallback (/home/richardp/projects/saitotoo/saito-lite/lib/saito/network.js:283:21)
    at StorageCore.loadTransactionsByKeys (/home/richardp/projects/saitotoo/saito-lite/lib/saito/storage.js:119:22) 

Node being synced from:

edge case with unordered blocks...
block is not on the longest chain...
ERROR 620394: block does not exist on disk that should. terminating

Players able to join games after required player numbers reached.

Open four browsers with clean wallets with cash.

In one start any game.

Wait till the invitation is open in all browsers.

Accept the invitation in all non-inviting browsers.

All can join game - irrespective of number of players needed.

(This is only possible for a short time - as when the game has sufficient players and initialisation is started, the invitation is cleared correctly from the browser.)

Can't drag the screen

Title explains it. Zoom works fine, everything is clickable without issues but the map itself can't be moved.

GIF attached:
ezgif com-optimize

AppStore - Compiling Bundles

Clear browser and open the AppStore. Select a module to install and click "install". The server will not successfully compile the bundle.

Something about file paths being incorrect, etc.

Note -- correct design should reflect the possibility that multiple users will attempt to create bundles at the same time. All modules should be unzipped into a temporary folder specific to the bundle being compiled -- not a shared folder "mods".

Playing Decolonization allows the USSR to place inf without adjacency

image

Take a look at the log. First, USSR triggers Decolonization and places 1 each in Somalia, Nigeria, Burma and Indonesia. On USSR's following AR, They get to place inf in any African or SE Asian country even if there's no adjacency.

In this case I played Warsaw Pact for 3 ops and placed 1 each in Thailand, Zaire and SE African States.

Repeated scoring card

Bear Trap forced me to discard a card or play ME Scoring, which showed up twice in my hand. Seems to be only visual, since I played the card and everything went back to normal. SHould be noted that it only happens during Bear Trap (maybe Quagmire too, will check) and not during regular gameplay.

image

Repeated messages in chat

Take a look at the following screenshots:

image

image

When someone sends a message, it shows up a bunch of times on my chat. I seem to be the only one affected and refreshing does fix it but it is a bug nonetheless. Using Chrome

Can't cancel a game

Tried to cancel a game against Telechris but couldn't. Same happens to him.
ezgif com-video-to-gif

This is what the console looks like rn:
image

Also uploaded the whole console so you can take a look at it if you want to:
WbConsole.txt

404 trying to start a TS match

Well this one is critical lol.

Sent an invite and took it using Incognito to test the new arcade but this really subtle 404 greeted me:
image

Settings page sends me to Mail

Not sure how to word this one so I'm just gonna gif it:

On Firefox
firefox

On Chrome
chrome

As you can see, even if I don't click anyhting at all, the Settings morph into the mail.

DB list to delete on reset

Proposing adding a delete script to deploy - wanting to verify what we should delete on chain reset...

  rm -f ./data/explorer.sq3

is all I am seeing now.

Can't send emails

Tried to send myself an email. Everything seems to work fine in the email app, but when you hit 'send', nothing happens. Both the regular Send button and the Send Saito button have no effect whatsoever.

image

Can't backup wallet

Clicking on the Backup Wallet button does nothing. Shouldn't it download a .JSON file?

Can't start games

Arcade has been completely dead today. Games can't be started. Invites are dead upon accepting, they all just freeze like this.
image

Also, games remain on the arcade even if someone takes them so the arcade gets cluttered up with dead invites. Resetting wallets also doesn't fix the issues.

Headlined events that should be removed get discarded

Take a look, this is the removed pile before my headline:
image

Now, afterwards. I decided to headline Truman :
Discard pile:
image

Removed pile:
image

As we can see here, the ol' Truman shows up in both the removed and discarded piles which shouldn't happen. This happens to all the starred the events, not only Truman.

install warnings

 npm install
npm WARN deprecated [email protected]: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.