Ramon Bernardo
afd9165725
refactor(thing): remove Cylinder class and merge receiver logic into Thing ( #5058 )
...
* refactor(cylinder): remove Cylinder class and merge receiver logic into Thing
* fix(game): code format
* fix(trashholder): code format
* refactor(thing): remove unused params
* refactor: remove unused params
* fix(luascript): use default switch case
* fix(item): parent nullptr check
* refactor(creature): use tile property instead getTile method
Co-authored-by: Ranieri Althoff <1993083+ranisalt@users.noreply.github.com>
* refactor(item): getTile method on get parent
* refactor(player): simplify query destination logic
* refactor(container): simplify query destination logic
* refactor(item): use const parent var
* fix(luascript): support move removed item
* fix(game): rename thing param
* fix(player): destThing nullptr check
* fix(thing): remove startDecaying method
* fix(container): merge master branch
* fix(depotchest): merge master branch
* refactor(container): remove unnecessary if state on top-parent
---------
Co-authored-by: Ranieri Althoff <1993083+ranisalt@users.noreply.github.com>
2025-11-29 01:38:42 +01:00
Ranieri Althoff
d498855e77
Migrate globalevents to data/scripts ( #4981 )
2025-09-01 10:04:49 +02:00
AvajiOT
9090ee963a
fix: always drop loot if stamina system is disabled ( #4903 )
2025-03-25 21:26:32 +01:00
Artur Knopik Linux
5bfda8f613
Revert "[Revscriptsys] RevNpcSys version 1.0 (lua npcs / NpcType / new npc system) ( #4671 )"
...
This reverts commit 4a89502f46 .
2024-12-05 23:56:16 +01:00
Ramon Bernardo
2aab26709d
Fix reload XML files from lua ( #4844 )
...
* Fix reload XML files from lua
* Fix error message
2024-11-24 23:02:59 +01:00
Ramon Bernardo
38e8c8a67b
Fix raid interval ( #4850 )
2024-11-23 21:57:30 -03:00
Ranieri Althoff
79138e837b
Load actions.xml in Lua ( #4830 )
2024-11-17 17:31:11 +01:00
Marco
6982d66e71
chore: vortex tamer achievement logic ( #4832 )
2024-11-11 21:08:54 -03:00
Marco
503dc14f55
improvement: enable custom ban duration ( #4834 )
...
* improvement: enable custom duration and simplify expiration calculation
* feat: add Game.getPlayerAccountId with compatibility for getAccountNumberByPlayerName
* refactor: improve /unban command with security and error handling
* refactor: ipban to use string formatting in messages
* resolve conversations
2024-11-12 00:10:54 +01:00
Ramon Bernardo
16249ab3c6
Fix world light default config ( #4790 )
...
* Remove cfg world light
* Fi world light cfg
2024-09-26 00:22:30 +02:00
Xmish
2f45dc3a64
Fix runes callback registration ( #4789 )
2024-09-23 12:03:08 -03:00
Ranieri Althoff
25df9cfd38
Move spells to scripts folder ( #4755 )
...
* Move runes to dedicated folder
* Redirect old XML and lib folder to new location
* Drop unused custom spells
2024-09-20 00:13:59 +02:00
sundance
973855c3e0
Fix ice cube sculpting chance ( #4766 )
...
Set the correct chance for ice mammoth sculpting.
* Use stats from tibia-stats research (bigger sample size)
2024-07-17 21:25:36 -03:00
Ranieri Althoff
cf1c4856d7
Move player bug report to Lua ( #4768 )
...
Co-authored-by: Xmish <95135755+xmish@users.noreply.github.com>
2024-07-16 16:17:05 +02:00
Danyel Varejão
3ba9e677a7
Fix some warnings and improve type annotations ( #4740 )
...
* Fix some warnings and improve type annotations
* Fix `item:transform` type annotation
* Remove `dump` function from compat.lua
* Fix `configKeys` type annotations
* Refactor all enums/constants of `cpplinter.lua` and fix ident style to tabs
Some were missing and others were wrong, I got them all directly from the source.
* Refactor the PlayerFlag constants in cpplinter.lua to use bitwise shift operators instead of exponentiation
2024-06-07 01:25:33 +02:00
Mario
4a89502f46
[Revscriptsys] RevNpcSys version 1.0 (lua npcs / NpcType / new npc system) ( #4671 )
...
Co-authored-by: Sarah Wesker <sarahelizabetwesker@gmail.com>
2024-05-30 02:55:42 +02:00
Rey Alemán
93f375f586
Event callbacks fixes ( #4713 )
2024-05-28 22:25:59 -03:00
Rey Alemán
848d64f720
Added request resource balance ( #4646 )
...
* added request resource balance
* pr comments
2024-05-17 18:42:53 +02:00
Sarah Wesker
1387a7de2f
Text Window helper functions ( #4668 )
...
Helper functions in lua for Text Windows
2024-05-14 17:07:40 +02:00
Sarah Wesker
2cdf1dee9a
EventCallback Improvements ( #4395 )
...
* Improvements to the core of EventCallback is now called Event
* renamed the folder to events, which is correct now, and freed up the use of this folder in scripts
* Compatibility with the previous version.
* unnecessary temporary
* resol conflicts
2024-04-16 14:55:26 -06:00
Sarah Wesker
1ff65eeeab
fix tobool ( #4647 )
2024-04-10 21:59:41 -06:00
Sarah Wesker
85e3cc8621
New event onSpellCheck ( #4619 )
...
* new event spell check
2024-01-12 17:36:37 +01:00
Marco
6579f12632
refactor skill advancement event logic ( #4615 )
2023-12-29 08:19:29 -03:00
Marco
80f23984db
fix: update client on advance ( #4604 )
2023-12-27 23:10:51 -03:00
Ramon Bernardo
caf195f609
Move account storage to Lua ( #4590 )
2023-12-17 22:14:29 -03:00
Marco
36b3c89792
fix: Lua error on getWorldTime function ( #4606 )
2023-12-16 14:48:20 -03:00
Marco
b8e69c2967
add: missing screenshots triggers ( #4574 )
2023-12-14 15:08:52 -03:00
Marco
e441ce93c0
Fix: errors in the new raids system ( #4599 )
2023-12-13 20:36:32 -03:00
Marco
ab1d31399e
Update to game protocol 13.10 ( #4591 )
2023-12-13 23:22:09 +01:00
Ranieri Althoff
46e2b7a47f
Move raid system to globalevents ( #1813 )
...
* Drop raids in C++ in favor of Lua global events
- Move raids to globalevents, create Lua interface
- Move force raid command to talkaction
- Create example raid as globalevent
- Add Lua interface to execute timed GlobalEvents
2023-12-12 22:09:44 -03:00
Marco
8cd8ff5850
refactor: unrealized dream table and item use logic ( #4566 )
2023-12-12 17:27:01 -03:00
Marco
5ed350858b
feat: cyclopedia general stats and badges ( #4540 )
2023-12-11 20:32:07 -03:00
Marco
12624c466f
Update to game protocol 12.91 ( #4568 )
2023-12-11 20:06:53 -03:00
Ramon Bernardo
3877aa925c
Move world time and light to lua ( #4583 )
...
* Move world time and light to lua
* Some fix
* Remove duplicated checks and move return to last fn line
* Move world packet to lua
2023-12-10 10:34:26 -06:00
Rey Alemán
b98aab84dd
Added Creature:onChangeZone event ( #4145 )
...
* Creature.onChangeZone event
* pr comments
* format
---------
Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-12-07 19:24:26 -06: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
Rey Alemán
f3d8747b53
feat: effects support for summons ( #4146 )
...
Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-11-25 23:04:44 -03:00
Marco
714ed6ef23
add Player.onRotateItem event ( #4541 )
...
Co-authored-by: Marcin Michalski <57528542+marmichalski@users.noreply.github.com>
2023-09-29 12:39:37 -03:00
Sarah Wesker
9dc86d0c0e
[Modal Window Helper] Return botton / choice ( #4529 )
2023-09-05 14:15:19 -04:00
Sarah Wesker
f288cf3d6f
Separate onGainExperience logic into its own file ( #4505 )
...
* Separate onGainExperience logic into its own file
* applying the bonus correctly before the stamina changes
* check exp
2023-07-19 00:54:38 -04:00
Ranieri Althoff
66d079615b
Add storage values to creatures ( #4495 )
2023-07-09 11:57:31 -03:00
KrecikOnDexin
4faa164c1c
fix bestiary counting summon creatures ( #4496 )
...
Co-authored-by: AKnopik PC <krecikondexin@gmail.con>
2023-07-05 17:53:31 -03:00
Marco
6ac1b94094
Cyclopedia Character: Send Combat Stats ( #4460 )
2023-06-01 20:14:15 -04:00
Marco
a852900862
Cyclopedia Character: Send Achievements ( #4461 )
...
* Cyclopedia Character: Send Achievements
* code improvements
* add achievement clientId
* Update cyclopedia_character.lua
* Update achievements.lua
* Update cyclopedia_character.lua
* Update cyclopedia_character.lua
2023-05-31 21:03:05 +02:00
Sarah Wesker
0d96a31ca7
Fix closing door bug ( #4468 )
2023-05-31 13:30:22 -04:00
Sarah Wesker
c7b6082958
better load_quests_xml.lua ( #4474 )
...
* better load_quests_xml.lua
* spaces to tabs
2023-05-31 00:18:11 -04:00
Marco
becd8551cb
Cyclopedia Character: Send Basic Info ( #4456 )
2023-05-22 08:32:42 -03:00
Marco
5efc56daa9
fix: Convert indentation to tabs on Lua scripts ( #4451 )
...
* fix: Convert indentation to tabs on Lua scripts
* resolve conversation and changed folder path to keep consistency
* Update .editorconfig
2023-05-21 18:52:35 -04: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