Commit Graph

631 Commits

Author SHA1 Message Date
Eduardo Bart 325b711181 Fix some issues in battle 2012-08-03 02:58:48 -03:00
Eduardo Bart f397e6319c Reimplement battle using new events, no more scheduleEvents 2012-08-03 02:05:09 -03: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
Eduardo Bart 5ecb890b06 New utility command: debugPosition() 2012-08-02 11:02:36 -03:00
BeniS ac65ea5843 Fix action menu bug. 2012-08-02 22:14:29 +12:00
Eduardo Bart 76d32b5493 Fix click regression 2012-08-01 23:05:02 -03:00
Eduardo Bart c9eaa73df5 Improve clicking on walking creatures 2012-08-01 22:47:55 -03: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 6ef44d462d Update todo, fix minor error 2012-07-31 02:38:22 -03:00
Eduardo Bart 90312965bc Avoid spr loading freeze when logging 2012-07-31 01:09:55 -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 64760f0892 Update sv and pt locales 2012-07-30 22:34:55 -03:00
Eduardo Bart 2993853fe0 Fix death message 2012-07-30 21:57:31 -03:00
Eduardo Bart 1de9faa93e Update missing translations table 2012-07-30 20:52:31 -03:00
Eduardo Bart 3db0ae06a7 Add swedish language 2012-07-30 20:52:31 -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
BeniS 1281b04a6a Some small fixes. 2012-07-31 00:33:10 +12:00
Eduardo Bart 52f81c53f9 More fixes for 9.6
And add ping bindings :D
2012-07-30 07:59:08 -03:00
Eduardo Bart 05436e135a Fix some bugs 2012-07-30 05:51:03 -03: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
Eduardo Bart e0431021b5 Huge engine change, replace all std::shared_ptrs
Create a new shared pointer type stdext::shared_object_ptr and stdext::shared_obj
using boost::intrusive_ptr

Advantages:
 * half memory usage
 * faster and lightweight

Disadvantages:
 * using weak_ptr is not supported anymore
 * compiling seems slower
2012-07-29 00:34:40 -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 20314de00a Fix corelib tr 2012-07-28 02:29:26 -03: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
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 d2b85bdba8 More modules fixes 2012-07-26 19:13:47 -03:00
Eduardo Bart 9ad9d88e10 Fix npc trade and npc chat 2012-07-26 12:42:15 -03:00
Eduardo Bart 0a49f58e50 Fix crash when InputMessage is too large 2012-07-26 11:03:57 -03:00
Eduardo Bart 0eb7c166c0 Fix console blue messages 2012-07-26 09:19:30 -03:00
Eduardo Bart 657640c270 Mounts
Show creature mounts
Fix outfit window
Fix some 9.6 protocol issues
2012-07-26 09:19:30 -03:00
BeniS 5419eece66 Some minor fixes
* UISpinBox bug with minimum/maximum
* Some fixes to UITable
* Fixed force exit bug.
* Added new next/previous ui buttons.
2012-07-26 22:22:53 +12: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 c795eb91ab More multiprotocol support 2012-07-26 03:10:28 -03:00
niczkx e393bc245d BeniS made tests, loop is faster. 2012-07-24 17:02:56 -06:00
niczkx 45d55b63d9 typo 2012-07-24 14:00:38 -06:00
niczkx 1e2af86d16 http://lua-users.org/wiki/StringsTutorial learn plz *facepalm* 2012-07-24 13:49:19 -06: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 1c3e630237 Improve modules and sandbox system 2012-07-23 21:22:38 -03:00
BeniS 19dd96fd02 Market item filtering improvements and other some minor improvements
* Can now filter market items by vocation, level, slot type, and depot items.
* Added new bitwise lib for handling flag operations.
* Can now get/set local player vocation/premium (TODO: spell list).
2012-07-24 03:11:53 +12:00
Eduardo Bart dc8ef845ab Warn redefined key bindings 2012-07-23 01:44:15 -03:00
BeniS bacb324f9e Work on the Market Interface (feel free to test it out so far, can't purchase items through the UI yet), More on UITable (needs work on headers still).
* Tables can now have headers (the layouts will require some more work before read to be used formally).
* Finished Market offers display, Item details display, and Item statistics display.
* Added getSelectedWidget to UIRadioGroup class.

Market TODO:
* Create buy/sell offer.
* Purchase sale offer or accept purchase offer.
* More item filtering features (weapons, types, depot only, vocation, etc).
* Item searching feature.
* View your offers (history/current).
* UI touch ups and optimizations.
2012-07-23 02:02:01 +12:00