• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

sms shop tfs 1.3

Dorianek

Member
Joined
Nov 29, 2018
Messages
252
Reaction score
10
Location
Poland
Hello, I was looking for the same problem, but I did not find a threaded bottomless subject because no one could help me solve the problem

I mean that I have tfs 1.3 and acc by gesior 2012 + sms shop

I omit the phpmyadmin tab because everything is done there

I do not get items bought in the item shop

after buying the item shop a message appears
Not realized yet.
and I can end this because nothing is happening

maybe I did not add all the files to the engine that are needed because I found nothing but (login.lua) which does not work on my tfs and from what I know I should change it to make things come

login.lua (clean)

Code:
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")
        player:registerEvent("Tasks")



   -- Custom
   player:sendVipDaysMessage()
   player:checkVipLogin()
        registerCreatureEvent(cid, "VipCheck")
       
   
   -- OPEN CHANNERLS (ABRIR CHANNELS)
   if table.contains({"Rookgaard", "Dawnport"}, player:getTown():getName())then
       player:openChannel(7) -- help channel

   else
       player:openChannel(7) -- help channel

   end
   
   
   if not player:isPremium() then
       player:addPremiumDays(10)
   end
   --
   
   player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_RED, 'Witamy Serdecznie na Aisha Ots')
   player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Promocja jest przyznawana automatycznie po wbiciu 20 lvl')
   player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Wszystkie bledy prosze zglaszac GOD Dorian ewentualnie przez strone internetowa')
        player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Poszukujemy Pilnie Skryptera do ots')
        player:sendTextMessage(messageType or MESSAGE_STATUS_CONSOLE_ORANGE, 'Zyczymy milej gry. Administracja AishaOts')
   

   return true
end

+
<globalevent name="shop" interval="15" event="script" value="shop.lua"/>

I do not have anything else added so if there is a good soul who will tell me how and where to start the item shop I will be very grateful, please do not send me to the guides because I have gone through everything and unfortunately the tfs 1.3 does not work and items do not come

maybe I still have to write something somewhere or omit something I'm struggling already a good week with this problem I did not find any help on the internet only there are tutorials under tfs 0x that do not work nor those under ots 8x
I have a 10.98 server
 
Back
Top