fix: Icon updates and equipping items via the actionbar#1119
Merged
mehah merged 12 commits intoopentibiabr:mainfrom Mar 18, 2025
andreoam:otclient-mehar-para-criar-prs
Merged
fix: Icon updates and equipping items via the actionbar#1119mehah merged 12 commits intoopentibiabr:mainfrom andreoam:otclient-mehar-para-criar-prs
mehah merged 12 commits intoopentibiabr:mainfrom
andreoam:otclient-mehar-para-criar-prs
Conversation
Vysius
reviewed
Mar 16, 2025
Vysius
reviewed
Mar 16, 2025
| modules.game_hotkeys.executeHotkeyItem(HOTKEY_USEONSELF, slot.itemId, slot.subType) | ||
| elseif slot.useType == 'equip' then | ||
| local item = g_game.findPlayerItem(slot.itemId, -1, slot.getTier) | ||
| local item = Item.create(slot.itemId) |
Contributor
There was a problem hiding this comment.
Why create instead getting from player?
Contributor
Author
There was a problem hiding this comment.
obter do player so estava equipando os itens em backpacks abertas, Utilizei a mesma logica do otcv8
Vysius
suggested changes
Mar 16, 2025
Contributor
Vysius
left a comment
There was a problem hiding this comment.
I dont really get the changes in actionbar. Someone else review too
Contributor
|
modify the description in English , so that we all understand , and modify the title with the prefix "fix:" |
Contributor
Contributor
Author
|
updated suggestions added video of actionbar functionality |
Contributor
Contributor
Author
Contributor
Contributor
Author
kokekanon
reviewed
Mar 16, 2025
| function getPanelActionbar() | ||
| return actionBar | ||
| end | ||
| end No newline at end of file |
Contributor
There was a problem hiding this comment.
Suggested change
| end | |
| end | |
update prey.otui add constant GameColorizedLootValue
added setTier to luafunctions.cpp and updated game_actionbar.lua to use setTier
fix: equip action bar item with closed backpack
Co-authored-by: kokekanon <114332266+kokekanon@users.noreply.github.com>
Co-authored-by: kokekanon <114332266+kokekanon@users.noreply.github.com>
|
kokekanon
approved these changes
Mar 18, 2025
vllsystems
pushed a commit
to vllsystems/otclient
that referenced
this pull request
Mar 19, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.








Description
Updated icons
Fixed the borders of rare icons when vbot is active
Updated action bar
Now the actionbar equips items, inside closed backpacks. Ideal for SSA macros or quick equipping with hotkeys
Updated the open gamestore button in the prey window
Before
before.mp4
After
after.mp4