Commit graph

191 commits

Author SHA1 Message Date
Rodrigo Paixão
65c481b6a8
fix: "Clear Messages" functionality with readonly mode (#1268) 2025-08-03 21:49:21 -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
af16e605d6
fix: read-only tab (#1244) 2025-07-22 10:32:57 -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
kokekanon
f3771ade73
fix: extended view (#1137) 2025-04-12 21:33:19 -03:00
Jan
f22dcd2ea9
Option: hide loot message on screen 2025-02-14 21:28:35 -03:00
SkullzOTS
f621d26e85
improve: android compile (fix/update) 2024-12-30 13:59:43 -03:00
InnerCircleTFS
06aa9080c3
feat: keybinds by oen | (limited) Part 1 (#996) 2024-12-17 18:27:38 -03:00
matheussf
5fdb983a53
Feat: Add StatsBars on bottom and refactor whole statsbars management (#797)
* feat: added stats bars on bottom and refactored whole statsbar management \
modularize statsbars

* fix: change bar style settings name

* feat: added stats bars on bottom and refactored whole statsbar management \
modularize statsbars

* fix: change bar style settings name

* fix: fix mess with rebase

* fix: fix mess with rebase

* fix: added unintended removal of panel icons
2024-06-28 14:45:01 -03:00
matheussf
bf38f4dedd
fix: enable chat mode switch with enter, disable with esc and switch pressing the button on console ui (#792) 2024-06-26 04:16:51 -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
SkullzOTS
5c012ca031
feat: Typing Icon (#582) 2024-03-23 13:32:30 -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
11cecb8c35
feat: v8 Bot 2023-11-21 22:27:20 -03:00
yrpen
ce8a670d11
feat: toggle on/off console using ENTER and toggle off console using ESC 2023-06-13 16:11:23 -03:00
Renato Machado
6217a63e98
Optimization/Cleanup 2023-01-24 22:09:04 -03:00
Renato
d53098159f fix #351 2022-11-21 15:00:58 -03:00
Renato
83eb65837a fix private message in old protocols 2022-08-17 16:14:25 -03:00
Renato
8e6305881e lua format - if/fnc are no longer inline 2022-08-17 12:51:56 -03:00
Renato
16235e6a67 formatted modules 2022-04-29 23:14:24 -03:00
scopp
b74afca7b2
Restrict more execution of onCall functions in console.lua 2021-09-14 20:41:12 +02:00
scopp
07eb2a3f61
Fix hotkey action and cleaning changes from #147,#149 2021-09-14 20:28:40 +02:00
MAOCI
8b292987a4
Console hide on enter (#149)
* force to enable and disable console on pressing enter (first phase of rewriting console)

* propably final version of chat console (now allows to type properly)

* final update

- renamed function to have a proper name ID of object and called by event name
- removed unused functions to move box (its not used in otc)
- added proper reacting on changing WSAD chat type
2021-09-13 20:31:02 -03:00
scopp
53bfced8a3
Pressing enter to confirm dialog won't disable WASD mode anymore 2021-07-30 15:06:40 +02:00
scopp
a73339923f
Renaming ASDW to WASD 2021-07-27 23:36:48 +02:00
scopp
0d9ffa31d0
Added action hotkeys to choose ASDW keyCombo 2021-07-26 19:18:23 +02:00
scopp
25d2ef6838
[UI] Added Shift+Enter to toggle WASD mode
Implemented behavior similar to Tibia:
- CTRL+A/S/D/W -> Turn character
- Alt+S -> Open skills window
- Alt+W -> Clear windows messages

Now this mode is preserved after restarting client

TODO Improvements:
Add the option to change "Toggle WASD Mode" in the Hotkeys Window...
2021-07-24 00:59:55 +02:00
diath
6cd5eb3e22
Add clickable NPC keywords (#1148) 2021-04-29 18:06:48 +02:00
4drik
49e3ded63c Update console.lua
I was wrong, still need it for multireturn unpack
2019-11-21 13:47:15 +01:00
4drik
62d84d13d0 Delete unused variable. 2019-11-21 13:47:15 +01:00
Kamil Chojnowski
e5ec5ff6c8 Fix saving ignore list and whitelist 2019-03-31 08:34:32 +02:00
Konrad Kuśnierz
f7ceb788e8
Merge pull request #1004 from diath/add_channel_events
Add support for channel events
2019-01-16 13:30:09 +01:00
Kamil Chojnowski
8301bc74f3 Add support for channel events 2019-01-05 22:22:01 +01:00
Kamil Chojnowski
b8228ac6eb Don't apply message prefixes to messages with empty name 2019-01-05 18:14:38 +01:00
Sportacus
a9f6f7662f Log file saves specific to server and character
Changed it so when you save a log file, the log file name includes the
server name and the characters name, in the file name.

This is to improve organization, to separate logs based off the server
you are on, and the character you are logged in.
2017-11-04 11:34:33 -02:00
BenDol
f024e30753 Fix NPC chat when ignoring private messages. 2016-01-22 16:15:35 +13:00
BenDol
6c5549dd46 This was already fixed. 2015-07-19 06:48:05 +12:00
Ben Dol
0e0da9ecbf Merge pull request #654 from crackcomm/market-myoffers
Market myoffers + NPC start block
2015-07-19 06:46:33 +12:00
BenDol
07a2995285 Fix NPC static text and missing SpeakType. 2015-07-19 06:03:19 +12:00
Konrad Kuśnierz
b5a14ddb68 Add context menu option "Select all" for channel 2015-06-04 22:10:05 +02:00
Eduardo Bart
e4302562ff Change new line from CR LF to LF when copying console text 2015-06-04 12:10:32 -03:00
Konrad Kuśnierz
a33fcd19b4 Improve multi-line selection (find bouding children) 2015-06-03 23:00:39 +02:00
Konrad Kuśnierz
7f2f70e1a6 Change signalcall to protectedcall in console
Even though they kind of do the same (calling function in protected
mode), @edubart suggested to use a different function for the sake of
readability.
2015-06-03 17:03:49 +02:00
Konrad Kuśnierz
f9d183837a Add option to save messages from channel 2015-06-03 16:46:49 +02:00
Eduardo Bart
02c6b1b6c7 Missing changes for multiline text 2015-06-03 10:59:28 -03:00
Eduardo Bart
0c1540e531 Improve multiline text selection, closes #507 2015-06-03 10:51:39 -03:00
Konrad Kuśnierz
559e545e36 Few more minor fixes to selection in game console 2015-06-02 22:46:33 +02:00
Konrad Kuśnierz
cf90bb9807 Fix selection
Perhaps it would be wise to move widget local variables to some sort of
global variable for each tab.
2015-06-02 20:04:34 +02:00
Konrad Kuśnierz
f35c939fc3 Start working on multi-line selection for console
Unfortunately UITextEdit is really bad in terms of performance. It
cannot be used as overlying widget (just like in terminal). On the other
hand we could optimize it by rewriting (unfortunately) the whole widget.

There still is a lot of things to do, but for now it is possible to
select several lines of text and copy it using CTRL + C. In order to
make text copyable in context menu it will be required to override
onMousePress (return true).
2015-06-02 19:16:41 +02:00