Commit Graph

1817 Commits

Author SHA1 Message Date
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 8de7873635 Fix spacing in NPC Trade Windows
Adjusted Text offset of the NPCItemBox for the NPC Trade Window so that
the text is no longer partially hidden behind the item.
2013-01-09 20:40:16 -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
Eduardo Bart cce2976156 Many enhancements in client API
* Fix issues in item use
* Stack animated texts values
* Add utility functions for changing creature color and jumping
* Add some new extended functionality
* Improve map shader API
2013-01-09 17:29:58 -02:00
Eduardo Bart aeb31f0669 Fix boost locale linkage 2013-01-09 14:57:34 -02:00
Ben Dol a8c9adb052 Merge pull request #184 from Quintinon/master
Fix for Issue #162 - NPCs Trade window showing Sell items correctly
2013-01-09 00:51:54 -08:00
Jeffrey 607a6a13bc Fix Sell tab of NPC Trade
If an item had both a sell and buy price, it was only being added to the
buy list.
2013-01-08 23:26:56 -06:00
Eduardo Bart 0120b7554c Restore support for animated png files
* Rework resource manager
* Add missing files
* Improve some graphics classes
2013-01-08 19:31:41 -02:00
Eduardo Bart fdcad184f9 Fix platform issues regarding charsets
* IMPORTANT: A new dependency is required, boost_locale, comes with boost 1.50.0 or later
* Copying and pasting special characters should now work
* Running otclient from filepaths with special characters should work now too
2013-01-08 18:45:27 -02:00
Eduardo Bart b52c52cd36 Fix possible crashs when using server class 2013-01-08 18:05:24 -02:00
Eduardo Bart 5344a179a4 Many UI improvements and minor fixes 2013-01-08 18:01:47 -02:00
Eduardo Bart a8d3bb97ea Minor changes in sql classes 2013-01-08 17:44:05 -02:00
Eduardo Bart 9d5abb0243 Fix minor issues in item drawing
* Add some utilities functions
2013-01-08 17:40:25 -02:00
Eduardo Bart 122577a916 Just rename some files
* Fix a server ping issue
2013-01-08 16:32:05 -02:00
BeniS 8d07f8eaf6 New sexy 'move stackable item' window! 2013-01-09 06:59:03 +13:00
BeniS a1a8d28f5c Auto walker update must be done from C++ not lua due to bot protection.
* Moved the auto walk checker to the source.
* Implemented a temporary fix for findPath method (will now choose other tiles over null tiles).
2013-01-09 04:32:37 +13:00
Ben Dol 493202afcf Merge pull request #176 from Quintinon/master
Minor Tweaks to UI and Fixed an error in NPC Trade
2013-01-08 03:47:38 -08:00
Jeffrey 52f0b21ea6 Fixed error in the NPC Trade system error message
item[1] was user data, so the error message now prints out the item
name.
2013-01-08 00:30:33 -06:00
Jeffrey a1f5a88fe7 Minor Edits to UIMiniWindow
Allow for a double click on the Top Bar of a UIMiniWindow to function
the same as pessing the minimize/maximize button.
2013-01-07 23:09:00 -06:00
Jeffrey 9610106088 Merge remote-tracking branch 'upstream/master'
Conflicts:
	modules/game_viplist/viplist.lua
2013-01-07 21:23:14 -06:00
BeniS 702fce0be8 Fixed #169 Thanks Quintinon and #170! Also some other fixes:
* Fixed calling local in an if statement where it is not required (lol).
* Fixed an issue with the auto walk checker.
2013-01-08 15:55:41 +13:00
Jeffrey 5921c8e420 Fixed Exit button not being created
It will now show/hide appropriately instead of not being created and
thus throwing errors.
2013-01-07 20:22:32 -06:00
Jeffrey 4c0c6e635e Fix Vip List sorting
Fixes Vip list sorting issues for both alphabetical sorting and
online/offline sorting. Fixes Issue #169
Tested in 8.61
2013-01-07 19:38:23 -06:00
BeniS 3ed2eeb104 Oops fixing this from last commit. 2013-01-08 06:17:58 +13:00
BeniS bb139955dc More fixes and edits!
* Fixed a bug with client_exit module button appearing on full reload.
* Fixed the battle window to work properly now (left click: attack, right click: menu).
* Added auto walk checker for more accurate aut walking:
  - It will always find the path now, except in rare occasions gets stuck running back and forward
  - Re-calculates path every 10 steps and also when you hit an object that cancels your step.
  - Right now this is just a temporary method.
  - Cancels the checker when you move or press escape (has to be done client-side).
