Przemyslaw1101
Member
- Joined
- Feb 16, 2017
- Messages
- 53
- Solutions
- 2
- Reaction score
- 9
Hey, i using TFS 1.3 by OTServBR and i have 2 bugs.
First is by lua script error shows after tryin to move any container. I cant change bp's etc.
Second is from NPC Grizzly Adams. In .lua killsRequired is 300, but in game task is done after 1 kill (no error in engine)
Please help <3
First is by lua script error shows after tryin to move any container. I cant change bp's etc.
Lua:
-- Handle move items to the ground
if toPosition.x ~= CONTAINER_POSITION then
if item:isContainer() then
local container = Container(item.uid)
for categoryId = LOOT_START, LOOT_END do --- THIS IS 441 LINE
if container:hasQuickLootCategory(categoryId) then
container:removeQuickLootCategory(categoryId)
self:setQuickLootBackpack(categoryId, nil)
end
end
end
return true
end
Second is from NPC Grizzly Adams. In .lua killsRequired is 300, but in game task is done after 1 kill (no error in engine)
Please help <3
Lua:
[5] = {
killsRequired = 300,
raceName = "Tarantulas",
level = {6, 49},
premium = true,
creatures = {
"tarantula"
},
rewards = {
{type = "exp", value = {1500}},
{type = "achievement", value = {"No More Hiding"}},
{type = "storage", value = {34101, 1}},
{type = "points", value = {2}}
}
Last edited: