License GPLv3

Added on 15.02.2025

Version 1.0

PHP 8.1 and higher

MyAAC 1.0-RC and higher

Uploaded 1 month ago

Author(s)

Uploaded by slawkens

Rating
  0

Rate
Login to rate

Downloads 17

You are viewing old version of this plugin. Click here to switch into latest version.

Plugin Icon

Lua Monsters

Support for Lua Monsters (revscript) - currently only Canary engine.

Login to comment

lua-monsters

What is this?

This is a loader of monsters written in Lua for the Canary engine. (https://github.com/opentibiabr/canary)

Requirements

  • MyAAC version 1.0-RC or higher
  • PHP-extension: lua

The PHP Lua extension can be installed on linux using the sudo apt install php-lua or sudo apt install php8.3-lua (depending on your version of php).

On Windows it's a bit tricky to install the extension, but still possible. I will write one day how to do it. For now following info should be enough: you need to download the correct version of Windows DLLs from https://pecl.php.net/package/lua, paste into php/ext folder of xampp/UniServ, and then enable the lua extension in php.ini

How to access this page?

Just write /monsters in the browser address. Example: http://localhost/index.php/monsters

How to reload?

Access the page, like in previous step, with admin account, and click on the "Reload monsters" button. It may take up to 20 seconds to load all on slow HDD. So be patient. The script execution limit is set to 60 seconds tho, so if you are on slow machine, it may fail to execute.

You will then need to edit the plugins/lua-monsters/src/Monsters.php and change following line to a higher number:

set_time_limit(60);

Where 60 is time in seconds.

Monster with item images

Some monsters got outfit defined as lookTypeEx, this is normally item id.

The default gesior item images host doesn't display those images, because they are not pickable. So you will need to set Item Images URL in Admin Panel -> Settings -> Images as follows: https://item-images-oracle.ots.me/latest_otbr/

[1.0 - 14.02.2025]
* first release
Plugin don't have license file. If you are the author, you can add LICENSE file into your .zip file.
Version Upload Date Size MyAAC required PHP Download
1.0.1 15.02.2025 24.79 KB 1.0-RC and higher 8.1 and higher Download