├── .circleci └── config.yml ├── .github ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CHANGELOG.md ├── GRCRT.f.errReporter.js ├── GRCRTMain.js ├── LICENSE ├── README.md ├── bin ├── build.js ├── dist.js └── version.sh ├── common ├── RepConvAdds.js ├── RepConvForm.js └── RepConvTool.js ├── langs ├── RepConvV2CS.full.user.js ├── RepConvV2DA.full.user.js ├── RepConvV2DE.full.user.js ├── RepConvV2EL.full.user.js ├── RepConvV2EN.full.user.js ├── RepConvV2ES.full.user.js ├── RepConvV2FR.full.user.js ├── RepConvV2HU.full.user.js ├── RepConvV2IT.full.user.js ├── RepConvV2NL.full.user.js ├── RepConvV2PL.full.user.js ├── RepConvV2PT.full.user.js ├── RepConvV2RO.full.user.js ├── RepConvV2RU.full.user.js ├── RepConvV2SK.full.user.js ├── RepConvV2SV.full.user.js └── RepConvV2TR.full.user.js ├── meta └── GrepolisReportConverterV2.meta.js ├── modules ├── GRCRTConverterCtrl.js ├── GRCRTInnoFix.js ├── GRCRTMouseWheelZoom.js ├── GRCRTMovedFrames.js ├── GRCRTOceanNumbers.js ├── GRCRTTradeFarmOldVersion.js ├── GRCRT_AO.js ├── GRCRT_Notifications.js ├── GRCRT_Radar.js ├── GRCRT_Recipes.js ├── GRCRT_TSL.js ├── GRCRT_Translations.js ├── GRCRT_Updater.js ├── GRCRTmd5.js ├── GRCRTtpl.js ├── RepConvABH.js └── RepConvGRC.js └── package.json /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | 3 | defaults: &defaults 4 | working_directory: ~/repo 5 | docker: 6 | - image: cimg/openjdk:8.0.265-node 7 | 8 | jobs: 9 | build: 10 | <<: *defaults 11 | steps: 12 | - checkout 13 | - restore_cache: 14 | keys: 15 | - node-cache-{{ checksum "package.json" }} 16 | - node-cache- 17 | 18 | - git-cache-{{ .Branch }}-{{ .Revision }} 19 | - git-cache-{{ .Branch }}- 20 | - git-cache- 21 | - run: 22 | name: Install symantic-release 23 | command: | 24 | npm install semantic-release --save-dev 25 | npm install @semantic-release/exec --save-dev 26 | npm install @semantic-release/changelog --save-dev 27 | npm install @semantic-release/git --save-dev 28 | - run: 29 | name: Install node_modules with npm 30 | command: npm install 31 | - save_cache: 32 | key: node-cache-{{ checksum "package.json" }} 33 | paths: 34 | - ./node_modules 35 | - save_cache: 36 | key: git-cache-{{ .Branch }}-{{ .Revision }} 37 | paths: 38 | - ".git" 39 | - run: 40 | name: Build temporary script 41 | command: npm run build 42 | - persist_to_workspace: 43 | root: ~/repo 44 | paths: 45 | - ./ 46 | 47 | test: 48 | <<: *defaults 49 | steps: 50 | - attach_workspace: 51 | at: ~/repo 52 | - run: 53 | name: Run Google Closure Compiler 54 | command: npm run test 55 | - persist_to_workspace: 56 | root: ~/repo 57 | paths: 58 | - ./ 59 | 60 | deploy: 61 | <<: *defaults 62 | steps: 63 | - attach_workspace: 64 | at: ~/repo 65 | - run: 66 | name: Deploy Github release 67 | command: npm run semantic-release 68 | - run: 69 | name: Push to GRCRT server 70 | command: scp -o "StrictHostKeyChecking no" dist/* CHANGELOG.md $GRCRT_USER@$GRCRT_SERVER:$GRCRT_PATH 71 | 72 | workflows: 73 | version: 2 74 | build_test_deploy: 75 | jobs: 76 | - build: 77 | filters: 78 | branches: 79 | only: master 80 | - test: 81 | requires: 82 | - build 83 | - deploy: 84 | requires: 85 | - test 86 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at developer@grcrt.net. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | [describe, in general, the issue you are experiencing] 3 | 4 | 5 | ## How to reproduce the problem 6 | - step 1 7 | - step 2 8 | - step 3 9 | - etc... 10 | 11 | 12 | ## Expected behavior 13 | [what is suppposed to happen] 14 | 15 | 16 | ## Actual behavior 17 | [what is actually happening] 18 | 19 | 20 | ## How often 21 | [occasionaly, often, always] 22 | 23 | 24 | ## Additional information 25 | - Script version: [ENTER_HERE] 26 | - Operating system: [ENTER_HERE] 27 | - Used webbrowser: [ENTER_HERE] 28 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | :rotating_light: **Please review the [guidelines for contributing](https://github.com/grcrt/grcrt-script/blob/master/.github/CONTRIBUTING.md) and our [code of conduct](https://github.com/grcrt/grcrt-script/blob/master/.github/CODE_OF_CONDUCT.md) for this repository.** :rotating_light: 3 | 4 | :rotating_light: **Please check appropriate box, to indicate type of change you are requesting to pull** :rotating_light: 5 | 6 | > **Note:** To make the checkbox appear as "ticked", put an "x" between the square brackets, like so: `[x]` 7 | 8 | --- 9 | ## Pull Request type 10 | - [ ] Bugfix 11 | - [ ] Performance optimization 12 | - [ ] Refactoring or styling (code change that is neither bugfix nor performance improvement) 13 | - [ ] New feature 14 | - [ ] Documentation changes 15 | 16 | 17 | ### Short description of what it does: 18 | [type here] 19 | 20 | 21 | ### Additional info: 22 | [type here] 23 | 24 | --- 25 | 26 | :thumbsup: Thank you! :thumbsup: 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # directories and files created by script builder are not needed in repo 2 | # as with each repo update they'd have to be re-created 3 | dist/ 4 | node_modules/ 5 | tmp/ 6 | 7 | package-lock.json -------------------------------------------------------------------------------- /GRCRT.f.errReporter.js: -------------------------------------------------------------------------------- 1 | function grcrtErrReporter(err){ 2 | function sendErr(){ 3 | // console.log(_json) 4 | var __form = $('
', { 5 | 'action' : RepConv.grcrt_domain+'scripts/errorLog.php?_='+Timestamp.server(), 6 | 'method' : 'post', 7 | 'target' : 'GRCRTErrorSender' 8 | }) 9 | .append($('