* Added a new setting to UIComboBox class 'mouse-scroll' to enable/disable mouse wheel scrolling.
* Added support for no ping in cooldowns.
* Added missing PlayerStates (hungry and bleeding).
2013-01-08 06:17:01 +13:00
BeniS fddbafebd3 Fixed #165, Fine tune fixes!
* Fixed an issue with the cooldown timing.
* Fixed issue with 'right click' using items under players.
* Some changes to the minimap control (ctrl + mouse wheel to
  change floors and tweaked the zoom/move speeds).
* Fixed some bugs in the trade module.
* Added new Spells table for spell related functions
  (Also added getSpellByName and getSpellByWords).
* Fixed an issue with follow/attack cancelling (wasn't calling
  onFollowChanged for updates in battle, etc).
2013-01-07 04:04:49 +13: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 ca46b5033e More progress on cipserver login for pv973 and a few fixes.
* Fixed the "options" module hotkey (changed boost walker to Ctrl+Shift+D).
* Fixed a small issue with UIMiniWindow:setup() function (was setting parent before its pos).
* Pic signature has changed for cipsoft client.
* Fixed 'client type' byte position in the login packet.
* Changed the ping function to execute every 4 seconds rather than 2.
* Changed some protocolgame for pv973 support.
2013-01-04 11:42:02 +13:00
BeniS c47641d7e1 Merge branch 'master' of https://github.com/edubart/otclient 2013-01-03 21:25:00 +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
Henrique Santiago 2aeec22ef8 Fix items draw inside uiitem 2013-01-03 04:24:07 -02:00
BeniS 644241badb Fixed issue #160 and an issue with entergame module. 2013-01-01 05:34:15 +13:00
BeniS 8cdab5c814 Tested and fixed #155
* Also fixed a typo in the game_tibiafiles module.
2012-12-31 00:32:09 +13:00
BeniS fcdf2286b6 Fix issue #155 (only tested on pv973)
Please let me know if pv870+ works now.
Note:
 * pv = protocol version,
 * cv = client version
For people wondering.
2012-12-30 20:53:24 +13:00
BeniS abf0ee4303 More walk control optimization and fixes:
* Finished off the walking control optimization! (Should be smooth controlling now).
* Fixed issue #151
* Fixed an issue with the character list.
* Fixed a bug in the g_keyboard.isKeySetPressed function.
2012-12-30 19:14:49 +13:00
BeniS 1782de7336 Game control precision edits and many other fixes:
* Updated the walking(mouse/keys) control to be a lot more responsive/smooth!
* Updated creature diagonal steps to animate faster (due to demand).
* Added a warning popup for boost walker option in cipsoft servers.
* Added KeyUp event controls in the g_keyboard class.
* Fixed an issue with the minimap not reconfiguring.
* Fixed a bug with creature lights drawing properly.
* Fixed refreshContainer method.
* Some layout edits.
* Some minor typo fixes.

TODO:
* Add walk event stack.
* Test new walking edits extensively.
* Finish pending state feature.
2012-12-30 06:41:14 +13:00
BeniS 8961f4dfd4 Some fixes and design tweaks:
* Fixed the game_viplist module to work with the latest vip protocols.
* Fixed a referencing error in the game_cooldown module
* Started editing the design of the popupmenu (needs more work).
2012-12-29 05:15:57 +13:00
BeniS 034c768994 Compatibility fix to cv981 new speed law.
* Also a minor fix to setting client version.
2012-12-29 02:34:36 +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
BeniS 619285069c Started updating to 9.8+ features, not yet finished (unsafe version).
Need to finish:
* Pending login state
* New creature speed changes
* Vip state displays

Fixed:
* Creature light
* Missing lua constants

If someone can finish this off that would be good,
I will be busy for a while :)
2012-12-27 02:56:06 +13:00
Samuel a86449dea9 Fix to minimap navigating
Navigating now uses left mouse button (right mouse button for map mark
menu)
2012-12-15 13:26:27 +01:00
Eduardo Bart ec8d50497b Fix http://otland.net/f494/otclient-error-171679/ 2012-12-08 16:14:10 -02: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 5de031fb8b Workaround for issue #146 2012-12-03 21:26:58 -02:00
Eduardo Bart f5b3bfda11 Lights minor fixes 2012-12-03 21:18:39 -02:00
BeniS dc6d2bb078 8bit color shouldn't be higher than 216, by mistake. 2012-12-03 16:47:21 +13:00