• 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!

Action [Tfs 1.x+] auto loot using modal windows

kevinpiojo

New Member
Joined
May 29, 2017
Messages
26
Reaction score
1
Location
Spain
please help me!

Lua:
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/login.lua:onLogin
data/creaturescripts/scripts/others/login.lua:28: attempt to index global 'AutoLootList' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/others/login.lua:28: in function <data/creaturescripts/scripts/others/login.lua:26>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/logout.lua:onLogout
data/creaturescripts/scripts/others/logout.lua:3: attempt to index global 'AutoLootList' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/others/logout.lua:3: in function <data/creaturescripts/scripts/others/logout.lua:1>ADM Tibiarl2 has logged out.


I did step by step
server use: OTSERVBR
 

Evil Puncker

prolonged absenteeism
TFS Developer
Joined
May 30, 2009
Messages
7,263
Solutions
142
Reaction score
2,891
please help me!

Lua:
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/login.lua:onLogin
data/creaturescripts/scripts/others/login.lua:28: attempt to index global 'AutoLootList' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/others/login.lua:28: in function <data/creaturescripts/scripts/others/login.lua:26>
Lua Script Error: [CreatureScript Interface]
data/creaturescripts/scripts/others/logout.lua:onLogout
data/creaturescripts/scripts/others/logout.lua:3: attempt to index global 'AutoLootList' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/creaturescripts/scripts/others/logout.lua:3: in function <data/creaturescripts/scripts/others/logout.lua:1>ADM Tibiarl2 has logged out.


I did step by step
server use: OTSERVBR
you did not step by step since the source change step is missing
 

kevinpiojo

New Member
Joined
May 29, 2017
Messages
26
Reaction score
1
Location
Spain
i do command !add demon does nothing !loot gold coin get this error

Lua:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/auto_loot.lua:onSay
data/talkactions/scripts/auto_loot.lua:248: attempt to call global 'trim' (a nil value)
stack traceback:
        [C]: in function 'trim'
        data/talkactions/scripts/auto_loot.lua:248: in function <data/talkactions/scripts/auto_loot.lua:141>

PD:
airs of superiority, the least please a sad apprentice wants help
 

Evil Puncker

prolonged absenteeism
TFS Developer
Joined
May 30, 2009
Messages
7,263
Solutions
142
Reaction score
2,891
i do command !add demon does nothing !loot gold coin get this error

Lua:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/auto_loot.lua:onSay
data/talkactions/scripts/auto_loot.lua:248: attempt to call global 'trim' (a nil value)
stack traceback:
        [C]: in function 'trim'
        data/talkactions/scripts/auto_loot.lua:248: in function <data/talkactions/scripts/auto_loot.lua:141>

PD:
airs of superiority, the least please a sad apprentice wants help
I'm telling since post #7 that it won't work until he add the required source changes!!!!!!!!!!
 

kevinpiojo

New Member
Joined
May 29, 2017
Messages
26
Reaction score
1
Location
Spain
and would you be so kind as to tell me how to do that? maybe I did something wrong

when you refer to source to compile?

pd:I have not touched a server for 5 years
 
OP
PAPACU

PAPACU

Intermediate OT User
Joined
Oct 10, 2019
Messages
49
Reaction score
101
and would you be so kind as to tell me how to do that? maybe I did something wrong
when you refer to source to compile?
pd:I have not touched a server for 5 years
i'm editing .. soon i'll upload it here
 

Attachments

Last edited:

Ü Pendragon

Member
Joined
Apr 10, 2017
Messages
47
Reaction score
5
Brother. Get me out of a doubt. Can this work automatically? No need to click the body and the item will go to the selected backpack? Thanks in advance.
 
Top