Commit Graph

1724 Commits

Author SHA1 Message Date
Sam fe585d27d8 Cleanup dat loading, fix version 8.6+ 2014-07-30 17:06:40 +02:00
Sam 153cf3e859 Container fix 2014-07-29 21:11:56 +02:00
Sam 6b46370d1a 7.4 .dat support, playing an actual server might not work yet 2014-07-29 21:11:17 +02:00
Sam 2a57a5f7d0 Browse field, locked & paginated container support 2014-07-15 23:27:44 +02:00
BenDol 9e0ddb08e3 More debug prints and avoid null pointer. 2014-07-14 01:56:17 +12:00
BenDol 0f362f80e3 Added easy menu hooking, fixed terminal default size/pos & more:
* Added autowalk style option to Minimap style.
* Added onCreate for setting up variables before styling is applied etc.
2014-07-13 22:27:09 +12:00
BenDol 07ac5c27ca Added some missing lua functions. 2014-07-12 01:03:21 +12:00
BenDol 9f7aafac0b Fix a crash issue when attempting to draw invalid item.
This can happen when using UIItem as interfaces etc.
2014-07-11 16:19:30 +12:00
djayk1 8fccc1eb63 Little fix 2014-06-29 11:25:01 -03:00
djayk1 10438c21ff Update game.cpp 2014-06-23 12:20:12 -03:00
djayk1 ec99d35cee Update game.cpp 2014-06-23 12:19:12 -03:00
djayk1 85fe5867f3 Update protocolgameparse.cpp 2014-06-23 12:07:38 -03:00
djayk1 1a77473e13 Update const.h 2014-06-23 12:05:35 -03:00
djayk1 cc483fba5a Update game.cpp 2014-06-23 12:04:30 -03:00
djayk1 94686d3fe8 Update protocolgameparse.cpp 2014-06-23 11:39:43 -03:00
djayk1 468ac9cbd2 Update game.cpp 2014-06-23 11:38:15 -03:00
BenDol 2df51622ba Some improvements to some things. 2014-06-02 10:04:56 +12:00
BenDol 0ad45d6826 Added 2 global functions for Position & g_map.getTiles(). 2014-05-31 15:47:18 +12:00
Henrique Santiago 72b3403728 Fix filestream read 2014-05-09 18:56:15 -03:00
Nail 25fb3113fa Fix calculate patterns. 2014-04-20 23:58:26 -03:00
BenDol 24acf8855f Now possible to create effects and missiles via lua. 2014-04-20 13:26:05 +12:00
BenDol 65d556ef4e Fixed issue with isAttacking and isFollowing on older protocols.
Some protocols don't send a cancel attack/follow packet to the client when a creature dies.
2014-04-20 04:36:52 +12:00
BenDol 45b41b88bd Merge branch 'master' of https://github.com/edubart/otclient 2014-04-06 15:29:23 +12:00
BenDol 1baad726ae Just use g_configs.unload(config) to unload config files.
Avoids concurrent modification errors.
2014-04-06 15:29:02 +12:00
Nail 8dec9cd835 Fix alpha at color key. 2014-04-04 16:28:56 -03:00
Nail 41b2f9b911 Per-pixel transparency. 2014-04-04 12:58:12 -03:00
BenDol a02c091376 Fix stop crashing with UIWidget::moveChildToIndex. 2014-04-04 11:33:17 +13:00
BenDol 01e6169cfb Fix to setText method. 2014-04-04 04:49:44 +13:00
BenDol 1074b6b787 Provide the option to suppress lua call in setText 2014-04-03 05:20:35 +13:00
BenDol 3ce37dacbd Removed onUnload from corelib and added more lua bindings for resources. 2014-04-02 05:20:18 +13:00
BenDol 166eb7614f Fix accidental cmake changes. 2014-04-02 03:04:10 +13:00
BenDol 8b3f3b11f0 Can now unload a Config by config:unload() 2014-04-02 02:34:12 +13:00
BenDol 2d84fae2c8 Can now create new configs on the fly using: local config = g_configs.create(file) 2014-04-02 01:54:13 +13:00
BenDol 5204e3ac03 Proper termination and initialization of the ConfigManager. 2014-04-02 00:30:17 +13:00
BenDol 547b18db9a Update copyright for 2014 2014-04-01 18:36:42 +13:00
BenDol 37f9d3e200 Fix building issues. 2014-04-01 18:09:25 +13:00
BenDol b295053662 Finished stable implementation (as far as tested), still requires more testing. 2014-04-01 16:27:33 +13:00
BenDol 61059e66ec Started implementing ability to load custom config files (currently unstable).
Feel free to help out with this if you like :)
2014-04-01 05:43:31 +13:00
Shawak d20c263912 Ability to get buffer from inputmessage 2014-03-22 18:09:11 +01:00
Shawak 07e40afa3d Ability to get buffer from inputmessage 2014-03-22 18:07:13 +01:00
Shawak 8179915e06 Ability to get buffer from inputmessage 2014-03-22 18:05:32 +01:00
Sam a58a3e90c8 Implement purse slot (closes #208), add version 10.37 (could not find protocol changes) 2014-03-12 15:46:35 +01:00
Sam 8d8f32b081 Partial 10.36 support, also fix #499 2014-03-12 06:39:20 +01:00
Sam 9d866a3616 Merge pull request #501 from conde2/master
Fix protocol erros and try to fix walk delay
2014-03-11 21:56:07 +01:00
conde2 0fbba70003 Fix protocol erros and try to fix walk delay
Not implemented CreaturesType, just fixed the protocol error reported in
#493, also try to fix #499 and #461
2014-03-11 17:18:50 -03:00
Henrique Santiago 598a7edf6b Merge pull request #497 from Faith2531/patch-1
Update game.cpp
2014-03-03 12:04:09 -03:00
Sam b415b73b4a Fix creature marks. Thanks to @dalkon 2014-03-03 15:54:58 +01:00
Faith2531 b6d8ede854 Update game.cpp
changed max supported protocol to 10.35
2014-03-03 11:50:47 +01:00
conde2 d080432e14 Support for newer versions and light draw fix
Avoid drawing light under covered tiles.
2014-02-24 15:33:29 -03:00
LordHepipud 82a5989f5c Fix Tile::getTopLookThing()
Fixing an issue which returned splash items instead of real usable items.
In case a blood splash is inside an open door, you are unable to close it. This patch will ignore splash items and return the real usable item correctly.

~~~~Lord Hepipud~~~~
2014-02-17 22:51:59 +01:00