tibiafun.com.pl engineimpossible to help you. no one will send you pm. you need to make clear the information.
7.6 servers there are thousands, we need to know exactly which version of your distro and if you are using updated znote/gesior.
i want without commandYou need to add the LUA script, like a talkaction ( !shop )
Here is a script but you probably need to fix it to work with 7.6.
https://github.com/Znote/ZnoteAAC/blob/master/LUA/TFS_02/talkaction shopsystem/znoteshop.lua
i want without command
not have creaturescript globaleventThen make something similar in the onlogin creaturescript, or globalevent.
not have creaturescript globalevent
have only actions
what i must do?
c/c++?
look
![]()
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
-- OTServ event handling functions end
--Global Events--
function onThink() npcHandler:onThink()
-- Trigger once every minute at 10 and 40 seconds mark (30 seconds interval).
if os.date('%S') == "10" or os.date('%S') == "40" then
-- code here
end
end -- End onThink
npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback)
npcHandler:addModule(FocusModule:new())
How did you solve it? And if you coded something, what is the results of your making?solved
i change to gesior shopsytem.phpHow did you solve it? And if you coded something, what is the results of your making?
I think we as a community deserve some contributions from you, considering our efforts in helping you.
Or do you not appreciate our contributions to your thread?