Open PaulicStudios opened 9 months ago
Action: TEAM 1: [Create(Create { type_id: 2 }), Travel(Travel { id: 15, travel_type: Position(Position { x: 576, y: 1360 }) }), Travel(Travel { id: 16, travel_type: Position(Position { x: 2617, y: 6721 }) }), Travel(Travel { id: 17, travel_type: Position(Position { x: 6361, y: 4056 }) }), Travel(Travel { id: 18, travel_type: Position(Position { x: 550, y: 2084 }) }), Attack(Attack { attacker_id: 15, target_id: 6 }), Attack(Attack { attacker_id: 16, target_id: 7 }), Attack(Attack { attacker_id: 17, target_id: 8 }), Attack(Attack { attacker_id: 18, target_id: 9 })] Action: TEAM 2: [] Changes: Try to create unit of type 2 for team with id 1 Error: Team with id 1 has not enough balance Changes: Travel: Travel { id: 15, travel_type: Position(Position { x: 576, y: 1360 }) } Changes: Travel: Travel { id: 16, travel_type: Position(Position { x: 2617, y: 6721 }) } Changes: Travel: Travel { id: 17, travel_type: Position(Position { x: 6361, y: 4056 }) } Changes: Travel: Travel { id: 18, travel_type: Position(Position { x: 550, y: 2084 }) } Changes: handel_attack_action: 15 -> 6 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 16 -> 7 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 17 -> 8 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 18 -> 9 from team with id 1 Error: Attacker or target not found Info: Tick: 76 Action: TEAM 1: [Create(Create { type_id: 2 }), Travel(Travel { id: 15, travel_type: Position(Position { x: 8008, y: 9673 }) }), Travel(Travel { id: 16, travel_type: Position(Position { x: 6645, y: 6565 }) }), Travel(Travel { id: 17, travel_type: Position(Position { x: 9639, y: 5565 }) }), Travel(Travel { id: 18, travel_type: Position(Position { x: 7823, y: 4047 }) }), Attack(Attack { attacker_id: 15, target_id: 10 }), Attack(Attack { attacker_id: 16, target_id: 11 }), Attack(Attack { attacker_id: 17, target_id: 12 }), Attack(Attack { attacker_id: 18, target_id: 13 })] Action: TEAM 2: [] Changes: Try to create unit of type 2 for team with id 1 Error: Team with id 1 has not enough balance Changes: Travel: Travel { id: 15, travel_type: Position(Position { x: 8008, y: 9673 }) } Changes: Travel: Travel { id: 16, travel_type: Position(Position { x: 6645, y: 6565 }) } Changes: Travel: Travel { id: 17, travel_type: Position(Position { x: 9639, y: 5565 }) } Changes: Travel: Travel { id: 18, travel_type: Position(Position { x: 7823, y: 4047 }) } Changes: handel_attack_action: 15 -> 10 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 16 -> 11 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 17 -> 12 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 18 -> 13 from team with id 1 Error: Attacker or target not found Info: Tick: 71 Error: Parse Error in bridge: Error("missing field id", line: 1, column: 518) from "{\"actions\":[{\"Create\":{\"type_id\":2}},{\"Travel\":{\"id\":15,\"travel_type\":{\"Position\":{\"x\":5176,\"y\":8247}}}},{\"Travel\":{\"id\":16,\"travel_type\":{\"Position\":{\"x\":-4702111234474983746,\"y\":-4702111234474983746}}}},{\"Travel\":{\"id\":17,\"travel_type\":{\"Position\":{\"x\":3856,\"y\":8209}}}},{\"Travel\":{\"id\":18,\"travel_type\":{\"Position\":{\"x\":576,\"y\":1360}}}},{\"Attack\":{\"attacker_id\":15,\"target_id\":14}},{\"Attack\":{\"attacker_id\":16,\"target_id\":0}},{\"Attack\":{\"attacker_id\":17,\"target_id\":5}},{\"Attack\":{\"attacker_id\":18,\"target_id\":6}}]}"
is an issue with the length of one state, the buffer in bridge.rs line 24 needs to be programmed dynamically to handle every length
Action: TEAM 1: [Create(Create { type_id: 2 }), Travel(Travel { id: 15, travel_type: Position(Position { x: 576, y: 1360 }) }), Travel(Travel { id: 16, travel_type: Position(Position { x: 2617, y: 6721 }) }), Travel(Travel { id: 17, travel_type: Position(Position { x: 6361, y: 4056 }) }), Travel(Travel { id: 18, travel_type: Position(Position { x: 550, y: 2084 }) }), Attack(Attack { attacker_id: 15, target_id: 6 }), Attack(Attack { attacker_id: 16, target_id: 7 }), Attack(Attack { attacker_id: 17, target_id: 8 }), Attack(Attack { attacker_id: 18, target_id: 9 })] Action: TEAM 2: [] Changes: Try to create unit of type 2 for team with id 1 Error: Team with id 1 has not enough balance Changes: Travel: Travel { id: 15, travel_type: Position(Position { x: 576, y: 1360 }) } Changes: Travel: Travel { id: 16, travel_type: Position(Position { x: 2617, y: 6721 }) } Changes: Travel: Travel { id: 17, travel_type: Position(Position { x: 6361, y: 4056 }) } Changes: Travel: Travel { id: 18, travel_type: Position(Position { x: 550, y: 2084 }) } Changes: handel_attack_action: 15 -> 6 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 16 -> 7 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 17 -> 8 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 18 -> 9 from team with id 1 Error: Attacker or target not found Info: Tick: 76 Action: TEAM 1: [Create(Create { type_id: 2 }), Travel(Travel { id: 15, travel_type: Position(Position { x: 8008, y: 9673 }) }), Travel(Travel { id: 16, travel_type: Position(Position { x: 6645, y: 6565 }) }), Travel(Travel { id: 17, travel_type: Position(Position { x: 9639, y: 5565 }) }), Travel(Travel { id: 18, travel_type: Position(Position { x: 7823, y: 4047 }) }), Attack(Attack { attacker_id: 15, target_id: 10 }), Attack(Attack { attacker_id: 16, target_id: 11 }), Attack(Attack { attacker_id: 17, target_id: 12 }), Attack(Attack { attacker_id: 18, target_id: 13 })] Action: TEAM 2: [] Changes: Try to create unit of type 2 for team with id 1 Error: Team with id 1 has not enough balance Changes: Travel: Travel { id: 15, travel_type: Position(Position { x: 8008, y: 9673 }) } Changes: Travel: Travel { id: 16, travel_type: Position(Position { x: 6645, y: 6565 }) } Changes: Travel: Travel { id: 17, travel_type: Position(Position { x: 9639, y: 5565 }) } Changes: Travel: Travel { id: 18, travel_type: Position(Position { x: 7823, y: 4047 }) } Changes: handel_attack_action: 15 -> 10 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 16 -> 11 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 17 -> 12 from team with id 1 Error: Attacker or target not found Changes: handel_attack_action: 18 -> 13 from team with id 1 Error: Attacker or target not found Info: Tick: 71 Error: Parse Error in bridge: Error("missing field id", line: 1, column: 518) from "{\"actions\":[{\"Create\":{\"type_id\":2}},{\"Travel\":{\"id\":15,\"travel_type\":{\"Position\":{\"x\":5176,\"y\":8247}}}},{\"Travel\":{\"id\":16,\"travel_type\":{\"Position\":{\"x\":-4702111234474983746,\"y\":-4702111234474983746}}}},{\"Travel\":{\"id\":17,\"travel_type\":{\"Position\":{\"x\":3856,\"y\":8209}}}},{\"Travel\":{\"id\":18,\"travel_type\":{\"Position\":{\"x\":576,\"y\":1360}}}},{\"Attack\":{\"attacker_id\":15,\"target_id\":14}},{\"Attack\":{\"attacker_id\":16,\"target_id\":0}},{\"Attack\":{\"attacker_id\":17,\"target_id\":5}},{\"Attack\":{\"attacker_id\":18,\"target_id\":6}}]}"