Commit graph

261 commits

Author SHA1 Message Date
kokekanon
357d15043b
fix: battlelist widget with Object Pool 2025-08-02 12:26:48 -03:00
kokekanon
cfc054dc05
fix: boundKeyPressCombos [fix: #1000, #1251 , #1231 , #738] (#1253) 2025-07-27 11:49:01 -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
6fd620505a
feat: "Read-only Tab" in game_console (#1189) 2025-06-11 13:03:38 -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
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
bdzicc
737422432e
fix: cyclopedia item filters & market voc filter (#1122) 2025-04-04 13:40:37 -03:00
kokekanon
bcbb3a3b74
fix : store in TFS 10.98 and 13.10 (#1100) 2025-02-14 21:25:02 -03:00
kokekanon
8288c1b751
improve : quickLoot features (#1096) 2025-02-14 21:24:52 -03:00
kokekanon
90b4062457
fix: ActionBar packets (sendEquipItem) + Tier in actionbar
The function sendEquipItem (which only affects game_actionbar) was sending 2 packets:
according OTCR
u16 the itemId
u8 or u16 countOrSubType
But this is incorrect.
According to Canary, the 2 packets to send are:

u16 the itemId
u8 tier.
This error manifests when trying to equip an item with a tier through the action bar.
The client sends the itemId and count (1).
For example, attempting to equip an Helmet tier +5.
The server interprets itemId and tier = 1(count), failing to find the item.
As a result, it doesn't work.
2025-01-28 16:46:08 -03:00
Zbizu
7025f9eeed
fix #1056, correct variable name (#1059) 2025-01-19 23:12:10 -03:00
Marcin Jałocha
262d238f1f
improve: remove bot protection macro 2025-01-14 12:47:32 -03:00
InnerCircleTFS
06aa9080c3
feat: keybinds by oen | (limited) Part 1 (#996) 2024-12-17 18:27:38 -03:00
OT Archive
0700333f63
feat: browser support (#894)
Support compiling to javascript and webassembly using Emscripten.
2024-11-29 14:12:47 -03:00
Renato Machado
bdf9ab813f
fix: walking with high ping 2024-10-28 15:57:56 -03:00
kokekanon
9136550af8
fix: Vbot 4.8 UISpinBox | fix: #943 2024-10-24 23:56:24 -03:00
kokekanon
12bafb00bb
fix: game_store bugs. fix: #873 (#874) 2024-10-01 20:31:52 -03:00
Luan Luciano
134c6dc52a
feat: full cyclopedia module (#868) 2024-10-01 16:40:04 -03:00
kokekanon
9813e4b8bd
feat: Game_store compatible with 13.32 (#838) 2024-08-12 11:11:23 -03:00
kokekanon
2cd3cfee61
fix: bot (#843) 2024-08-12 10:27:12 -03:00
Renato Machado
4f8a3dac20
html: prevent memory leak with reactive state 2024-08-02 18:33:00 -03:00
Renato Machado
886a590459
feat: html system (#824) 2024-07-16 21:36:58 -03:00
Rodrigo Paixão
1c3abadd2f
feat: new layout (#749)
New layout based on client 13+.

---------

Co-authored-by: kokekanon <114332266+kokekanon@users.noreply.github.com>
Co-authored-by: Luan Luciano <luanluciano@outlook.com>
Co-authored-by: Levi999x <perkic-marko7@t-online.de>
Co-authored-by: SkullzOTS <86809689+SkullzOTS@users.noreply.github.com>
Co-authored-by: Renato Machado <mehahx@gmail.com>
2024-06-21 18:10:07 -03:00
Rodrigo Paixão
4b2457c8ed
fix: panels/widgets saving positions 2024-03-10 13:59:55 -03:00
Renato Foot Guimarães Costallat
00cd5e6d36
improve: https/http login (#647) 2024-03-07 13:04:04 -03:00
kokekanon
64338a51d9
fix: multiple errors produced in #621 (#712)
* fix: missing font [1]

* fix: Error console [2]

* fix: impossible to click checkbox [3]

* fix: crash (patch solution) [4]

* cleaning: remove incessant print [5]

* Fix: isEnabledWASD was only updated on login

* fix: Panels/widgets not saving positions #703

* fix: No websocket
2024-03-02 11:56:47 -03:00
Renato Machado
0a0e57e368 small battle optimization and fix UIMiniWindow 2023-12-09 19:15:15 -03:00
Renato Machado
706c19a894 Update uiminiwindow.lua 2023-11-22 21:31:33 -03:00
Renato Machado
11cecb8c35
feat: v8 Bot 2023-11-21 22:27:20 -03:00
Renato Machado
c20aa0f43e
feat: compatibility with 13.16 2023-05-18 18:37:48 -03:00
Joao Pasqualini Costa
221a2a2afc
feat: client auto updater 2023-05-11 11:38:24 -03:00
Beats
c3396b158e
fix: crash and UI mobile
Tanks @tuliomagalhaes
2023-03-10 10:12:20 -03:00
Renato
d8f90874fa rollback: UIMiniWindow:onHeightChange 2023-03-08 07:48:13 -03:00
Renato
f734bf34f3 Fix: bug when saving a miniwindows when it is moved.
Note: The new value comes first in the argument of the method and old value, as the second, as rarely the old value is used.
2023-03-07 22:16:22 -03:00
Ben Dol
09aa446ef1
feat: adaptive ui loading #451
The goal of this feature is to provide an efficient way to load the UI on the device running the client.
2023-03-02 23:03:46 -03:00
Felipe B.Tomaz
c9663d638f
[WIP] Protocol http/ws (#334)
* Add init files to game_update. Make resolve in HttpSession.

* HTTP async read working

* HTTP Callback on done async read

* HTTP Fix datarace on async_read. Add post method.

* HTTP custom header

* HTTP Load texture from "virtual directory"

* HTTPS Using ssl with no pem file

* WS Starting websocket connection

* WSS Add tls support to websocket

* HTTP/WS Organize initiation order [-Wreorder], Change sync to async on send message in websocket.

* HTTP/WS Using stantard functions instead of boost, change bind to lambda

* HTTP Close socket where necessary

* HTTP/WS Organize ontimeout, and add option to enable timeout on read/write

* HTTP/S Add download speed

* HTTP/S Separate update files to other branch

* HTTP/S Now post has two options, json and x-www-form-urlencoded

* HTTP/WS Now is using asio without boost. Add definition to enable websocket

* HTTP/WS Now use only asio to http/ws or over ssl

* Remove protobuf files and clear unused variables

* HTTP Handle error in .lua

* Update http login protocol to new http request

* Fix compile on linux

* Change old definetion of network

* HTTP/S Fix cloudflare ssl request

* fix compile error and cleanup

* fix compile error

* Revert changes in CMakeLists to use a vcpkg on linux

* Update README

Co-authored-by: Renato <mehahx@gmail.com>
2022-09-07 16:31:43 -03:00
Renato
8e6305881e lua format - if/fnc are no longer inline 2022-08-17 12:51:56 -03:00
Renato
53f30d2969 lua cleanup 2022-08-17 02:44:09 -03:00
Renato
85851c86e5 cleanup/indentation referring to #301 2022-07-25 16:19:27 -03:00
miah-sebastian
31bbd4d8f5
added drop items and exchange items in action bar. (#301)
* added drop items and exchange items in action bar.

* mistakingly took both instances of getClothSlot

* added function back, and cleaned up onDropFunc in actionbar

* made onDrop reference actionBarPanel and contentsPanel

* cleaned up onDrop function

* removed saveActionBar(), it was making it not save

* fixed backwards logic in onDrop function

* Fixed getClothSlot and removed redundant getClothSlot declaration

* removed indentation

* added check to avoid indexing a nil value

* added check for loadActionBar() to avoid indexing nil value

* added temporary support for equipping weapons, should be handled another way.
2022-07-25 11:30:27 -03:00
Eduardo Dantas
5531c40416
Fix github actions, cmake rework and integrate with vcpkg and improvement on protobuf (#257)
Full Github Action Rework (GHA), so that builds are fixed: Windows, Linux, Docker; Review checks: C++, Lua, XML and others checks
Complete Cmake Rework, modernized the code so that you can work with GHA.

Removed:
VCPKG Build
Removed generated Files from file .gitignore (all build files are required for Cmake cache generation)
Lib Lua5.1 was removed and maintained only Luajit (faster and better)
Removed the "consoleapplication" file
Removed the "lbitlib" file, after all, if the idea is the project to use updated Libs, why do we want files that bring compatibility to old Libs? I just updated the files to use the functions of the new LIBs

Modified:
The metadata of the Bitwise functions have been changed, now being in place of "bit32." is
"bit."
Protobuf will now be chased along with the client build, avoiding random errors related to Protobuf's version is different from the compiled file (this way, no matter if the repository file is outdated, as a new one will always be generated in a compilation from rebuild all)
Modified the structure of some folders, such as "protobuf" and "cmake" folder, "protobuf" was sent to the src main folder and "cmake" to the client main folder
Namespace protobuf changed from "tibia" to "otclient"
Merged the files of the Protobuf "shared.proto and appearances.proto" in one (appearances)

Added:
Issue Template
Pull Request Template
Pull Request Labeller
Check to inform that clang is not supported (it is possible to use docker on mac, this way we avoid headaches related to support for an OS that is practically not used)

GHA:
Codacy
CodeQL
Review dog
SonarCloud
Build docker
Build Ubuntu
Build Windows

Cmake:
Cmakepresets
VCPKG Manifest
Otcicon

Client:
Added the functions LuaInterface::registerTable and LuaInterface::registerMethod and Bitwise Functions (if necessary at some point compatibility with the Lua 5.1)

Note: Some checks are failing as they should only work after the merge, they should be ignored, the main ones are ok

Thanks to @costallat for for helping and assisting with addition of GHA and CMake build
2022-06-03 17:14:30 -03:00
Renato
16235e6a67 formatted modules 2022-04-29 23:14:24 -03:00
Renato
470826840e returned with bindPressMove 2022-04-27 22:54:09 -03:00
Renato
007bc2d1bc fix #264 2022-04-27 22:50:53 -03:00
Mrpox
cd9e6722ef
Extended json opcode support (#235)
* ExtendedJSONOpcode

* Initialize json from corelib.otmod instead
2022-02-22 21:56:34 +01:00