Konrad Kuśnierz
c3c2ac80e7
Fix drawing creatures in UICreature
...
I will leave this ugly hack for the time being, but I do encourage to change it later on. The whole "resize" boolean makes no sense since the outfit is resized by the destination rectangle anyway. I believe we should give it a try with a real size of the object defined in dat by the user for creatures bigger than 32x32.
Please keep in mind that we did cut bigger creatures to 48x48 (2*Otc::TILE_PIXELS*0.75f) before as well, so nothing really changed besides ability to properly draw bigger creatures than 64x64 on battlelist.
9 years ago
Konrad Kuśnierz
6bd0e37670
Correctly draw creatures bigger than 64x64
...
Battlelist icon
9 years ago
Konrad Kuśnierz
11990815a6
Correctly load corrupted otmm file, should fix #606
9 years ago
Konrad Kuśnierz
53dbbd2ba3
Decrease RAM usage by at least 200MB
...
This was quite ridiculous.
TILESTATE_LAST = 1 << 24
Basically we were creating 2^24 Color structures within the array, each
of them has 4 floats (16 bytes) resulting in about 256 MB of extra
wasted memory.
9 years ago
TheSumm
ab5bed456b
Fix warning
9 years ago
TheSumm
fcd481ee15
Added missing message mode
9 years ago
TheSumm
83dc129f03
Protocol 10.76, fixed death window & death packet
9 years ago
Gabriel Pedro
04b516a1a0
Update copyright for 2015
9 years ago
TheSumm
f51a160bde
Remove unintentionally added files
9 years ago
TheSumm
cbf70c1d63
Enable protocol 10.75
9 years ago
Nailson
74af47f4d6
Added support for enhanced animations for items.
...
Thanks to @conde2, @BenDol
9 years ago
TheSumm
4c4e0b9d07
Fix error showing after relogging with containers being open
9 years ago
TheSumm
71931b961a
Full protocol 10.74 support (session key), entergame style fixes
9 years ago
BenDol
900ebbd985
Fixes #181 and fixes #551
9 years ago
TheSumm
8542f8bfd4
Protocol 10.73 support
9 years ago
TheSumm
fc76ca4523
Updated advernturer blessing inventory style to be more robust
9 years ago
TheSumm
63f95317a2
Fixed baseSpeed not being parsed (10.59+)
9 years ago
TheSumm
26fb35fd4d
Fixed major bug
9 years ago
TheSumm
ddec9627b8
Protocol 10.72 (Authenticator) Support, Unjustified Points diplay
...
- Unjustified Points (Better topbar icon would be nice)
![Unjustified Points](http://i.gyazo.com/81286f46d9b4d56b3fe864140173cf34.png )
- Authenticator token support
- adjusted 'can change pvp frame' to 1054
- ...
9 years ago
TheSumm
4b7770361d
Fix parseLogin packet
10 years ago
BenDol
16f6a0019c
Fix dat loading issue with 10.00 & minor outfit window fix.
10 years ago
TheSumm
7f3f18f991
Support for Protocols up to 10.71, Adventurer Blessing
10 years ago
Eduardo Bart
f6fb785cea
Use -O2 in release build
10 years ago
BenDol
bdfb77166e
Reuse code by merging dash functionality with walk method.
10 years ago
BenDol
9f3ebb0036
Fix #577 dash will now fire onWalk (with isDash parameter).
...
Also added missing client versions.
10 years ago
BenDol
ddb5e58057
Fix #569 finally had some free time.
10 years ago
Dominique Verellen
682694cc07
Update graphicalapplication.cpp
10 years ago
osmarjunior
3557879361
Fix bug when drawing mounts while walking
10 years ago
BenDol
d3d3294277
Added missing premium trigger opcode.
10 years ago
BenDol
ef7f94ac76
Some minor changes/additions.
10 years ago
BenDol
3343919c92
Added GameEnhancedAnimations to lua
10 years ago
BenDol
4eb7668922
Can now login to official tibia servers.
10 years ago
BenDol
1f272b7aba
Added preview state packet.
10 years ago
BenDol
09d830d02e
Fix build error
10 years ago
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.
10 years ago
Sam
fe585d27d8
Cleanup dat loading, fix version 8.6+
10 years ago
Sam
153cf3e859
Container fix
10 years ago
Sam
6b46370d1a
7.4 .dat support, playing an actual server might not work yet
10 years ago
Sam
2a57a5f7d0
Browse field, locked & paginated container support
10 years ago
BenDol
9e0ddb08e3
More debug prints and avoid null pointer.
10 years ago
BenDol
0f362f80e3
Added easy menu hooking, fixed terminal default size/pos & more:
...
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
10 years ago
BenDol
07ac5c27ca
Added some missing lua functions.
10 years ago
BenDol
9f7aafac0b
Fix a crash issue when attempting to draw invalid item.
...
This can happen when using UIItem as interfaces etc.
10 years ago
djayk1
8fccc1eb63
Little fix
10 years ago
djayk1
10438c21ff
Update game.cpp
10 years ago
djayk1
ec99d35cee
Update game.cpp
10 years ago
djayk1
85fe5867f3
Update protocolgameparse.cpp
10 years ago
djayk1
1a77473e13
Update const.h
10 years ago
djayk1
cc483fba5a
Update game.cpp
10 years ago
djayk1
94686d3fe8
Update protocolgameparse.cpp
10 years ago
djayk1
468ac9cbd2
Update game.cpp
10 years ago
BenDol
2df51622ba
Some improvements to some things.
10 years ago
BenDol
0ad45d6826
Added 2 global functions for Position & g_map.getTiles().
10 years ago
Henrique Santiago
72b3403728
Fix filestream read
10 years ago
Nail
25fb3113fa
Fix calculate patterns.
10 years ago
BenDol
24acf8855f
Now possible to create effects and missiles via lua.
10 years ago
BenDol
65d556ef4e
Fixed issue with isAttacking and isFollowing on older protocols.
...
Some protocols don't send a cancel attack/follow packet to the client when a creature dies.
10 years ago
BenDol
45b41b88bd
Merge branch 'master' of https://github.com/edubart/otclient
10 years ago
BenDol
1baad726ae
Just use g_configs.unload(config) to unload config files.
...
Avoids concurrent modification errors.
10 years ago
Nail
8dec9cd835
Fix alpha at color key.
10 years ago
Nail
41b2f9b911
Per-pixel transparency.
10 years ago
BenDol
a02c091376
Fix stop crashing with UIWidget::moveChildToIndex.
10 years ago
BenDol
01e6169cfb
Fix to setText method.
10 years ago
BenDol
1074b6b787
Provide the option to suppress lua call in setText
10 years ago
BenDol
3ce37dacbd
Removed onUnload from corelib and added more lua bindings for resources.
10 years ago
BenDol
166eb7614f
Fix accidental cmake changes.
10 years ago
BenDol
8b3f3b11f0
Can now unload a Config by config:unload()
10 years ago
BenDol
2d84fae2c8
Can now create new configs on the fly using: local config = g_configs.create(file)
10 years ago
BenDol
5204e3ac03
Proper termination and initialization of the ConfigManager.
10 years ago
BenDol
547b18db9a
Update copyright for 2014
10 years ago
BenDol
37f9d3e200
Fix building issues.
10 years ago
BenDol
b295053662
Finished stable implementation (as far as tested), still requires more testing.
10 years ago
BenDol
61059e66ec
Started implementing ability to load custom config files (currently unstable).
...
Feel free to help out with this if you like :)
10 years ago
Shawak
d20c263912
Ability to get buffer from inputmessage
10 years ago
Shawak
07e40afa3d
Ability to get buffer from inputmessage
10 years ago
Shawak
8179915e06
Ability to get buffer from inputmessage
10 years ago
Sam
a58a3e90c8
Implement purse slot ( closes #208 ), add version 10.37 (could not find protocol changes)
10 years ago
Sam
8d8f32b081
Partial 10.36 support, also fix #499
10 years ago
Sam
9d866a3616
Merge pull request #501 from conde2/master
...
Fix protocol erros and try to fix walk delay
10 years ago
conde2
0fbba70003
Fix protocol erros and try to fix walk delay
...
Not implemented CreaturesType, just fixed the protocol error reported in
#493 , also try to fix #499 and #461
10 years ago
Henrique Santiago
598a7edf6b
Merge pull request #497 from Faith2531/patch-1
...
Update game.cpp
10 years ago
Sam
b415b73b4a
Fix creature marks. Thanks to @dalkon
10 years ago
Faith2531
b6d8ede854
Update game.cpp
...
changed max supported protocol to 10.35
10 years ago
conde2
d080432e14
Support for newer versions and light draw fix
...
Avoid drawing light under covered tiles.
10 years ago
LordHepipud
82a5989f5c
Fix Tile::getTopLookThing()
...
Fixing an issue which returned splash items instead of real usable items.
In case a blood splash is inside an open door, you are unable to close it. This patch will ignore splash items and return the real usable item correctly.
~~~~Lord Hepipud~~~~
10 years ago
Eduardo Bart
bb514d3acb
Optimize path finding upto 100x performance again
10 years ago
Henrique Santiago
b7b8fdfd0c
Fix BinaryTree skip, small otb changes
10 years ago
Eduardo Bart
57a330e589
Fix path finding issue introduced by PR #470
10 years ago
Ahmed Samy
96f3bcb42b
Merge https://github.com/shirayukikitsune/otclient
...
* https://github.com/shirayukikitsune/otclient :
And do not delete curly brackets.
Meh, spacing.
Even more fixes
Optimizations in Map::findPath
More fixes in Map::findPath
Fixes heap corruption in Map::findPath
10 years ago
Ahmed Samy
c8b4566194
TextEdit: If cursor pos reaches end, move to start, and the opposite
10 years ago
sakagushi
f0fbd4790f
And do not delete curly brackets.
10 years ago
sakagushi
cb1f28a3a3
Meh, spacing.
10 years ago
sakagushi
cc1e3c534e
Even more fixes
...
Forgot to clean the garbage generated in the last commit.
10 years ago
sakagushi
f4f79f47bd
Optimizations in Map::findPath
10 years ago
sakagushi
ff617c3fab
More fixes in Map::findPath
...
Fixed the styling, std::unique and removed the priority_queue comment
10 years ago
sakagushi
43524a9127
Fixes heap corruption in Map::findPath
10 years ago
Sam
48ff67dc06
Fix useWith issue
10 years ago
Sam
8bd154b604
Merge pull request #452 from conde2/master
...
Temporary fix for async
10 years ago
conde2
9da018fdff
Temporary fix for async
...
This should be fixed in server side, until that we just don't need to
use.
10 years ago
Sam
4f4788c1c3
Fix WritableDate to correct version (at least I hope so), fixes #446
10 years ago