Gesior Accmaker Item Shop Problem

Dorianek

Member
Joined
Nov 29, 2018
Messages
69
Reaction score
2
Hello, I have a problem with the gosior item shop
namely items do not come to me

I have a tfs 1.3 engine
Accmaker gesior 2012
on the page you can see all the time that the items have not arrived
when I run login.lua (which I found on the internet can not log in.
What I have done so far:
in globalevents I have a skypt and a line

and I tried to add login.lua to the creaturescript but it does not work

below I put my login.lua maybe someone had a similar problem. I am asking for help
because the author, i.e. the guy, does not answer
I apologize for all the spelling mistakes (translator)

=============================
function onLogin(player)
local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!"
if player:getLastLoginSaved() <= 0 then
loginStr = loginStr .. " Please choose your outfit."
player:sendOutfitWindow()
else
if loginStr ~= "" then
player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)
end

loginStr = string.format("Your last visit was on %s.", os.date("%a %b %d %X %Y", player:getLastLoginSaved()))
end
player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr)

-- Stamina
nextUseStaminaTime[player.uid] = 0

-- Promotion
local vocation = player:getVocation()
local promotion = vocation:getPromotion()
if player:isPremium() then
local value = player:getStorageValue(STORAGEVALUE_PROMOTION)
if not promotion and value ~= 1 then
player:setStorageValue(STORAGEVALUE_PROMOTION, 1)
elseif value == 1 then
player:setVocation(promotion)
end
elseif not promotion then
player:setVocation(vocation:getDemotion())
end

-- Events
player:registerEvent("PlayerDeath")
player:registerEvent("DropLoot")
player:registerEvent("Rewards")
player:registerEvent("Promotion")
player:registerEvent("Yalahar")
player:registerEvent("Vermush")
player:registerEvent("AutoLoot")



-- Custom
player:sendVipDaysMessage()
player:checkVipLogin()

-- OPEN CHANNERLS (ABRIR CHANNELS)
if table.contains({"Rookgaard", "Dawnport"}, player:getTown():getName())then
player:eek:penChannel(7) -- help channel

else
player:eek:penChannel(7) -- help channel

end


if not player:isPremium() then
player:addPremiumDays(365)
end
--

player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Bem vindo ao PausaParaumCafe OT')
player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Promotion automaticamente level 20!')
player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Qualquer bug, sugestao, reporte-nos!')


return true
end

===================================
Thanks for help
 
Top