Commit Graph

114 Commits

Author SHA1 Message Date
Samuel e8d0996817 Ignoremodule lowercase | German locale file 2013-01-19 19:02:22 +01: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 1b6be92cad Minor fix to previous commit and added mouse scroll option to UIScrollBar class. 2013-01-11 20:10:37 +13:00
BeniS 00a574fe10 Fixed #178, and some others:
* Fixed a small issue in the ignore module (also please remember to use 2 spaces for tabulation and not tabs)
* Changed the order of count window buttons
* Added new player functions.
2013-01-11 06:25:32 +13:00
Jeffrey c43a97395a Fixed a Typo
Function name was misspelled
2013-01-09 21:46:30 -06:00
Jeffrey c6ab6bc484 Ignore/Unignore options in right click menus
Added both Ignore and Unignore options in the right click menu for the
Game Window (which also added it for the Battle list), and in the right
click menu for the console (chat window).
2013-01-09 21:20:26 -06:00
Jeffrey b72c1d2921 Fix whitespace
Forgot to replace tabs with spaces
2013-01-09 20:35:05 -06:00
Jeffrey 74d3214f74 Fix Ignore Module warning
Ignore list label was destroyed when removed, giving a warning when
closing the Ignore Window.
2013-01-09 20:33:05 -06:00
Samuel 59594b4ac2 Fix Ignore Module / NPC highlighting
Edu removed the spacer character.
Don't know if it was intentional or not, I will just add it here again.
2013-01-09 23:54:57 +01:00
Samuel 1784bd9f26 Ignore Window in Console / Fixes
Ignore List:
- Ignore Private Messages
- Ignore Yelling
- Ignore added Players fully

Fixes:
- Fixed cutoff text in spelllist module
- You cannot open a private chat channel with yourself now
2013-01-09 23:03:04 +01:00
BeniS 3fa5993177 Changed scrollbar style, and some other changes:
* Changed the scrollbar style to look a bit nicer.
* Fixed a typo in the EventDispatcher class.
* Added PlayerStates to player.lua.
* Minor tweak to console tab spacing.
* Add unbinding key 'Ctrl+Shift+D' in the options.
2013-01-05 20:57:31 +13:00
BeniS fc55c6b524 Interface edits, additions, and fixes:
* Added a new module for exiting the client (client_exit).
* Added tab spacing to the UITabBar class.
* Added tab popup menus for things like channel tabs.
* Impelemented channel tab popup menus (still need to be finished).
* Fixed UITabBar tab draging (will now change after dragged half way over the
  next tab, not 2 pixels).
* Fixes to the client_options module.
* Edited some UI settings.
* Changed game_cooldown and game_spelllist menu button icons.
* Fixed some typos.
2013-01-03 21:24:07 +13:00
BeniS 644241badb Fixed issue #160 and an issue with entergame module. 2013-01-01 05:34:15 +13: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
Eduardo Bart 7c48a98b67 Minor fixes
* Fix auto openning channels with id 0 (guild chats)
* Minor fix in print
* Fix use of items behind creatures with classic control
* Fix teleports of 1sqm
2012-12-08 16:08:54 -02:00
Eduardo Bart 7114946278 Fix issue #112 2012-10-23 17:15:59 -02:00
Samuel f48fb4343f Moveable Tabbars, Stretch/Shrink Fix
Added key 'moveable' to tabbars
(tabbars are ordered with margins now, not with anchors to the previous
widget)

If stretching is forbidden by options the mapPanel will now update when
the window is resized
2012-10-10 22:20:32 +02:00
Samuel 95e46dbbaf Fix: Multiline npc messages
- Multiline npc messages with curly braces will now display correctly
- Curly braces are no longer shown in screen
- Removed some tabs  in spellsystem :S My bad ..

TODO: Hightlight text in screen area not only in console?
2012-10-09 20:34:39 +02:00
Eduardo Bart 5756f20026 Fix orange text bug for protocol >861 2012-10-05 19:18:16 -03:00
Samuel 6c2539bbd4 Added support for curly braces in NPC chat
-Added overlay to the default consoleBuffer for highlighting
-Char 127 now is used as spacer (Width 1)
-Supports default font "verdana-11px-antialised"

http://i.imgur.com/8drWH.png
2012-10-05 17:50:54 +02:00
Eduardo Bart 394f7a7821 Fix issue #104 2012-10-04 19:50:18 -03:00
Henrique Santiago 0e67bd97a5 Moved some talk code to lua 2012-08-07 13:33:17 -03:00
Eduardo Bart 54f4e2b801 Fix console error 2012-08-06 20:54:56 -03:00
BeniS bd61a89675 Some fixes with layouts, NPC trade window, and market. 2012-08-07 11:13:33 +12:00
Eduardo Bart 6ef44d462d Update todo, fix minor error 2012-07-31 02:38:22 -03:00
Eduardo Bart 49a8c750f9 Fix opened channels saving 2012-07-31 00:53:15 -03:00
Eduardo Bart 6c159333dd Fix displaying npc messages in screen center 2012-07-30 22:45:45 -03:00
Eduardo Bart 59b6abfa09 Implement message modes for 9.6
Fix possible crash when closing otclient
Fix private messages
Fix messages in 9.6
2012-07-30 09:33:52 -03:00
Eduardo Bart 2b2f5b33ff Fix hidden npc messages 2012-07-26 20:36:51 -03:00
Eduardo Bart 964c73a6ad Debug unknown message modes
Fix broadcast message mode
2012-07-26 19:32:23 -03:00
Eduardo Bart 9ad9d88e10 Fix npc trade and npc chat 2012-07-26 12:42:15 -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 bb52608cda Fixes for last commit 2012-07-24 02:41:59 -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 9bfd2617e9 Fix some lua errors 2012-07-12 22:26:08 -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
Kamil de873448b5 Updated. 2012-07-11 05:43:33 -03:00
Kamil 4aeb9edfae Reopen last channels on login. 2012-07-11 05:43:33 -03:00
BeniS 82233dc655 Changes/Fixes to Channels/Hotkeys/Inventory Slots.
- Fixed issue with opening multiple instances of the same message channels (will focus the channel if already exists).
- Added tooltip to the 'Clear message window' button.
- Added keyboard Up/Down press for hotkeys.
- Added inventory slots/images.
- Started on adding soul
2012-07-11 00:15:31 +12:00
Kamil 85786efbd3 Fixed bug with adding Vip from console or map, who is already on viplist. 2012-07-09 08:59:16 +02:00
Eduardo Bart c05a7f6403 Add clear channel icon 2012-07-08 10:21:12 -03:00
Kamil f533e739c9 Added clear button to game console (in commit I didn't add icon). 2012-07-08 11:50:24 +02:00
BeniS 69cc53d7f3 Minor fix from last commit. 2012-07-08 02:44:53 +12:00
BeniS 4453242bee Adjusted chase modes to work correctly, added new option for auto chase override. Fixed NPC speak messages to appear in the correct position. 2012-07-08 02:09:50 +12:00
Eduardo Bart 98a1b611bf Refactor for documentation 2012-06-25 19:19:17 -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
Henrique Santiago 4bdcae2f8b improvements to skins 2012-06-19 05:46:49 -03:00
Henrique Santiago bae578a35a fix little mistake 2012-06-11 05:25:04 -03:00
Henrique Santiago c28aff1aa6 console ignore npc messages option 2012-06-11 05:17:52 -03:00
Henrique Santiago ea70b85c8b close private msg when relogin 2012-06-09 21:12:40 -03:00