Giter VIP home page Giter VIP logo

aoc-mgx-format's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿฆ Partner @lion5
  • โ˜๏ธ๐Ÿณโ˜ธ Certified trainer for Cloud Computing, Docker, Kubernetes, and stuff
  • ๐ŸŽ“ Dr. rer. nat. @uniba-dsg
  • ๐Ÿ“š Core developer @JabRef
  • โ˜๏ธ Creator of PaaSfinder
  • ๐Ÿ Creator of @volleyball-ergebnisdienst
  • ๐Ÿบ Bamberg, Germany

aoc-mgx-format's People

Contributors

dependabot[bot] avatar heinezen avatar stefan-kolb 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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aoc-mgx-format's Issues

Hints in network protocol

Hey, I'm doing a full analysis on the AoC network protocol over here and I might have some info for you.

  1. 0x00 is also used for boarding a transport ship.
  2. The value 0xff for selected_unit_count is meant to be a reference to previously selected units. Whenever this turns up, it translates to "Do that action with the units from the previous command". This construct saves a lot of bandwith.
  3. The action 0x67 is used for diplomacy (allied, neutral, enemy), but is also used for cheats and maybe other action like "resign". In the network protocol it looks like this

67 โ€” command
00 โ€” context (different values for cheat, diplomacy, etc.)
01 โ€” player_id_1 (who sends the offer)
00 โ€” zero
02 โ€” player_id_2 (who receives the offer)
00 00 00 00 00 โ€” zero
40 40 03 โ€” relation
00 00 00 โ€” attacker id

The values for relation can be 00 00 00 (allied), 80 3f 01 (neutral) and 40 40 03 (enemies). When using cheats, the player_id_2 field is used. Cheats start at value 0x65.

EDIT:

  1. Action 0x7e is dropping a relic.
  2. Action 0x1b is Save & Exit.

Unit actions

def Research
    int8 :command
    int24 :zero?
    int32 :object_id
    int16 :player_id
    int16 :technology_id
    int32 :constant?
end

Most actions (related to units?) always start with 4xint8 data, int32 object_id, ...

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.