{"action":"created","issue":{"url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/18","labels_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/18/comments","events_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/18/events","html_url":"https://github.com/artemis-nerds/protocol-docs/issues/18","id":118222035,"number":18,"title":"PlayerShipUpgradePacket details","user":{"login":"NoseyNick","id":14804857,"avatar_url":"https://avatars.githubusercontent.com/u/14804857?v=3","gravatar_id":"","url":"https://api.github.com/users/NoseyNick","html_url":"https://github.com/NoseyNick","followers_url":"https://api.github.com/users/NoseyNick/followers","following_url":"https://api.github.com/users/NoseyNick/following{/other_user}","gists_url":"https://api.github.com/users/NoseyNick/gists{/gist_id}","starred_url":"https://api.github.com/users/NoseyNick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoseyNick/subscriptions","organizations_url":"https://api.github.com/users/NoseyNick/orgs","repos_url":"https://api.github.com/users/NoseyNick/repos","events_url":"https://api.github.com/users/NoseyNick/events{/privacy}","received_events_url":"https://api.github.com/users/NoseyNick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-21T21:27:08Z","updated_at":"2015-11-23T01:29:47Z","closed_at":null,"body":"[moving to its own issue]\r\n\r\nPlayer Ship Upgrades object appears to be...\r\nBit field (11 bytes)\r\nUpgradeInUse (bits 1.1-4.4 = 28 byte array)\r\nUpgradeQuantity? (bits 4.5-7.8 = 28 byte array)\r\n... perhaps in the order that you've already hacked at, EG bit 5.3=LateralArray?\r\nUpgradeCountdown (bits 8.1-11.4 = 28 short array)\r\n\r\nI quite frequently see sequences like:\r\nObjUpgrades(id=1025, .... LateralArray5_3=3 ...)\r\nObjUpgrades(id=1025,Unknown1_7=1,Unknown8_7=299)\r\n... Unknown8_7 counts down 299 .. 0\r\nObjUpgrades(1025,Unknown1_7=0,LateralArray5_3=2),\r\n\r\nOr a similar sequence with...\r\n...CetrociteCrystal5_1=1...\r\nUnknown16=1,Unknown8_6=299\r\nUnknown8_6=298 ... and down to...\r\nUnknown86=0\r\nUnknown16=0,CetrociteCrystal5_1=>0\r\n\r\nSame pattern with Unknown21 vs SecretCodeCase5_5 vs Unknown91\r\nWe have 28 bytes for upgrades \"in use\", 28 bytes for upgrade \"quantities\", 28 shorts for upgrade countdowns whilst in use, total 84 bits of the 11-byte bitfield.\r\n\r\nRunning \"strings Artemis.exe\" and looking for \"likely\" strings, I believe the complete list of upgrades, in order, is:\r\n\r\nID | Name | Class | Notes\r\n----|------|-------|------\r\n00 | Infusion P-Coils | Engine Boost | 5 Minute 10% Impulse and Warp Speed Boost\r\n01 | Hydrogen Ram | Maneuver Boost | 5 Minute 10% Turn Speed Boost\r\n02 | Tauron Focusers | Weapons Boost | 5 Minute 10% Beam and Reload Speed Boost\r\n03 | Carpaction Coils | Shield Boost | 5 Minute 10% Shield Recharge Boost\r\n04 | Polyphasic Capacitors | Energy Boost | 5 Minute 10% Energy Recharge Boost\r\n05 | Coolant Reserves | Heat Reduction | 5 Minute 10% Faster Heat Reduction (AKA Cetrocite crystals?)\r\n06 | Lateral Array | Scanner Boost | 5 Minute Instant Target Scan\r\n07 | ECM Starpulse | Jammer Boost | 5 Minute Enemy Cannot Lock\r\n08 | Double Agent | Auto-Surrender | Can force one ship to auto surrender (AKA Secret Code Case?)\r\n09 | Wartime Production | Prod Boost | 10% (min +1) boost to all starting base munitions\r\n10 | Infusion P-Coils PERM | Engine Refit | Permanent 10% Impulse and Warp Speed Boost\r\n11 | Protonic Verniers | Maneuver Refit | Permanent 10% Turn Speed Boost\r\n12 | Tauron Focusers PERM | Weapons Refit | Permanent 10% Reload and Beam Speed\r\n13 | Regenerative Pau-Grids | Shield Refit | Permanent 10% Shield Recharge Speed\r\n14 | Veteran DamCon Teams | Faster DamCon | Damcon teams move/repair 10% faster\r\n15 | Cetrocite Heatsinks | Heatsink Refit | Heat builds 10% slower\r\n16 | Tachyon Scanners | Scanner Refit | Permanent 10% Scan Speed Boost\r\n17 | Gridscan Overload | Sensor Refit | Permanent 10% Range Booster\r\n18 | Override Authorization | Improved Prod | All bases produce 10% faster\r\n19 | Resupply Imperatives | Mission Enhance | 10% More missions\r\n20 | Patrol Group | Allied Combat | Additional TSN Escort Ship in-sector\r\n21 | Fast Supply | Allied Supply | Additional TSN Cargo Ship in-sector\r\n22 | Vanguard Refit | Improved Console | Perm 10% Boost to Impulse, Warp, and Turn Speed\r\n23 | Vanguard Refit | Improved Console | Perm 10% Boost to Beam, Shield and Reload Speeds\r\n24 | Vanguard Refit | Improved Console | Perm 10% Boost to Scan speed and Sensor Range\r\n25 | Vanguard Refit | Improved Console | Perm 10% Boost to Station production\r\n26 | Vanguard Refit | Improved Console | Perm 10% Boost to all Engineering Systems\r\n27 | Vanguard Refit | Systems Overhaul | Permanent 10% Boost to all Ship Systems\r\n"},"comment":{"url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/comments/158826060","html_url":"https://github.com/artemis-nerds/protocol-docs/issues/18#issuecomment-158826060","issue_url":"https://api.github.com/repos/artemis-nerds/protocol-docs/issues/18","id":158826060,"user":{"login":"NoseyNick","id":14804857,"avatar_url":"https://avatars.githubusercontent.com/u/14804857?v=3","gravatar_id":"","url":"https://api.github.com/users/NoseyNick","html_url":"https://github.com/NoseyNick","followers_url":"https://api.github.com/users/NoseyNick/followers","following_url":"https://api.github.com/users/NoseyNick/following{/other_user}","gists_url":"https://api.github.com/users/NoseyNick/gists{/gist_id}","starred_url":"https://api.github.com/users/NoseyNick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoseyNick/subscriptions","organizations_url":"https://api.github.com/users/NoseyNick/orgs","repos_url":"https://api.github.com/users/NoseyNick/repos","events_url":"https://api.github.com/users/NoseyNick/events{/privacy}","received_events_url":"https://api.github.com/users/NoseyNick/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T01:29:47Z","updated_at":"2015-11-23T01:29:47Z","body":"This order matches the \"Upgrades\" screen seen in-game too, although some of the above Notes don't become obvious unless / until you have picked them up (if ever)"}}