diath
b3aaa10646
Remove stdext::packed_vector ( #1106 )
...
Co-authored-by: Kacper Piwiński <cosiekvfj@o2.pl>
2020-08-26 09:54:05 +02:00
diath
59059321a6
Fix an issue with pathfinding not respecting the PathFindAllowCreatures flag properly ( #1090 )
2020-06-13 09:00:01 +02:00
slavidodo
d95bde1c77
fixing some unused variables and hiding previous/class members warnings
2020-05-07 19:05:16 +02:00
Konrad Kuśnierz
066df4dd52
Merge pull request #1070 from Ochmar/master
...
Getting rid of redraw on lying corpse
2020-02-03 10:23:42 +01:00
OchmanM
e1c3fac974
Getting rid of redraw on lying corpse
...
In https://github.com/edubart/otclient/issues/1040#issuecomment-581173589 we had a discussion if tile:draw() redrawing in case of lying corpse either is needed or not. We came to conclusion that there are way too many downsides of this resolution and therefore we opt against redrawing. Both performance-wise and gameplay-wise it is better without redrawing.
2020-02-03 10:07:19 +01:00
Sposito
fbcf0a3eea
Update copyright year for 2020
2019-12-31 10:07:29 +00:00
Konrad Kuśnierz
2f76fe1c3c
Merge pull request #1045 from diath/dft_cpy_mov_ctor
...
Add default copy constructors to Color and Position classes
2019-10-10 08:13:50 +02:00
Kamil Chojnowski
6a2d12ce27
Add default copy constructors to Color and Position classes
2019-10-10 01:47:34 +02:00
Kamil Chojnowski
869de6886f
Tidy up the source code
...
* Replaced push_back calls with emplace_back where applicable.
* Replaced size() == 0 and size() != 0 with empty() and !empty().
* Replaced C style loops for range for loops where applicable.
* Fixed mismatching arg names between function declarations and definitions.
* Replaced NULL and 0 (in the context of pointers) with nullptr.
* Remove unnecessary calls to string::c_str() where applicable.
* Replaced deprecated C headers with proper C++ headers.
* Removed unnecessary null pointer checks when deleting pointers
(deleting a null pointer has no effect).
* Fixed a potential memory leak in apngloader.cpp file.
* Replaced unsafe strcpy with strncpy in the demangle_name function.
2019-10-10 00:59:24 +02:00
Maximilian
833f029335
don't call getChildren() thrice
2019-04-27 19:21:38 +02:00
Konrad Kuśnierz
e3b02a7c5d
Merge pull request #986 from okk3/patch-1
...
Function updateJump() fix
2019-01-16 13:53:14 +01:00
Konrad Kuśnierz
74d328206b
Merge pull request #1002 from diath/fix_magic_effects
...
Fix magic effect animations in newer client versions
2019-01-16 13:50:51 +01:00
Kamil Chojnowski
a40130d79b
Fix magic effect animations in newer client versions
2019-01-06 06:17:25 +01:00
Kamil Chojnowski
8301bc74f3
Add support for channel events
2019-01-05 22:22:01 +01:00
Okke
a93333ddbf
Function updateJump() fix
...
nextT should cast double as it's a second degree equation and results in a double type. -> Bhaskara.
2018-08-06 00:08:37 +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
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