KnopersPL
1f914351bb
Update protocolcodes.cpp
...
Fix for server messages on 850
11 years ago
KnopersPL
eb68504dc1
Update protocolgameparse.cpp
...
Fix the slow animation move effect, some opcodes error and logging in as GM
11 years ago
Ahmed Samy
32647f11bf
Introduce 2 new functions to Map
...
- g_map.colorizeThing
- g_map.removeThingColor
11 years ago
Ahmed Samy
644d4daeea
More cleanups
11 years ago
Ahmed Samy
b27352c321
Merge branch 'master' of https://github.com/BrunoDCC/otclient
...
* 'master' of https://github.com/BrunoDCC/otclient :
Add full npc read (it not cause bug)
Fixed a npcs save Fixed a spawns and npcs load
11 years ago
BrunoDCC
a6be9ae525
Add full npc read (it not cause bug)
11 years ago
Ahmed Samy
5df3ec8cf2
More cleanups
...
Also, bind map descriptions auxiliar functions
11 years ago
BrunoDCC
00729bbc2e
Fixed a npcs save
...
Fixed a spawns and npcs load
11 years ago
Ahmed Samy
3b2d8a2b5e
Fix build
11 years ago
Ahmed Samy
d5298c1011
Cleanups
11 years ago
Allan Ference
aaad8ab8a0
Fix spawn loading and saving, thanks to @BrunoDCC
11 years ago
Allan Ference
efbd9ab693
Attempt to fix spawn loader
11 years ago
Allan Ference
092209c0bb
Attempt to fix houses and spawns save
11 years ago
Allan Ference
05f7f6a4cf
Introduce Item::getName()
11 years ago
Joao Pasqualini Costa
96bb28e806
Fix Mount frame issue
...
This will fix mount for all protocols
11 years ago
Allan Ference
e7137c2535
Rework NPCs loader with g_resources (Untested)
11 years ago
Allan Ference
5eabf6f518
Optional and configurable zone colors
11 years ago
Allan Ference
5849136526
Introduce g_things.findItemTypeByName
11 years ago
Allan Ference
0451fd6b58
OTBM saver: don't escape version check for waypoints
11 years ago
Allan Ference
9cf878335a
Minor changes
...
Mainly code style
11 years ago
Allan Ference
1ea2b380ca
Disregard progressbar
11 years ago
BrunoDCC
4d498ed0d8
Fix OTBM save
...
Remove if(version > 1) { (it causes bug)
11 years ago
Allan Ference
9aa667da26
MapEditor: more changes for ease of use
11 years ago
Allan Ference
e6db43ac3a
MapEditor specific: Use colors for tile states
11 years ago
Mark Samman
4a04a18835
Fix login with 9.83-10.10
...
This only adds protocol compatibility, the features aren't actually
implemented yet
11 years ago
Mark Samman
261642190b
Fix compiling on OS X
11 years ago
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).
11 years ago
Sam
987c6d6c91
Mount display issue
...
fixes #275
Not really needed but enables some cool stuff
11 years ago
Sam
b81590f297
Fixed Alt + F4 keycombo on Windows
11 years ago
BeniS
e062562888
Added sublime text 2 project file.
...
* Changed the order of the dofiles params.
11 years ago
BeniS
18d23653c4
Added some control params to dofiles lua method.
...
* File name contains string.
* Recursive file checking for deep searches.
11 years ago
Sam
cc12db0d1f
Reverted getTopMultiUseThing() change
11 years ago
Joao Pasqualini Costa
57bb6ff974
Fix #315 by @pacmanis
...
Credits go to @pacmanis
11 years ago
Eduardo Bart
b43a196eac
Minor fixes and add auto resize for images
11 years ago
Joao Pasqualini Costa
6ef3508362
Properly Fix #301
11 years ago
Eduardo Bart
a71e07f063
Restore walk optimization
11 years ago
Eduardo Bart
4bdd1e79fd
Fix compile error for win32
11 years ago
Eduardo Bart
e9e4dcd71b
Improve walk when lagging
11 years ago
Eduardo Bart
0891e2b30a
Add C++ traceback to errors
11 years ago
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
11 years ago
Eduardo Bart
64fc4570c9
Try to fix compilation for gcc 4.6 [3]
11 years ago
Eduardo Bart
392acc0b43
Try to fix compilation for gcc 4.6 [2]
11 years ago
Eduardo Bart
69f72b9c86
Try to fix compilation for gcc 4.6
11 years ago
Eduardo Bart
489688e9fb
Merge branch 'sql'
11 years ago
Eduardo Bart
61be2103ed
Fix linkage
11 years ago
BeniS
a7b27ef8dd
Forgot to add MySQLResult lua binding
11 years ago
Eduardo Bart
44bf4dcb6e
Fix ubuntu compile errors
11 years ago
BeniS
9305053e34
Few issues with compilation and layout
11 years ago
Eduardo Bart
1dd558d57e
Revert "Use boost::thread instead of std::thread"
...
This reverts commit 71b5c5f2e4
.
11 years ago
BeniS
15ee7962f1
Some minor clean ups
11 years ago
Eduardo Bart
8c016b143a
Fix #294
11 years ago
Eduardo Bart
71b5c5f2e4
Use boost::thread instead of std::thread
11 years ago
Henrique Santiago
5396ea6231
Fix to last commit
11 years ago
Henrique Santiago
9955de573b
Avoid infinite loop
11 years ago
Eduardo Bart
0be7bd5360
Implement async dispatcher #221
11 years ago
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
11 years ago
Eduardo Bart
bdbe065c23
Add thread safety for std::shared_object_ptr
11 years ago
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
11 years ago
BeniS
f50c63e9e5
Removed singleton instance & added more lua bindings
...
* Some tidying up
11 years ago
BeniS
48ac91d173
A few clean ups and also tested, its working fine
11 years ago
BeniS
8db85e4e3a
Use stdext::millis not g_clock.millis
11 years ago
BeniS
02d32565e9
Work on sql framework classes
11 years ago
BeniS
3980f859b7
Forgot to remove header includes
11 years ago
Eduardo Bart
c392bcca90
Fix win32 alt bug
11 years ago
Eduardo Bart
62921dee9b
Fixes in options, hotkeys and viplist
11 years ago
BeniS
3ca85cbe87
Removed Position dependencies inside the framework
11 years ago
Eduardo Bart
32df317163
Fix luajit on Mac OS X
11 years ago
Samuel
884102833e
OTB loading fix
11 years ago
Eduardo Bart
8314b84f69
Add live_textures_reload command
11 years ago
Henrique Santiago
e85afd4b63
Platform modtime, little changes to entergame
11 years ago
Eduardo Bart
dad3026ba0
Optimize terminal buffering
11 years ago
Eduardo Bart
9312d20a0f
More terminal improvements
11 years ago
Eduardo Bart
b804dd6959
Fixes and new tuned terminal
11 years ago
Eduardo Bart
69e762385e
Warn when shared_object_ptr misused
11 years ago
Eduardo Bart
e528fcc8f8
Minor fixes and improvements
11 years ago
Henrique Santiago
46aa0c005f
Support to miniwindow margin, fix protocollogin connectCallback, pt translation
11 years ago
Henrique Santiago
864ac3fdd9
Pt translations, #286
11 years ago
BeniS
5f26303389
Added latest protocol/client support for cipservers
11 years ago
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)
11 years ago
Eduardo Bart
ef20f59a98
Fix new line in utf8 conversion
11 years ago
Eduardo Bart
dc3559a5c0
Fix hotkey bug and compile error on Mac
11 years ago
Eduardo Bart
d0576da69d
Implement dash walking and zoom out again
11 years ago
Eduardo Bart
04f52d77d2
Walk ping is not supported anymore
11 years ago
Eduardo Bart
06e2b6eca2
Platform fixes and rework ping
11 years ago
Henrique Santiago
a8c175452b
Pt translations
11 years ago
Eduardo Bart
035ce26728
Fix link error in Mac OS X
11 years ago
Eduardo Bart
04c4943fa8
Remove boost::filesystem dependency
11 years ago
Eduardo Bart
09c937998f
Dont use boost locale anymore
11 years ago
Eduardo Bart
e4e3d7d053
New platform APIs and new OpenAL cmake
11 years ago
Eduardo Bart
5b573afdfc
Change network errors message
11 years ago
Henrique Santiago
90d2032e9e
More changes to painter
11 years ago
Henrique Santiago
3eeb5ae890
Painter became PainterOGL, new Painter generic class
11 years ago
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
11 years ago
Henrique Santiago
f8b078ea91
Little fixes
11 years ago
Henrique
33ce0aa704
A few more changes to dx9
11 years ago
Henrique
bb304f9f4e
Fixes to npc trade, begin native directx support
11 years ago
Eduardo Bart
67fc77d507
Add sell all button to NPC trade
11 years ago
Henrique Santiago
ffcb65f365
Draw minimap background without map
11 years ago
BeniS
adc01ab9e3
Proper fix for autowalk lag issue
11 years ago
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.
11 years ago
Henrique Santiago
b1bab32618
Fixes to lua
11 years ago
Henrique Santiago
dfb0150a7d
Fix signalCall, healthinfo tooltips
11 years ago
Henrique Santiago
11cb287a21
Changes to UIProgressBar, simplified healthinfo module
11 years ago
Henrique Santiago
25841e9c77
Merge pull request #267 from ricardoianelli/master
...
Rework on init/exit log messages.
11 years ago
Ricardo Ianelli
cbeab6f9b0
Moving start messages to lua
...
Moved start log messages to lua, to make easier to enable/disable those
messages.
11 years ago
Eduardo Bart
ea0d5f3d81
Fix compile error for OpenGL ES
11 years ago
Henrique Santiago
4f3be92208
Refix last commit
11 years ago
Henrique Santiago
3c3ba9ef4c
Fix crash when clientid is invalid
11 years ago
Henrique Santiago
2f7a06e93e
Full ground option in otml
11 years ago
Henrique Santiago
7f918a12a2
Old light method restored, it can be changed in lua now
11 years ago
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
11 years ago
Eduardo Bart
86c462eb4d
Fix win32 compile errors
11 years ago
Eduardo Bart
7ece0ed8c7
Buttons for client options
11 years ago
Eduardo Bart
cf77df05ca
Fix possible leaks in stdext::format
11 years ago
Eduardo Bart
dcd6249e8f
Link ICU in Mac OS
11 years ago
Eduardo Bart
f0ac63eb5c
Disable crash handler in Mac OS
11 years ago
Eduardo Bart
637b6ceca2
Trying to get it compiling on Mac OS X
11 years ago
Eduardo Bart
86d06057ca
Fixes to compile with libc++
11 years ago
Eduardo Bart
717832b791
Other minor fixes
11 years ago
Eduardo Bart
0fc56c73cc
Fix health colors
11 years ago
BeniS
6cd71ea02e
Closes #236
11 years ago
BeniS
e7012031eb
Fix auto walking bug
11 years ago
Eduardo Bart
36a60419ec
Fix some issues when reloading entergame
11 years ago
Henrique Santiago
546007f1df
UIImageView, fixes to minimap
11 years ago
Eduardo Bart
cb7f855fd8
Fix minimap crash
11 years ago
Eduardo Bart
a0b2504f11
More fixes in minimap
11 years ago
Eduardo Bart
89c012e81f
Improvements in minimap drawing
11 years ago
Eduardo Bart
654f71e75f
Fix autowalk sometimes not being canceled
11 years ago
Eduardo Bart
1bf77c35c6
Fix some minor bugs in widgets events
11 years ago
Henrique Santiago
17d09f41be
Rework UIMinimap
11 years ago
Eduardo Bart
5bf03c50d6
Rework hotkeys manager, fix many issues on it
11 years ago
Henrique Santiago
60986eb80f
Minimap fix and remove option
11 years ago
Eduardo Bart
ff9f82d0c8
Fix other compile errors
11 years ago
Eduardo Bart
80a7ecb3a4
Speed up compilation time for luafunctions
...
* Other compile fixes for gcc
11 years ago
Eduardo Bart
8d6ccb8d83
Fixes to compile with clang
11 years ago
Eduardo Bart
4751941e4f
Improve encrypt/decrypt algorithms
11 years ago
Eduardo Bart
26c6217bc3
Fix change of RSA keys
11 years ago
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
11 years ago
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
11 years ago
Eduardo Bart
773837da98
Minor changes in file type handling
11 years ago
Eduardo Bart
4536c68f00
Fix #249
11 years ago
Eduardo Bart
6966221e39
Fixes and improvements in find path
11 years ago
Henrique Santiago
2bd86d0695
Fix minimap zoom, blue name
11 years ago
Eduardo Bart
bcb3db4cdc
Fix #250
11 years ago
Eduardo Bart
e81dd31ae3
New lightweight minimap format, finish #15
11 years ago
Eduardo Bart
9aca1644e6
Implement rule violations, closes #218
11 years ago
Eduardo Bart
4351f3c63f
More improvements in walk
11 years ago
Eduardo Bart
4b1db2bcd6
Fix #235 and other changes
11 years ago
Eduardo Bart
4f8f02acad
Rework auto focus behavior, closes #222
11 years ago
Eduardo Bart
835adfb4ce
Fix a compile error
11 years ago
Eduardo Bart
6594b2d090
Fix #7
11 years ago
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
11 years ago
Eduardo Bart
90f1244ab4
Fix #194
11 years ago
Eduardo Bart
32c5f4285b
Closes #210
...
* And minor adjustments
11 years ago
Eduardo Bart
a144174c41
Use push/pop mechanism for cursors
11 years ago
Eduardo Bart
3a47c4f2e1
Remake cursors, closes #219 and #237
11 years ago
Eduardo Bart
0a91fff82a
Textedit improvements
11 years ago
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
11 years ago
Eduardo Bart
a8fbd6cdfc
Improve game map view modes
11 years ago
Eduardo Bart
5b65088426
Improve tab navigation and scrolling
...
* Fix with use with over creatures when you are over force use objects
* Fix textedit wrapping
11 years ago
Eduardo Bart
50c2db100e
Use boost::chrono instead of std::chrono
11 years ago
Eduardo Bart
311bc220a8
Fix a warning
11 years ago
Eduardo Bart
992acd8873
Fix translations, there were all broken
11 years ago
Eduardo Bart
1674575dc0
Minor fix
11 years ago
Eduardo Bart
3f882d9e6c
Disable path find debugging
11 years ago
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)
11 years ago
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.
11 years ago
Eduardo Bart
27d5506262
Some fixes in entergame and widget clipping
11 years ago
Eduardo Bart
ca4caf7991
Fix text highlighting again
11 years ago
Eduardo Bart
fa8971498f
Fix old bug #149
11 years ago
Eduardo Bart
e900a7679a
Improve autowalk
11 years ago
BeniS
01e48fbcc8
More work towards autowalking (needs more work).
...
* Added tile minimap color override.
* Changed zoom in and out of minimap from inverted control.
11 years ago
Henrique Santiago
f470cba09e
Fix compile on non window applications
11 years ago
BeniS
5a278ef4ec
Few minor fixes.
...
* Fixed count window.
* Other small things.
11 years ago
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
11 years ago
Eduardo Bart
0729e35b50
Minor fixes
11 years ago
Henrique Santiago
2a2214991c
Small changes
11 years ago
Eduardo Bart
ae731ddefc
Rework minimap rendering
11 years ago
Eduardo Bart
18a37393c5
Limit path finding max complexity
11 years ago
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
11 years ago
Eduardo Bart
c28596292f
Text selection in chat
...
* Remove fancy stuff from background
* Improve text windows
* More improvements to textedit
11 years ago
Eduardo Bart
84dfd4f7f3
UITextEdit selection, closes #55
11 years ago
Eduardo Bart
9907e9e5c7
Fix particles and some fun in the background LOL
11 years ago
Eduardo Bart
f389c3b3fe
Widgets can now rotate :O
11 years ago
Eduardo Bart
2fcaf2cc40
Fix rotate,translate,rotate in ogl painters
11 years ago
Eduardo Bart
0f9cacdde5
Implement missing matrix operations
11 years ago
Henrique Santiago
8e9d137608
Rotate, translate and scale added to ogl2
11 years ago
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
11 years ago
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
12 years ago
Eduardo Bart
7e52c4e449
Make otclient login into cipsoft servers again
12 years ago
Eduardo Bart
ada2c9efe9
Fix buy/sell of stackable items on 8.6
12 years ago
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.
12 years ago
Eduardo Bart
cf77c2baf3
Fix text edits wrapping
12 years ago
Eduardo Bart
2fd8d4e580
Fix error in OTML casting from Lua, may fix #198
12 years ago
Eduardo Bart
67c5b31225
Fix ICU linkage on ubuntu
12 years ago
Eduardo Bart
20231c1fc5
Fix ICU linkage on ubuntu
12 years ago
Eduardo Bart
773d093e68
Add missing file
12 years ago
Eduardo Bart
62cd3d04e1
Update sound engine with some sound fixes
...
* Refactor client module
12 years ago
Eduardo Bart
a80e758e32
Improve tabs move in console chat, looks nice now
12 years ago
Eduardo Bart
2e75380218
Reimplement text edit scrolling in C++
...
* And update some corelib APIs
12 years ago