• 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.3] Revscript EventCallback: Firestorm Event

maper1

New Member
Joined
Aug 17, 2012
Messages
38
Reaction score
0
I found the problem, if I put an area with nothing just the floor it works more if I put something on the ground it gives error, can you help me?

 
OP
OP
Sarah Wesker

Sarah Wesker

ค∂vαηcε รүηтαx ❤
Support Team
Joined
Mar 16, 2017
Messages
997
Solutions
100
Reaction score
1,034
Location
London
GitHub
MillhioreBT
Updated your main post, in the future use the report button 👍
Very much thank, and ok i use button in the future
Post automatically merged:

I found the problem, if I put an area with nothing just the floor it works more if I put something on the ground it gives error, can you help me?

and the error? show me

i use that:

1609891028031.png
 
OP
OP
Sarah Wesker

Sarah Wesker

ค∂vαηcε รүηтαx ❤
Support Team
Joined
Mar 16, 2017
Messages
997
Solutions
100
Reaction score
1,034
Location
London
GitHub
MillhioreBT

your error description is strange and it doesn't seem to be part of the code that I post here, I have also tried to reproduce your problem by editing a map with many things, walls, walls and more, and it still works fine, and to complete you are not using TFS 1.3, you are using OTServ BR, In theory it should be compatible, but it was not my intention to make this event for OTServ BR users
 

Gicu

Premium User
Premium User
Joined
Feb 26, 2011
Messages
185
Reaction score
45
Lua:
if config.miscellaneous.enterOnlyInPzTile then
        if not player:getPosition():getTile():hasFlag(TILESTATE_PROTECTIONZONE) then
            player:sendCancelMessage("You can enter only in PZ.")
            return false
        end
    end

I have problem with this on TFS 1.3 this is solution:


Lua:
   if config.miscellaneous.enterOnlyInPzTile then
    local tile = Tile(player:getPosition()):hasFlag(TILESTATE_PROTECTIONZONE)
        if not tile then
            player:sendCancelMessage("You can enter only in PZ.")
            return false
        end
    end
 

tommy727272

New Member
Joined
Feb 23, 2019
Messages
19
Reaction score
2
how to fix this error, im using 8.60 realmap

C:\demonica\data\scripts\firestorm.lua:206: attempt to call method 'getInbox' (a nil value)
stack traceback:
[C]: in function 'getInbox'
C:\demonica\data\scripts\firestorm.lua:206: in function <C:\demonica\data\scripts\firestorm.lua:193>
 

oualid6496

Well-Known Member
Joined
Aug 24, 2014
Messages
408
Solutions
4
Reaction score
77
Location
Dordrecht, The Netherlands
how to fix this error, im using 8.60 realmap

C:\demonica\data\scripts\firestorm.lua:206: attempt to call method 'getInbox' (a nil value)
stack traceback:
[C]: in function 'getInbox'
C:\demonica\data\scripts\firestorm.lua:206: in function <C:\demonica\data\scripts\firestorm.lua:193>
What tfs are you using? This script is for tfs 1.3 it seems you're missing the method 'getInbox'.
 

DreadShi

Member
Joined
May 18, 2019
Messages
180
Reaction score
7
data\scripts\firestorm.lua:432: attempt to call method 'getTile' (a nil value)
stack traceback:
 

beenii

Active Member
Joined
Jul 26, 2010
Messages
482
Solutions
1
Reaction score
27
time = "20:02:10", -- time to start event each day

"10:00:00", "15:00:00", "20:00:00" <-- for example

how add more hours?
 
Top