Commit Graph

339 Commits

Author SHA1 Message Date
Daniel Björkholm 408e9b4239 Fix data type for Modal Dialog ID 2017-11-16 14:50:12 +01:00
Marcin Michalski 13789c5612 Properly check tile elevation in older protocols 2017-11-04 11:24:12 -02:00
Eduardo Bart 7046fa1cdb
Merge pull request #874 from EgzoT/EgzoT-useWith_fix
Fixed problem with function "useWith" on creatures
2017-11-04 11:13:11 -02:00
Eduardo Bart aeb98810ed
Merge pull request #878 from EgzoT/EgzoT-map_missile_bug
[Probable bug] Double use function onAppear
2017-11-04 11:08:37 -02:00
Eduardo Bart 8b161e1a07 Priorize OpenSSL 1.0 in cmake, warning fixes 2017-11-04 09:03:57 -02:00
EgzoT f4f3219d61 [Probable bug] Double use function onAppear
Method Map::addThing uses two times function onAppear for object Missile.
First used in line 119, but then used again the same function in line 165.
Without first function onAppear method Map::addThing work the same.
2017-10-25 23:25:02 +02:00
EgzoT 1950d8ec26 Fixed problem with function "useWith" on creatures 2017-10-23 02:33:51 +02:00
A-Syntax df422c0991 Update protocolgameparse.cpp (#777)
The vocation id was not being received by the client.
https://github.com/otland/forgottenserver/issues/1982
2017-02-04 13:05:03 +02:00
Joao Pasqualini Costa 2292df922d Fix Look (#818)
sendLookCreature should only be called in battleList
2017-02-02 09:59:20 +02:00
GustavoBlaze 743e73d755 Applying the otclient code style 2017-01-24 15:27:58 -02:00
GustavoBlaze bc20e16584 Applying the otclient code style
changing the variables names
2017-01-24 14:58:11 -02:00
GustavoBlaze a4400a4ff1 applying the otclient code style
changing the variables names
2017-01-24 14:56:21 -02:00
GustavoBlaze 2927ed29d8 Bug idle animations of the creatures solved
These changes we join the idle animations with the walking animations
2017-01-23 22:39:16 -02:00
Ahmed Samy 94d60432f3 Merge pull request #766 from TibiaFun/patch-1
Update protocolcodes.cpp
2017-01-13 18:31:41 +02:00
Ahmed Samy b6140a03b4 Merge pull request #764 from elderapo/patch-1
Fix typo
2017-01-13 18:31:33 +02:00
Bruno Minervino 882be286d9 Update copyright year for 2017 2017-01-13 08:47:07 -02:00
zygzagZ 8486f6c867 Fixed talking with npc for 8.54 2017-01-12 15:40:13 +01:00
Joseph Bingham e5d28e00e2 Fixes inconsistent coding style 2016-11-08 12:54:31 -05:00
Joseph Bingham 9148d412e5 Replace tabs with spaces (again) 2016-11-08 00:00:21 -05:00
Joseph Bingham 5a5adc4ed6 Replace tabs with spaces 2016-11-07 23:58:42 -05:00
Joseph Bingham 344146ba2d 10.96, 10.97, 10.98, 10.99 support
Adds basic support for the latest client version
2016-11-07 23:52:42 -05:00
TibiaFun 0870fda2ac Update protocolcodes.cpp 2016-10-23 13:31:02 +02:00
Tomasz Martyński 8ffacefb04 Fix typo
change "getOufitColor" to "getOutfitColor"
2016-10-10 02:16:40 +02:00
Ranieri Althoff 2f1f62a916
Update copyright year for 2016 2016-07-09 22:11:34 -03:00
Sam 1ec3b65a3a 10.94, 10.95 support 2016-07-03 00:50:08 +02:00
Sam 1c09c3770b Protocol 10.93 2016-05-23 02:48:32 +02:00
Nailson d1b26781d3 Fix 'getTopMultiUseThing' returning border items. 2016-04-11 09:42:37 -03:00
Sam 7a8e605704 Minimal 10.91 support 2016-03-03 08:44:26 +01:00
Sam 2b7e2a45ea Fix 7.4 walking over items with elevation 2016-01-25 22:19:39 +01:00
Sam 408b3c5125 Fix npc message mode 2016-01-20 02:44:13 +01:00
TheSumm 90deb067a6 Added missing message types 2015-12-22 13:06:36 +01:00
TheSumm 37f563d3d5 Replaced some tabs with spaces 2015-12-11 01:51:55 +01:00
TheSumm 80184a1249 Initial 10.90 support
Basic support, I did not check for further protocol changes yet.
2015-12-08 18:25:18 +01:00
TheSumm 0d8791e1a7 Protocol updates up to 10.82 2015-10-24 17:46:53 +02:00
Nailson d41fe195f4 Add 'GameKeepUnawareTiles' feature.
Remove tiles that we are not aware anymore by default.
2015-10-06 00:37:50 -03:00
Nailson f1fdbd56e9 Add a flag for idle animation game feature. 2015-08-26 19:49:43 -03:00
Konrad Kuśnierz 4591a37844 My bad, wrong function name. 2015-07-19 10:33:55 +02:00
Konrad Kuśnierz 8abefb1505 Fix #601, fix #599 2015-07-19 10:27:06 +02:00
BenDol 07a2995285 Fix NPC static text and missing SpeakType. 2015-07-19 06:03:19 +12:00
Nailson 5ef55307f5 Fix #664 2015-07-05 13:05:12 -03:00
Konrad Kuśnierz b9848f360c Check for Otc::GameAttackSeq feature 2015-06-21 12:44:19 +02:00
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.
2015-05-12 23:44:10 +02:00
Konrad Kuśnierz 6bd0e37670 Correctly draw creatures bigger than 64x64
Battlelist icon
2015-05-12 10:16:14 +02:00
Konrad Kuśnierz 11990815a6 Correctly load corrupted otmm file, should fix #606 2015-05-10 22:31:10 +02:00
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.
2015-05-09 20:27:04 +02:00
TheSumm ab5bed456b Fix warning 2015-04-19 13:54:55 +02:00
TheSumm fcd481ee15 Added missing message mode 2015-03-09 23:26:39 +01:00
TheSumm 83dc129f03 Protocol 10.76, fixed death window & death packet 2015-03-07 06:10:10 +01:00
Gabriel Pedro 04b516a1a0 Update copyright for 2015 2015-03-04 10:36:51 -04:00
TheSumm f51a160bde Remove unintentionally added files 2015-02-15 03:27:32 +01:00