
Tudo que 9k22 postou
-
Programa para Gerenciar Banco de Dados (Mysql + Apache)
Você nunca usou windows para estar falando isso... Sim, Iptables e csf salva muito, coisa que existe no kaspersky pago. Já usei windows 2007 + kaspersky e consegui chegar a 160 players online. Alguns ataques ocorreram porém nenhum que causasse lag no servidor. Isso que você faz chama-se (modinha + chupa saco do linux) foi mal E se o cara quiser derrubar seu servidor ele pode muito bem fazer isso sem problemas. Tanto linux quanto windows, grandes jogos hospedados em linux são alvos de DDoS e sofrem com isso então não fala merda. Oque ocorre mesmo é a linguagem de programação diferente um do outro, isso interferindo ou ajudando na estabilidade. Eu uso linux por ser mais fácil e barato de configurar, cfs e Iptables free, já no windows para configurar firewall é pago. Então você precisa ver os valores: Preço + estabilidade + usabilidade OBS: Windows requer praticamente o dobro de RAm que o linux para servidores open tibia. Sim, ele é um comedor de RAM heuheue Sim, wamp é bom, mas eu ainda continuo com meu velho xampp, só saber configurar Aah, também é bom desativar os avisos de player login e logout no distro, pois no windows ocorre problemas quanto a isso, se seu servidor for muito movimentado (cerca de 200 players +) Aquele velho "programa parou de responder".
-
APRENDAM PT
Eu a fiz, soq essa merda de fórum lixo do caraiu com esse [.CODE] BUGADO TNC vo arrumar não Uu
-
Programa para Gerenciar Banco de Dados (Mysql + Apache)
Eu já usei windows, é o melhor pois deixa o servidor lisinho... '-' Compra KasperSky e instala o BullGuard Internet Security... Escolha uma empresa que ofereça uma ótima proteção contra DDoS Se usar xampp, use o 1.7.3 ou 1.7.4 Quem consegue nukar servidores em Windows consegue facilmente em linux tb... Vai por mim, a diferença mesmo está na estrutura do servidor, pois o linux é mais estável em relação a distro.
-
APRENDAM PT
MANU COMU ESSE POVO NAO SABI FALA NOSSA LINGUA? NAMRAL VEII O POVO NAO SABI PEDI AJUDA, QUANTOS ANUS SERA Q TEM ESSE POVO? PQ PELO PORTUGUEZ DESSA GALERA EU LENDO OS PEDIDOS COMEZO A SANGRAR PELO OLHO NAMORAL VEIII VEIII NAMORAL VEIII, EU NEM AJUDO A GALERA Q TEM PT RUIM, PQP È INCRIVEL ISSU NAMORAL, NEGO NUM SABE PEDIR AJUDA, FALA COISA COM COISA, NAO SABE NEM O BASICO DE INGLEZ PRA TA TENTANDO ENTENDER O PROBLEMA, NEM AO MENOS USA GOOGLE TRADUTOR OMGGGG EU QUANDO TAVA APRENDENDO COM OTSERV NAO ERA ASSIM, VEYY... OMG!! DA UMA AGONIA INFLIZI TA AQUI UM LINK PARA COMECAREM A APRENDER PORTUGUES. O INGLES VEM DPOIS PQ PRIMEIRO PRECISAM APRENDER PT PELA MOR DE DEUSS APRENDAMMM, SAIAM DO COMPUTADOR, VÂO LER UM LIVRO PRA TENTA FALAR PORTUGUES NESSA POARR OU VAO CRESCER E FICAR CATANDO LIXO NA RUA PRA GANHAR DINHEIRO PQP
-
APRENDAM PT
MANU COMU ESSE POVO NAO SABI FALA NOSSA LINGUA? NAMRAL VEII O POVO NAO SABI PEDI AJUDA, QUANTOS ANUS SERA Q TEM ESSE POVO? PQ PELO PORTUGUEZ DESSA GALERA EU LENDO OS PEDIDOS COMEZO A SANGRAR PELO OLHO NAMORAL VEIII VEIII NAMORAL VEIII, EU NEM AJUDO A GALERA Q TEM PT RUIM, PQP È INCRIVEL ISSU NAMORAL, NEGO NUM SABE PEDIR AJUDA, FALA COISA COM COISA, NAO SABE NEM O BASICO DE INGLEZ PRA TA TENTANDO ENTENDER O PROBLEMA, NEM AO MENOS USA GOOGLE TRADUTOR OMGGGG EU QUANDO TAVA APRENDENDO COM OTSERV NAO ERA ASSIM, VEYY... OMG!! DA UMA AGONIA INFLIZI TA AQUI UM LINK PARA COMECAREM A APRENDER PORTUGUES. O INGLES VEM DPOIS PQ PRIMEIRO PRECISAM APRENDER PT PELA MOR DE DEUSS APRENDAMMM, SAIAM DO COMPUTADOR, VÂO LER UM LIVRO PRA TENTA FALAR PORTUGUES NESSA POARR OU VAO CRESCER E FICAR CATANDO LIXO NA RUA PRA GANHAR DINHEIRO PQP
-
Chest for Lvl
local cfgItems = {{16101, 1}} local level = 100 -- level 100 :) function onUse(player, item, fromPosition, target, toPosition, isHotkey) if item:getUniqueId(16101) and player:getStorageValue(20009) == 0 then player:sendTextMessage(MESSAGE_INFO_DESCR, "Ya tienes la recompensa.") elseif player:getStorageValue(20009) <= 0 and getPlayerLevel(cid) >= level then player:sendTextMessage(MESSAGE_INFO_DESCR, "Ganaste 25 tibia coins.") local bag = player:addItem(1993) -- Red Bag id for i = 1, #cfgItems do bag:addItem(cfgItems[i][1], cfgItems[i][2]) end player:setStorageValue(20009, 1) else player:sendTextMessage(MESSAGE_INFO_DESCR, "Ya hiciste la quest.") end end
-
Jogador perde O2 quando está no tile Sea
Já tentou colocar todos os ids do piso de SEA em local del? local del = {'460', '1022', '1023'}
-
Jogador perde O2 quando está no tile Sea
Posta teu script de fly.. Para eles não tomarem dano nos pisos de SEA vai em movements e apaga a tag: (TFS 0.4) <!-- Underwater drown --> <movevent type="StepIn" itemid="5405-5410" event="script" value="drown.lua"/> <movevent type="StepOut" itemid="5405-5410" event="script" value="drown.lua"/> (TFS 1.0+) <movevent event="StepIn" fromid="5405" toid="5410" script="drowning.lua" /> <movevent event="StepOut" fromid="5405" toid="5410" script="drowning.lua" />
-
[TFS 1.2] - Script de Pesca para OTSERV (PXG)
local waterIds = {493, 4608, 4609, 4610, 4611, 13550, 13552, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 7236, 10499, 15401, 15402, 13549} local lootTrash = {2234, 2238, 2376, 2509, 2667} local lootCommon = {2152, 2167, 2168, 2669, 7588, 7589} local lootRare = {2143, 2146, 2149, 7158, 7159} local lootVeryRare = {7632, 7633, 10220} local lootVeryRare1 = {7632, 13546} local lootRare1 = {2143, 13546} local lootCommon1 = {2152, 7589, 13546} local useWorms = true function onUse(player, item, fromPosition, target, toPosition, isHotkey) if not isInArray(waterIds, target.itemid) then return false end local targetId = target.itemid if targetId == 10499 then local owner = target:getAttribute(ITEM_ATTRIBUTE_CORPSEOWNER) if owner ~= 0 and owner ~= player.uid then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You are not the owner.") return true end toPosition:sendMagicEffect(CONST_ME_WATERSPLASH) target:remove() local rareChance = math.random(100) if rareChance == 1 then player:addItem(lootVeryRare[math.random(#lootVeryRare)], 1) elseif rareChance <= 3 then player:addItem(lootRare[math.random(#lootRare)], 1) elseif rareChance <= 10 then player:addItem(lootCommon[math.random(#lootCommon)], 1) else player:addItem(lootTrash[math.random(#lootTrash)], 1) end return true end -- COMEÇO if targetId == 13549 then --local owner = target:getAttribute(ITEM_ATTRIBUTE_CORPSEOWNER) --if owner ~= 0 and owner ~= player.uid then -- player:sendTextMessage(MESSAGE_STATUS_SMALL, "You are not the owner.") -- return true --end toPosition:sendMagicEffect(CONST_ME_WATERSPLASH) --target:remove() local rareChance = math.random(100) if rareChance == 1 then player:addItem(lootVeryRare1[math.random(#lootVeryRare1)], 1) elseif rareChance <= 3 then player:addItem(lootRare1[math.random(#lootRare1)], 1) elseif rareChance <= 10 then player:addItem(lootCommon1[math.random(#lootCommon1)], 1) else player:addItem(lootTrash[math.random(#lootTrash)], 1) end return true end -- FIM if targetId ~= 7236 then toPosition:sendMagicEffect(CONST_ME_LOSEENERGY) end if targetId == 493 or targetId == 15402 then return true end player:addSkillTries(SKILL_FISHING, 1) if math.random(100) <= math.min(math.max(10 + (player:getEffectiveSkillLevel(SKILL_FISHING) - 10) * 0.597, 10), 50) then if useWorms and not player:removeItem("worm", 1) then return true end if targetId == 15401 then target:transform(targetId + 1) target:decay() if math.random(100) >= 97 then player:addItem(15405, 1) return true end elseif targetId == 7236 then target:transform(targetId + 1) target:decay() local rareChance = math.random(100) if rareChance == 1 then player:addItem(7158, 1) return true elseif rareChance <= 4 then player:addItem(2669, 1) return true elseif rareChance <= 10 then player:addItem(7159, 1) return true end end player:addItem("fish", 1) end return true end
-
(Resolvido)Status de VIP aparecer no Site.
Recomendo utilizar este (o melhor atualmente):
-
Client não reconhece alguns acentos
Você precisa ter instalado no seu pc o Notepad++ Após isso, abra o script. Lá em cima, em formatar selecione Codificação ANSI e salve o arquivo
-
[AJUDA] Delay ao subir escada
Quer me assaltar é? KEOPKEOPKWPEOWKOPEW
-
Cast não aparece no site
Ta, vamos lá! em creaturescript cria um arquivo .lua function onLogout(cid, forceLogout) db.executeQuery("UPDATE `players` SET `broadcasting` = 0, `viewers` = 0 WHERE `id` = " .. getPlayerGUID(cid) .. " LIMIT 1") return true end <event type="logout" name="cast-log-out" event="script" value="XXXXXXX.lua"/> em globalevents cria um arquivo .lua function onThink(interval) local players = getPlayerCast() for _, pid in ipairs(players) do local data = getCastViewers(pid) if doPlayerSetCastState == true then db.executeQuery("UPDATE `players` set `viewers` = " .. table.maxn(data.names) .. " where `id` = " .. getPlayerGUID(pid) .. ";") end end return true end <globalevent name="viewers" interval="10000" event="script" value="XXXXXXX.lua"/> Talkaction Cast.lua function onSay(cid, words, param, channel) local tmp = param:explode(" ") if not(tmp[1]) then return doPlayerSendCancel(cid, "Parameters needed") end if tmp[1] == "on" then db.executeQuery("UPDATE `players` SET `broadcasting` = 1 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has started.") doPlayerSetCastState(cid, true) doPlayerSave(cid) elseif getPlayerCast(cid).status == false then return doPlayerSendCancel(cid, "Your cast has to be running for this action.") elseif tmp[1] == "off" then db.executeQuery("UPDATE `players` SET `broadcasting` = 0, `viewers` = 0 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has ended.") doPlayerSetCastState(cid, false) doPlayerSave(cid) elseif isInArray({"pass", "password", "p"}, tmp[1]) then if not(tmp[2]) then return doPlayerSendCancel(cid, "You need to set a password") end if tmp[2]:len() > 10 then return doPlayerSendCancel(cid, "The password is too long. (Max.: 10 letters)") end if tmp[2] == "off" then doPlayerSetCastPassword(cid, "") db.executeQuery("UPDATE `players` SET `broadcasting` = `broadcasting` - 2 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password has been removed.") else doPlayerSetCastPassword(cid, tmp[2]) db.executeQuery("UPDATE `players` SET `broadcasting` = `broadcasting` + 2 WHERE `id` = " .. getPlayerGUID(cid)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password was set to: " .. tmp[2]) end elseif isInArray({"desc", "description", "d"}, tmp[1]) then local d = param:gsub(tmp[1]..(tmp[2] and " " or ""), "") if not(d) or d:len() == 0 then return doPlayerSendCancel(cid, "You need to specify a description.") end if d:len() > 50 then return doPlayerSendCancel(cid, "The description is too long. (Max.: 50 letters)") end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast description was set to: ") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, d) doPlayerSetCastDescription(cid, d) elseif tmp[1] == "ban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to ban.") end if doPlayerAddCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been banned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be banned.") end elseif tmp[1] == "unban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unban.") end if doPlayerRemoveCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unbanned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unbanned.") end elseif param == "bans" then local t = getCastBans(cid) local text = "Cast Bans:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No bans." end doShowTextDialog(cid, 5958, text) elseif tmp[1] == "mute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to mute.") end if doPlayerAddCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been muted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be muted.") end elseif tmp[1] == "unmute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unmute.") end if doPlayerRemoveCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unmuted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unmuted.") end elseif param == "mutes" then local t = getCastMutes(cid) local text = "Cast Mutes:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No mutes." end doShowTextDialog(cid, 5958, text) elseif param == "viewers" then local t = getCastViewers(cid) local text, count = "Cast Viewers:\n#Viewers: |COUNT|\n\n", 0 for _,v in pairs(t) do count = count + 1 text = text .. "*" .. v.name .."\n" end if text == "Cast Viewers:\n#Viewers: |COUNT|\n\n" then text = "Cast Viewers:\n\nNo viewers." end text = text:gsub("|COUNT|", count) doShowTextDialog(cid, 5958, text) elseif param == "status" then local t, c = getCastViewers(cid), getPlayerCast(cid) local count = 0 for _,v in pairs(t) do count = count + 1 end doShowTextDialog(cid, 5958, "Cast Status:\n\n*Viewers:\n " .. count .. "\n*Description:\n "..(c.description == "" and "Not set" or c.description).."\n*Password:\n " .. (c.password == "" and "Not set" or "Set - '"..c.password.."'")) elseif param == "update" then if getPlayerStorageValue(cid, 656544) > os.time() then return doPlayerSendCancel(cid, "You used this command lately. Wait: " .. (getPlayerStorageValue(cid, 656544)-os.time()) .. " sec.") end doPlayerSave(cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The cast settings have been updated.") doPlayerSetStorageValue(cid, 656544, os.time()+60) end return true end No banco de dados: Acho que vocÊ já deve ter ai.. Tentei procurar aqui mas não achei kkkk OBS: as funções são muito diferentes, veja se vai funcionar, eu não tenho certeza =/
-
Nostalrius is coming back!!
Mas tenso q a cena final do 50 tons de cinza kopkepokepoe
-
Nostalrius is coming back!!
Ele que começou... Kd o puro amor? uU
-
Cada classe com sua arma
Em Weapons.xml EXEMPLOS: <wand id="2182" level="7" mana="2" min="8" max="18" type="earth" event="function" value="default"> <vocation name="Druid"/> <vocation id="6" showInDescription="0"/> </wand> <melee id="2447" level="50" unproperly="1" event="function" value="default"> <vocation name="Knight"/> <vocation id="8" showInDescription="0"/>
-
[AJUDA] Delay ao subir escada
Isso é em Config.lua Procura por stairhopDelay e coloca 0 lá stairhopDelay = 0
-
Cast não aparece no site
Na verdade é o contrário... O cast do TFS 3777 não faz ligação com banco de dados, já o OTX sim... Passa teu cast.lua em talkaction que eu faço um arranjo pra vc adicionando no banco de dados como Login12 comentou... Agora não sei se pode da certo...
-
Monster passando pelas fields mesmo sem ser atacado
Não tem nada errado.... Ghastly dragon não passa por cima do fire field de jeito maneira... o grim reaper já passa... Não sei dizer como configurar isso ehuehuew Agora tipo, ele só passa por cima se não tiver nenhum outro caminho, porém, se tiver, ele não passa. Creio que seja a configuração padrão... é o normal acho.
-
Banker não está dando para retirar o dinheiro!
Posta teu script aqui para que possamos lhe ajudar
-
Script passar portal apenas quando estiver equipando 1 amuleto especial.
function onStepIn(cid, item, position, fromPosition, toPosition) local tileConfig = { teleport = {x=1000, y=1000, z=7}, kickPos = fromPosition, kickEffect = CONST_ME_POFF, kickMsg = "Você precisa ter um amuleto para passar.", enterMsg = "you are teleported HEUHEWU!", enterEffect = 10, item = XXXX, -- ID DO ITEM } if getPlayerItems(cid, tileConfig.item) >= 1 then doTeleportThing(cid, tileConfig.teleport) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, tileConfig.enterMsg) doSendMagicEffect(tileConfig.teleport, tileConfig.enterEffect) else doTeleportThing(cid, tileConfig.kickPos) doSendMagicEffect(tileConfig.kickPos, tileConfig.kickEffect) doPlayerSendCancel(cid, tileConfig.kickMsg) end return true end GG em movements ta quirido? <movevent type="StepIn" actionid="ACTION_ID_DO_PISO" event="script" value="xxxxxxxx.lua"/> OBS: quero REP não... manda um _(_ pro Matk via msg vlw é q to bolado com ele, chamei pra jogar um jogo ele disse não. maguo total
-
Nostalrius is coming back!!
_(_
-
Nostalrius is coming back!!
Partiu galera, jogar nostalrius, clássico WoW Vanilla, lets gooo!!! Dia 17 https://elysium-project.org/play
-
Bugs comuns nos OTServs
AA FIRST '-' (que coisa de criança mds) KSPOAKSPO Bem, o primeiro bug mais grave de todos pf são os players.. Quando alguém falar "GM ACHEI UM BUG" e vc ir lá, ele vai estar do lado bug(monster), só dar ban nele e GG! Infelizmente não uso mais nenhuma datapack feita por outros usuários pois a maioria é infectada =/ Porém vou dar aqui alguns bugs do mapa tracked 9.31 global full para quem quiser (já retirei todos os bugs do meu porém não lembro de todos assim de cabeça) no RME digite CTRL + F, procure e delete por: todas as potions e dinheiro. (possui em alguns lugares quantidade infinita desses itens, é fácil achar e resolver - só deletar) Também procure pelas doors, muitas estão locked (talvez isso dependa do meu servidor e não de vocês) Em Carlin na torre da rainha, possui bug de mapa. Buracos da inq e outras quests podendo roppar players (basta resolver isso em actions) Hunts com quantidades grandes de monstros e outras sem (isso você precisa procurar, rotworm(fibula), goblin(carlin), troll(thais)) Nenhum teleport funciona (Você precisa adicionar manualmente) Paredes na entrada de DHQ (só ir lá e retirar, em edron)
-
Iniciar um OT do zero !
Bom galera, eu tenho vontade e estou com tempo agora para montar um OTserve ! Não sei muita coisa, mas procuro alguém que queria iniciar um OT do zero para aprendermos juntos ! ! ! Grato. Você precisa saber pelo menos o intermediário para querer fazer algo do zero já que precisa criar todos os scripts e sistemas kk