forked from StephenGss/PAL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.txt
206 lines (162 loc) · 14.1 KB
/
ChangeLog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
SAIL-ON Polycraft World Change Log:
Purpose: This document tracks changes and updates to Polycraft World that impact SAIL-ON Tasks, Evaluations, etc., including API changes.
2023.04.20 Updates:
1 (bug fix) Fix for novelty 10-2-x
2023.04.10 Updates:
1 (bug fix) If a tree was just removed from the novely, then placing a sapling in that same position would cause the tree to spawn in as rotten for a few turns
2023.02.16 Updates:
1 (enhancement) Add Characterize_NCM command
2022.12.06 Updates:
1 (bug fix) Items broken by break_block command will always be in the same spot now. Should make sim behavior after breaking a block more stable.
2022.11.30 Updates:
1) (bug fix) Hints should only work in given Novelty distribution
2022.11.16 Updates:
1) (bug fix) Fix rare nullpointer error in Observation actor actions
2022.11.15 Updates:
1) (bug fix) Fix concurrent mod error on Observation actor actions
2022.11.14 Updates:
1) (bug fix) Nov 10-1-1 bug fixes
2022.10.31 Updates:
1) (enhancement) Add Characterize command
2022.10.28 Updates:
1) (bug fix) Use same distance for Pogoist trade as Trader trade
2022.10.19 Updates:
1) (bug fix) Fix nullpointer in 9-1-1 novelty when all diamond blocks are gone.
2) (bug fix) Fix uncommon concurrent modification error when entities save states
2022.10.11 Updates:
1) (bug fix) Fix nullpointer issue when placing blocks
2022.09.29 Updates:
1) (bug fix) Adding list option for SENSE_ACTOR_ACTIONS
2) (bug fix) Various bug fixes regarding SENSE_ACTOR_ACTIONS and missing actions
3) (bug fix) Fix bug where "SENSE_ACTOR_ACTIONS" crashes the game
2022.09.26 Updates:
1) (bug fix) Fix sense_actor_actions timeout bug
2022.09.15 Updates:
1) (enhancement) Add nonav option to sense_actor_actions
2022.09.07 Updates:
1) (bug fix) Fix break_block not working.
2022.08.31 Updates:
1) (enhancement) Changes for phase 3 shared novelties
2022.05.26 Updates:
1) (enhancement) Add POGO Phase 1 novelties to POGO Phase 2 task
2022.04.20 Updates:
1) (bug fix) HUGA chests are missing keys in novelty 6-1-1
2) (bug fix) Add timeout when checking to make sure player got all items for an experiment. Without the timeout, the game could get stuck.
2022.04.12 Updates:
1) (config) Pogo_100_PN games regenerated to remove faulty configurations
2022.04.11 Updates:
1) (bug fix) Game crashes if you run start using the agent thread.
2) (bug fix) Show correct message if items become available in the safe after already collecting from it.
3) (bug unfix) Pogoist may move after a teleport action. The fix changes the task too much. Will wait to fix after phase 2 eval is done.
2022.04.06 Updates:
1) (bug fix) If the first tree a pogoist breaks is right next to another tree, the pogoist can break both trees in the same action and skip a lot of steps it would normally take.
2) (bug fix) Pogoist crashes the game when trying to place tree tap.
3) (bug fix) START command sent by through agent thread causes a nullpointer.
2022.04.05 Updates:
1) (bug fix) Pogoist moves out of arena in novelty 5-5-1-M. Should move to crafting table.
2) (bug fix) Prevent an extra move action after an actor performs a teleport action.
3) (bug fix) On every agent command, check to make sure entities are loaded on client side.
2022.03.17 Updates:
1) Experiment instance will not be verified until we confirm all items are seen on the client side. Sometimes there would be a few ticks where items were not visible immidiately to the agent.
2) Make trader and pogoist invulnerable to prevent disappearing
2022.03.16 Updates:
1) Remove old code reference in RESET command. This causes a rare crash that reports a "ConcurrentModificationException" as well as a line including something like "[edu.utd.minecraft.mod.polycraft.experiment.old.ExperimentManager:sendExperimentUpdates:322]: Sending Update..."
2) Add try catch around some code in observation. This would cause a rare crash during actor's actions right after the player places a block. The cause is unknown, but the code that crashes the game is not important during this step. Worst case, there are some non-standard properties of items that will be missing from an item in extremely rare cases. But we don't even use these properties right now, so it should never be an issue.
2022.02.08 Updates:
1) (HUGA) Fix Trap issue where traps will randomly capture agent when next to trap
2022.01.15 Updates:
1) (HUGA) Fix trap placement bug introduced from last changes
2022.01.13 Updates:
1) (HUGA) Guide dog navigation improvments.
2) (API Change) TURN and LOOK commands now center agent at 0.499 instead of 0.5. This can change the agent's location because of rounding errors.
3) (HUGA) Prevent Agents from placing traps on destination and perimeter blocks.
2021.11.23 Updates:
1) (Task Specification docs) Uploaded POGO Task Specifications.docx and HUGA Task Specifications.docx to repo.
2) (typo) Corrected typos in Task Specifications for NOP command incorrectly stating "NO_OP" and that it did not advance time.
3) (bug fix) Fix guide dog interact [id]. Interact facing still worked, but distance calculation was inverted when using id for interact
2021.11.22 Updates:
1) (enhancement) Reset IDs on RESET for game replayability
2) (enhancement) Update GenTourn logging to be more compact
3) (enhancement) Only allow START to be sent once. Multiple START commands will respone in SUCCESS, but not actually be processed
4) (enhancement/bug fix) Fix issue where rooms were always generated in the positive direction. Now rooms will generate in all directions.
5) (enhancement/bug fix) Prevent rooms having pathways between each other when they shouldn't
6) (minor change) Adjust starting room location since rooms generating in negative direction could have caused negative player positions.
7) (bug fix) Fix Sapling shared novelty replacing iron pickaxe
8 (bug fix) Trading with pogoist in shared novelty resulted in timed out command response
9) (bug fix) Trees cannot be placed in perimeter of a room. This is the correct logic, but command response was incorrect.
2021.11.17 Updates:
1) (Damage Control) A maven repo permanently shut down that Minecraft Forge relied on. Loaded most of the necessary libaries locally now.
2021.11.16 Update:
1) (game config) Some pre-novelty games were generated with one of the traders spawning inside a wall. This can result in an impossible game.
This only affected POGO pre-novelty games
2) (game config) The easy axe novelty configs had an issue that would sometimes overwrite the pickaxe as a wooden axe. This results in an impossible game.
This only affected POGO_L01_T01_S01 easy difficulty
3) (bug fix) TP_TO had an issue where it didn't check for an actor in the position the player would land when teleporting to a block at a set distance.
4) (bug fix) Cleaned up some startup log outputs and warnings.
5) (bug fix) Minecraft client side rounding error caused incorrect message on use command when interacting with the safe block
2021.11.09 Updates
1) (bug fix) PLACE_TREE_TAP causes nullpointer if an actor disappears during game. Not sure what is cuasing the underlying issue, but the nullpointer is fixed.
2021.11.05 Updates:
1) (bug fix) Change in Pogoist logic broke some backwards compatibility. Now is backwards compatible.
2021.11.03 updates:
1) (bug fix) The DELETE command sends back the wrong message when you don't send the correct syntax.
2) (bug fix) PLACE minecraft:sapling doesn't decriment the sapling item in player's inventory
2021.10.29 udpates:
1) (Bug fix) When using an item on the safe or other containers, the action response was always a FAIL even though the action worked.
2021.10.25 updates:
1) (Bug fix) cannot go through allowed blocks using cardinal movement(ex. MOVE_NORTH, MOVE_EAST, etc), but you can with egocentric movement. This is fixed to allow walking through doors/macguffing using cardinal movement as well.
2) (Bug fix) Agent can move onto the same locaiton as an actor. This is not expected. Actors should act as obstacles. This has been fixed for all movement commands.
3) (Bug fix) (POGO) Traded items are lost if the trade is not valid. Items should not be lost on invalid trade attempts. This has been fixed.
4) (Enhancement) Added argument for Interact to interact with the actor the agent is facing. ex. INTERACT FACING
5) (Enhancement) (POGO) Added argument for TRADE to trade with the actor the agent is facing. ex. TRADE FACING minecraft:log 10
6) (Bug fix) SELECT_ITEM NULL returned FAIL for command result even though the action of selecting null/hand was completed correctly. Now returns a success command result with message "selected hand". Sending the command with no arguments will now be interpreted as sending SELECT_ITEM NULL as well.
2021.10.14 updates:
1) Bug when using PLACE command while facing an actor causes a null pointer error. Fixed to return failed action.
2021.10.04 updates:
Global
1) (Bug fix) SENSE_ALL shows correct map size for the room the agent/player is in.
2) (Bug fix) SENSE_ALL NONAV now shows correct value for isAccessible field.
2021.09.15 updates:
Global
1) (API Change) (Global) Position property format for entities was changed from a string to an integer array.
a. Previously entity position reported as: "Pos":"BlockPos{x=5, y=4, z=20}"
b. Now entity position reported as: "pos":[5,4,20]
c. Reason for API Change: make position format consistent between entities and the player and other items. Previously, the player and other items were an integer array and entities were a string.
2) (Bug fix) (Global) All entities are reported in SENSE commands as having the same position, even though they were in different locations. This has been fixed.
3) (Bug fix) (Global) NOP command removed from commands that external actors ignore, which was causing NOP to not advance time for external actors.
2021.08.31 updates:
Global
1) (New Feature)(Global) Color attribute for objects and actors added: Doors, keys, and patrols have a color attribute that is communicated in SENSE_ALL.
2) (API Change)(POGO) API option to sense actor commands: SENSE_ACTOR_ACTIONS
a. Flip Book mode: Ex. “SENSE_ACTOR_ACTIONS”
i. Returns List of each actor’s “preWorldState”, “action” and “postWorldState”
ii. “preWorldState”: contains a sense_all output from before the action was started
iii. “action”: contains “name”(String), “args”(string), “result”(string), and “stepNumber”(int)
iv. “postWorldState”: contains a sense_all output form after the action was completed
b. Simultaneous mode: Ex. “SENSE_ACTOR_ACTIONS simultaneous”
i. Returns the first world state before all actions, a list of all the actions, and the last world state
ii. “preWorldState”: contains a sense_all output from before the actions were started
iii. “actions”: contains list of all actions each in the format of:
1. “name”(String), “args”(string), “result”(string), and “stepNumber”(int)
iv. “postWorldState”: contains a sense_all output from after all actions were completed
3) (API Change)(POGO) API option to advance time without a stepCost: NOP
a. The command “NOP” can be sent to advance time by one turn without taking an action for the TA2 agent. This could be useful if the Agent wants to wait for a specific future state without changing location. The NOP does not have a stepCost.
HUGA
4) (New Feature)(HUGA) Added command for training: Teleports the player anywhere facing any direction. There are no checks on this, you can teleport to any position, and it will always succeed. Including inside blocks.
a. Ex. TELEPORT [x] [y] [z] [yaw] [pitch]
i. Yaw: Ranges from 0 to 270 where 0 is south, 90 is West, 180 is North, and 270 is East.
ii. Pitch: Ranges from -90 to 90 where -90 is looking straight up, 0 is looking forward, and 90 is looking straight down.
b. This command is disabled by default. To enable this command, you must set the environment variable “PAL_DEV” to “true”.
5) (Bug fix)(HUGA) Guide Dog blocking path fixed: The Guide Dog pathing was changed so that it will not block walkways.
6) (New feature)(HUGA) Red Patrols removed from Room 1: Red Patrols no longer spawn in Room 1, so they will not be present near the player re-spawn point.
7) (New feature)(HUGA) Red Patrols don’t pursue the TA2 Agent: Red Patrols no longer move purposefully towards the TA2 Agent in pre-novelty, they now move completely randomly with respect to the TA2 Agent.
8) (New feature)(HUGA) Size of held objects increased: The size of held objects, such as the Armor held by Blue Patrols or Keys held in the Locksmith novelty has been increased so that they are clearly visible.
POGO
9) (New feature)(POGO) Actors using Teleport: External ‘Actors’ will use Teleport for movement if the TA2 ‘Agent’ uses TP_TO, and MOVE if the agent uses MOVE:
a. The Actors start each instance defaulting to the MOVE command when they are changing location. If at any point the TA2 Agent uses the TP_TO command, all Actors will subsequently use TP_TO when they are changing location.
b. If the TA2 performs teleport then the Rival will use teleport for its movement commands and all teleports for the TA2 agent and Rival will be treated as 1 action, regardless of distance traveled.
10) (Bug fix)(POGO) Unlock safe message: When successfully using the blue key to unlock the safe, the incorrect message was returned: “Fail” “using hand on air”. This has been changed to the appropriate successful message.
11) (New feature)(POGO) Pogoist action sequence: The Pogoist previously stopped after breaking 2 trees, building a tree tap, and placing a tree tap. The Pogoist now continues forward all the way to a Pogo Stick as follows:
a. Pogoist gets 2 trees, then crafts and places Tree Tap, gets rubber, mines 2 diamond, mines 2 platinum, trades with TVs, makes Pogo Stick.
12) (Bug fix)(POGO) Blue key texture pack: Previously the blue key did not render correctly. The texture pack has been updated and the blue key should appear in the agent’s hand and inventory as a blue key.
13) (New feature)(POGO) Diamond and Platinum Ore amounts: Change Diamond and Platinum ore spawns in Room 1 to be rng between 2-4 instead of always 4.