Commit Graph

1572 Commits

Author SHA1 Message Date
Allan Ference 1ea2b380ca Disregard progressbar 2013-08-09 17:35:56 +02:00
BrunoDCC 4d498ed0d8 Fix OTBM save
Remove if(version > 1) { (it causes bug)
2013-08-07 20:04:21 -03:00
Allan Ference 9aa667da26 MapEditor: more changes for ease of use 2013-08-04 14:21:12 +02:00
Allan Ference e6db43ac3a MapEditor specific: Use colors for tile states 2013-08-04 14:19:10 +02:00
Mark Samman 4a04a18835 Fix login with 9.83-10.10
This only adds protocol compatibility, the features aren't actually
implemented yet
2013-07-28 07:05:46 +02:00
Mark Samman 261642190b Fix compiling on OS X 2013-07-28 04:30:52 +02:00
BeniS 95abf2a1d2 Fix a bug with autowalking & add prompt param for tryLogout.
(We don't want to be prompted when pressing Ctrl + Q or  Ctrl + L).
2013-07-07 05:36:56 +12:00
Sam 987c6d6c91 Mount display issue
fixes #275
Not really needed but enables some cool stuff
2013-07-02 23:16:11 +02:00
Sam b81590f297 Fixed Alt + F4 keycombo on Windows 2013-06-29 16:53:15 +02:00
BeniS e062562888 Added sublime text 2 project file.
* Changed the order of the dofiles params.
2013-05-12 21:16:43 +12:00
BeniS 18d23653c4 Added some control params to dofiles lua method.
* File name contains string.
* Recursive file checking for deep searches.
2013-05-12 17:00:52 +12:00
Sam cc12db0d1f Reverted getTopMultiUseThing() change 2013-04-09 23:54:10 +02:00
Joao Pasqualini Costa 57bb6ff974 Fix #315 by @pacmanis
Credits go to @pacmanis
2013-04-09 18:02:43 -03:00
Eduardo Bart b43a196eac Minor fixes and add auto resize for images 2013-03-15 21:59:22 -03:00
Joao Pasqualini Costa 6ef3508362 Properly Fix #301 2013-03-14 20:57:02 -03:00
Eduardo Bart a71e07f063 Restore walk optimization 2013-03-14 00:16:57 -03:00
Eduardo Bart 4bdd1e79fd Fix compile error for win32 2013-03-13 21:18:17 -03:00
Eduardo Bart e9e4dcd71b Improve walk when lagging 2013-03-13 20:55:20 -03:00
Eduardo Bart 0891e2b30a Add C++ traceback to errors 2013-03-12 01:36:36 -03:00
Eduardo Bart 24664714bd Fix rare but serious bug in Connection
* Implement output pooling for writing data in connection,
this should fix rare cases where sending would fail
2013-03-12 00:18:47 -03:00
Eduardo Bart 64fc4570c9 Try to fix compilation for gcc 4.6 [3] 2013-03-06 15:47:38 -03:00
Eduardo Bart 392acc0b43 Try to fix compilation for gcc 4.6 [2] 2013-03-06 15:40:47 -03:00
Eduardo Bart 69f72b9c86 Try to fix compilation for gcc 4.6 2013-03-06 13:05:46 -03:00
Eduardo Bart 489688e9fb Merge branch 'sql' 2013-03-06 13:00:21 -03:00
Eduardo Bart 61be2103ed Fix linkage 2013-03-06 12:54:27 -03:00
BeniS a7b27ef8dd Forgot to add MySQLResult lua binding 2013-03-05 20:33:27 +13:00
Eduardo Bart 44bf4dcb6e Fix ubuntu compile errors 2013-03-05 02:54:08 -03:00
BeniS 9305053e34 Few issues with compilation and layout 2013-03-05 17:47:43 +13:00
Eduardo Bart 1dd558d57e Revert "Use boost::thread instead of std::thread"
This reverts commit 71b5c5f2e4.
2013-03-05 01:47:23 -03:00
BeniS 15ee7962f1 Some minor clean ups 2013-03-05 17:31:19 +13:00
Eduardo Bart 8c016b143a Fix #294 2013-03-04 23:59:37 -03:00
Eduardo Bart 71b5c5f2e4 Use boost::thread instead of std::thread 2013-03-04 23:06:00 -03:00
Henrique Santiago 5396ea6231 Fix to last commit 2013-03-04 22:46:14 -03:00
Henrique Santiago 9955de573b Avoid infinite loop 2013-03-04 22:44:29 -03:00
Eduardo Bart 0be7bd5360 Implement async dispatcher #221 2013-03-04 18:56:22 -03:00
Eduardo Bart c452e74e0c Implement stdext::shared_ptr
It's an alternative to stdext::shared_object_ptr
with weak pointers support and some other functionallity, however
it's heavier, uses more memory, more allocation and slower,
this class should be used when really needed, prefer
stdext::shared_object_ptr
2013-03-04 13:14:35 -03:00
Eduardo Bart bdbe065c23 Add thread safety for std::shared_object_ptr 2013-03-04 10:47:07 -03:00
BeniS f4263384bc Fix boost issue on Ubuntu and fix MySQL lib issue
* Add framework options for configuration
* libboost_chrono-mt.a dependency issue (with clock_gettime)
* MySQL lib must be added before zlib
2013-03-04 18:03:04 +13:00
BeniS f50c63e9e5 Removed singleton instance & added more lua bindings
* Some tidying up
2013-03-04 04:11:29 +13:00
BeniS 48ac91d173 A few clean ups and also tested, its working fine 2013-03-04 01:27:07 +13:00
BeniS 8db85e4e3a Use stdext::millis not g_clock.millis 2013-03-03 19:43:25 +13:00
BeniS 02d32565e9 Work on sql framework classes 2013-03-03 19:19:22 +13:00
BeniS 3980f859b7 Forgot to remove header includes 2013-03-03 19:17:48 +13:00
Eduardo Bart c392bcca90 Fix win32 alt bug 2013-03-03 00:00:13 -03:00
Eduardo Bart 62921dee9b Fixes in options, hotkeys and viplist 2013-03-02 17:01:52 -03:00
BeniS 3ca85cbe87 Removed Position dependencies inside the framework 2013-03-02 18:33:14 +13:00
Eduardo Bart 32df317163 Fix luajit on Mac OS X 2013-03-01 17:14:18 -03:00
Samuel 884102833e OTB loading fix 2013-03-01 15:30:50 +01:00
Eduardo Bart 8314b84f69 Add live_textures_reload command 2013-03-01 05:46:55 -03:00
Henrique Santiago e85afd4b63 Platform modtime, little changes to entergame 2013-03-01 05:08:40 -03:00
Eduardo Bart dad3026ba0 Optimize terminal buffering 2013-02-28 21:35:35 -03:00
Eduardo Bart 9312d20a0f More terminal improvements 2013-02-28 20:10:36 -03:00
Eduardo Bart b804dd6959 Fixes and new tuned terminal 2013-02-28 18:46:42 -03:00
Eduardo Bart 69e762385e Warn when shared_object_ptr misused 2013-02-28 12:19:42 -03:00
Eduardo Bart e528fcc8f8 Minor fixes and improvements 2013-02-28 02:43:26 -03:00
Henrique Santiago 46aa0c005f Support to miniwindow margin, fix protocollogin connectCallback, pt translation 2013-02-27 23:45:03 -03:00
Henrique Santiago 864ac3fdd9 Pt translations, #286 2013-02-27 15:57:13 -03:00
BeniS 5f26303389 Added latest protocol/client support for cipservers 2013-02-28 04:38:48 +13:00
BeniS 0bf909d52f Fix #283 and more:
* Might have fixed death window issue but not confirmed
* Stop hotkey window from display while offline
* Moved some required features to >= 840 if statement
  (protocol 840/842 arent supported in otclient yet)
2013-02-28 01:01:51 +13:00
Eduardo Bart ef20f59a98 Fix new line in utf8 conversion 2013-02-26 18:31:09 -03:00
Eduardo Bart dc3559a5c0 Fix hotkey bug and compile error on Mac 2013-02-26 17:50:08 -03:00
Eduardo Bart d0576da69d Implement dash walking and zoom out again 2013-02-26 16:37:02 -03:00
Eduardo Bart 04f52d77d2 Walk ping is not supported anymore 2013-02-24 22:39:25 -03:00
Eduardo Bart 06e2b6eca2 Platform fixes and rework ping 2013-02-24 22:16:45 -03:00
Henrique Santiago a8c175452b Pt translations 2013-02-23 20:15:12 -03:00
Eduardo Bart 035ce26728 Fix link error in Mac OS X 2013-02-22 19:42:28 -03:00
Eduardo Bart 04c4943fa8 Remove boost::filesystem dependency 2013-02-22 19:29:58 -03:00
Eduardo Bart 09c937998f Dont use boost locale anymore 2013-02-22 18:49:36 -03:00
Eduardo Bart e4e3d7d053 New platform APIs and new OpenAL cmake 2013-02-22 16:53:49 -03:00
Eduardo Bart 5b573afdfc Change network errors message 2013-02-22 16:53:49 -03:00
Henrique Santiago 90d2032e9e More changes to painter 2013-02-22 03:31:13 -03:00
Henrique Santiago 3eeb5ae890 Painter became PainterOGL, new Painter generic class 2013-02-22 02:55:35 -03:00
Eduardo Bart 9a54bfcc90 Minimap, hotkeys and lot of other changes
* Begin working on a new layout system for UIMinimap and later UIMap,
this new layout system allows to add widgets to the minimap
* Add option to disable motd
* Rework hotkey binding
* Lots of fixes in hotkeys manager
* Add fullmap view using Ctrl+Shift+M
* Prevent some crashs in ThingType draw
* Add function to load minimap from PNG files
* Fixes in minimap saving
* Fixes in Tile::isClickable
* Add UIMapAnchorLayout, new layout for maps
* Fix freezes in win32 when pressing alt key
2013-02-21 17:03:05 -03:00
Henrique Santiago f8b078ea91 Little fixes 2013-02-20 21:50:45 -03:00
Henrique 33ce0aa704 A few more changes to dx9 2013-02-20 19:12:52 -03:00
Henrique bb304f9f4e Fixes to npc trade, begin native directx support 2013-02-20 15:41:28 -03:00
Eduardo Bart 67fc77d507 Add sell all button to NPC trade 2013-02-15 16:38:57 -02:00
Henrique Santiago ffcb65f365 Draw minimap background without map 2013-02-13 18:40:15 -02:00
BeniS adc01ab9e3 Proper fix for autowalk lag issue 2013-02-13 18:05:08 +13:00
BeniS 725a16e38e Fix a lag issue with auto walking
* Auto walking on unwalkable objects was still being processed
  by the findPath algorithm. Ed, if this algorithm shouldn't be causing
  lag spikes for the client, perhaps I should find the cause in findPath.
  For now this will fix the issue however.
2013-02-13 15:06:22 +13:00
Henrique Santiago b1bab32618 Fixes to lua 2013-02-10 02:05:02 -02:00
Henrique Santiago dfb0150a7d Fix signalCall, healthinfo tooltips 2013-02-10 01:17:20 -02:00
Henrique Santiago 11cb287a21 Changes to UIProgressBar, simplified healthinfo module 2013-02-09 19:57:37 -02:00
Henrique Santiago 25841e9c77 Merge pull request #267 from ricardoianelli/master
Rework on init/exit log messages.
2013-02-08 21:03:08 -08:00
Ricardo Ianelli cbeab6f9b0 Moving start messages to lua
Moved start log messages to lua, to make easier to enable/disable those
messages.
2013-02-10 02:28:47 -02:00
Eduardo Bart ea0d5f3d81 Fix compile error for OpenGL ES 2013-02-07 03:56:21 -02:00
Henrique Santiago 4f3be92208 Refix last commit 2013-02-07 03:37:57 -02:00
Henrique Santiago 3c3ba9ef4c Fix crash when clientid is invalid 2013-02-07 03:13:08 -02:00
Henrique Santiago 2f7a06e93e Full ground option in otml 2013-02-07 02:19:19 -02:00
Henrique Santiago 7f918a12a2 Old light method restored, it can be changed in lua now 2013-02-06 20:47:17 -02:00
Eduardo Bart 7f6a4bbbe5 Lightning is not additive anymore
Now otclient lightning may look like more tibia lights,
before this too many lights together would increase
brightness a lot, this won't happen anymore in cards
with OpenGL 1.4 or newer
2013-02-06 19:49:40 -02:00
Eduardo Bart 86c462eb4d Fix win32 compile errors 2013-02-06 18:48:23 -02:00
Eduardo Bart 7ece0ed8c7 Buttons for client options 2013-02-06 17:35:59 -02:00
Eduardo Bart cf77df05ca Fix possible leaks in stdext::format 2013-02-05 20:00:28 -02:00
Eduardo Bart dcd6249e8f Link ICU in Mac OS 2013-02-05 19:21:15 -02:00
Eduardo Bart f0ac63eb5c Disable crash handler in Mac OS 2013-02-05 19:10:22 -02:00
Eduardo Bart 637b6ceca2 Trying to get it compiling on Mac OS X 2013-02-05 19:03:18 -02:00
Eduardo Bart 86d06057ca Fixes to compile with libc++ 2013-02-05 18:30:16 -02:00
Eduardo Bart 717832b791 Other minor fixes 2013-02-04 19:40:12 -02:00
Eduardo Bart 0fc56c73cc Fix health colors 2013-02-04 15:50:15 -02:00