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

Solved About quest chest using TFS 1.2 system!

SlayingWorld

Active Member
Joined
Jan 23, 2014
Messages
156
Reaction score
37
Location
USA
Okay so yes, i have searched first before asking. But whenever i add a chest and use the UID and insert the items i want to reward, the chest is moveable. What id do you guys use on chests so they wont be moveable. Or am i doing something wrong?
 
aid = 2000
uid = ??? - whatever you choose

But yeah, I thought if an uid is placed on an item it makes it unwalkable + unmoveable. o_O
 
aid = 2000
uid = ??? - whatever you choose

But yeah, I thought if an uid is placed on an item it makes it unwalkable + unmoveable. o_O
Well fuck me sideways, not the brightest crayon in the box, thanks!

Theres another problem, im using this...

11:37 You see a chest.
Item ID: 1740, Action ID: 2000, Unique ID: 3000
Position: 1539, 690, 7

Isnt the unique ID suppose to be used only to set the storagevalue so they cant get the item again and again?

Cause when i use the chest it gives me ITEM ID "3000" instead of the item i put inside the chest.
 
Last edited by a moderator:
Now i get an error in the console when i load the server,

This is the error i get when the server tries to load the script.
Code:
Lua Script Error: [Test Interface]
data/actions/scripts/quests/system.lua
data/actions/scripts/quests/system.lua:2: attempt to index global 'Storage' (a nil value)
stack traceback:
        [C]: in function '__index'
        data/actions/scripts/quests/system.lua:2: in main chunk
[Warning - Event::checkScript] Can not load script: scripts/quests/system.lua

I removed the old scripts and just replaced with system.lua in actions.xml
Code:
<!-- Quests -->
    <action actionid="2000" script="quests/system.lua" />
 
You can just remove these parts.
Code:
[2215] = Storage.AnnihilatorDone, 
[2016] = Storage.DreamersChallenge.Reward,
[10544] = Storage.PitsOfInferno.WeaponReward, 
[12513] = Storage.thievesGuild.Reward, 
[12374] = Storage.WrathoftheEmperor.mainReward, 
[26300] = Storage.SvargrondArena.RewardGreenhorn, 
[27300] = Storage.SvargrondArena.RewardScrapper, 
[28300] = Storage.SvargrondArena.RewardWarlord
And
Code:
[9130] = Storage.hiddenCityOfBeregar.DefaultStart

It's used for the real tibia quests in that datapack.
 
You can just remove these parts.
Code:
[2215] = Storage.AnnihilatorDone,
[2016] = Storage.DreamersChallenge.Reward,
[10544] = Storage.PitsOfInferno.WeaponReward,
[12513] = Storage.thievesGuild.Reward,
[12374] = Storage.WrathoftheEmperor.mainReward,
[26300] = Storage.SvargrondArena.RewardGreenhorn,
[27300] = Storage.SvargrondArena.RewardScrapper,
[28300] = Storage.SvargrondArena.RewardWarlord
And
Code:
[9130] = Storage.hiddenCityOfBeregar.DefaultStart

It's used for the real tibia quests in that datapack.
Thanks, i did it wrong i had deleted the whole local table and another error came out, well that did the trick! Thanks i promise ill get back to speed on all this and not ask dumb questions :D
 
Back
Top