GithubHelp home page GithubHelp logo

cx-auto-sign's Introduction

Here's cyanray. GitHub followers

  • 🔭 Currently studying Naval Architecture and Ocean Engineering.
  • 🌱 Enjoy building things from scratch.
  • 📧 Email:[email protected]
  • ⚡ Blog:uint128.com

cx-auto-sign's People

Contributors

cyanray avatar h13-0 avatar moeshin 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

Watchers

 avatar  avatar  avatar  avatar  avatar

cx-auto-sign's Issues

Websocket 每 5 分钟重连问题

添加 clientFactory 参数解決

new WebsocketClient(url, () => new ClientWebSocket
{
    Options =
    {
        KeepAliveInterval = TimeSpan.FromMilliseconds(-1)
    }
})

无法与IM服务器建立连接

签到失败 错误代码如下

[00:44:27 WRN] Reconnection happened, type: Initial
[00:44:27 INF] Message received: o
[00:44:27 INF] Message send: ["CAASPAoOY3gtZGV2I2N4c3R1ZHkSCDEwMzY4MTc3NhoLZWFzZW1vYi5jb20iE3dlYmltXzE2MDc1MzIyNjc5ODMahQEkdCRZV010elNUNzJqbzlFZXVCT3psNnpjSzlGYUtsRTRELTZSSGtzWWdKeFNzYjhqSkhaakFnN0xBUjZwdGNzLWFZMU9idUF3TUFBQUYyU0dQSGtnQlBHZ0FKSGZhcThITERVV25Nb01Hb2gwclh2cE12dXRGcllrZG4tZDAzUHB6dTdnQANKwAEIEBIFMy4wLjAoADAASg0xNjA3NTMyMjY3OTgzYgV3ZWJpbWoTd2ViaW1fMTYwNzUzMjI2Nzk4M3KFASR0JFlXTXR6U1Q3MmpvOUVldUJPemw2emNLOUZhS2xFNEQtNlJIa3NZZ0p4U3NiOGpKSFpqQWc3TEFSNnB0Y3MtYVkxT2J1QXdNQUFBRjJTR1BIa2dCUEdnQUpIZmFxOEhMRFVXbk1vTUdvaDByWHZwTXZ1dEZyWWtkbi1kMDNQcHp1N2dQAFgA"]
[00:44:28 INF] Message received: c[401,"normal closed"]
[00:44:28 WRN] Reconnection happened, type: Lost
[00:44:28 INF] Message received: o
[00:44:28 INF] Message send: ["CAASPAoOY3gtZGV2I2N4c3R1ZHkSCDEwMzY4MTc3NhoLZWFzZW1vYi5jb20iE3dlYmltXzE2MDc1MzIyNjgxMjEahQEkdCRZV010elNUNzJqbzlFZXVCT3psNnpjSzlGYUtsRTRELTZSSGtzWWdKeFNzYjhqSkhaakFnN0xBUjZwdGNzLWFZMU9idUF3TUFBQUYyU0dQSGtnQlBHZ0FKSGZhcThITERVV25Nb01Hb2gwclh2cE12dXRGcllrZG4tZDAzUHB6dTdnQANKwAEIEBIFMy4wLjAoADAASg0xNjA3NTMyMjY4MTIxYgV3ZWJpbWoTd2ViaW1fMTYwNzUzMjI2ODEyMXKFASR0JFlXTXR6U1Q3MmpvOUVldUJPemw2emNLOUZhS2xFNEQtNlJIa3NZZ0p4U3NiOGpKSFpqQWc3TEFSNnB0Y3MtYVkxT2J1QXdNQUFBRjJTR1BIa2dCUEdnQUpIZmFxOEhMRFVXbk1vTUdvaDByWHZwTXZ1dEZyWWtkbi1kMDNQcHp1N2dQAFgA"]
[00:44:28 INF] Message received: c[401,"normal closed"]
[00:44:28 WRN] Reconnection happened, type: Lost

支持 Update 指令,用来获取新增的课程

实现细节:

  1. Courses 文件夹下新增 ignore 文件夹。ignore 文件夹中的课程是被忽略的课程。被忽略的课程不会被签到,也不会被 update 指令创建文件。
  2. 程序启动时,显示会被签到的课程的名称,以及被忽略的课程的名称。

Could not execute because the application was not found or a compatible .NET SDK is not installed.

我已经安装好了.NET5,为什么会这样呢:

Could not execute because the application was not found or a compatible .NET SDK
is not installed.
Possible reasons for this include:

  • You intended to execute a .NET program:
    The application './cx-auto-sign.dll' does not exist.
  • You intended to execute a .NET SDK command:
    A compatible installed .NET SDK for global.json version [5.0.100] from [D:
    \Users\Desktop\cx-auto-sign-master\global.json] was not found.
    Install the [5.0.100] .NET SDK or update [D:\Users\Desktop\cx-auto-sign-ma
    ster\global.json] with an installed .NET SDK:
    5.0.301 [C:\Program Files\dotnet\sdk]

好奇怪啊,麻烦大佬给看看了,谢谢♪(・ω・)ノ

使用时遇到的问题

在输入 .\cx-auto-sign.exe init -u "userName" -p "userPassword"时报错:
.\cx-auto-sign.exe : 无法将“.\cx-auto-sign.exe”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,
如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1

  • .\cx-auto-sign.exe init -u "userName" -p "userPassword"
  •   + CategoryInfo          : ObjectNotFound: (.\cx-auto-sign.exe:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

image

签到位置不准确

如题,设置的经纬度和签到后,学习通里边签到成功的经纬度不同(偏移了)

报错 非200状态响应

at CxSignHelper.CxSignClient.GetCoursesAsync() in F:\Project\cx-auto-sign\CxSignHelper\CxSignClient.cs:line 155 at cx_auto_sign.InitCommand.OnExecuteAsync(CommandLineApplication app) in F:\Project\cx-auto-sign\cx-auto-sign\InitCommand.cs:line 51

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.