Commit Graph

1850 Commits

Author SHA1 Message Date
Konrad Kuśnierz 1c8cea513c
Fix setBuffer of the OutputMessage class 2019-03-06 14:48:46 +01:00
Konrad Kuśnierz 92532a958e
Merge pull request #967 from EgzoT/EgzoT-OutputMessage_setBuffer_2
Add setBuffer() method to OutputMessage class
2019-03-06 14:46:24 +01:00
Konrad Kuśnierz ef8fa2472c
Merge pull request #1001 from divinity76/patch-2
OpenSSL >= 1.1.0 compatibility
2019-03-06 14:30:20 +01:00
Konrad Kuśnierz 8b8e7312ea
Fix code style 2019-03-06 09:41:37 +01:00
Konrad Kuśnierz fd3db800fe
Fix default init of BIGNUM to nullptr 2019-03-05 09:29:13 +01:00
Konrad Kuśnierz 9186ac5321
Follow OTClient code style 2019-03-05 00:44:18 +01:00
Konrad Kuśnierz 33b60e842f
Merge pull request #966 from diath/msvc_fixes
Silence Windows SDK warnings when building with MSVC
2019-01-16 13:57:30 +01: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
Konrad Kuśnierz f7ceb788e8
Merge pull request #1004 from diath/add_channel_events
Add support for channel events
2019-01-16 13:30:09 +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
divinity76 79e31cb041
OpenSSL >= 1.1.0 compatibility
OpenSSL did some otclient-breaking changes around 1.1.0, 
this patch should work on both < and >= 1.1.0
2018-12-06 00:51:16 +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
Daniel Speichert dc729d9846
Fix formatting 2018-07-16 08:47:31 -04:00
Daniel Speichert 271790d22e Upgrade vcxproj + fix path to OpenAL from vcpkg 2018-07-15 17:37:36 -04:00
Daniel Speichert ad769d6614 Fix compilation errors (READ_TIMEOUT, READ_TIMEOUT) 2018-07-15 17:03:21 -04:00
Malizia R b813508eb7
Fixing a typo 2018-05-09 06:56:14 -03:00
EgzoT 9e9d88f184 Add setBuffer() method to OutputMessage class 2018-04-24 23:21:58 +02:00
Kamil Chojnowski 1bd392aba9 Silence Windows SDK warnings when building with MSVC 2018-04-23 14:33:08 +02:00
EgzoT 4007980c0c Change outdated compiler name for VS (#920)
Change "msvc12" compiler name to "Visual Studio [13-17]" for Visual Studio compiler. 
Name based on "_MSC_VER" parameter.
2018-02-28 21:48:27 +01: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