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
BeniS
6cd71ea02e
Closes #236
2013-02-02 03:38:17 +13:00
BeniS
e7012031eb
Fix auto walking bug
2013-02-01 12:46:44 +13:00
Eduardo Bart
36a60419ec
Fix some issues when reloading entergame
2013-01-31 14:19:41 -02:00
Henrique Santiago
546007f1df
UIImageView, fixes to minimap
2013-01-31 14:20:04 -02:00
Eduardo Bart
cb7f855fd8
Fix minimap crash
2013-01-31 13:39:56 -02:00
Eduardo Bart
a0b2504f11
More fixes in minimap
2013-01-31 04:15:10 -02:00
Eduardo Bart
89c012e81f
Improvements in minimap drawing
2013-01-31 03:38:06 -02:00
Eduardo Bart
654f71e75f
Fix autowalk sometimes not being canceled
2013-01-31 00:50:20 -02:00
Eduardo Bart
1bf77c35c6
Fix some minor bugs in widgets events
2013-01-31 00:21:39 -02:00
Henrique Santiago
17d09f41be
Rework UIMinimap
2013-01-30 23:44:57 -02:00
Eduardo Bart
5bf03c50d6
Rework hotkeys manager, fix many issues on it
2013-01-30 18:28:54 -02:00
Henrique Santiago
60986eb80f
Minimap fix and remove option
2013-01-29 18:36:27 -02:00
Eduardo Bart
ff9f82d0c8
Fix other compile errors
2013-01-29 16:56:50 -02:00
Eduardo Bart
80a7ecb3a4
Speed up compilation time for luafunctions
...
* Other compile fixes for gcc
2013-01-29 15:27:59 -02:00
Eduardo Bart
8d6ccb8d83
Fixes to compile with clang
2013-01-29 14:35:20 -02:00
Eduardo Bart
4751941e4f
Improve encrypt/decrypt algorithms
2013-01-29 11:51:15 -02:00
Eduardo Bart
26c6217bc3
Fix change of RSA keys
2013-01-29 10:37:15 -02:00
Eduardo Bart
b7eef97239
Add flexibility in login packets
...
* It's now possible to add custom data in the login packet
* Add utility funciton to generate RSA keys
* Make the protocol able to use RSA keys with 2048 bits or more
2013-01-28 20:52:03 -02:00
Eduardo Bart
d6e8e92a45
Some fixes in hotkeys and other improvements
...
* Save last logged character and world instead of character name
* Make focused label always visible in character list and hotkeys
* Other fixes in hotkeys
2013-01-28 16:33:35 -02:00
Eduardo Bart
773837da98
Minor changes in file type handling
2013-01-27 23:23:53 -02:00
Eduardo Bart
4536c68f00
Fix #249
2013-01-27 18:26:48 -02:00
Eduardo Bart
6966221e39
Fixes and improvements in find path
2013-01-27 16:58:44 -02:00
Henrique Santiago
2bd86d0695
Fix minimap zoom, blue name
2013-01-27 14:53:16 -02:00
Eduardo Bart
bcb3db4cdc
Fix #250
2013-01-27 14:25:44 -02:00
Eduardo Bart
e81dd31ae3
New lightweight minimap format, finish #15
2013-01-27 14:06:47 -02:00
Eduardo Bart
9aca1644e6
Implement rule violations, closes #218
2013-01-27 07:54:50 -02:00
Eduardo Bart
4351f3c63f
More improvements in walk
2013-01-26 20:12:00 -02:00
Eduardo Bart
4b1db2bcd6
Fix #235 and other changes
2013-01-26 18:40:03 -02:00
Eduardo Bart
4f8f02acad
Rework auto focus behavior, closes #222
2013-01-26 17:06:25 -02:00
Eduardo Bart
835adfb4ce
Fix a compile error
2013-01-26 15:17:32 -02:00
Eduardo Bart
6594b2d090
Fix #7
2013-01-26 14:54:19 -02:00
Eduardo Bart
07959ddc04
Fix a vulnerability in password encryption
...
* There was an error in the encryption used to save passwords,
now it's really harder to decrypt the password from the config file
* Other minor changes
2013-01-26 14:38:48 -02:00
Eduardo Bart
90f1244ab4
Fix #194
2013-01-25 18:28:44 -02:00
Eduardo Bart
32c5f4285b
Closes #210
...
* And minor adjustments
2013-01-25 17:26:51 -02:00
Eduardo Bart
a144174c41
Use push/pop mechanism for cursors
2013-01-25 11:47:51 -02:00
Eduardo Bart
3a47c4f2e1
Remake cursors, closes #219 and #237
2013-01-25 11:19:40 -02:00
Eduardo Bart
0a91fff82a
Textedit improvements
2013-01-25 11:17:59 -02:00
Eduardo Bart
d5b4e0929f
Improvements in textedit and hotkey manager
...
* Set textedit's cursor position to the end of text in some situations
* Send hotkey messages to the current channel instead of default channel
* Allow to overwrite sprites using otml and pngs
2013-01-24 18:36:04 -02:00
Eduardo Bart
a8fbd6cdfc
Improve game map view modes
2013-01-24 17:15:07 -02:00
Eduardo Bart
5b65088426
Improve tab navigation and scrolling
...
* Fix with use with over creatures when you are over force use objects
* Fix textedit wrapping
2013-01-24 15:46:02 -02:00
Eduardo Bart
50c2db100e
Use boost::chrono instead of std::chrono
2013-01-23 19:31:14 -02:00
Eduardo Bart
311bc220a8
Fix a warning
2013-01-23 16:55:10 -02:00
Eduardo Bart
992acd8873
Fix translations, there were all broken
2013-01-23 15:35:43 -02:00
Eduardo Bart
1674575dc0
Minor fix
2013-01-23 13:47:26 -02:00
Eduardo Bart
3f882d9e6c
Disable path find debugging
2013-01-23 13:15:02 -02:00
BeniS
a2ddb472f5
Fixed up movement controls again and fixed a typo.
...
* You can change direction while already moving
(There could be a better way for walking control, but this works fine for now)
2013-01-23 20:31:28 +13:00
BeniS
caf86a9fc6
Fixes! Closes #235 and more:
...
* Hotkeys now save by server & player rather than just player
* Added double clicking to module dialog options
* Fixed a bug in the modal dialog for > pv970 (protocol changed)
* Fixed a login bug for pv970.
WARNING: Will remove all your current hotkeys.
2013-01-23 13:15:46 +13:00
Eduardo Bart
27d5506262
Some fixes in entergame and widget clipping
2013-01-22 19:48:25 -02:00
Eduardo Bart
ca4caf7991
Fix text highlighting again
2013-01-22 18:29:18 -02:00
Eduardo Bart
fa8971498f
Fix old bug #149
2013-01-22 17:28:44 -02:00
Eduardo Bart
e900a7679a
Improve autowalk
2013-01-22 16:04:36 -02:00
BeniS
01e48fbcc8
More work towards autowalking (needs more work).
...
* Added tile minimap color override.
* Changed zoom in and out of minimap from inverted control.
2013-01-23 01:02:25 +13:00
Henrique Santiago
f470cba09e
Fix compile on non window applications
2013-01-21 23:17:40 +00:00
BeniS
5a278ef4ec
Few minor fixes.
...
* Fixed count window.
* Other small things.
2013-01-22 13:40:46 +13:00
Eduardo Bart
71cccac3da
Many changes
...
* IMPORTANT: dat/spr should now be placed in /data/things/
* Rename game_tibiafiles to game_things
* Make battle list algorithm much faster
* Split UITabBar into UITabBar and UIMoveableTabBar
* Fix other minor issues
2013-01-21 19:41:03 -02:00
Eduardo Bart
0729e35b50
Minor fixes
2013-01-21 14:15:36 -02:00
Henrique Santiago
2a2214991c
Small changes
2013-01-21 00:40:47 +00:00
Eduardo Bart
ae731ddefc
Rework minimap rendering
2013-01-20 21:17:56 -02:00
Eduardo Bart
18a37393c5
Limit path finding max complexity
2013-01-20 14:30:53 -02:00
BeniS
8c6d5a0f5c
Finalizing auto walk enhancements, closes #63 , also other fixes:
...
* Can now auto walk up to 1000 steps!
* Re-added sexy topmenu buttons :)
* Tooltip for logout/edit will now change
* Changed xxStackpos to xxStackPos
2013-01-21 05:09:14 +13:00
Eduardo Bart
c28596292f
Text selection in chat
...
* Remove fancy stuff from background
* Improve text windows
* More improvements to textedit
2013-01-20 13:40:40 -02:00
Eduardo Bart
84dfd4f7f3
UITextEdit selection, closes #55
2013-01-20 11:38:02 -02:00
Eduardo Bart
9907e9e5c7
Fix particles and some fun in the background LOL
2013-01-19 18:24:59 -02:00
Eduardo Bart
f389c3b3fe
Widgets can now rotate :O
2013-01-19 14:44:07 -02:00
Eduardo Bart
2fcaf2cc40
Fix rotate,translate,rotate in ogl painters
2013-01-19 13:44:27 -02:00
Eduardo Bart
0f9cacdde5
Implement missing matrix operations
2013-01-19 12:21:00 -02:00
Henrique Santiago
8e9d137608
Rotate, translate and scale added to ogl2
2013-01-19 02:18:29 +00: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
1500c1d2f2
Few minor fixes here and there:
...
* Fixed miniwindow cancelling (sorry Summ! :D)
* Fixed pathFind to check floor change tiles
* Fixed buying/selling stackable items in pv < 860
* Added force walk to the first step of auto walking for open tibia
2013-01-18 18:27:29 +13:00
Eduardo Bart
7e52c4e449
Make otclient login into cipsoft servers again
2013-01-17 18:24:41 -02:00
Eduardo Bart
ada2c9efe9
Fix buy/sell of stackable items on 8.6
2013-01-17 16:10:55 -02:00
BeniS
b68df8336a
Minor fixes to some previous commits.
...
* Fixed a bug with storing the protocol version.
* Fixed an issue with text windows cancelling.
* Fixed a typo in the source.
2013-01-18 03:23:01 +13:00
Eduardo Bart
cf77c2baf3
Fix text edits wrapping
2013-01-17 09:34:45 -02:00
Eduardo Bart
2fd8d4e580
Fix error in OTML casting from Lua, may fix #198
2013-01-17 08:38:44 -02:00
Eduardo Bart
67c5b31225
Fix ICU linkage on ubuntu
2013-01-16 17:13:10 -02:00
Eduardo Bart
20231c1fc5
Fix ICU linkage on ubuntu
2013-01-16 17:01:02 -02:00
Eduardo Bart
773d093e68
Add missing file
2013-01-16 16:54:20 -02:00
Eduardo Bart
62cd3d04e1
Update sound engine with some sound fixes
...
* Refactor client module
2013-01-16 16:46:42 -02:00
Eduardo Bart
a80e758e32
Improve tabs move in console chat, looks nice now
2013-01-16 15:41:12 -02:00
Eduardo Bart
2e75380218
Reimplement text edit scrolling in C++
...
* And update some corelib APIs
2013-01-16 14:20:17 -02:00
Eduardo Bart
a3fcf2e8e7
Fix error in FindICU cmake
2013-01-16 12:51:03 -02:00
Eduardo Bart
d2712fa218
Try to fix travis build
2013-01-16 12:42:06 -02:00
BeniS
913cc801b6
Few minor fixes:
...
* Fix to tab margins when a tab is closed
* Changed the life bar colors of UICreatureButtons
* Added onDeath to Creatures class
2013-01-13 00:41:27 +13:00
BeniS
914b4bd5f3
Applied #189
...
* There was a bug in OTML saving hotkeys per player because of the way they are storing children and not a straight value. Perhaps you want to look at it ed.
Note: Your hotkeys will reset in this revision.
2013-01-11 17:03:48 +13:00
Henrique Santiago
adba4b0da9
Refix items on UIItem, cancel button to hotkeys
2013-01-10 16:45:35 -02: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
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
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
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
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
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
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
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
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
BeniS
617e6b302b
Fix for creature lights.
...
* Will now load the dat values for creature lights (ed if you know a more conventional way for this please let me know).
* No need to draw light for the outfit the creature draw will handle it.
Note: not sure if the from8bit method should limit at 256 or not, but tibia dat contains colors 216+.
2012-12-03 13:17:41 +13:00
Eduardo Bart
6d6f600c44
Fix creatures light
2012-12-01 14:04:10 -02:00
Eduardo Bart
ce6423320e
Add ambient light in graphics options
2012-11-30 14:47:53 -02:00
Eduardo Bart
5fed08b17e
Bind functions for minimum ambient light
2012-11-30 14:31:19 -02:00
Eduardo Bart
f851bb7777
Minor fixes in lights
2012-11-30 09:03:42 -02:00
Eduardo Bart
6e154f6b2c
Lights now are looking really good
...
* Draw lights beneath holes
* Improve light particle
* Light intensityvaries inversely with the square of the distance
* Local player always have a minimum light in complete darkness
* Creature names are behind lights now
2012-11-29 19:38:39 -02:00
Eduardo Bart
d7a45311ed
Fix issue #145 , #29 and #39
2012-11-29 00:52:10 -02:00
Eduardo Bart
81068f820d
Implement lights, thanks @Tarjei400
...
Now otclient have lights! This code was originally made
by @Tarjei400, I have improved it and merged into otclient
master. Many thanks for tarjei for the contribution.
Warning, this still experimental, fixes may come in the next days.
2012-11-28 23:47:36 -02:00
Samuel
eb979ef7cd
Modal Dialogs / Support for 9.70
...
OTC now supports showing and answering modal dialogs.
addDialog(modaldialog, dialogId, cid, callback)
TODO:
-find out what the "popup" value does.. (Maybe someone knows)
2012-11-27 14:48:48 +01:00
Eduardo Bart
d4370e7c5d
Fix issue #127
2012-10-24 18:51:57 -02:00
Eduardo Bart
8bb115d6d4
Fix issue #134
2012-10-24 18:03:15 -02:00
Eduardo Bart
c7890e7a49
Fix issue #124
2012-10-23 18:16:14 -02:00
Eduardo Bart
a6424f3022
Fix issue #118
2012-10-23 17:32:04 -02:00
Eduardo Bart
5f72488eba
Fix issue #121
2012-10-23 17:09:39 -02:00
Eduardo Bart
6acdb0fd64
Fix issue #132
2012-10-23 16:00:12 -02:00
Samuel
3990ee76e7
Minimap Icons
...
Now server can call:
doPlayerAddMapMark(cid, pos, icon, description)
and it will be parsed.
TODO:
Adding map icons by rightclick on minimap menu.
Removing icons.
Needs to be tested when switching between different versions.
2012-10-11 17:36:00 +02:00
otfallen
f26b359ae5
The smallest change of 2012
2012-10-08 01:04:14 +00:00
Eduardo Bart
5756f20026
Fix orange text bug for protocol >861
2012-10-05 19:18:16 -03:00
Eduardo Bart
fa8b77f0c8
Fix issue #109
2012-10-05 16:14:05 -03:00
otfallen
ced5c035b9
optimize otb/xml a bit.
...
m_itemTypes was being resized too much than expected so is allocin
new itemtype each time it was not being found (which is fake).
otb loader is slow, not sure if it's because of the binary reader
or just the file format is stupid
2012-10-05 20:31:05 +00:00
Eduardo Bart
526885f70d
Fix issue #14
2012-10-05 15:17:10 -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
58d3a2ec72
Fix issue #99
2012-10-04 19:58:22 -03:00
Eduardo Bart
7b38e44382
Fix issue #105
2012-10-04 19:44:48 -03:00
Eduardo Bart
68f9af376f
Fix issue #103
2012-10-04 19:18:48 -03:00
Eduardo Bart
393f8c7a9b
Fix glitch in battle when creatures walk
2012-10-04 18:42:10 -03:00
Eduardo Bart
31efe0a82d
Fix crash when closing otclient in debug mode
2012-10-03 12:49:57 -03:00
otfallen
9650179ae8
More Mac OS X progress.
...
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 23:08:10 +00:00
otfallen
f0e85e21b3
Mac OS X port progress
...
Tested-by: Christopher Eklund <eklundchristopher@gmail.com>
Signed-off-by: otfallen <f.fallen45@gmail.com>
Signed-off-by: Christopher Eklund <eklundchristopher@gmail.com>
2012-09-29 22:57:14 +00:00
otfallen
3b7ad41740
Spare a call yeye
2012-09-29 16:48:01 +00:00
otfallen
e1900bdf9a
binarytree: type fix
2012-09-28 07:24:49 +00:00
otfallen
3902490d6b
Minor changes
2012-09-24 13:59:23 +00:00
otfallen
4d6057ffbe
Yet another set of fixes
2012-09-24 12:11:01 +00:00
otfallen
7f6b204ded
tiny perf fix
2012-09-23 01:19:12 +00:00
Eduardo Bart
8f9d7593d6
Merge map branch
2012-09-20 18:45:43 -03:00
otfallen
fe3a751ffa
Fixes to creatures
2012-09-20 23:23:10 +00:00
otfallen
baceba74b9
Minor changes
2012-09-19 07:13:45 +00:00
otfallen
4d0725e876
Fix creature outfit
...
typeex wasn't being treated right; the outfit category was supposed
to be an itemid and the aux id should be set to the item id of the
outfit.
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 09:14:55 +00:00
otfallen
1156059af1
Bind missing C++ functions into lua
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-18 05:23:31 +00:00
otfallen
68d2347ee5
Fix creatures not being cleared at exit (caused a segfault).
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-17 02:29:54 +00:00
otfallen
a40594752d
Fix segfault on exit cause by creatures not being cleared.
2012-09-17 02:15:46 +00:00
otfallen
bfa0844de1
TiXmlElement can already Set integer attribs.
2012-09-15 05:05:45 +00:00
otfallen
b7721f6856
Tiny fix to UICreature
2012-09-15 05:00:56 +00:00
otfallen
eb7a11158a
XML saving and minor fixes + code refactoring.
...
Signed-off-by: otfallen <f.fallen45@gmail.com>
2012-09-14 21:39:10 +00:00
otfallen
d429e385bb
Remove old useless functions.
2012-09-02 19:31:50 +00:00
Henrique Santiago
23097980a3
Fix scrollbar slider move, outfit exact size, charlist focus
2012-08-31 20:33:51 -03:00
Henrique Santiago
18a0d7ab94
Fixes to horizontal scrollarea, improve charlist flexibility
2012-08-31 01:56:10 -03:00
Henrique Santiago
c517f7b745
Add/get table functions implemented on ext charlist
2012-08-30 02:59:27 -03:00
Eduardo Bart
d98f6f7673
New version 0.5.3
2012-08-29 19:09:32 -03:00
Eduardo Bart
79102f2275
Add extended opcode patch for tfs under tools/
2012-08-29 16:29:18 -03:00
Eduardo Bart
91237e82d5
Fix issue #82
2012-08-29 12:43:50 -03:00
Eduardo Bart
9bd983ab51
Fix silly for 963 and improve walk
2012-08-29 12:41:04 -03:00
Eduardo Bart
97e1c9d5a9
Support for protocol 963
2012-08-29 12:09:16 -03:00
Henrique Santiago
0c5479b031
Spinbox changes
2012-08-27 18:56:05 -03:00
niczkx
e5df872600
Move load creatures functions from map and bind them to singleton class g_creatures
2012-08-26 18:44:46 +00:00
Eduardo Bart
4bac36d3bc
Implement new cool features
...
* Implement walk booster (dash) as an option in settings menu
* Dash is smarter (can pre-animate)
* Implement smart walking (walk in diagonal when holding two arrow keys)
* Implement ping meter for all protocols
* Ping meter uses uses real ping packet for 9.6 and walk for others
2012-08-25 16:11:54 -03: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
Eduardo Bart
143121b77d
Fix getDisplayHeight
2012-08-25 00:07:43 -03:00
Eduardo Bart
2525940e49
Fix chamaleon offset
2012-08-24 20:06:45 -03:00
Henrique Santiago
beb04d8d8e
Fix container bug, miniwindow pos, creature skulls outsite map bound
2012-08-24 19:59:46 -03:00
Henrique Santiago
f97fa65d37
Many UI fixes.
2012-08-24 05:18:15 -03:00
Henrique Santiago
0c18e4ff28
Add some extra inventory slots, fixed ext protocol bug
2012-08-23 20:29:05 -03:00
Eduardo Bart
e25bd7fe54
Fix OpenGL ES compilation
2012-08-23 12:37:26 -03:00
Eduardo Bart
949cfd5d31
update version
2012-08-23 12:22:49 -03:00
Henrique Santiago
a306027cec
Fixed skins path
2012-08-23 04:17:38 -03:00
Eduardo Bart
bdbce01c97
Add uid param to stats module
2012-08-22 22:50:42 -03: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
Henrique Santiago
05fcf740b4
Stats module
2012-08-22 05:51:31 -03:00
Eduardo Bart
64d607b59e
Fix issue #77 and improve findPath
2012-08-21 23:10:56 -03:00
Eduardo Bart
3d7e80ea7a
Improve creature attack click
2012-08-21 21:27:57 -03:00
Eduardo Bart
ea4dd2f8e6
Support for compressed textures
2012-08-21 08:09:48 -03:00
Henrique Santiago
2142ee765d
Fix issue #21 , but miniwindows can be a lot smarter
2012-08-21 02:35:20 -03:00
Eduardo Bart
c185e709b3
Fix regressions
2012-08-21 00:36:14 -03:00
Eduardo Bart
66760656e9
Fix rare stackpos bug caused by chameleon rune
2012-08-20 22:02:55 -03:00
Henrique Santiago
b39623d437
UIGameMap allow clicking in black
2012-08-20 22:03:30 -03:00
Eduardo Bart
ddd3f84ad7
Many fixes in win32 platform
2012-08-20 18:53:38 -03:00
Henrique Santiago
d1d8b79edc
Fix issue #73
2012-08-20 19:50:18 -03:00
Henrique Santiago
ac8d6891ca
Polish interface, pt translations
2012-08-20 18:58:43 -03:00
BeniS
1d20cc9e4b
Finalized the mount system and the recently new skills/stats.
...
* Added mount options to the thing menu.
* Reworked the mounting/dismounting.
* Fixed up some skill module bugs.
* Added alerts to stats like health, mana, capacity, and regeneration time (need to revise this one as it currently has no maximum).
2012-08-21 00:28:19 +12:00
Eduardo Bart
f4cc942c85
Fix some graphics issues with old drivers
2012-08-19 22:38:43 -03:00
Eduardo Bart
b349ff2620
Implement reverse otb items table
2012-08-19 18:49:24 -03:00
niczkx
0af783b5cf
Fix OTBM saving
2012-08-19 22:30:49 +00:00
Eduardo Bart
1c69379b8d
Fix compilation with OpenGL ES 2.0
2012-08-19 11:48:09 -03:00
niczkx
6d039ade67
revert last change (better fix)
2012-08-19 17:27:48 +00:00
niczkx
a9fad4751f
Fix segfault on exit
2012-08-19 17:20:20 +00:00
niczkx
1ed95b6120
More work on OTBM/OTB/XML
2012-08-19 15:41:03 +00:00
BeniS
8cd8829048
Some more on new skills/stats.
...
* Fixed updating issue.
* Fixed refreshing issue.
2012-08-19 23:03:44 +12:00
Eduardo Bart
fdffa365b9
Oops
2012-08-19 06:51:16 -03:00
Eduardo Bart
ad0ed2b1a9
Bind spell functions
2012-08-19 06:46:24 -03:00
BeniS
367955615e
Minor fix for recent skill changes.
2012-08-19 20:08:20 +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
Eduardo Bart
73acc68e50
Fix compilation for ubuntu
2012-08-18 15:53:04 -03:00
Eduardo Bart
31da6dc611
Force usage of boost 1.50.0
2012-08-18 14:53:40 -03:00
Eduardo Bart
5e3882f87a
Add libgit2 library, new mingw32 libraries will be uploaded soon
2012-08-18 14:08:05 -03:00
Eduardo Bart
356368ddae
Restore minimap saving
2012-08-18 07:34:15 -03:00
Henrique Santiago
ab7400c51d
Progress on issues #60 , #24 , #21
2012-08-18 02:04:15 -03:00
Eduardo Bart
0bb991e14e
Fix auto chase override
2012-08-18 00:30:40 -03:00
Eduardo Bart
403ed3c10f
Implement C++ connect()
2012-08-17 23:08:00 -03:00
Eduardo Bart
fdea7f3d66
Basic changes to support multiple charsets in the future
2012-08-17 19:45:56 -03:00
Eduardo Bart
affe641a1f
Add remove function to stdext storages
2012-08-17 18:19:51 -03:00
Henrique Santiago
4d2bd54f6b
Fixed #12 #28 #51 issues
2012-08-17 18:37:11 -03:00
Eduardo Bart
a91b7ed6be
Adjustments in attack/follow algorithm
2012-08-17 14:43:30 -03:00
Eduardo Bart
3c26555255
Fix stackpos bug again
2012-08-14 20:14:14 -03:00
Henrique Santiago
e244e1975d
Format name as a feature, do not connect if dont have dat/spr
2012-08-14 20:58:48 -03:00
Henrique Santiago
4e8afab335
Fix rsa change, messagebox and remove lua variable from c++
2012-08-14 17:37:28 -03:00
Eduardo Bart
150059a561
Improve image clip rects calculation
2012-08-14 03:41:12 -03:00
Henrique Santiago
7fb2f6deb5
Add getIp function, remove unused sql function
2012-08-12 01:54:45 -03:00
Henrique Santiago
8753f82fd0
Change cursor on textedit, remove possibility to close EnterGame window
2012-08-10 16:32:21 -03:00
Eduardo Bart
24b60bec2e
support for protocol 961
2012-08-10 01:01:12 -03:00
Eduardo Bart
608b8f8b44
Fix a warning in clang
2012-08-10 00:48:34 -03:00
Henrique Santiago
47f0d7f3a6
Fix to creature name formatting and scrollarea maximum option
2012-08-09 21:36:52 -03:00
Eduardo Bart
10c564f90e
Fix regression in walk paralyze
2012-08-09 00:51:13 -03:00
Henrique Santiago
b5cb4e2c93
Fix battle filter, fix walk issue, try logout when force exit
2012-08-08 16:49:02 -03:00
Henrique Santiago
56817a8678
Changes to battle windows, removed duplicated translations
2012-08-08 16:17:16 -03:00
Henrique Santiago
16a3dd2b7e
Remove ; and little fix to MiniWindow
2012-08-08 11:24:59 -03:00
niczkx
85b52fbdfd
More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit
2012-08-08 08:00:16 -06:00
Eduardo Bart
dfff05e6e2
Update otclient version
2012-08-08 00:19:41 -03:00
Henrique Santiago
93fdd2e326
Fix messagebox width, use boost in stdext net
2012-08-07 23:18:36 -03:00
Henrique Santiago
466d8e8820
Use custom upchar and lochar by default due to accents in font files.
2012-08-07 21:12:36 -03:00
Henrique Santiago
4919bdf1bc
Bind net functions
2012-08-07 14:05:55 -03:00
Henrique Santiago
0e67bd97a5
Moved some talk code to lua
2012-08-07 13:33:17 -03:00
niczkx
6feaeff8cc
Fix NPC/Monster rendering for OTBM
2012-08-07 03:12:44 -06:00
Henrique Santiago
a2db210012
Create stdext net, changes to outfit and exit windows.
2012-08-06 22:11:42 -03:00
Eduardo Bart
54f4e2b801
Fix console error
2012-08-06 20:54:56 -03:00
Eduardo Bart
5232501ecf
Optimize dynamic storage
2012-08-06 20:52:55 -03:00
Henrique Santiago
dcde317904
Fix dragable and npcto/from and remove margintop from entergame.
2012-08-06 20:43:25 -03:00
BeniS
bd61a89675
Some fixes with layouts, NPC trade window, and market.
2012-08-07 11:13:33 +12:00
Henrique Santiago
e6bd3907e1
Background label hide function, Skins fix and combobox hide, messagebox changes, show entergame when reload
2012-08-06 16:15:20 -03:00
Henrique Santiago
0f980ec18b
Internal change to entergame, fix image-offset-y mistake, change the way default font is set in skins.
2012-08-05 18:43:45 -03:00
Henrique Santiago
e78edad4c6
Widget text upper case option, change gimp plugin mode to executable
2012-08-05 15:26:08 -03:00
Henrique Santiago
18c882f1a0
Allow list bindings
2012-08-05 10:56:15 -03:00
niczkx
5abf8622e5
rewrite some parts of otbm saving and uncomment it for testing later
2012-08-05 05:26:27 -06:00
Eduardo Bart
a01534e6a2
Add missing thread header
2012-08-04 13:07:21 -03:00
Eduardo Bart
176e97c3ce
More compile fixes now for ubuntu... grr
2012-08-04 13:01:26 -03:00
Eduardo Bart
521adc308b
Fix broken compilation in mingw32
2012-08-04 12:36:23 -03:00
Henrique Santiago
156ab9b879
More SHA encoding functions and add missing copyright
2012-08-04 11:37:55 -03:00
Henrique Santiago
fb7ab21e71
Move RSA class to Crypt
2012-08-04 10:54:35 -03:00
Eduardo Bart
fa15c25951
Implement support for coroutines in C++
2012-08-04 01:46:04 -03:00
Eduardo Bart
6a68569319
Minor changes
2012-08-03 16:35:39 -03:00
Henrique Santiago
4e0642c814
Removed GMP and added OpenSSL. Rsa class might be moved to Crypto later.
2012-08-03 13:02:01 -03:00
Eduardo Bart
fa27210d7f
Remove lockWalks from game
2012-08-03 12:12:18 -03:00
Henrique Santiago
d939ade06d
Fix compile issue and miniwindows index
2012-08-03 10:26:04 -03:00
niczkx
092876d0e1
more fixes to compiling with gcc 4.6
2012-08-03 15:03:34 -06:00
Eduardo Bart
7d62763c92
Fix compile issue in gcc 4.6
2012-08-03 09:53:28 -03:00
Eduardo Bart
c218f915ba
Fix possible link issue in OS X
2012-08-03 09:53:28 -03:00
Henrique
4954d5fecb
Some mysql stuff
2012-08-03 08:44:42 -03:00
Eduardo Bart
9e917ece88
Fix glitch caused by grounds with speed 1
2012-08-03 04:42:49 -03:00
Eduardo Bart
ec1d5aa260
Minor changes
...
Update hovered widget when moving widget
Remove lockWalk from g_game.follow()
2012-08-03 03:16:14 -03:00
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
Eduardo Bart
06388c5673
Fix compability with some servers fly systems
2012-08-03 00:05:29 -03:00
Eduardo Bart
ea2fa55a25
Fix protocol 860 stackpos regression
2012-08-03 00:05:29 -03:00
Eduardo Bart
11387eb08f
Fix floor change stackpos bug?
2012-08-02 11:47:32 -03:00
Eduardo Bart
a64ebc7e7b
Stop walk animation after changing floors
2012-08-02 10:39:08 -03:00
Eduardo Bart
b9dfc7784c
Fixed push of creatures in 9.6
2012-08-02 09:13:01 -03:00
Eduardo Bart
f103f3ee62
Minor fix in packed_vector
2012-08-02 08:43:49 -03:00
Henrique
7116f6dea1
More sql stuff
2012-08-02 08:36:21 -03:00
Eduardo Bart
ee4f155b92
Minor fix in std::packed_any
2012-08-02 06:27:16 -03:00
Eduardo Bart
57785d2001
More walk changes and creature events
...
Improve walking, no more random cancelWalks
Add 3 new creatures events onAppear/onDisappear/onWalk
Add algorithm that calculates walk ping
Fix paralyze animation while walking
2012-08-02 05:17:46 -03:00
Henrique
8a5195430a
Add SQL extension, still in early stage
2012-08-01 22:56:50 -03:00
Eduardo Bart
c9eaa73df5
Improve clicking on walking creatures
2012-08-01 22:47:55 -03:00
Eduardo Bart
daea7cab65
Check walk collisions in client side
2012-08-01 22:34:19 -03:00
Eduardo Bart
773d58da01
Optimize lua object pushing
2012-08-01 22:34:19 -03:00
Henrique
3b345cf868
Add setXteaKey function
2012-08-01 21:25:11 -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
103daa63e3
Fix compile issues with clang
2012-08-01 18:06:31 -03:00
Henrique
4f0e00fdfa
Change to RSA decrypt function
2012-08-01 15:34:42 -03:00
Eduardo Bart
3bac3dcbb4
Rework stdext classes
...
Implement new classes:
* stdext::any => ligher replacement for boost::any
* stdext::packed_any => like any but optimized to use less memory
* stdext::shared_object => ligher replacement for std::shared_ptr
* stdext::shared_object_ptr => replacement for boost::intrusive_ptr
* stdext::fast_storage => for storing dynamic data
* stdext::packed_storage => same but with less memory
* stdext::packed_vector => std::vector with less memory
Compiling should be a little faster now because global boost including
is not needed anymore
2012-08-01 09:23:35 -03:00
Eduardo Bart
1dc7dc0cfc
Fix tile skipping in 9.6
2012-07-31 19:29:33 -03:00
Henrique
3c1a5f24e8
Fix to protocolgame
2012-07-31 14:23:52 -03:00
Eduardo Bart
614d1544c0
Fix market reload and a crash when exiting
2012-07-31 11:42:26 -03:00
Eduardo Bart
bca1af8f11
Add warning when trying to use invalid LuaObject class
2012-07-31 09:51:51 -03:00
Eduardo Bart
f4641333f4
Fix a rare drag/drop issue
2012-07-31 06:34:45 -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
fbb3c9933a
Fix audio stopping on buffer underruns
2012-07-31 00:12:04 -03:00
Eduardo Bart
c879ed8642
Prevent a protocol warning caused by a server side bug
2012-07-30 22:03:34 -03:00
Eduardo Bart
a1fb373b1b
Revert protocol bug added in lasts commit
2012-07-30 21:08:32 -03:00
Eduardo Bart
3db0ae06a7
Add swedish language
2012-07-30 20:52:31 -03:00
niczkx
e316c0b5cd
Merge both getString functions in binarytree
2012-07-31 02:02:41 -06:00
Henrique
12e6602925
Bind connection and fix protocol recv without xtea
2012-07-30 17:12:38 -03:00
Henrique
c969f5209f
Some changes to server compatibility
2012-07-30 16:40:03 -03:00
niczkx
4c369bc823
fix compiling on gcc 4.6 (too early to use 4.7.1...)
2012-07-30 18:52:30 -06:00
Mark Samman
39db801f93
Fixed 9.6 otb loading
2012-07-30 18:38:23 +02:00
Eduardo Bart
03b8241bbc
Rename stdext::shared_object_ptr to compile in gcc 4.6
2012-07-30 12:08:21 -03:00
Eduardo Bart
8e437e27c7
Fix walk interval calculation
2012-07-30 11:03:58 -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
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
Eduardo Bart
1e2d20d289
Fix typos
2012-07-30 04:18:05 -03:00
Eduardo Bart
487dafb8c0
Fix compile issue in mingw32
2012-07-29 17:18:39 -03:00
Eduardo Bart
e2efbcffbe
Fix crash in clang while casting enums
2012-07-29 09:58:25 -03:00
Eduardo Bart
68ebcb559f
Fixes for compiling with clang
2012-07-29 09:04:47 -03:00
Eduardo Bart
73769c62e4
Just some refactoring
2012-07-29 07:32:54 -03:00
Eduardo Bart
29a4d467af
Optimize map tile storage
...
Tiles are stored in blocks of 32x32 now, improving tile allocation and access speed
2012-07-29 03:23:27 -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
Eduardo Bart
3ca6494343
Remove unused func
2012-07-28 20:45:16 -03:00
Eduardo Bart
17dd08d983
More compatibility with OS X in CMake
...
Optimize Tile
2012-07-28 16:04:40 -03:00
Eduardo Bart
497902736c
Enable widget debugging
2012-07-28 08:43:48 -03:00
Eduardo Bart
4566472662
Allow to use more than 2GB of memory on win32
2012-07-28 03:24:40 -03:00
Eduardo Bart
d85dd3e20f
Normalize source code
...
Add .gitattributes
Remove trailing whitespaces
2012-07-28 02:07:57 -03:00
niczkx
a240429cb8
Fix possible gcc optimizations to binary reading
2012-07-28 02:54:25 -06:00
niczkx
26e20da938
Fixes to creatures
2012-07-28 02:06:16 -06:00
Eduardo Bart
a88e9f9e0f
Avoid crashs of invalid item ids in otb files
2012-07-27 18:25:41 -03:00
Eduardo Bart
564463fa01
Minimize talk messages spam on screen
2012-07-26 19:56:46 -03:00
Eduardo Bart
d2b85bdba8
More modules fixes
2012-07-26 19:13:47 -03:00
Eduardo Bart
5f1e58c138
Fix sending os type, bind some functions
2012-07-26 13:41:13 -03:00
Eduardo Bart
f5c97c8e8b
Remove protocol config from cmake
2012-07-26 12:58:35 -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