GithubHelp home page GithubHelp logo

nodeomenhelper's Introduction

Node Omen Helper

简介

使用Node JS自动完成HP OMEN任务

原帖发在其乐论坛 Node版秒速完成OMEN,现在论坛号被封了帖子也被屏蔽了,以后更新说明只能放在这里了

使用说明

安装依赖

npm install

运行

npm start <session>

为兼容先前的用法,传入session时可使用相应session执行任务

不传入session时若存在文件config.json会读取相应的配置文件

若不存在config.json则会提示收到输入邮箱与密码

单文件版

为方便使用,Release页面包含了一个使用pkg打包生成的exe文件。需手动输入邮箱及密码,多账号批量运行请自行配置环境。

配置文件

config.json需手动创建。但仓库中提供一个模板config.example.json,内容如下

{
    /* 每次的游戏时长分钟数 */
    "defaultPlayTime": 45,   

    /* 当某账号出现错误时,true会跳过当前账号继续运行,false会终止运行并显示错误信息 */   
    "ignoreError": true,

    /* 请求失败后自动重试的次数 */
    "retryTimes": 5,

    /* 定时执行任务,需要提供CRON表达式
       若此项不存在,会立即执行一次任务并退出
       若此项存在,会根据对应的CRON表达式定时执行任务 
       如下面的 "10 * * *" 代表每天10:00执行一次
    */
    "schedule": "0 0 10 * * *",

    /* 需要批量执行的账号信息 */
    "accounts": [
        {
            "email": "[email protected]",
            "password": "123456"
        },
        {
            "email": "[email protected]",
            "password": "123456"
        },
        {
            "email": "[email protected]",
            "password": "123456"
        }
    ]
}

nodeomenhelper's People

Contributors

kb1000fx avatar

Stargazers

GcMin avatar  avatar  avatar  avatar 孙想钱 avatar  avatar  avatar

Watchers

 avatar

Forkers

ex-wyx deepice

nodeomenhelper's Issues

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.