• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Spell Invalid area table.

trustjah

Newbie
Joined
Jan 22, 2009
Messages
124
Solutions
6
Reaction score
14
Location
Belgium
Hey,

Been struggling for the last few hours trying to find what i am missing here.
I've been trying to add spells but the console is throwing errors.
Thought is was compat or table related but i havent got a clue really.

ErrorTib8.png

This is what the actual spell scripts looks like;
ErrorTib9.png

Using some version of TFS1.2-
anyone willing to help me would be much appreciated.
Thanks in advance.
 
Solution
Hey,

Been struggling for the last few hours trying to find what i am missing here.
I've been trying to add spells but the console is throwing errors.
Thought is was compat or table related but i havent got a clue really.

View attachment 55925

This is what the actual spell scripts looks like;
View attachment 55926

Using some version of TFS1.2-
anyone willing to help me would be much appreciated.
Thanks in advance.
Try something like this..

Lua:
combat:setArea(createCombatArea(AREA_WAVE3))

Also.. I don't think AREA_WAVE12 exists by default..
So that might be the issue as well.

You can find all the default area's in data/spells/lib/spells.lua
Hey,

Been struggling for the last few hours trying to find what i am missing here.
I've been trying to add spells but the console is throwing errors.
Thought is was compat or table related but i havent got a clue really.

View attachment 55925

This is what the actual spell scripts looks like;
View attachment 55926

Using some version of TFS1.2-
anyone willing to help me would be much appreciated.
Thanks in advance.
Try something like this..

Lua:
combat:setArea(createCombatArea(AREA_WAVE3))

Also.. I don't think AREA_WAVE12 exists by default..
So that might be the issue as well.

You can find all the default area's in data/spells/lib/spells.lua
 
Solution
Back
Top