Commit graph

67 commits

Author SHA1 Message Date
kokekanon
97deede77b
fix: #1043 with updater, sound is played even when disabled (#1158) 2025-05-19 18:34:54 -03:00
Zbizu
0276a5f720
feat: load sounds with protobuf
This is a continuation of bringing expanded protobuf support to otclient.
This isn't a complete solution but moves us very close to forwarding protobuf soundbanks to the client

These things are "to do", that won't be part of this PR:

path detection for ogg files (currently the client only knows the file name)
playing sound effects from server packets
playing sound effects from items on screen
getting the performance right so it doesn't lag when multiple sounds are played
2025-01-28 16:49:56 -03:00
Joao Pasqualini Costa
221a2a2afc
feat: client auto updater 2023-05-11 11:38:24 -03:00
Renato
fd02021387 removed ctrl + shift + r, use auto-reload #410
1026132e3d/init.lua (L4)
2023-02-11 14:40:55 -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
vfjpl
3600a9b40b
Fix Lua errors when the client is built without the sound framework (#1142) 2021-04-02 21:35:34 +02:00
BenDol
79ee0e34ea Keep g_settings as a 'static' variable rather than a direct object. 2014-04-01 16:51:38 +13:00
BenDol
b295053662 Finished stable implementation (as far as tested), still requires more testing. 2014-04-01 16:27:33 +13:00
BenDol
61059e66ec Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13:00
Jacek Wielemborek
e6c9e78935 Get rid of trailing whitespace.
Commit generated by command:

find -type f ! -path '*.git*' ! -path '*.png' ! -path '*.ico' ! -path \
    '*.ogg' | xargs -I '{}' sed -i '{}' -e 's/\t*$//g' -e 's/ *$//g'
2014-01-18 15:09:26 +01:00
Sam
da959aca28 Support for protocol 7.7/7.72 / Tiny fix 2013-12-26 21:31:55 +01:00
Eduardo Bart
b5911cf1de Use client version instead of entergame 2013-08-03 19:26:38 -03:00
Eduardo Bart
8314b84f69 Add live_textures_reload command 2013-03-01 05:46:55 -03:00
Eduardo Bart
9a54bfcc90 Minimap, hotkeys and lot of other changes
* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
2013-02-21 17:03:05 -03:00
Henrique Santiago
dfb0150a7d Fix signalCall, healthinfo tooltips 2013-02-10 01:17:20 -02:00
Ricardo Ianelli
71c2ec5293 One more fix 2013-02-10 02:59:55 -02:00
Ricardo Ianelli
72d63673ca Identation Fixes 2013-02-10 02:54:20 -02:00
Ricardo Ianelli
cbeab6f9b0 Moving start messages to lua
Moved start log messages to lua, to make easier to enable/disable those
messages.
2013-02-10 02:28:47 -02:00
Eduardo Bart
4751941e4f Improve encrypt/decrypt algorithms 2013-01-29 11:51:15 -02:00
Eduardo Bart
9aca1644e6 Implement rule violations, closes #218 2013-01-27 07:54:50 -02:00
Eduardo Bart
07959ddc04 Fix a vulnerability in password encryption
* There was an error in the encryption used to save passwords,
  now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart
28b5fc1d5a Refactor modules, closes #223
* All modules are sandboxed now
* All images,sounds,fonts,translations and styles were moved to "data" folder
* Reorganize image files folders
* Remove unmaintained modules: client_particles, client_shaders
* Implement new automatic way to load styles and fonts
* Add hide/show offline option in VipList
* Add invite/exclude to/from private channel in players menus
* Many other minor changes
2013-01-18 20:46:36 -02:00
BeniS
b68df8336a Minor fixes to some previous commits.
* Fixed a bug with storing the protocol version.
* Fixed an issue with text windows cancelling.
* Fixed a typo in the source.
2013-01-18 03:23:01 +13:00
Eduardo Bart
62cd3d04e1 Update sound engine with some sound fixes
* Refactor client module
2013-01-16 16:46:42 -02:00
BeniS
44e428bccb Progress updating to cv981/pv973:
* Implemented the new client AND protocol version methods.
* Implemented the new speed laws added in cv980 (http://www.tibia.com/news/?subtopic=newsarchive&id=2251).
* Added more missing bytea to login packets (client version/type and some unknown bytes).
* Fixed the InputMessage::getDouble method.
* Cleaned up some of the const values.
* Started on the pending state features.

TODO:
* Pending game state feature.
* Ensure version compatibility hasn't been compromised.
2012-12-29 00:05:45 +13:00
Henrique Santiago
9b394785bb Pt translations, flexibility changes 2012-08-26 06:11:05 -03:00
Eduardo Bart
ddd3f84ad7 Many fixes in win32 platform 2012-08-20 18:53:38 -03:00
Eduardo Bart
779f298055 Warn when no graphics is detected at startup
Add script for building otclient snaphots
2012-08-19 11:32:30 -03:00
Henrique Santiago
e244e1975d Format name as a feature, do not connect if dont have dat/spr 2012-08-14 20:58:48 -03:00
Henrique Santiago
8753f82fd0 Change cursor on textedit, remove possibility to close EnterGame window 2012-08-10 16:32:21 -03:00
Henrique Santiago
e27423660c Do not fatal cause of missing spr/dat anymore. 2012-08-09 19:54:03 -03:00
Eduardo Bart
90312965bc Avoid spr loading freeze when logging 2012-07-31 01:09:55 -03:00
Eduardo Bart
36c029fc69 Multiprotocol 8.1-9.6 finally working
Still have many minor issues, tests are needed
No recompilation needed anymore
9.60 messages is not fully implemented
2012-07-26 06:12:20 -03:00
Eduardo Bart
c54cd1fdf1 Use new coding style in game modules
Lots of refactoring and changes
Remove docs folder
2012-07-24 02:30:08 -03:00
Eduardo Bart
59fc3d5f77 Rename 'addons' folder to 'mods' to avoid
Use onRun event to play startup music
2012-07-16 20:07:42 -03:00
Eduardo Bart
9bfd2617e9 Fix some lua errors 2012-07-12 22:26:08 -03:00
Eduardo Bart
2c5fdc88d1 restore music at startup 2012-07-09 14:53:05 -03:00
Eduardo Bart
6f12261aef Move otclientrc.lua to top dir
* Use markdown for README
2012-07-05 17:03:57 -03:00
Eduardo Bart
98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Eduardo Bart
aed779a2c8 doc and luabinder changes 2012-06-22 00:14:13 -03:00
Eduardo Bart
8761220deb Refactoring and flexibility changes
* Split game module into game and game_interface
* Move core_lib to corelib
* Move miniwindow to corelib
* Introduce init.lua script for initializing the client, giving much more flexibility
* OTClient is no longer Application derived and is much simpler
2012-06-19 21:16:52 -03:00
Eduardo Bart
5a048eb7ea Minor graphics fixes 2012-06-18 20:58:56 -03:00
Henrique Santiago
6fce78d519 compile error, lua const 2012-06-01 17:53:04 -03:00
Eduardo Bart
34091bc48e implement all needed tr() for localization
* implement some pt-BR translations
* remove legacy about module
2012-04-26 16:54:16 -03:00
Eduardo Bart
1d558bc412 make precompiled header work again 2012-04-15 08:00:13 -03:00
Eduardo Bart
c3eae3ba06 bind sound functions and add sample startup music 2012-04-14 11:19:58 -03:00
Eduardo Bart
668c4d98d9 win32 fixes 2012-03-27 18:33:58 -03:00
Eduardo Bart
f62f507813 just fixes
* clean map when relogging
* fix otclientrc.lua reloading
* fix game disconnection messagebox
* fix animated texture
2012-03-19 14:54:47 -03:00
Eduardo Bart
c0611bfe2a restore some game functionallity
* i'm gradually restoring game functionality with the new modules design, though still a lot to do
* you can reload all scripts and modules using Ctrl+R shortcut while playing (finally! this is the reason of all this rework)
* a bunch of fixes, but new regression too :P
* fix performance issue that could lead freezes in the client in older machines
* completely new game module with new design
* fix crashs in map render
* remove uigame.cpp (now every game input is via lua)
* enable DEBUG macro by default, with it you are able to view any possible lua leak while running
2012-03-18 10:35:45 -03:00