Hello, here i am again asking for help :$
Well, i've downloaded an old server based on Otserv SVN Version 0.60. It is 8.1 and XML.
What happens with it is that the readables ain't working...
It says that the function "doShowTextWindow" is deprecated... So, i haven't found a substitute, if anyone could help me on this one.
Just for information, the OTB and items.xml are configured well. And here is the script of the readables and writeables:
The error:
Thank you one more time!
Well, i've downloaded an old server based on Otserv SVN Version 0.60. It is 8.1 and XML.
What happens with it is that the readables ain't working...
It says that the function "doShowTextWindow" is deprecated... So, i haven't found a substitute, if anyone could help me on this one.
Just for information, the OTB and items.xml are configured well. And here is the script of the readables and writeables:
Code:
function onUse(cid, item, frompos, item2, topos)
rw = getItemRWInfo(item.uid)
if rw and 1 then
if rw and 2 then
doShowTextWindow(item.uid,100,1)
else
doShowTextWindow(item.uid,0,0)
end
else
if item.itemid == 2598 then
doShowTextWindow(item.uid,0,0)
end
end
return 1
end
The error:
Code:
Lua Script Error: [Action Interface]
data/actions/scripts/rwitems.lua:onUse
luaDoShowTextWindow(). Deprecated function.
Thank you one more time!