Commit Graph

1830 Commits

Author SHA1 Message Date
EgzoT 9e9d88f184 Add setBuffer() method to OutputMessage class 2018-04-24 23:21:58 +02:00
Kamil Chojnowski 3b23b787f3 Add creature type icons for summons 2017-11-19 20:02:34 +01:00
Anderson Chaves Faria 2e3bf66502 Fix wrong parameter name in source
This will fix missing t in outfit parameter
2017-11-17 14:26:23 -02:00
Eduardo Bart 0a6e7dd74e
Merge pull request #898 from EgzoT/EgzoT-setPathable
Add setPathable() function
2017-11-16 23:51:15 -02:00
EgzoT c1a5a661e7
Fixed indentation and changed function location 2017-11-17 02:32:31 +01:00
Eduardo Bart a9c59526e0
Merge pull request #904 from ninjalulz/FixModalWindowId
Fix data type for Modal Dialog ID
2017-11-16 22:56:28 -02:00
Kamil Chojnowski 93f51fe127 Add player mana bar 2017-11-16 19:06:40 +01:00
Daniel Björkholm 408e9b4239 Fix data type for Modal Dialog ID 2017-11-16 14:50:12 +01:00
EgzoT 5650db7ba2
Move definition to thingtype.cpp file
Move definition from thingtype.h to thingtype.cpp file
2017-11-15 02:20:33 +01:00
EgzoT c51df93e3e
Add setPathable() function
Adding function who changing item attribute (ThingAttrNotPathable).
Allows to walk on not pathable items (ThingAttrNotPathable -> true) like parcels, fire fields etc. and vice versa.
Modifying item attribute without editing items sources files. Temporary action for the duration of the client session.

Usage:
print(g_things.getThingType(3504):isNotPathable()) -> true

g_things.getThingType(3504):setPathable(true)

print(g_things.getThingType(3504):isNotPathable()) -> false

Helpful for highter levels players to ignoring "avoiding" fire/energy/poison fields etc. when using map click.
2017-11-15 01:02:06 +01:00
Eduardo Bart 2095951e07 Add missing include 2017-11-14 13:59:19 -02: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 aa19f45d94 Fixes to compile on mingw32 2017-11-04 11:05:25 -02:00
Eduardo Bart c9bc9e327d
Merge pull request #867 from fluidsonic/clang-9
fixed clang 9 compile errors in shared_object_ptr
2017-11-04 10:53:46 -02:00
Eduardo Bart 8309fee510 Fix build for mingw-w64 2017-11-04 10:43:57 -02:00
Eduardo Bart 8b161e1a07 Priorize OpenSSL 1.0 in cmake, warning fixes 2017-11-04 09:03:57 -02:00
Kamil Chojnowski f33a44643f Fix a missing include 2017-10-31 13:44:38 +01: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
Marc Knaup a604ea7153
fixed clang 9 compile errors in shared_object_ptr 2017-09-29 23:39:27 +02:00
Jerzy Skalski 1d77d202e6 Change uint to uint32 2017-05-13 13:14:25 +02:00
Jerzy Skalski 90de0dec04 Fix iptostring
Fix iptostring bug that blocks access to half of OTSes
2017-05-12 15:47:44 +02:00
Konrad Kuśnierz c87c450905 Fix #703 2017-05-01 18:15:16 +02:00
Henrique Santiago 8871659b07 Fix image read 2017-04-27 18:47:08 -03:00
Ranieri Althoff 88d0a0a879
Fix misleading indentation 2017-03-27 01:54:35 -03: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
Eduardo Bart a6a50fa162 Merge pull request #744 from ranisalt/copyright-year
Update copyright year for 2016
2016-07-10 11:10:43 -03:00
Ranieri Althoff 551f30d32f
Replace deprecated c++11 test with cmake script 2016-07-09 22:51:32 -03: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