Marco
b8e69c2967
add: missing screenshots triggers ( #4574 )
2023-12-14 15:08:52 -03:00
Marco
ab1d31399e
Update to game protocol 13.10 ( #4591 )
2023-12-13 23:22:09 +01:00
Marco
d3855bf11b
feat: auto switch hotkey presets ( #4572 )
...
Co-authored-by: Zbizu <Zbizu@users.noreply.github.com>
2023-12-13 17:12:45 -03:00
Marco
ad6a00db48
Comparison Updates: Replacing -1 with nil Checks in Multiple Files ( #4578 )
...
* refactor: replace -1 with nil
* refactor: replace nil checks with not in conditions
* resolve conversation
* revert this
* Update login.lua
2023-12-04 13:59:19 -06:00
Marco
015c08b868
feat: client exp display ( #4442 )
...
Co-authored-by: Joseph Bingham <jo3bingham@users.noreply.github.com>
2023-05-13 19:11:54 -04:00
Rey Alemán
1972bc8940
feature: in-game highscores ( #4421 )
...
Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-05-11 21:19:47 -04:00
Ranieri Althoff
42473f346c
Extract get killer method in Player:onDeath ( #4427 )
...
* Extract get killer method in Player:onDeath
* Fix variable name
* Fix missing argument
2023-04-29 12:40:33 +02:00
Sarah Wesker
ec3eb0e784
feature: Bestiary in Lua ( #4402 )
2023-04-19 12:59:15 -03:00
Piotr3k1447
ca0885d403
Stamina regeneration time is now configurable ( #4170 )
2022-06-25 14:27:54 -03:00
Moisés dos Santos
9ea707c889
Removed unnecessary if at login script ( #4165 )
2022-06-18 15:15:12 -03:00
Evil Puncker
e8785022e5
Renamed a few files to keep a default naming style ( #4099 )
2022-05-07 19:13:32 -04:00
Ramon Bernardo
d87a015212
Use modern bool comparator on lua ( #3962 )
2022-02-24 17:44:05 -03:00
Evil Puncker
1b19b33452
Updated message types ( #3839 )
2021-12-14 18:39:39 -05:00
Ramon Bernardo
a9b474693d
Use nextUseStaminaTime only player gain experience ( #3779 )
2021-12-09 16:24:27 -03:00
Marco Oliveira
218c37a796
[12.31] The duration of the Stamina bonus hours was increased from 2 to 3 hours ( #3772 )
2021-11-28 01:36:33 -03:00
Zbizu
cf6440c54d
updating login message time format ( #3769 )
...
more up to date format for "your last visit" message
2021-11-03 10:27:42 -03:00
Ramon Bernardo
48167ef5fe
Promotion: fixed auto-promotion for premium players. ( #3418 )
2021-04-20 16:38:06 -03:00
Evil Puncker
a880956e6e
Fix misspelled variable name in playerdeath.lua ( #3120 )
2020-07-09 00:37:09 +02:00
Evil Puncker
09befdca6a
Fixed some inconsistency on OnDeath parameters ( #3067 )
2020-06-08 21:07:08 -04:00
Gabriel
d42f02a651
creaturescripts: update droploot.lua ( #2959 )
2020-04-30 17:44:47 -04:00
Marco Oliveira
437419d38e
Store global map of storage IDs in data/lib/core/storages.lua ( #2791 )
2020-02-23 19:52:03 -05:00
Evil Puncker
380903887a
Added shopping bag to modules ( #2701 )
...
- Added shopping bag to NPC "buy with backpacks" function as of Tibia 10.55 update
- Changed some commands to meta-table commands
- Added a few items into enums for future use
- Changed coins name
- Added missing registerEnum ITEM_SHOPPING_BAG
2019-10-29 17:42:30 -04:00
Luan Luciano
8f66d20e45
Update Lua codebase to use new (meta-table) functions ( #2668 )
2019-10-14 18:28:33 -04:00
Kamenuvol
f7c3c1f03a
Add metatable function Group:hasFlag(flag) ( #1906 )
2017-12-19 23:47:29 +01:00
Wagner Riffel
01b49294f2
Datapack consistent coding style ( #2100 )
2017-12-17 21:03:57 +01:00
Ranieri Althoff
e7e79a0c3a
Replace isInArray with table.contains
2017-01-28 17:32:51 -02:00
Ranieri Althoff
b79d74fda2
Move bug report from creaturescripts to events
2017-01-18 00:20:24 -02:00
Ranieri Althoff
28567fafc6
Move bug report to Lua ( #1452 )
2017-01-17 23:42:32 -02:00
Daniel Björkholm
59242b9df8
Moved offline training snippet (from Player::onCreatureAppear) to Lua
2015-07-25 15:53:03 +02:00
Daniel Björkholm
0c070f0f7c
Fix a bug in droploot.lua
2015-06-23 10:40:38 +02:00
WibbenZ
a2ae9b0db3
Remove trailing spaces
2015-05-31 23:38:35 +02:00
dalkon
60ab440d5d
Update npc lib
...
Closes #342
2015-04-03 17:55:33 +02:00
Mark Samman
c3ef3eeb34
Pass corpse as item userdata in onDeath
2015-03-15 14:26:38 +01:00
Mark Samman
ccf1b310d6
Stamina improvements
...
* Better support for allowClones (using creature id instead of guid)
* Minor optimizations
* Fix memory leak on death
2015-02-08 15:37:46 +01:00
Daniel Björkholm
661bc66d16
Moved regenerateStamina, useStamina and exp multiplier (staminaChange as well) to Lua
2015-02-08 10:26:28 +01:00
Daniel Björkholm
5d7fd95960
Moved DropLoot to Lua.
2015-02-01 14:08:15 +01:00
Mark Samman
7b460107e8
Optimize playerdeath.lua
2014-12-04 18:28:08 +01:00
Mark Samman
96edcc2fa8
Initial commit for non-blocking SQL queries
2014-12-04 18:24:33 +01:00
dalkon
4eb07d37c5
Small fix
...
Make sure that this value becomes 0 when the userdata does not exist.
2014-11-03 19:42:40 +01:00
Mark Samman
877e42399f
Passing userdata instead of cid everywhere
...
This is a breaking change, and I think it's safe to assume that most NPC
scripts are broken and the NPC system needs a rewrite/some backwards
compatibility patch to pass id's instead of userdata to callbacks.
2014-11-03 19:10:51 +01:00
dalkon
15d37574cb
Fix bug with playerdeath.lua
2014-10-24 15:18:34 +02:00
andypsylon
62fe3019da
/creaturescripts
...
new functions
2014-03-27 12:09:04 +01:00
Mark Samman
73aa42a0b8
Minor cleanup
2014-03-11 10:56:03 -04:00
Mark Samman
9331dca27b
Code cleanup
...
Remove unused functions
Make functions const/static where possible
2013-11-17 03:03:31 +01:00
Mark Samman
ec5e152119
Remove unused/unnecessary config variables
2013-11-17 01:25:31 +01:00
dalkon
eea1bba8c5
Use userdata
2013-11-12 18:44:39 +01:00
dalkon
b03b8f6da0
Fix again
2013-11-12 18:25:25 +01:00
dalkon
6a0a1dbb80
Fix
2013-11-12 18:18:22 +01:00
dalkon
74c11515a1
Extended Opcode
2013-11-07 23:49:36 +01:00
Sam
65d0da1580
Moved loginmessage to login.lua
2013-09-20 21:48:00 +02:00