Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 3.09 KB

README.md

File metadata and controls

78 lines (59 loc) · 3.09 KB

first time setup:

  • npm install
  • cd functions && npm install
  • npm install -g firebase-tools
  • firebase login

run app

  1. npm install
  2. npm start

deployment

  1. npm run deploy

update game data

  1. Download and replace file manual from: https://drive.google.com/file/d/0B-3hJBoCehBpQVBUYVdxZDVNSms/view?usp=sharing in /batch_jobs/
  2. replace : , with : 0,
  3. optional: reformat with prettier
  4. npm run generateData
  5. in general, with every release new formattings in text are expected , those should be handled in the job* file to replace properly.
  6. also there might be new abilities added, which needs to be defined in abilities-config.js
  7. see update images from game
  8. update version in src/version.js export const CURRENT_GAME_VERSION = "1.25";
  9. src/page/elo/elo-detail.js find line 132 and adjust [FILTER_CURRENT_SEASON] [FILTER_PREVIOUS_SEASON]
  10. adjust by try and error const DATE_TO_ALIGN_CYCLE for correct conquest circle by increasing only some hours or some days (by running app local). dont try to give correct date in the future
  11. test changes on run app by npm start
  12. npm run deploy

update images from game

new version

  1. https://github.com/Perfare/AssetStudio
  2. Load folder
  3. C:\Program Files (x86)\Steam\steamapps\common\Minion Masters\MinionMasters_Data\StreamingAssets\aa\StandaloneWind
  4. sort by asset type

deprecated old mm version:

another tool from another guy:

https://github.com/Cadrach/mm-builder

history

  • previous there was jobCardTemplate.js to parse text from wiki

find gamelogs

%appdata%..\LocalLow\BetaDwarf ApS\Minion Masters

TeamWon. Team: 0 Matchmade: None Online Game: False I won: True

elo Bucket: update

e.g. https://firebasestorage.googleapis.com/v0/b/minionmastersmanager.appspot.com/o/src%2Fgenerated%2Felo%2Fdetails%2F1091792.json?alt=media&token=5d145bde-24dc-4367-8621-941deac59f4d

set cors

cd functions gsutil cors set cors.json gs://minionmastersmanager.appspot.com