Forgottenserver: Revscript monster spell bug

Created on 1 Dec 2020  路  4Comments  路  Source: otland/forgottenserver

When registering a monster in the revscriptsys interface, I will use the barbarian brutetamer as an example, and registering the spell in revscriptsys, gives the following error on the console:
image

Monster spell tag {name ="barbarian brutetamer skill reducer", interval = 2000, chance = 15, range = 5, target = false}

In the XML interface, the error does not occur.

bug invalid

Most helpful comment

data/monster or any subfolder from there on, I've already edited the wiki aswell to have it matching @Znote

All 4 comments

I tried it and no such error happens.

Actually after testing we noticed that this error came because the monster file was placed inside data/scripts instead of data/monster
so the behaviour is correct and working you just need to place the monster files in the correct folder :D

To elaborate for people stumbling upon this through search;
As far as I know, revscriptsys monster files must be placed inside data/monsters/lua/ folder (if it doesn't exist - create it),
This is different from the normal location of revscriptsys files, which is data/scripts/

data/monster or any subfolder from there on, I've already edited the wiki aswell to have it matching @Znote

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GoularPink picture GoularPink  路  3Comments

Imperians picture Imperians  路  4Comments

EPuncker picture EPuncker  路  3Comments

GoularPink picture GoularPink  路  4Comments

souzajunior picture souzajunior  路  4Comments