Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.14.3 protocol support (490) #194

Merged
merged 5 commits into from
Jul 7, 2019
Merged

1.14.3 protocol support (490) #194

merged 5 commits into from
Jul 7, 2019

Conversation

@iceiix iceiix added the enhancement New feature or request label Jul 7, 2019
@iceiix iceiix mentioned this pull request Jul 7, 2019
@iceiix
Copy link
Owner Author

iceiix commented Jul 7, 2019

Copying v1_14_3 from v1_14_2, able to login:

Screen Shot 2019-07-07 at 2 24 22 PM

but there are some protocol changes: https://wiki.vg/index.php?title=Pre-release_protocol&type=revision&diff=14826&oldid=14794

@iceiix
Copy link
Owner Author

iceiix commented Jul 7, 2019

Only packet change seems to be adding "can restock" bool to TradeList, but looking at the current implementation versus documentation, we are missing all the new fields in 1.14.x from 1.13.2 (Trade: xp, special price, prince multiplier, and fields after trade: villager level, experience, is regular villager, not to mention can restock).

May have gotten away with it because this packet wasn't seen during testing, but should go back to when the new fields were added and add to older protocol versions.

TradeList was first added for 452 (19w02a): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List. Next is supported 1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List which adds the six new fields (all but can restock, which is new in 1.14.3).

TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List

add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List

Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.
@iceiix iceiix merged commit 95a9920 into master Jul 7, 2019
@iceiix iceiix deleted the 1.14.3 branch July 7, 2019 21:58
iceiix added a commit that referenced this pull request Feb 1, 2020
* Copy v1_14_3 from v1_14_2

* Add protocol 490 for v1_14_3

* Add missing 1.14 release TradeList packet fields

TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List

add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List

Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.

* Add TradeList_WithRestock variant with new can_restock field
iceiix added a commit that referenced this pull request Feb 1, 2020
* Copy v1_14_3 from v1_14_2

* Add protocol 490 for v1_14_3

* Add missing 1.14 release TradeList packet fields

TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List

add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List

Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.

* Add TradeList_WithRestock variant with new can_restock field
iceiix added a commit that referenced this pull request Feb 1, 2020
* Copy v1_14_3 from v1_14_2

* Add protocol 490 for v1_14_3

* Add missing 1.14 release TradeList packet fields

TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List

add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List

Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.

* Add TradeList_WithRestock variant with new can_restock field
iceiix added a commit that referenced this pull request Feb 2, 2020
* Copy v1_14_3 from v1_14_2

* Add protocol 490 for v1_14_3

* Add missing 1.14 release TradeList packet fields

TradeList only had fields from the prerelease:
19w02a (452): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14515#Trade_List

add the six missing fields present in the 1.14 release:
1.14 (477): https://wiki.vg/index.php?title=Pre-release_protocol&oldid=14752#Trade_List

Note this breaks 19w02a TradeList parsing, can be fixed by splitting the
packet for 19w02a/1.14 if needed later.

* Add TradeList_WithRestock variant with new can_restock field
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant