-
-
Notifications
You must be signed in to change notification settings - Fork 831
feat: protocol 14.12 #3524
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
Merged
Merged
feat: protocol 14.12 #3524
Changes from 68 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
45f92db
init
murilo09 b4b3854
Code format - (Clang-format)
github-actions[bot] a5dbfc6
send packet
murilo09 5a8de41
fix: padding
murilo09 52c9aa0
fix: player icon byte size
murilo09 d2fb634
Merge branch 'main' into tibia14
murilo09 94ba4a7
fix: message length
murilo09 a2d7826
fix sonar
murilo09 2490102
rename onConnect function
murilo09 23426c2
feat: version 14.05
dudantas 2b348a5
adjust monsters exp
murilo09 f24447f
change size in comment
murilo09 367e59b
change size in sendIconBakragore
murilo09 451ab14
fix: test icon talkaction
murilo09 0879a56
feat: new appearances from 14.05
dudantas 0a38ac3
fix: some changes
dudantas 3d81799
fix: login crash
dudantas ac031cd
fix: docker build
dudantas a539e36
test: docker create cache
dudantas e389ec6
fix: better log
dudantas 154606a
test: docker cache
dudantas a63438a
fix: auto walk
murilo09 b5fbe16
fix: actionlint
murilo09 22f6b76
Merge branch 'main' into tibia14
murilo09 5ca4f67
fix: stash debug
murilo09 6e3f6a7
Merge branch 'main' into tibia14
murilo09 011b203
Merge branch 'main' into tibia14
murilo09 aa3b27a
Merge branch 'main' into tibia14
murilo09 5aa780f
revert log to error
murilo09 910522f
Merge branch 'main' into tibia14
murilo09 1b4a806
Merge branch 'main' into tibia14
murilo09 4ae1de5
fix: get last message byte
murilo09 a303aa7
fix: change cast type
murilo09 b119f13
some fixes
murilo09 d8815fd
Merge branch 'main' into tibia14
murilo09 7f09c87
Merge branch 'main' into tibia14
FelipePaluco e99f6a8
improve: show correctly float version (14.05 instead of 14.5)
dudantas acd318e
Merge branch 'main' into tibia14
dudantas dfcf9ea
Code format - (Clang-format)
github-actions[bot] a837381
fix: compilation
dudantas 7ae9cb3
fix: protocol check
dudantas a676409
Merge branch 'main' into tibia14
dudantas 477cfc8
fix: rename
dudantas 0c98c92
feat: protocol 14.12
murilo09 6a552ba
add new appearances
dudantas b201260
fix: correct appearances
dudantas cea4d58
fix: add agony
dudantas c290da3
fix: stash retrieve
dudantas e9799c1
fix: nil value
dudantas 2282906
fix: dodge chance
dudantas 4e2da6b
disable log
dudantas 8c027f0
fix: getItem crash
dudantas fc1f8fa
fix: error
dudantas 56f4f67
Merge branch 'main' into dudantas/feat-protocol-14.12
dudantas 0e88a25
fix: conflict error
dudantas c9406e6
fix dawnport debug
murilo09 6eb7b76
fix: stash containers
dudantas 9532137
fix: update appearances
dudantas 8768483
fix: stow containers
dudantas 893cb0e
remove condition agony
murilo09 ecf1371
revert items change
murilo09 b3dc548
fix: better logging
dudantas 0bd49cc
update appearances
murilo09 df3011c
fix store cosmetics
murilo09 41e51a5
fix: debug item from stash (invalid items)
dudantas a4d75af
Code format - (Clang-format)
github-actions[bot] 6028e9b
fix: migration
majestyotbr e80cc0a
update appearances
majestyotbr 148b716
Merge branch 'main' into dudantas/feat-protocol-14.12
dudantas 2b118ff
fix: use project folder for generate executable
dudantas bc84cdd
fix: set to false
dudantas 203f35e
fix: some sonar errors
dudantas File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,12 +43,12 @@ jobs: | |
| uses: gittools/actions/gitversion/[email protected] | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
| uses: docker/setup-buildx-action@v3.7.1 | ||
| with: | ||
| install: true | ||
|
|
||
| - name: Login to GitHub Container Registry | ||
| uses: docker/login-action@v2 | ||
| uses: docker/login-action@v3.3.0 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.repository_owner }} | ||
|
|
@@ -73,6 +73,8 @@ jobs: | |
| tags: ghcr.io/${{ github.repository }}:${{ steps.gitversion.outputs.semVer }} | ||
| cache-from: type=gha, scope=${{ github.workflow }} | ||
| cache-to: type=gha, scope=${{ github.workflow }} | ||
| secrets: | | ||
| DEBUG=1 | ||
|
|
||
| - name: Image digest | ||
| if: ${{ github.event_name == 'push' }} | ||
|
|
@@ -97,7 +99,7 @@ jobs: | |
| uses: gittools/actions/gitversion/[email protected] | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v2 | ||
| uses: docker/setup-buildx-action@v3.7.1 | ||
| with: | ||
| install: true | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| function onUpdateDatabase() | ||
| logger.info("Updating database to version 50 (feat: support to 14.12)") | ||
|
|
||
| db.query([[ | ||
| ALTER TABLE `player_charms` | ||
| DROP `rune_wound`, | ||
| DROP `rune_enflame`, | ||
| DROP `rune_poison`, | ||
| DROP `rune_freeze`, | ||
| DROP `rune_zap`, | ||
| DROP `rune_curse`, | ||
| DROP `rune_cripple`, | ||
| DROP `rune_parry`, | ||
| DROP `rune_dodge`, | ||
| DROP `rune_adrenaline`, | ||
| DROP `rune_numb`, | ||
| DROP `rune_cleanse`, | ||
| DROP `rune_bless`, | ||
| DROP `rune_scavenge`, | ||
| DROP `rune_gut`, | ||
| DROP `rune_low_blow`, | ||
| DROP `rune_divine`, | ||
| DROP `rune_vamp`, | ||
| DROP `rune_void` | ||
| ]]) | ||
|
|
||
| db.query([[ | ||
| ALTER TABLE `player_charms` | ||
| ADD `minor_charm_echoes` SMALLINT NOT NULL DEFAULT '0', | ||
| ADD `max_charm_points` SMALLINT NOT NULL DEFAULT '0', | ||
| ADD `max_minor_charm_echoes` SMALLINT NOT NULL DEFAULT '0', | ||
| ADD `charms` BLOB NULL | ||
| ]]) | ||
|
|
||
| db.query([[ | ||
| ALTER TABLE `player_charms` | ||
| MODIFY COLUMN `charm_points` SMALLINT NOT NULL DEFAULT '0', | ||
| MODIFY COLUMN `UsedRunesBit` INT NOT NULL DEFAULT '0', | ||
| MODIFY COLUMN `UnlockedRunesBit` INT NOT NULL DEFAULT '0', | ||
| MODIFY COLUMN `charm_expansion` BOOLEAN NOT NULL DEFAULT FALSE, | ||
| CHANGE COLUMN `player_guid` `player_id` int(11) NOT NULL | ||
| ]]) | ||
|
|
||
| db.query([[ | ||
| ALTER TABLE player_charms | ||
| ADD CONSTRAINT player_charms_players_fk | ||
| FOREIGN KEY (player_id) REFERENCES players (id) | ||
| ]]) | ||
|
|
||
| db.query([[ | ||
| UPDATE `player_charms` pc | ||
| JOIN `players` p ON pc.player_id = p.id | ||
| SET | ||
| pc.minor_charm_echoes = 100, | ||
| pc.max_minor_charm_echoes = 100 | ||
| WHERE p.vocation >= 5 | ||
| ]]) | ||
| end | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.