Commit Graph

61 Commits

Author SHA1 Message Date
TheSumm eb3c244023 More Market fixes
* Fixed NextButton and PreviousButton style
* Little update to SpinBox including dontSignal
* Market cleanup and more check to be safe
* Limit Market amountWindow by player balance
* Set proper maximum amount when creating offers
* Fixed fee label not calculating the correct fee sometimes
2015-01-25 02:28:53 +01:00
TheSumm 3157e7924f Market updates, now using showAs / tradeAs so every items works properly, some cleanup / bug fixing 2015-01-23 02:52:05 +01:00
TheSumm 92e2e8224f Added market message, reworked text messages a little 2015-01-22 20:38:28 +01:00
TheSumm 607dab01d6 Added Market column sorting (fixes #429), updated UITable and fixed not working methods 2015-01-21 23:40:15 +01:00
TheSumm b5cea41f87 Market fixes
- Market now works after reloading
- Fixed button / tab styles
- MarketRightTabBarButton now inherits the base style
- Fixed amountWindow buttons being hardly clickable
- "All" search filter is now on by default
2015-01-20 14:34:45 +01:00
BenDol 16f6a0019c Fix dat loading issue with 10.00 & minor outfit window fix. 2014-12-30 17:27:53 +13:00
BenDol d7429c201c Started 1050 implementation and fix ups:
* Dat now loads (new animations aren't yet functional).
* Fixed the way we reference client versions.

TODO: Write new animation functionality & find out protocol changes.
2014-08-03 10:02:28 +12:00
Sam d30ff220f6 Fix market anchoring, closes #464 2014-02-06 14:04:22 +01: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
BeniS b61094c053 Minor fix to scroll bar 2013-02-20 15:03:45 +13:00
BeniS 3b9acab7a1 Fixed Market laoding and 'search all' issue. 2013-02-20 14:44:06 +13:00
BeniS e87e669c87 Few market UI fixes 2013-02-19 23:19:43 +13:00
BeniS 0b29a4b466 Fixed market selling 'amounts' 2013-02-13 05:30:00 +13:00
BeniS cb42481edd Market fix, and a few other things:
* Added 'button' param to g_mouse.bindPress
* Added 'lower' param to table.contains
* UIComboBox:onOptionChange should signalcall?
* Changed the experience bar color
* Market buy/sell 'amount' window will now show the cost
  of the amount you are selecting
2013-02-13 05:14:16 +13: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 ec30567d6b Some fixes to spells/cooldowns.
* Fixed 'progress' bug for spells in the cooldown module.
* Fixed a bug with GameForceFirstAutoWalkStep feature.
* Moved the spells ID to its SpellInfo row.
* Lower cased table functions (consistant).
2013-01-29 19:26:32 +13:00
Henrique Santiago c3eede9872 Changes to translations 2013-01-24 11:33:53 +00:00
Eduardo Bart 4f6c987d77 Fix regression in market 2013-01-18 21:29:10 -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 ada2c9efe9 Fix buy/sell of stackable items on 8.6 2013-01-17 16:10:55 -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
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
BeniS 9c497f72f9 Added styling option for UISpinBox buttons. 2012-08-29 01:40:04 +12:00
BeniS 3baf2b809d Moved UICreatureButton class to the gamelib directory, minor market fix. 2012-08-26 21:00:50 +12:00
BeniS 0763b266d5 Some more UI updates and fixes.
* Added UICreatureButton class for handling/replacing "battle buttons" (can now be used in other modules).
* Added the ability to use items on creatures via the battle window.
* Some minor cosmetics.
2012-08-26 04:05:33 +12:00
BeniS 621b1402c5 Fix market error when logging out, added 910 protocol support. 2012-08-23 15:02:18 +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
BeniS 4ce9c921c1 Previous commit and this commit should finish #58 2012-08-19 13:40:04 +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
BeniS 4793908657 Added 944 to protocol support, minor market fix.
* Items board is now update correctly on entering market.
2012-08-16 09:25:45 +12:00
BeniS c4c29be272 Added new market buttons: Close, Refresh Offers, and Reset Market.
* New refresh offers function.
* Fixed Market.reset function.
2012-08-15 23:56:29 +12:00
BeniS 2bd1e0f6c4 Some optimization to the market.
* Market items are not cached to their categories.
* Fixed onMarketLeave issue.
* Few minor fixes.
2012-08-15 16:58:56 +12:00
BeniS ec934cacdf Some minor market fixes.
* Fixed a display bug (need to look into this more to find full issue)
* Removed debug prints from previous commit.
* Other minor edits.
2012-08-15 04:18:58 +12:00
BeniS b93ea86260 Checked off some Market TODO's.
* Added some market offer constraints: offer creation exhaustion and now checks balance to validate sell offers.
* Fixed the depot updating issue (no longer requires updateDepotItemCount function)
* Can now silence the MarketProtocol messages.
* Few minor market fixes.
2012-08-15 03:45:26 +12:00
BeniS bd61a89675 Some fixes with layouts, NPC trade window, and market. 2012-08-07 11:13:33 +12:00
BeniS 26c196cdb0 Some more work on the Market.
* Added Finalizing TODO list for anyone that wants to work on some missing areas (I am busy with work so any help from the community will speed it up).
* Added market item key word searching.
* Removed the search tab in replace for overview tab that can be used for extended functionality later.
* Few minor additions.
2012-08-06 02:42:54 +12:00
BeniS a5c3029e5b Some minor fixes for the market.
* Max sell offer amount is now setting correctly.
* Items widget is now clearing properly (tidy).
* Depot will refresh when you sell items in the sell offers.
2012-08-03 02:50:40 +12:00
BeniS cadf07974a Fix to market module reloading, Changed the walk lock period when colliding with a block path object. 2012-08-02 11:04:29 +12:00
Eduardo Bart 614d1544c0 Fix market reload and a crash when exiting 2012-07-31 11:42:26 -03:00
BeniS ce4f88b61d Missed from last commit to fix offer creation with non stackable items. 2012-07-31 22:45:41 +12:00
BeniS 82bfdc566f Fix market issue with non stackable items. 2012-07-31 21:47:24 +12:00
Eduardo Bart 64760f0892 Update sv and pt locales 2012-07-30 22:34:55 -03:00
Eduardo Bart 1de9faa93e Update missing translations table 2012-07-30 20:52:31 -03:00
BeniS 1281b04a6a Some small fixes. 2012-07-31 00:33:10 +12:00
BeniS 70fba12d6c Some more market fixes and ascetics 2012-07-30 20:02:02 +12:00
BeniS a914d31afb Finished accepting buy/sell market item offers, few minor fixes. 2012-07-30 02:07:55 +12:00
Eduardo Bart 68ebcb559f Fixes for compiling with clang 2012-07-29 09:04:47 -03:00
BeniS 6c281a828c Market fixes for creating offers, got Tibia working properly with market, fixes to statistics. 2012-07-29 01:41:10 +12:00
Eduardo Bart d85dd3e20f Normalize source code
Add .gitattributes
Remove trailing whitespaces
2012-07-28 02:07:57 -03:00
BeniS 7aba117cf2 More market work (getting close to completion)
* Can now create market offers with fully working UI.
* All filtering is now completed (just need to finish word searching).
* Added some user friendly features to offer selections and item displays (show amount in depot).
* Some more UI ascetics.
* Some other minor market fixes.

TODO:
* Finishing applying changes for latest module updates by edubart.
* Finish buying/selling existing offers.
* Word searching items.
* Offer management.
* Full cipsoft tibia testing.
2012-07-27 15:53:42 +12:00