Commit graph

1755 commits

Author SHA1 Message Date
Renato Machado
c5f7b3ed84 Merge branch 'main' into multithreading 2025-08-07 15:59:33 -03:00
Rodrigo Paixão
65c481b6a8
fix: "Clear Messages" functionality with readonly mode (#1268) 2025-08-03 21:49:21 -03:00
kokekanon
850233a4fd
fix: m_effects order (#1267) 2025-08-03 17:17:37 -03:00
Rodrigo Paixão
0d1e02bf5a
fix: text window like rl tibia 2025-08-03 17:17:20 -03:00
Renato Machado
7caf764ff5 init 2025-08-03 16:40:37 -03:00
Rodrigo Paixão
365818c66b
fix: container window like rl tibia (miniborder) (#1262)
* fix: container window like rl tibia (miniborder)

* Update container.otui

* Update skills.otui
2025-08-02 15:06:03 -03:00
kokekanon
357d15043b
fix: battlelist widget with Object Pool 2025-08-02 12:26:48 -03:00
kokekanon
dbe3815790
feat: protocol 14.00 ~ 14.12 packets and features (#1171)
* feature: packets + features 14.10 [NO FIX LOGIN]

* fix header by murilo | dudantas

* fix: old protocol 11.00 [g_game.enableFeature(GameHeader1400);]

fix: old protocol 11.00 [g_game.enableFeature(GameHeader1400);]

* test

* test

* clear

* clear

* revert me changes of  header protocol

* header -> feat: version 14 - 1173

Co-Authored-By: murilo09 <78226931+murilo09@users.noreply.github.com>
Co-Authored-By: Eduardo Dantas <eduardo.dantas@hotmail.com.br>

* clear

* format

* format

* format

* clear

---------

Co-authored-by: murilo09 <78226931+murilo09@users.noreply.github.com>
Co-authored-by: Eduardo Dantas <eduardo.dantas@hotmail.com.br>
2025-07-30 15:17:32 -03:00
kokekanon
cfc054dc05
fix: boundKeyPressCombos [fix: #1000, #1251 , #1231 , #738] (#1253) 2025-07-27 11:49:01 -03:00
Rodrigo Paixão
fc9638b957
fix: console readonly tab now clears and closes correctly
- "Clear Messages" now works for any tab, not just the active one.
- Readonly panel is cleared and closed on relogin/character switch.
- Refactored clear logic to always target the correct tab and readonly state.
2025-07-24 14:37:46 -03:00
Rodrigo Paixão
5a22048316
fix: adjusted shop history display 2025-07-24 14:37:13 -03:00
Rodrigo Paixão
af16e605d6
fix: read-only tab (#1244) 2025-07-22 10:32:57 -03:00
Rodrigo Paixão
d883e4a7c7
fix: game_shop negative balance (#1239) 2025-07-19 12:13:49 -03:00
kokekanon
5445d44261
fix: actions text send to current channel (#1228) 2025-07-10 17:28:25 -03:00
Jon Snow
44e0486d5d
fix: vBot analyzer button (#1223) 2025-07-08 10:36:21 -03:00
Victor
3817627ffe
fix: map resizing issue in extended view when toggling topmenu with Ctrl+Shift+T 2025-07-07 21:14:47 -03:00
Renato Machado
1c9e857c8f
improve: refactor things.lua to Controller System and add feature fallback logic for loadDat (#1224)
fix #1221
2025-07-07 19:35:28 -03:00
Renato Machado
85f8079f90 Revert "fix: map resizing issue in extended view when toggling topmenu with Ctrl+Shift+T (#1220)"
This reverts commit 5633d0e767.
2025-07-07 18:13:50 -03:00
Victor
5633d0e767
fix: map resizing issue in extended view when toggling topmenu with Ctrl+Shift+T (#1220)
* Fix map resizing issue in extended view when toggling topmenu with Ctrl+Shift+T

Fixes an issue where the game map panel would not return to its original size after toggling the top menu visibility (Ctrl+Shift+T) in extended view mode.  
  
**Problem:**  
- In extended view mode, hiding the top menu would correctly expand the map  
- However, showing the top menu again would not restore the map to its proper size  
- This was caused by incorrect anchoring of the gameRootPanel  
  
**Solution:**  
- Modified hide() and show() functions in topmenu.lua to check for extended view mode  
- Ensures proper anchoring to topMenu.bottom when in extended view mode  
- Maintains backward compatibility with normal view mode
2025-07-07 14:52:19 -03:00
kokekanon
abd5b68cd9
feat: player / monster Icons 12.81 (#973)
Co-authored-by: Renato Machado <mehahx@gmail.com>
2025-06-25 18:35:55 -03:00
kokekanon
f47411cdf1
fix: g_modules.reloadModules() #997 #1032 (#1210) 2025-06-25 18:35:39 -03:00
kokekanon
f49c81260b
fix: #1044 update texture (#1211) 2025-06-25 18:35:28 -03:00
Renato Machado
51060a884d
perf: battle and general layout update optimized (#1212) 2025-06-25 18:34:11 -03:00
Renato Machado
0d7b0085bc Revert "perf: battle and general layout update optimized "
This reverts commit 0681f03e6e.
2025-06-25 12:26:51 -03:00
Renato Machado
0681f03e6e
perf: battle and general layout update optimized 2025-06-24 15:52:22 -03:00
ALS
53459d18ef
fix: UIResizeBorder to direction Top and Left #1208 2025-06-19 17:11:42 -03:00
kokekanon
4258f23504
improve: GameLoadSprInsteadProtobuf (#1204) 2025-06-17 20:19:08 -03:00
Caio Vidal
ef0334accf
fix: "Show Expiry In Inventory" typo 2025-06-13 16:00:59 -03:00
Goosey
e666630545
fix: event schedule (#1190)
Basic validation for the data to avoid problems with responses.

Co-authored-by: kokekanon <114332266+kokekanon@users.noreply.github.com>
2025-06-11 19:57:39 -03:00
kokekanon
6fd620505a
feat: "Read-only Tab" in game_console (#1189) 2025-06-11 13:03:38 -03:00
Rodrigo Paixão
07369287f7
Cleanup: Prevent errors and warnings in Lua code (#1179)
* fix: mainpanel

* Minor fixes

* Removed dead code (Outfit)
* Fixed type error SpellGroups vs game_cooldown
* Fixed Keybind
* And more

* more fixes

* ...

* Changes in shop (store)

* Added function addOutfit;
* Fixed entries per page (history);
* Fixed Extras Category
* Added function Game.getMountIdByClientId
2025-06-02 13:15:29 -03:00
Rodrigo Paixão
085a7876ba
fix: outfit size in outfit window (#1166) 2025-05-23 12:31:44 -03:00
Rodrigo Paixão
2af1c2e980
fix: quest log (pr #1144) (#1164) 2025-05-23 12:31:31 -03:00
kokekanon
09f5033dec
fix: #1129 onHungryChange (#1154)
* fix:1129
2025-05-19 18:35:41 -03:00
kokekanon
c7cc6c32c3
fix: #1052 - main panel height 2025-05-19 18:35:26 -03:00
kokekanon
2ee2b6ed86
fix: #1051 popmenu position (#1156) 2025-05-19 18:35:14 -03:00
kokekanon
a95d81f748
fix: #1060 event after an onDragLeave in a UIMiniWindow (#1157) 2025-05-19 18:35:04 -03:00
kokekanon
97deede77b
fix: #1043 with updater, sound is played even when disabled (#1158) 2025-05-19 18:34:54 -03:00
Rodrigo Paixão
ae47b271a0
improve: optimization of new shop (store) (#1159)
The main improvements implemented in the code are:

>> Cache System for Points:
* Added a cache system to reduce frequent database queries.
* The cache expires after 5 minutes to ensure that the data is updated periodically.

>> Optimization of Infinite Loop:
* Added a counter to limit the number of executions of the refreshPlayersPoints function.
* The counter is stored in GlobalStorage for persistence.

>> Single Initialization of the Shop:
* Implemented a check to prevent the shop from being initialized multiple times.
* This reduces memory usage and redundant processing.

>> String Construction Optimization:
* Replaced excessive concatenations with table construction and table.concat().
* This approach is much more efficient in Lua.

>> Event Consolidation:
* Created a unified updatePlayerShopData function to reduce the number of event calls.
* This reduces the overhead of scheduling events.

>> Cache Cleanup on Logout:
* Added a logout event to clear the cache when the player disconnects.
* This prevents memory accumulation from data of players who are no longer online.

>> Purchase History Limitation:
* Limited the purchase history to 50 records to avoid data overload.

>> Name Validation Optimization:
* Improved the efficiency of the validName function by using lookup tables and more direct checks.
2025-05-19 18:34:45 -03:00
Rodrigo Paixão
1fe56eb145
improve: new game shop
- Fixed the search functionality: item descriptions now load correctly when searching.
- Added a new "Rookgaard Items" category in the shop, visible only to players with no vocation.
2025-05-15 14:33:12 -03:00
Rodrigo Paixão
9092341f42
fix: long descriptions in new shop
There was an issue when trying to read the item descriptions, especially in the MOUNTS category, due to the size of the descriptions.

To resolve this, a modification was made so that the server sends the item descriptions separately, which fixed the problem.
2025-05-12 21:21:03 -03:00
Rodrigo Paixão
94a3346acf
feat: new shop (based in store) (#1151) 2025-05-12 14:31:32 -03:00
kokekanon
ab7d912d80
feat: options control buttons (#1148) 2025-05-07 19:58:05 -03:00
kokekanon
a96ad4889e
feat: Quest Log tracker and Style 14.10 in html/css (#1144) 2025-05-07 19:40:03 -03:00
kokekanon
0a33a812e8
feat: Daily Reward in Html / css (#1143) 2025-05-06 16:01:47 -03:00
Rodrigo Paixão
4f9833e399
fix: follow attack 2025-05-04 18:50:58 -03:00
Rodrigo Paixão
34d623ab29
fix: compact stats bar dimension 2025-05-04 18:50:29 -03:00
Rodrigo Paixão
b637199a5f
fix: condition icons & statsbar
Fix for #1128
2025-04-30 16:23:58 -03:00
kokekanon
f3771ade73
fix: extended view (#1137) 2025-04-12 21:33:19 -03:00
Renato Machado
cfcad3825c improve: disable feature GameLatencyAdaptiveCamera 2025-04-04 13:44:15 -03:00