Jump to content

vitinhoo96

Campones
  • Posts

    26
  • Joined

  • Last visited

About vitinhoo96

Perfil

  • Gênero
    Masculino

Informações

  • Forma que conheci o xTibia
    Sites de Busca
  • Sou
    OT-Admin

Recent Profile Visitors

1039 profile views

vitinhoo96's Achievements

  1. Bom dia, queria que esse script de aura, pra atacar somente quando o player ataca... Porque ele esta atacando sozinho quando o player e atacado. Exemplo: Player Y atacando o Player X, o Player Y solta a aura automatico no Player X, vice versa. Esse script quando o pplayer ataca ele solta a aura, mas o player que esta sendo atacado ele tambem solta aura sem precisar atacar. script e desse topico https://xtibia.com/forum/topic/156767-aura-system/
  2. 💣💥 INAUGURA 23/09/2022 ÁS 19:00HRS. 💣💥 🙋‍♂️SITE: baiak-tera.zapto.org 🚨🚨🚨 Agora temos Cliente Mobile, entre no site e baixe agora mesmo para jogar do seu Android Grupo WhatsAPP: https://chat.whatsapp.com/JudpiBR2isPES8eM090m8m 🔊Baiak Tera 8.6🔊 💥8.60 🔛 🙋‍♂️CRIE SUA CONTA🚨 💥Servidor Super Balanceado🔛 🛡Segurança e Proteção🛡 ⚔ Unico Baiak Balanceado Para Guerra!⚔ ⚖ Client Próprio ⚖ 🚨Oque tem no servidor???🚨 💥Push Fast🔛 💥Push Crusado🔛 💥Castle 24HRs🔛 💥Castle 48HRs🔛 💥Castle WAR🔛 💥FAST ATTACK🔛 💥Castle 24HRs🔛 💥Vocações Balanceadas!🔛 💥Todos eventos e sistemas 100%🔛
  3. Quando digito !cast on, aparece esse erro logo a baixo, só que o cast fica con consigo ver, porem da esse erro enorme,e chega ate da uma trava no servidor. alguem poe me ajuda a solucionar? Eu uso esse OTX \/ The OTX Server Version: (2.1.70 - 1591) - Codename: (Mycological) Compilied with Microsoft Visual C++ version 10.0 for arch 64 Bits at Feb 3 2016 17:02:53 [Error - TalkAction Interface] function onSay(cid, words, param, channelId) local t, data = string.explode(param, " ", 1), getPlayerSpectators(cid) if(isInArray({'off', 'no', 'disable'}, t[1])) then data.mutes = {} data.broadcast = false doPlayerSetSpectators(cid, data) db.executeQuery("UPDATE `players` SET `broadcasting` = 0, `viewers` = 0 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are not streaming.") elseif(isInArray({'on', 'yes', 'enable'}, t[1])) then data.broadcast = true doPlayerSetSpectators(cid, data) doPlayerOpenPrivateChannel(cid) db.executeQuery("UPDATE `players` SET `broadcasting` = 1 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are now streaming.") elseif(isInArray({'show', 'count', 'see'}, t[1])) then if(data.broadcast) then local count = table.maxn(data.names) if(count > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are currently watched by " .. count .. " people.") local str = "" for _, name in ipairs(data.names) do str = str .. (str:len() > 0 and ", " or "") .. name end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, str .. ".") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "None is watching your stream right now.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'kick', 'remove'}, t[1])) then if(data.broadcast) then if(t[2]) then if(t[2] ~= "all") then local found = false for _, name in ipairs(data.names) do if(t[2]:lower() == name:lower()) then found = true break end end if(found) then table.insert(data.kick, t[2]) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " has been kicked.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " not found.") end else data.kick = data.names doPlayerSetSpectators(cid, data) end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need to type a name.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'ban', 'block'}, t[1])) then if(data.broadcast) then if(t[2]) then local found = false for _, name in ipairs(data.names) do if(t[2]:lower() == name:lower()) then found = true break end end if(found) then table.insert(data.bans, t[2]) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " has been banned.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " not found.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need to type a name.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'unban', 'unblock'}, t[1])) then if(data.broadcast) then if(t[2]) then local found, i = 0, 1 for _, name in ipairs(data.bans) do if(t[2]:lower() == name:lower()) then found = i break end i = i + 1 end if(found > 0) then table.remove(data.bans, found) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " has been unbanned.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " not found.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need to type a name.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'bans', 'banlist'}, t[1])) then if(table.maxn(data.bans)) then local str = "" for _, name in ipairs(data.bans) do str = str .. (str:len() > 0 and ", " or "") .. name end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Currently banned spectators: " .. str .. ".") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your ban list is empty.") end elseif(isInArray({'mute', 'squelch'}, t[1])) then if(data.broadcast) then if(t[2]) then local found = false for _, name in ipairs(data.names) do if(t[2]:lower() == name:lower()) then found = true break end end if(found) then table.insert(data.mutes, t[2]) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " has been muted.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " not found.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need to type a name.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'unmute', 'unsquelch'}, t[1])) then if(data.broadcast) then if(t[2]) then local found, i = 0, 1 for _, name in ipairs(data.mutes) do if(t[2]:lower() == name:lower()) then found = i break end i = i + 1 end if(found > 0) then table.remove(data.mutes, found) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " has been unmuted.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Spectator " .. t[2] .. " not found.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You need to type a name.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You are not streaming right now.") end elseif(isInArray({'mutes', 'mutelist'}, t[1])) then if(table.maxn(data.mutes)) then local str = "" for _, name in ipairs(data.mutes) do str = str .. (str:len() > 0 and ", " or "") .. name end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Currently muted spectators: " .. str .. ".") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your mute list is empty.") end elseif(isInArray({'auth', 'protect', 'protection', 'protected'}, t[1])) then if(isInArray({'off', 'no', 'disable'}, t[2])) then data.auth = false doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your chat is now unprotected, all spectators can chat without authentication.") elseif(isInArray({'on', 'yes', 'enable'}, t[2])) then data.auth = true doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your chat is now protected, all spectators have to authenticate before they can talk.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your chat is currently " .. (data.auth and "protected" or "unprotected") .. " from guests.") end elseif(isInArray({'password', 'guard'}, t[1])) then if(t[2]) then if(isInArray({'off', 'no', 'disable'}, t[2])) then if(data.password:len() ~= 0) then db.executeQuery("UPDATE `players` SET `broadcasting` = `broadcasting` - 2 WHERE `id` = " .. getPlayerGUID(cid)) end data.password = "" doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have removed password for your stream.") else if(data.password:len() ~= 0) then db.executeQuery("UPDATE `players` SET `broadcasting` = `broadcasting` + 2 WHERE `id` = " .. getPlayerGUID(cid)) end data.password = string.trim(t[2]) doPlayerSetSpectators(cid, data) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You have set new password for your stream.") end elseif(data.password ~= "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stream is currently protected with password: " .. data.password .. ".") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stream is currently not protected.") end elseif(isInArray({'status', 'info'}, t[1])) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your stream is currently " .. (data.broadcast and "enabled" or "disabled") .. ".") else doPlayerPopupFYI(cid, "Available commands:\n\n/cast on - enables the stream\n/cast off - disables the stream\n/cast password {password} - sets a password on the stream\n/cast password off - disables the password protection\n/cast auth on - enables requirement of authentication on chat\n/cast auth off - disables requirement of authentication on chat\n/cast kick {name} - kick a spectator from your stream\n/cast ban {name} - locks spectator IP from joining your stream\n/cast unban {name} - removes banishment lock\n/cast bans - shows banished spectators list\n/cast mute {name} - mutes selected spectator from chat\n/cast unmute {name} - removes mute\n/cast mutes - shows muted spectators list\n/cast show - displays the amount and nicknames of current spectators\n/cast status - displays stream status") end return true end :onSay Description: [string "LuaInterface::loadBuffer"]:13: attempt to call global 'doPlayerOpenPrivateChannel' (a nil value) stack traceback: [string "LuaInterface::loadBuffer"]:13: in function <[string "LuaInterface::loadBuffer"]:1>
  4. Bem Vindos ao NO-BAIAK, novo servidor mapa Baiak, rodando liso, Host BR Mapa inovador Cliente próprio Novas Quest Novas Spells Novas Hunts, FREE/DONATE Servidor equilibrado pra war, tanto free quanto donate Castle 24/48 Venha conheçer IP/SITE: no-baiak.servegame.com
  5. Então queria sabe se alguem poderia me ajudar com esse LIB, pra quando p player estiver na cave exclusiva e der o tempo de 3 horas ele é teleportado para o templo x128 y61 z7 exclusives_caves_areas = { -- adicionar as caves [1] = {name = "Exclusive Flame Dragon 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2999, y = 2452, z = 15}}, [2] = {name = "Exclusive Flame Dragon 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2110, y = 2441, z = 15}}, [3] = {name = "Exclusive Baylor 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 3020, y = 2569, z = 15}}, [4] = {name = "Exclusive Baylor 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2908, y = 2575, z = 15}}, [5] = {name = "Exclusive Ceifador 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2682, y = 2459, z = 15}}, [6] = {name = "Exclusive Ceifador 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2806, y = 2483, z = 15}}, [7] = {name = "Exclusive Fiery 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2669, y = 2390, z = 15}}, [8] = {name = "Exclusive Fiery 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2702, y = 2421, z = 15}}, [9] = {name = "Exclusive Serpent Venenom 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2799, y = 2429, z = 15}}, [10] = {name = "Exclusive Serpent Venenom 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2890, y = 2438, z = 15}}, [11] = {name = "Exclusive Crystalping 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2665, y = 2279, z = 15}}, [12] = {name = "Exclusive Crystalping 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2763, y = 2279, z = 15}}, [13] = {name = "Exclusive Dipsochelys 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2830, y = 2254, z = 15}}, [14] = {name = "Exclusive Dipsochelys 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 2920, y = 2262, z = 15}}, [15] = {name = "Exclusive Frozen Dragon 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 2972, y = 2317, z = 15}}, [16] = {name = "Exclusive Frozen Dragon 1", price = 100000000, level = {min = 100, max =620}, time = 3, premium = false, enter = {x = 3023, y = 2328, z = 15}}, [17] = {name = "Exclusive Magro Negro 1", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 3063, y = 2259, z = 15}}, [18] = {name = "Exclusive Magro Negro 2", price = 100000000, level = {min = 100, max = 620}, time = 3, premium = false, enter = {x = 3064, y = 2354, z = 15}}, } exclusives_caves_config = { storage = 547575, check = 547576, comand_add_exaust = {hours = 1, storage = 547577}, -- tempo para nao ficar toda hora tirando e colocando amigo mensagem = "[Exclusive Cave System] Você foi removido ou o tempo da %s cave expirou!", serve_mensagem = "[Exclusive Cave System] A cave %s acabou de ficar liberada para venda por %d Gold's, aproveitem para compra-la no NPC!" } -- [[ Functions To Owner System ]]-- function getCaveByPlayerID(cid) local qry = db.getResult("SELECT `cave_id` FROM `exclusive_cave` WHERE `account_id` = " .. getPlayerAccountId(cid) .. " LIMIT 1") if (qry:getID() ~= -1) then return qry:getDataInt("cave_id") end return 0 end function getCanBuyCave(id) local qry = db.getResult("SELECT `id` FROM `exclusive_cave` WHERE `cave_id` = " .. id) if (qry:getID() ~= -1) then return false end return true end function doPlayerAddCave(cid, cave_id, hours) return db.executeQuery("INSERT INTO `exclusive_cave` (`account_id`, `player_id`, `player_name`, `cave_id`, `friend_id`, `time`) VALUES ('".. getPlayerAccountId(cid) .."', '".. getPlayerGUID(cid).."', '".. getCreatureName(cid) .."', '".. cave_id .."', '0', '".. os.time()+hours*3600 .."');") end function doDeleteExclusiveCave(cave_id) return db.executeQuery("DELETE FROM `exclusive_cave` WHERE `cave_id` = "..cave_id) end function doAddAcessFriendCave(cid, id) return db.executeQuery("UPDATE `exclusive_cave` SET `friend_id` = "..id.." WHERE `account_id` = "..getPlayerAccountId(cid)) end function doRemoveAcessFriendCave(cid) return db.executeQuery("UPDATE `exclusive_cave` SET `friend_id` = 0 WHERE `account_id` = "..getPlayerAccountId(cid)) end function getTimeByCave(id) local qry = db.getResult("SELECT `time` FROM `exclusive_cave` WHERE `cave_id` = "..id) if qry:getDataInt("time") - os.time() <= 0 then return 0 end return timeString((-(os.time() - qry:getDataInt("time")))) end -- [[ Functions To Friend System ]]-- function getFriendCaveOwner(cid) local qry = db.getResult("SELECT `friend_id` FROM `exclusive_cave` WHERE `account_id` = "..getPlayerAccountId(cid)) return qry:getDataInt("friend_id") end function isCaveFriend(cid) local qry = db.getResult("SELECT `cave_id` FROM `exclusive_cave` WHERE `friend_id` = "..getPlayerGUID(cid)) if (qry:getID() ~= -1) then return qry:getDataInt("cave_id") end return 0 end function doLeaveCave(id) local qry = db.getResult("SELECT `account_id` FROM `exclusive_cave` WHERE `cave_id` = "..id) return db.executeQuery("UPDATE `exclusive_cave` SET `friend_id` = 0 WHERE `account_id` = "..qry:getDataInt("account_id")) end function timeString(timeDiff) local dateFormat = { {"day", timeDiff / 60 / 60 / 24}, {"hour", timeDiff / 60 / 60 % 24}, {"minute", timeDiff / 60 % 60}, {"second", timeDiff % 60} } local out = {} for k, t in ipairs(dateFormat) do local v = math.floor(t[2]) if(v > 0) then table.insert(out, (k < #dateFormat and (#out > 0 and ', ' or '') or ' and ') .. v .. ' ' .. t[1] .. (v ~= 1 and 's' or '')) end end local ret = table.concat(out) if ret:len() < 16 and ret:find("second") then local a, b = ret:find(" and ") ret = ret:sub(b+1) end return ret end
  6. Estou com error quando dou use no item da cave exclusiva, aparece esse e não acontece nada... Aqui esta aonde mostra o erro data/actions/scripts/cave_action.lua function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid == caveExclusiva.config.buyItemID then if getPlayerStorageValue(cid, caveExclusiva.storages.cave) > 0 then local caveName = caveExclusiva.caves[getPlayerStorageValue(cid, caveExclusiva.storages.cave)].caveName local timeLeft = getPlayerStorageValue(cid, caveExclusiva.storages.time) - os.time() doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você já é dono da cave de ".. caveName ..", aguarde ".. getTimeString(timeLeft) .." para comprar uma cave novamente.") doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) elseif getGlobalStorageValue(caveExclusiva.caves[itemEx.aid].gStor) > 0 then local ownerGUID = getGlobalStorageValue(caveExclusiva.caves[itemEx.aid].gStor) local ownerTimeLeft = nil if isPlayerOnline(getPlayerNameByGUID(ownerGUID)) then ownerTimeLeft = getPlayerStorageValue(getPlayerByGUID(ownerGUID), caveExclusiva.storages.time) - os.time() else ownerTimeLeft = getOfflinePlayerStorage(ownerGUID, caveExclusiva.storages.time) - os.time() end doPlayerSendTextMessage(cid, MESSAGE_EVENT_ORANGE, "Esta cave já pertence ao player ".. getPlayerNameByGUID(ownerGUID) ..", restam ".. getTimeString(ownerTimeLeft) .." para a cave estar livre novamente.") doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) else caveExclusiva.setCaveTo(cid, itemEx.aid) doSendMagicEffect(getThingPos(cid), CONST_ME_FIREWORK_BLUE) doRemoveItem(item.uid) end end return true end
  7. Então o erro é o seguinte, eu dou /cast on o cast fica on, porem no site não aparece o player com cast on
  8. Bom eu qeuria por um sistema de vip donate no meu servidor, que somente o player donate consegue passar no piso para entrar para area donate.. e que o player possa comprar esse vip no site gesior? alguem poderia me ajudar?
  9. Bom estou tentanto por pra criar account pelo ot 1/1 e no site juntos mais sem exito, so esta criando pelo site... ja olhei topicos ensinando a fazer o mesmo,porem sem exito algum
  10. superdominios.org não estou achando essa aba de gerenciamento de dns
  11. Me ajudem comprei um domínio .net pra por em meu ot, só que tem um porem, não a minima ideia de como por pro pessoal entrar no meu site e no meu ot com o domínio only-baiak.net Poderiam me ajuda como fazer isso?
  12. muito obrigado deu certinho, agora vou testar o pagseguro pra ver se esta fazendo o retorno Segue o erro que deu [HTTP 401] - UNAUTHORIZED quando clico em finalizar, ai vai http://only-baiak.servegame.com/dntpagseguro.php e da esse erro @Akzs Consegui , so que agora vou ver se os points vai ser entregue automaticamente... Poderia me passa seu whatsapp? so pra te perguntar um duvida pequena
  13. fiz arquivo install com 127.0.0.1 ai foi agora apareceu outro erro Error occured! Error ID: More info: CANNOT CONNECT TO DATABASE: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) File: C:\xampp\htdocs\classes/database_mysql.php Line: 22 File: C:\xampp\htdocs/install.php Line: 271 prontinho foi, so que agora testei os points pra comprar da esse error quando vai direcionar pro pagseguro [HTTP 401] - UNAUTHORIZED
  14. Error occured! Error ID: More info: CANNOT CONNECT TO DATABASE: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) File: C:\xampp\htdocs\classes/database_mysql.php Line: 22 File: C:\xampp\htdocs\classes/database.php Line: 199 File: C:\xampp\htdocs\pages/latestnews.php Line: 18 File: C:\xampp\htdocs\system/load.page.php Line: 7 File: C:\xampp\htdocs/index.php Line: 37
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...