Commit Graph

2564 Commits

Author SHA1 Message Date
EgzoT c1a5a661e7
Fixed indentation and changed function location 2017-11-17 02:32:31 +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
Eduardo Bart 8bbc8c09a5
Update README.md 2017-11-04 12:33:51 -02:00
Sportacus a9f6f7662f Log file saves specific to server and character
Changed it so when you save a log file, the log file name includes the
server name and the characters name, in the file name.

This is to improve organization, to separate logs based off the server
you are on, and the character you are logged in.
2017-11-04 11:34:33 -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 e6bec115ae Try to fix travis build script 2017-11-04 10:32:23 -02:00
Eduardo Bart 8b161e1a07 Priorize OpenSSL 1.0 in cmake, warning fixes 2017-11-04 09:03:57 -02:00
Eduardo Bart 696610bba7
Merge pull request #880 from diath/fix_missing_include
Fix a missing include in unix crash handler
2017-10-31 12:48:15 -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
Henrique Santiago 4e9e1555f4 Merge pull request #872 from EgzoT/EgzoT-trade_request_ui
Sending trade request using "UICreatureButton"
2017-10-22 20:21:16 -03:00
Henrique Santiago a4a40426bf Merge pull request #873 from EgzoT/EgzoT-getBackground
Add function getBackground
2017-10-22 20:18:53 -03:00
EgzoT d44733ff3e Add function getBackground
Add function getBackground 
Function getBackground return background value, who contain background UI (login screen).
2017-10-22 23:31:45 +02:00
EgzoT bc507fd98b Sending trade request using "UICreatureButton"
Extending the possibilities of "UICreatureButton" widget.
Adding possibility sending trade request in battle list (game_battle module) and other modules who use widget "UICreatureButton".
2017-10-22 23:21:02 +02:00
Marc Knaup a604ea7153
fixed clang 9 compile errors in shared_object_ptr 2017-09-29 23:39:27 +02:00
Konrad Kuśnierz 8c731ac016 Merge pull request #844 from gesior/iptostring_fix
Fix iptostring in LUA
2017-05-13 14:08:25 +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
Henrique Santiago 42df56a98d Merge pull request #831 from ranisalt/master
Fix misleading indentation
2017-03-27 08:06:45 -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 837f461bb1 Update README (#817)
Remove all broken links and fix MSVC link
2017-02-02 10:00:03 +02:00
Joao Pasqualini Costa af92792d4a Fix Login problem and use removeEvent (#816)
When trying to logout in battle the player would not logout and tryLogin
would be called, so the next time you tryed to login it will still be
trying to login
2017-02-02 09:59:41 +02:00
Joao Pasqualini Costa 2292df922d Fix Look (#818)
sendLookCreature should only be called in battleList
2017-02-02 09:59:20 +02:00
Joao Pasqualini Costa 0676b68493 Include Issue Template (#819) 2017-02-02 09:58:48 +02:00
Ahmed Samy fdec018186 Merge pull request #808 from GustavoBlaze/patch-1
Bug idle animations of the creatures solved
2017-01-24 23:42:49 +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 15483a395f Merge pull request #805 from brunominervino/some-changes
Change LICENSE Copyright Year
2017-01-18 23:41:13 +02:00
Ahmed Samy e44b33fc67 Merge pull request #807 from conde2/otclient-locales
Show missing translation on console
2017-01-18 23:40:51 +02:00
Ahmed Samy af09a91d64 Merge pull request #806 from conde2/otclient-vs
Update Visual Studio Project
2017-01-18 23:40:36 +02:00
conde2 a644dff043 Show missing translation on console 2017-01-18 11:31:40 -02:00
conde2 664ef6bcad Update Visual Studio Project
Update Visual Studio to work with PATH system variables in Windows
systems. Credits go to @Radseq for changing the project and to me for
update to Visual Studio 2015

Closes
#795
#746
#718
#724
#713
2017-01-18 11:20:09 -02:00
Bruno Minervino deeb80dd67 Revert Extension 2017-01-17 09:42:31 -02:00
Bruno Minervino 9d3f3d8aec Change LICENSE Copyright Year and Extension 2017-01-16 10:38:58 -02:00
Ahmed Samy deee6ed8c9 Completion for #764
Thanks to @conde2 for pointer it out.
2017-01-13 18:46:04 +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