Henrique Moura 193 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 Antes de participar, atenção: Tópico válido somente até às 23:59 do dia 21. É necessário ler as regras antes de participar. Muitos aqui devem conhecer o serviço do XMídia, produto do XTibia.com. Nós oferecemos anúncios aqui no fórum por um preço relativamente baixo comparado ao do mercado. Quem não conhece, que tal dar uma olhada e anunciar seu servidor conosco? Visite www.xmidia.xtibia.com Vamos trocar beneficios? Quem aqui é dono de servidor e está online hoje, ou está crescendo, ou tem poucos players e precisa de um anúncio? Faremos assim: O XTibia vai dar pra você uma semana de anúncio aqui no Fórum no XDICA* e em troca você vai disponibilizar algo que o seu servidor tem. Um script, uma hunt, um pedaço de mapa, um sistema diferente ou qualquer coisa que você possa compartilhar conosco**. Então você posta no fórum, vem neste tópico e posta o link do tópico em que você disponibilizou o conteúdo e automaticamente estará concorrendo! Ganha aquele que mais contribuir/ou contribuir com o melhor conteúdo. Antes de tudo, leia as regras logo abaixo. • Regras: » As postagens só valerão se forem feitas até 23:59 do dia 21. » Usuários fantasmas ou conteúdos que não sejam de autoria de quem alega serão desclassificados e podem ser suspensos. » Os links para o conteúdo aqui no fórum devem ser postados neste tópico, até as 23:59 do dia 21. » Ao postar, deve ser inserido o nome do seu servidor e o ip. » O usuário participante deve possuir um servidor já online. » Usuários que postarem no tópico posts não relacionados ao concurso serão suspensos. » É proibido remover o conteúdo postado após o término do concurso. Notas: * XDica 7 dias(plano semanal, estimativa de views: até 27 mil) ** O conteúdo deve estar no servidor, seja ele uma hunt, um mapa ou qualquer script que você possa nos disponibilizar. É o XTibia incentivando quem faz valer o termo Comunidade! Vamos participar! x Link para o comentário Compartilhar em outros sites More sharing options...
Leonard02 5 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 Upppp, eu queria isso neeeh mas fazer oque!! meu ot nao é dedicado ainda ;@@@ Fantasy Up Go! Booa Sorte a Todos! Link para o comentário Compartilhar em outros sites More sharing options...
bepokemon 101 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 (editado) Sistema de Twitter 100% feito por mim para o Bellumera: local function getEnd(int) int = tostring(int) if int:find("1", -1) then return "st" elseif int:find("2", -1) then return "nd" elseif int:find("3", -1) then return "rd" else return "th" end end function onSay(cid, words, param) local storageTwitts = 56132 local twitts = getPlayerStorageValue(cid, storageTwitts) local function addTwitts(cid, value) return setPlayerStorageValue(cid, storageTwitts, twitts+value) end local function getPlayerFollowersCount(cid) local t = db.getResult("SELECT COUNT(player_id) as count FROM `player_follows` where `follow_id` = ".. getPlayerGUID(cid) ..";") local c = t:getDataInt("count") t:free() return c end local function getPlayerFollowingCount(cid) local t = db.getResult("SELECT COUNT(player_id) as count FROM `player_follows` where `player_id` = ".. getPlayerGUID(cid) ..";") local c = t:getDataInt("count") t:free() return c end local function isPlayerFollowing(cid, id) local t = db.getResult("SELECT `id` FROM `player_follows` WHERE `follow_id` = "..id.." and `player_id` = ".. getPlayerGUID(cid)..";") if(t:getID() ~= -1) then return TRUE end return FALSE end local function getGlobalTwitts() local twittsCount = db.getResult("SELECT COUNT(id) as count FROM `player_twitts`;") if(twittsCount:getID() ~= -1) then return twittsCount:getDataString("count") end end if words == "!twitterinstall" then if getPlayerGroupId(cid) < 5 then return false end db.executeQuery("DROP TABLE IF EXISTS `player_twitts`;") db.executeQuery("CREATE TABLE `player_twitts` (`globid` INTEGER NOT NULL, `player_id` INTEGER NOT NULL ,`id` INTEGER NOT NULL ,`msg` VARCHAR(255) NOT NULL ,`date` VARCHAR(255) NOT NULL, `osdate` DATE NOT NULL);") db.executeQuery("DROP TABLE IF EXISTS `player_follows`;") db.executeQuery("CREATE TABLE `player_follows` (`player_id` INTEGER NOT NULL ,`id` INTEGER NOT NULL ,`follow_id` INTEGER NOT NULL ,`follow_name` VARCHAR(255) NOT NULL);") doPlayerSendTextMessage(cid, 27, 'Twitter System by Uissu installed successfully!') return true end if twitts == -1 then doPlayerSendTextMessage(cid, 18, "Welcome to Twitter. Twitter is a good way to tell short stories and update yourself to your friends. Hope you enjoy!") doPlayerSendTextMessage(cid, 18, "You are not following anybody. You can follow someone by saying !follow [name]. Then you\'ll be able to see their twitts.") setPlayerStorageValue(cid, storageTwitts, 1) return TRUE end if words == "!updates" then local text = "" for n=1,getGlobalTwitts() do local t = db.getResult("SELECT `msg`, `date`, `player_id`, `osdate` FROM `player_twitts` WHERE `globid` = "..n..";") if(t:getID() ~= -1) then local pid = t:getDataInt("player_id") local msg = t:getDataString("msg") local date = t:getDataString("date") if isPlayerFollowing(cid, pid) then text = "The player "..getPlayerNameByGUID(pid).." twitted:\n\'"..msg.."\'\nIn "..date..".\n\n"..text elseif string.find(tostring(msg), "@"..getCreatureName(cid)) then text = "The player "..getPlayerNameByGUID(pid).." mentioned you in:\n\'"..msg.."\'\nIn "..date..".\n\n"..text end end end doShowTextDialog(cid, 1950, text ~= "" and text or "No recent updates, try following someone: !follow [name].") return TRUE end if param == "" then doPlayerSendCancel(cid, "Param required.") doSendMagicEffect(getCreaturePosition(cid), 2) return TRUE end local guid = 0 if words == "!twitt" then if string.find(param, "@") then m = string.match(tostring(param),"@(.*),") pid = getPlayerByName(m) if isPlayer(pid) then local text = getCreatureName(cid).." mentioned you in a twitt." guid = pid if isPlayerFollowing(pid, getPlayerGUID(cid)) then text = text.." You can see the twitt by typeing \'!updates\'." else text = text.." You can see the twitt by following him with the command: \'!follow "..getCreatureName(cid).."\' and then typeing \'!updates\'." end doPlayerSendTextMessage(pid, 18, text) end end for n=1,twitts do local t = db.getResult("SELECT `msg` FROM `player_twitts` WHERE `id` = "..n.." and `player_id` = "..getPlayerGUID(cid)..";") if(t:getID() == -1) then db.executeQuery("INSERT INTO `player_twitts` (`globid`,`msg`,`date`,`id`,`player_id`,`osdate`) VALUES ('"..(getGlobalTwitts()+1).."', '".. tostring(param) .. "', '".. os.date("%B").." "..os.date("%d")..""..getEnd(os.date("%d"))..", "..os.date("%Y")..". ("..os.date("%X")..")', '".. n .. "', '".. getPlayerGUID(cid).."', '".. os.time().."');") if n == twitts then addTwitts(cid, 1) end break end end for _,pid in ipairs(getPlayersOnline()) do if isPlayer(pid) and isPlayerFollowing(cid, pid) and pid ~= cid and pid ~= guid then doPlayerSendTextMessage(pid, 18, getCreatureName(cid).." twitted something, you can check by typeing \'!updates\'.") end end doPlayerSendTextMessage(cid, 18, "You\'ve twitted: \""..param.."\".") elseif words == "!follow" then local player = db.getResult("SELECT `id` FROM `players` WHERE `name` = '".. param .."';") if(player:getID() == -1) then doPlayerSendCancel(cid, "Player with name \'"..param.."\' doesn\'t exists.") doSendMagicEffect(getCreaturePosition(cid), 2) return TRUE end local pid = getPlayerByName(param) local cname = getCreatureName(cid) local GUID = player:getDataString("id") if pid == cid then doPlayerSendCancel(cid, "You can\'t follow yourself.") doSendMagicEffect(getCreaturePosition(cid), 2) return TRUE end local already = 0 for n=1,math.max(1, getPlayerFollowingCount(cid)+1) do local fl = db.getResult("SELECT `follow_id` FROM `player_follows` WHERE `id` = '".. n .."' and `player_id` = '".. getPlayerGUID(cid) .."';") if(fl:getID() ~= -1) then if(fl:getDataString("follow_id") == GUID) then already = 1 break end end end if already == 1 then doPlayerSendCancel(cid, "You\'re already following this player.") return true end for n=1,math.max(1, getPlayerFollowingCount(cid)+1) do local fl = db.getResult("SELECT `follow_id` FROM `player_follows` WHERE `id` = '".. n .."' and `player_id` = '".. getPlayerGUID(cid) .."';") if(fl:getID() == -1) then db.executeQuery("INSERT INTO `player_follows` (`follow_id`,`follow_name`,`id`,`player_id`) VALUES ('".. GUID .. "', '".. param .."', '".. n .. "', '".. getPlayerGUID(cid) .."');") break end end if isPlayer(pid) then doPlayerSendTextMessage(pid, 18, "The player \'"..cname.."\' is now following you in Twitter. You have now "..getPlayerFollowersCount(pid).." followers.") end doPlayerSendTextMessage(cid, 18, "You\'re now following \'"..param.."\'. You are now following ".. getPlayerFollowingCount(cid) .." players.") elseif words == "!unfollow" then local player = db.getResult("SELECT `id` FROM `players` WHERE `name` = '".. param .."';") if(player:getID() == -1) then doPlayerSendCancel(cid, "Player with name \'"..param.."\' doesn\'t exists.") doSendMagicEffect(getCreaturePosition(cid), 2) return TRUE end local pid = getPlayerByName(param) local cname = getCreatureName(cid) local GUID = player:getDataString("id") local following = 0 for n=1,math.max(1, getPlayerFollowingCount(cid)+1) do local fl = db.getResult("SELECT `follow_id` FROM `player_follows` WHERE `id` = '".. n .."' and `player_id` = '".. getPlayerGUID(cid) .."';") if(fl:getID() ~= -1) then if(fl:getDataString("follow_id") == GUID) then db.executeQuery("DELETE FROM `player_follows` WHERE `id` = ".. n .." AND `player_id` = ".. getPlayerGUID(cid) ..";") if isPlayer(pid) then doPlayerSendTextMessage(pid, 18, "The player \'"..cname.."\' is not following you anymore. You have now "..getPlayerFollowersCount(pid).." followers.") end doPlayerSendTextMessage(cid, 18, "You\'re not following \'"..param.."\' anymore. You are now following "..getPlayerFollowingCount(cid).." players.") following = 1 break end end end if following == 0 then doPlayerSendCancel(cid, "You are not following \'"..param.."\'.") doSendMagicEffect(getCreaturePosition(cid), 2) return TRUE end end return TRUE end *Me perdoem a falta de identação no script. Nome do servidor: Bellumera IP: bellumera.com Website: http://bellumera.com/ Editado Janeiro 19, 2012 por Byerne Link para o comentário Compartilhar em outros sites More sharing options...
SpLiCee 0 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 Meu Servidor e Dedicado,mais porem e via hamachi.!! ja tem tudo client do servidor e site !!! server via hamachi pode ?: Link para o comentário Compartilhar em outros sites More sharing options...
bepokemon 101 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 Meu Servidor e Dedicado,mais porem e via hamachi.!! ja tem tudo client do servidor e site !!! server via hamachi pode ?: Se ele possuir um website com todas as informações de como fazer login em seu servidor ou se explicar que é via hamachi ao meu ver não terá problemas. Link para o comentário Compartilhar em outros sites More sharing options...
Henrique Moura 193 Postado Janeiro 19, 2012 Autor Share Postado Janeiro 19, 2012 Meu Servidor e Dedicado,mais porem e via hamachi.!! ja tem tudo client do servidor e site !!! server via hamachi pode ?: Pode sim, só ter um tópico no Ekz anunciando ele. Link para o comentário Compartilhar em outros sites More sharing options...
SpLiCee 0 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 ok Obrigado !! :Henrique Moura & Byerne ... Irei Postar Meu Server !! : Link para o comentário Compartilhar em outros sites More sharing options...
bepokemon 101 Postado Janeiro 19, 2012 Share Postado Janeiro 19, 2012 ok Obrigado !! :Henrique Moura & Byerne ... Irei Postar Meu Server !! : Só pra reforçar a explicação: Ele quer um Script/Sistema/Trecho de mapa/etc ... Algo do seu server que apenas seu server tem e que possa ser postado aqui. O melhor conteúdo então terá uma semana no Ekz-Mídia. Link para o comentário Compartilhar em outros sites More sharing options...
Henrique Moura 193 Postado Janeiro 20, 2012 Autor Share Postado Janeiro 20, 2012 Upppp, eu queria isso neeeh mas fazer oque!! meu ot nao é dedicado ainda ;@@@ Fantasy Up Go! Booa Sorte a Todos! Se você ganhar a gente guarda o prêmio pra você ^.^ Dei um dia a mais. Abraços. Link para o comentário Compartilhar em outros sites More sharing options...
Leonard02 5 Postado Janeiro 20, 2012 Share Postado Janeiro 20, 2012 (editado) Script Mount System [8.6] By Leonard02 |Fantasy Otserver| Atenção Administração: Meu server não ta on,mas como vc dise q valia ta ai! Vá em Items.xml procure por "Giant Eye" e mude para "Mysterious" Salve e fexe! Ele ficará assim: <item id="11191" name="mysterious pet"> <attribute key="weight" value="120" /> </item> Agora vai em actions.xml e adiciona essa linha: <action itemid="11191" event="script" value="mount.lua"/> Agora Volte na Pasta Actions e crie uma chamada "mount.lua" e adicione isso: -- [( Mount System 1.4 created by Leonard02 for ww.xtibia.com )] -- function onUse(cid, item) local outfit = {lookType = 342} -- Outfit da montaria! local exhaust = 60 -- Tempo para player poder usar o item novamente! (tempo em segundos) local time = 60 -- Tempo para ficar na montaria! (tempo em segundos) local speed = 300 -- Velocidade adicionada ao player após usar o item! (300 = velocidade, quanto maior mais rapido...) local mana = 1300 -- Quantidade de mana que o player necessita para usar o sistema! local premium = "yes" -- Apenas players premium accounts "yes" or "no"!? local storage = 9393 -- Não mexa aqui! if premium == "yes" and not isPremium(cid) then return doPlayerSendTextMessage(cid, 23, "Sorry, only premium players.") end if(getCreatureMana(cid) < mana) then return doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTENOUGHMANA) end if (getPlayerStorageValue(cid, storage) <= os.time()) then doCreatureSay(cid, "Yeeeah!!!\nYou went up on his ride.", 19) doSetCreatureOutfit(cid, outfit, time*1000) doChangeSpeed(cid, speed) doSendMagicEffect(getCreaturePosition(cid), 34) setPlayerStorageValue(cid, storage, os.time()+exhaust) doPlayerAddMana(cid, -mana) addEvent(doChangeSpeed, time*1000+40, cid, -speed) addEvent(doPlayerSendTextMessage, time*1000+45, cid, 23, "Mount System is time out!") addEvent(doSendMagicEffect, time*1000+50, getCreaturePosition(cid), 2) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "Sorry, you only can again use this item after "..exhaust.." seconds.") end return TRUE end Pronto, Agora configure do geito que quiser! Lembrem Administração que meu server não esta pronto, então guardem meu premio caso eu ganhe. Obrigado ;* Editado Janeiro 20, 2012 por Leonard02 Link para o comentário Compartilhar em outros sites More sharing options...
Henrique Moura 193 Postado Janeiro 20, 2012 Autor Share Postado Janeiro 20, 2012 Aguardando mais participações! Link para o comentário Compartilhar em outros sites More sharing options...
katumblo 5 Postado Janeiro 20, 2012 Share Postado Janeiro 20, 2012 (editado) Bem em cima da hora Bom fiz uma hunt + novo monstro + Como clocar monstro no ot sem bugar + outfit podre :] link da imagem se não conseguir ver direito - http://imageshack.us...mupload&newlp=1 download - http://www.4shared.c..._concurso.html? _______________________________________________________________ Bom pessoal, todo mundo já fez um ot e na hora de abrir o ot... cade os monstros ? Sumiram O: O erro é muito bobo. vou explicar : Geralmente os mappers iniciante deixam assim : O que esta errado ? Spawn size que ta 30 ? não. spawn size deixe o tamanho que preferir, mas Spawn Time é o tempo que o monstro ira nascer Tempo em ingles é Time (avah) então se você deixar 0 como o bixo vai nascer? é recomendado deixar mais ou menos assim : _______________________________________________________________ Script Do Xtibis Boss Vá na pasta do seu ot e vá em data / monster crie um arquivo .xml e cole dentro o seguinte script : __________________________________________________________________ <?xml version="1.0" encoding="UTF-8"?> <monster name="Xtibia boss" nameDescription="xtibia monster" race="energy" experience="98652550" speed="987280" manacost="0"> <health now="9874300" max="9874300"/> <look type="326" corpse="10005"/> <targetchange interval="5000" chance="8"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="1"/> <flag staticattack="90"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" skill="50" attack="100"/> <attack name="energy" interval="1000" chance="7" range="7" min="-0" max="-220"> <attribute key="shootEffect" value="energy"/> </attack> <attack name="energy" interval="2000" chance="25" length="8" spread="0" min="-0" max="89541200"> <attribute key="areaEffect" value="energy"/> </attack> <attack name="outfit" interval="50" chance="9" range="900" monster="skeleton" duration="5000"> <attribute key="areaeffect" value="blueshimmer"/> </attack> </attacks> <defenses armor="40" defense="45"> <defense name="speed" interval="1000" chance="7" speedchange="290" duration="4000"> <attribute key="areaEffect" value="redshimmer"/> </defense> <defense name="healing" interval="1000" chance="25" min="200" max="400"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <elements> <element earthPercent="50"/> <element holyPercent="30"/> <element firePercent="45"/> <element energyPercent="35"/> <element physicalPercent="40"/> <element icePercent="25"/> <element deathPercent="30"/> </elements> <immunities> <immunity invisible="1"/> <immunity paralyze="1"/> </immunities> <voices interval="2500" chance="10"> <voice sentence="Azerus barada nikto!"/> <voice sentence="Klonk klonk klonk"/> <voice sentence="Engaging Enemy!"/> <voice sentence="Threat level processed."/> <voice sentence="Charging weapon systems!"/> <voice sentence="Auto repair in progress."/> <voice sentence="The battle is joined!"/> <voice sentence="Termination initialized!"/> <voice sentence="Rrrtttarrrttarrrtta"/> </voices> <loot> <item id="2148" countmax="90" chance="37500"/><!-- gold coin --> <item id="2148" countmax="80" chance="375000"/><!-- gold coin --> <item id="8309" countmax="5" chance="9000"/><!-- nails --> <item id="2377" chance="5500"/><!-- two handed sword --> <item id="2510" chance="9000"/><!-- plate shield --> <item id="2394" chance="7000"/><!-- morning star --> <item id="2513" chance="6500"/><!-- battle shield --> <item id="8473" chance="5000"/><!-- ultimate health potion --> <item id="7590" chance="5500"/><!-- great mana potion --> <item id="1987" chance="100000"><!-- bag --> <inside> <item id="5880" chance="3500"/><!-- iron ore --> <item id="7439" chance="4000"/><!-- berserk potion --> <item id="2438" chance="3500"/><!-- epee --> <item id="9808" chance="5000"/><!-- rusty armor--> <item id="2209" chance="1000"/><!-- club ring --> <item id="2213" chance="10000"/><!-- dwarven ring --> <item id="9980" chance="300"/><!-- crystal of power --> <item id="2645" chance="400"/><!-- steel boots --> <item id="7403" chance="250"/><!-- berserker --> <item id="7422" chance="250"/><!-- jade hammer --> <item id="7428" chance="300"/><!-- bonebreaker --> <item id="2177" chance="300"/><!-- life crystal --> </inside> </item> </loot> </monster> __________________________________________________________________ Se quiser editar o monstro edite tudo que eu deixei em vermelho. Agora vá em monsters.xml e cole esta tag : ____________________________________________________ <monster name="Xtibia Boss" file="Xtibia monster.xml"/> ____________________________________________________ E pronto _______________________________________________________________ Outfit Outfit para evento.bmp Outfit ficou muito Meio ruim , mais o que vale é a intenção né? *-* Bom, a outfit não esta no meu server porque eu vou fazer um server de One Piece , eu fiz essa para colocar aqui :] _______________________________________________________________ Nome : Caribian Tibia IP: caribiantibia.servegame.com Website : Não tenho mais vai dexa eu participar *-* Editado Janeiro 21, 2012 por katumblolol Link para o comentário Compartilhar em outros sites More sharing options...
sk8maleski 4 Postado Janeiro 21, 2012 Share Postado Janeiro 21, 2012 (editado) Ola pessoal vim traze um script util para quem tem otserv (Snow Thyranic)Testado e aprovado em Thyranic ! Oque esse Script faz? ele tira um pequeno bug que na verdade e muito grave que é possivel adquirir items acumulativos dos npcs sem pagar e como funciona esse bug? Atravez do elfbot com esse comandos na hotkeys auto buyitems (itemId) 0 Para Resolver esse problema vou posta a pasta lib dos npcs pra fica tudo certo! Substitua a pasta lib que se encontra pastaot\data\npc\lib Pasta lib e tambem recomendo usar o items.xml para nao haver bug das runa e pote fica infinita Substitua o items.xml por esse ai que se encontra pastaot\data\items items.xml Scans items.xml pasta lib Obs:tem um topico com a ultima atualização do snow thyranic que esta sem o bug que eu tirei (Meus Creditos)! Espero ter ajudado! -----(tinha esquecido ;s ) Nome do Servidor: Domain Otserv Site: http://domainot.servegame.com ip: domainot.servegame.com Editado Janeiro 21, 2012 por maleskiii Link para o comentário Compartilhar em outros sites More sharing options...
Henrique Moura 193 Postado Janeiro 21, 2012 Autor Share Postado Janeiro 21, 2012 Adiado 1 dia. Link para o comentário Compartilhar em outros sites More sharing options...
TheMaker 3 Postado Janeiro 21, 2012 Share Postado Janeiro 21, 2012 (editado) Bom, ainda nao tenho nenhum trabalho postado aqui no x tibia. sou novo no forum, mas aqui estou postando meu primeiro trabalho como mapper. um depot, vejam as imagems. download logo abaixo espero ajudar muito os futuros ot servers ! terreo: segundo andar: terraço: DOWNLOAD http://www.4shared.c.../dp_online.html se alguem presisar das pastas items, avisa Editado Janeiro 21, 2012 por TheMaker Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados