Commit Graph

60 Commits

Author SHA1 Message Date
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
BeniS 7f5dda5c8f Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code
* Fixed "reload all" issues
2013-02-01 17:32:15 +13:00
BeniS 35e5dd8af8 Topmenu fix
* Will no longer duplicate topmenu buttons (no need to destroy in the module now)
* Menu items will no longer change position when reloaded.
2013-02-01 14:47:15 +13:00
Eduardo Bart abcc95634e Redirect violations msgs to default channel 2013-01-31 01:11:36 -02:00
Eduardo Bart d6e8e92a45 Some fixes in hotkeys and other improvements
* Save last logged character and world instead of character name
* Make focused label always visible in character list and hotkeys
* Other fixes in hotkeys
2013-01-28 16:33:35 -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 32c5f4285b Closes #210
* And minor adjustments
2013-01-25 17:26:51 -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
Eduardo Bart 7e52c4e449 Make otclient login into cipsoft servers again 2013-01-17 18:24:41 -02:00
BeniS f93d79649f Some minor fixes.
* Mount options will no longer display in unsupported protocols.
* Fixed a bug with opening outfit window while its already open.
* Fixed base speed stat when using unsupported protocol.
2012-08-25 17:02:07 +12:00
BeniS ecd1ec5c0d Some overall fixes:
* Fix to market constraints.
* Fixed bug with skill percent not rounding.
* Dereference textEdit variable properly.
* Fix to the outfit window regarding mounts.
* Added enableResize to UIMiniWindow.
* Some minor edits.
2012-08-23 02:21:02 +12:00
Henrique Santiago 8d89d1194a More fixes to miniwindow 2012-08-21 18:40:47 -03:00
BeniS 01a8e57a3c Battle modules filtering buttons no longer scroll, fixed skill modules regeneration alert. 2012-08-21 18:13:16 +12:00
Henrique Santiago 2142ee765d Fix issue #21, but miniwindows can be a lot smarter 2012-08-21 02:35:20 -03:00
Henrique Santiago 4caf5bfcac Fixed issue #24 2012-08-20 20:56:27 -03:00
Henrique Santiago ac8d6891ca Polish interface, pt translations 2012-08-20 18:58:43 -03:00
BeniS 518e123a08 Added missing talk message types, few minor fixes. 2012-08-21 01:22:47 +12:00
BeniS 4ed52059f7 Forgot to change this back in previous commit.
* Skills that hit 0 will be factored into setSkillBase function.
2012-08-21 00:44:30 +12:00
BeniS 1d20cc9e4b Finalized the mount system and the recently new skills/stats.
* Added mount options to the thing menu.
* Reworked the mounting/dismounting.
* Fixed up some skill module bugs.
* Added alerts to stats like health, mana, capacity, and regeneration time (need to revise this one as it currently has no maximum).
2012-08-21 00:28:19 +12:00
BeniS 8cd8829048 Some more on new skills/stats.
* Fixed updating issue.
* Fixed refreshing issue.
2012-08-19 23:03:44 +12:00
BeniS 367955615e Minor fix for recent skill changes. 2012-08-19 20:08:20 +12:00
BeniS d237087718 Added new stats to the skills module, fixed minor market error.
* Added Offline Training information.
* Added Regeneration Time information.
* Added Speed information.
* Added base stats/skills information (will show the players increase in a skill e.g. magic level 43 = 40 + 3 bonus from an item).
* Fixed the game feature constants in const.lua.
* Fixed a market error when logging out.
* Added removeTooltip function.
2012-08-19 13:19:43 +12:00
Henrique Santiago 4d2bd54f6b Fixed #12 #28 #51 issues 2012-08-17 18:37:11 -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 1c3e630237 Improve modules and sandbox system 2012-07-23 21:22:38 -03:00
BeniS 8850528091 Updated Top Menu, Health Info, Combat Controls, Console (Channels), Game Toggle Buttons, Minimap Layout, Game Interface Prompts, and Creature Draw Info.
* Added new left and right game button panels.
* Relocated main game toggle buttons to the right side of the screen to make it easier to toggle miniwindows.
* Added table.empty(t) function to table lib.
* Renamed module game_healthbar to game_healthinfo.
* Combat controls now save per character (e.g. Fight mode, chase mode, safe fight mode)
* Last channels open now save per character.
* Fixed typo in containers.lua.
* Added logout prompting window message when you logout via the logout button.
* Added exit promting window message when you attempt to exit the client.
* Repositioned some minimap buttons.
* Fixed so when creatures health percent is < 1 it will not draw the creature information.

Known Issues:
* If you move a container widget into the map rect if you move an item onto itself it will allow this to execute still dropping the item on the ground.
* The server is calling to open channels after onGameStart is executed causing it to focus the last tab opened. Fix: Don't save channels to the settings that are opened by the server.
2012-07-13 04:45:22 +12:00
Eduardo Bart 98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -03:00
Henrique Santiago 39403e612f Fixes to miniwindows 2012-06-24 09:41:50 -03:00
Henrique Santiago a7c17cec2e Save miniwindows states 2012-06-21 16:31:36 -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 788a831f24 bug report module
* change modules authors and website
* avoid anchors recursivity crash
* update README
2012-05-01 10:06:38 -03:00
Eduardo Bart ceb051cb75 finally reloadable vip, skills, inventory, chat and minimap 2012-04-27 03:30:54 -03:00
Eduardo Bart d0b839a4eb fix warnings and some reloading issues 2012-04-27 01:54:14 -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
Henrique Santiago ca0e1bd38b more locales changes 2012-04-26 13:45:25 -03:00
Eduardo Bart a475384b73 ui fixes
* fix viplist
* fix skills update
* fix mouse grabber
* minimize send interval
* add api to get world name
2012-03-29 16:25:04 -03:00
Eduardo Bart 8d14d9bc99 restore old modules
* partially restore vip, battle, healthbar, skills and inventory modules
* more fixes on UIWidgets
* implement UIMiniWindow close/minimize functionality
* allow drag and drop miniwindows beteween game panels
2012-03-28 11:10:21 -03:00
Eduardo Bart 239f58296e restore inventory and healthbar
* make inventory/healthbar work again allowing reload
* changes in top menu toggle buttons
* all modules are now reloadable by default
* fix warning when using fade in
* remove some unused files
2012-03-23 10:48:05 -03:00
Eduardo Bart 33458a3e39 modules changes
* speedup widget destruction checks
* rework outfit module using grid layout and the new design
* fixes in console, terminal, textmessage modules
2012-03-22 18:47:52 -03:00
Eduardo Bart 159eb98df2 introduce startup options
* startup options with -help and -version
* many startup options for graphics
2012-03-22 13:10:12 -03:00
Eduardo Bart e03bf33f58 BEAWARE all game functionality is disabled with this commit for a while
* rework client modules
* hide main window when loading
* remake top menu functions
* rework modules autoload
* improve path resolving for otml and lua
* move core_widgets to core_lib
* fix tooltip issues
* split some styles
* add bit32 lua library
* fix assert issues
* fix compilation on linux 32 systems
* rework gcc compile options
* renable and fix some warnings
* remove unused constants
* speedup sprite cache
* move UIGame to lua (not funcional yet)
* fix a lot of issues in x11 window
* fix crash handler
* add some warnings do uiwidget
and much more...
2012-02-20 00:28:13 -02:00
Eduardo Bart a8c9980a5c bind lua functions for questlog/npc trade/trade/channels/text edit/list edit/containers 2012-02-09 01:45:19 -02:00
Eduardo Bart 175f97b98f reaname and cleanup many stuff 2012-02-08 19:23:15 -02:00
Eduardo Bart 09b3aa82df add onGameStart/onGameEnd/onLogin/onLogout events 2012-02-07 21:54:33 -02:00
Eduardo Bart f97104f12e replace require with dofile, rename Hotkeys to Keyboard 2012-02-06 02:39:52 -02:00
Andre Ricca da Costa 882b7ec026 double click funcionalities and some fixes 2012-02-03 04:20:58 -02:00
Eduardo Bart d500de9aa0 change in topmenu and some fixes 2012-01-23 11:47:15 -02:00
Eduardo Bart 9ec40f016d implement API to save lists in configs file and terminal history 2012-01-15 13:13:22 -02:00
Eduardo Bart 5e5ddae167 some UI changes 2012-01-14 17:31:20 -02:00
Eduardo Bart 0e88b03693 styles adjustment 2012-01-11 10:06:59 -02:00