Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
I'm getting these errors at console when trying to "make" (compile) OTClient:
/otclient/src/framework/luaengine/luainterface.cpp: En la función miembro ‘void LuaInterface::getEnv(int)’:
/otclient/src/framework/luaengine/luainterface.cpp:900:25: error: ‘lua_getfenv’ no se declaró en este ámbito...
I didn't read carefully, but, hopefully, I found a way to solve this (normally editing the count doesn't work for me either):
You have to enter the db and from the sql tab enter this bit of code:
UPDATE `DBNAME`.`player_items` SET `count` = COUNT, `attributes` = '0x0f0COUNT' WHERE...
I think that if that doesn't solve it, the solutions provided in many forums will:
Just search "W: COMMON IsDirectory: stat failed on The system cannot find the path specified." (without the "") in Google and there there are some forums where you might get your problem solved with the solutions...
There you are, replace STORAGEVALUEID with the storage value id and add the required code to quests.xml and you're done ;)
local focuses = {}
local function isFocused(cid)
for i, v in pairs(focuses) do
if(v == cid) then
return true
end
end
return false
end
local function addFocus(cid)...
Oh sorry, didn't realize and I also made another mistake, I tried with my server which is OpenTibia and not TFS... I'm gonna check right now with TFS and tell you what happens :o
EDIT: in TFS works as well o.O Which TFS version are you using if you are using TFS?
If you have your ot sources, could you post/upload luascript.cpp? So that we know if the function has another name in your server or if it even exist :o
I hope this works:
Infection of the blob lever.lua:
local poses = {{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz}}
local toposes = {{x=xxx,y=yyy,z=zz},
{x=xxx,y=yyy,z=zz}...
What I mean is if there is more to do when they are tped: is there a room where they have to do something or they just get back to temple or something like that?
You forgot to put an "end" at the bottom of the script and... why do you have a "break" if it's not inside a loop? That's kind of non-sense in my opinion :o