Ir para conteúdo
  • Cadastre-se

Histórico de Edições

Please note that revisions older than 15 days are pruned and will no longer show here

Não há histórico de edição para mostrar, ou este comentário foi editado por um moderador.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por Dr. Gregory House
      Me pediram no skype...
       
       
      globalevents/globalevents.xml
      <globalevent name="Znote Shop" interval="30000" script="znoteShop.lua"/> globalevents/scripts/znoteShop.lua
      function onThink(interval, lastExecution) local players = Game.getPlayers() if #players == 0 then -- 0 players online, no need to execute the script return true end local player for i = 1, #players do player = players[i] local orderQuery = db.storeQuery('SELECT `id`, `type`, `itemid`, `count` FROM `znote_shop_orders` WHERE `account_id` = '.. player:getAccountId() ..' LIMIT 1;') if orderQuery then --Lets check if the players online have orderd something from the shop local orderId = result.getDataInt(orderQuery, 'id') local orderType = result.getDataInt(orderQuery, 'type') local orderItemId = result.getDataInt(orderQuery, 'itemid') local orderCount = result.getDataInt(orderQuery, 'count') result.free(orderQuery) if orderType == 1 then if player:addItemEx(Game.createItem(orderItemId, orderCount or 1)) ~= RETURNVALUE_NOERROR or player:getFreeCapacity() < ItemType(orderItemId):getWeight(orderCount or 1) then --Lets check if player have slot or cape left. Else send to player inbox local parcel = player:getInbox():addItem(2596, 1, false, 1) if not parcel then --If not being able to create parcel we stop the script and retry again. print('[ERROR Znote Shop Globalevents] = Error on creating a parcel.') return true end local letter = parcel:addItem(2598, 1, false, 1) letter:setAttribute(ITEM_ATTRIBUTE_TEXT, 'You have received your shop item. Thanks for donating.') parcel:addItem(orderItemId, orderCount or 1, false, 1) end db.query('DELETE FROM `znote_shop_orders` WHERE `id` = '.. orderId ..';') player:sendTextMessage(MESSAGE_INFO_DESCR, 'Congratulations! You have received '.. orderCount ..'x '.. ItemType(orderItemId):getName() ..'!') end end end return true end
    • Por Jobs
      ►Gesior By Jobsonmb For Tibiaking◄
       
      Conteúdo Exclusivo Do Tibiaking, caso alguém copie e postar em outro forum pedirei a administração para remove-lo o conteúdo..
       
       
      ►Conteúdo◄
         
        (Paginas)
       
      - Top rank
      - Mountarias
      - Record Player on
      - Rank matadores
      - Quem está online?
      -Outfit Do Player
      -Items Do Player
      -De Onde O Player Esta Logado
      -Player Skull
      - Guilds
      - Enquetes
      - Shop 100% sem erros
      - Shop sem bugs das imagens
       
        ( Compatibilidade)
      >> TFS 1.0 <<
      TIBIA DE 9.83 A 10.41
       
      FOTOS
       



       
       
       Download  :



       Virus Total  :



    • Por TioSlash
      Olá pessoal,
      o titulo já fala tudo né ? xD
      Eu vejo muitos otservs que estão utilizando o cliente 10.39.
      E vendo por esse lado não deve ser muito raro de achar pessoas que estejam disponibilizando e utilizando essas versões.
      Então, se por acaso houver algum tutorial ou alguem que tenha posta aqui !
      Sei que muita gente vai gostar e também está procurando.
      Grato

       
      [Link do TFS 10.37 - Atualizando constantemente de acordo com os bugs e erros encontrado. ]
      https://github.com/otland/forgottenserver
       
      @Edit
      Atualizaram 10.41:
      https://github.com/otland/forgottenserver 
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo