Giter Club home page Giter Club logo

fdu_xk_oldsystem's Introduction

复旦旧版选课系统刷课机

p.s. 刷课机写得太丑陋以至于我自己都看不下去了

依赖库: libjpeg8
  p.s. 在 ubuntu 下安装 libjpeg-turbo8-dev 或 libjpeg8-dev 包即可

功能:仅支持在二、三阶段抢课,另外只支持抢一门课

使用方法:修改 main.c 标注有 USER INFORMATION 的地方,编译运行即可

提示:使用有线网络抢课,放余量前5分钟左右开刷课机

编译运行方法:运行命令 make clean && make && ./xk
  p.s. 由于 Makefile 写的不够好,每次都要 make clean

参数说明:
  MAXCONN 连接池连接数
  REFRESHER_SOLT_USE 刷课连接数
  XKSRV_ADDR1 选课地址1
  XKSRV_ADDR2 选课地址2
  XK_FDUXK_USERNAME 学号
  XK_FDUXK_PASSWORD 密码
  ccode 选课号
  my_judge1 用于判定余量放出的函数,修改为 return x >= 0; 可以强制立即选课

fdu_xk_oldsystem's People

Contributors

zhangboyang avatar

Watchers

 avatar  avatar

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.