Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 08/03/12 em todas áreas

  1. ja vo dizer aki pq ja cansei disso... querem mapa? vao atras!!! querem site pra cria acc? vao atras!!! quando vai sair a proxima atualizaçao? n sei!! e parem de pergunta --' minha caixa de msg ja ta lotada soh de msg perguntando quando vai sair a proxima --' vcs sabem como eh foda configura 2 servs ao ms tempo? colocar todos os CDs em 100 pokes num serv e + 100 no outro sem fla da pasta monster e spells? --' eu ja to dando TODOS os scripts prontos de mao beijada pra todo mundo aki, eu n quero criar um serv entao n tem pq eu ter um mapa ou um site... corram atras!! se vcs acham q vao encontrar um serv 100% pronto pra soh baixa e deixar online e sem nem saber por um script no serv, ou procurar um mapa, soh vo dizer uma coisa... SEUS "SERVS" NAO VAO TER FUTURO!! --'
    2 pontos
  2. Opa, fala xTibia '-'.. Vi que muitas pessoas estavam querendo fazer um site para seu servidor e não sabem como fazer... Então resolvi postar um tutorial completíssimo aqui.. O que vamos precisar? -&amp;gt; Xampp ( 1.6.5 ) - Download - http://www.oldapps.com/xampp.php?old_xampp=38 -&amp;gt; Gesior Acc. Maker ( 0.3.8 ) - Download - http://www.mediafire.com/?u0bao9bcp9ua5vr -&amp;gt; Um servidor de sua escolha.Pode ser qualquer um desde que tenha o arquivo .mysql. PS: NÃO RESPONDO A QUEM TIVER O ERRO DO INSTALL.PHP . ESSE ERRO É CAUSADO POR CAUSA DA UTILIZAÇÃO DE OUTRA VERSÃO DO XAMPP E DO GESIOR, POR ESSE MOTIVO EU COLOQUEI O XAMPP 1.6.5 QUE ESTÁ FUNCIONANDO! NÃO USE A VERSÃO MAIS RECENTE DO XAMPP! Vamos ao tutorial! Espere... vai criar um site sem saber como funciona? O site de seu servidor será feito em PHP. E o que vai ter nele? Os jogadores de seu servidor poderão criar suas contas, ver notícias do servidor, ver outros jogadores, criar guildas, e muito mais dependendo de como você manusear seu website. OBS1 : É altamente recomendável que escolha uma forte senha para sua conta de Admin. Pois se seu servidor tiver sucesso, certamente "hackers" tentarão atacar sua database e seu servidor. OBS 2: Seu site ficará online apenas quando o Xampp estiver ativo com o Apache e MySQL sendo executados, ou seja, apenas quando você estiver no computador. Para seu site ficar online 24 horas, você precisaria de uma hospedagem para php. Agora que já temos tudo, vamos começar !! 1°) Abra o instalador do XamPP, e instale-o. 2°) Selecione aonde a pasta do XamPP ficará salva. (de preferência algum lugar de fácil acesso) 3°) Deixe apenas a primeira e a segunda opções marcadas e clique em Next. 4°) Aguarde o fim da instação e provavelmente uma tela preta irá aparecer. 5°) Após o fim da instalação, clique em Yes para abrir o XamPP e dê Start em Apache e MySQL. 6°) Clique em Admin do Apache. Você será redirecionado para a sua localhost (endereço que apenas você entra). Clique em Português (Brasil). 7°) No canto esquerdo do site , clique na Aba Segurança. Vá descendo até achar " http://localhost/sec...mppsecurity.php " . Clique. OBS : Se você não conseguiu abrir a página de Segurança, vá na pasta do seu Xampp/security/htdocs/lang e renomeie o arquivo pt para pt_br . 8°) Após ter clicado, deverá ser redirecionado para uma página parecida com essa: OBS :Faça o numero 1 e depois clique em Alterar Senha. Depois Faça o numero 3 e clique em Tornar Seguro o Diretorio do XamPP. 9°) Após ter feito isso, dê Stop no MySql (no XamPP) e dê Start denovo. Agora vá em seu navegador e digite : localhost/phpmyadmin 10°) Digite a senha que foi criada há pouco tempo que eu disse que era para a criação do banco de dados. 11°) Minimize seu navegador e vá na pasta de seu servidor, e abra o arquivo config.lua. Tire todos os espaços iniciais e as "frases" iniciadas com o sinal de " - " . Veja : 12°) Não feche o config.lua ainda, vá descendo até achar informações sobre a database de seu servidor ... algo parecido com isto : sqlType = "mysql" &amp;lt;- se estiver em sqlite, mude para mysql sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "123456" &amp;lt; - coloque a senha que foi criada para entrar no banco de dados. sqlDatabase = "otserv" &amp;lt; - coloque o nome de sua database , coloque " otserv " para facilitar. sqlFile = "otserv.s3db" &amp;lt; - de prefencia, coloque " otserv.s3db " ( o mesmo nome de sua database ) sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" 13°) Salve e feche o config.lua. Agora vamos voltar a pagina minimizada (localhost/phpmyadmin) : 14°) Clique na aba Importar na parte superior da tela. 15°) Agora Selecione o Arquivo para Importar. Selecione o arquivo terminado em .sql que fica na pasta de seu servidor e clique em Executar no canto inferior direito. 16°) Pronto !! A database de seu servidor foi criada. Agora vamos instalar os arquivos do site. 17°) Abra a pasta do XamPP/htdocs. Apague tudo que tem dentro de htdocs e cole tudo o que veio dentro da pasta do Gesior ACC. 18°) Abra o XamPP novamente e clique em Admin do Apache. 19°) Uma nova pagina foi aberta, agora você terá que fazer mais 5 passos rápidos. 19.1) Set Server Path Coloque o diretório da pasta de seu servidor. Ex : C:\Users\user\Desktop\Tibia Server Clique em Set Server Path. 19.2) Check database connection 19.3) Add tables and columns to DB 19.4) Agora desça e clique no botão. 19.5) Set Admin Account Coloque uma senha SEGURA pois esse será o password do administrador do site e servidor. 19.6) Load Monsters from OTS Carregue os monstros do servidor. 19.7) Load Spells from OTS Carregue as magias do servidor. 20°) Agora você deverá ser redirecionado para seu site, e você pode acessá-lo pelo localhost ou pelo ip do seu servidor. Para acessar sua database, digite em seu navegador : localhost/phpmyadmin Pronto !! Seu site foi criado :] Colocando seu site online pelo 8090 e Desbloqueando a porta 8090 : 1° - Acesse a pasta do XamPP/apache/conf e abra o arquivo httpd com o bloco de notas. Procure por : Listen 80 E por : ServerName localhost:80 Substitua todos os 80 por 8090. 2° - Dentro da pasta conf, abra a pasta extra, e em seguida abra httpd-ssl e procure por : Listen 443 E por: <virtualhost _default_:443=""> Substitua esses 443 por 4499. Agora vá em seu firewall e Adicione a Porta 8090 e Porta 80 e marca a opção TCP. Se usar Roteador, desbloqueie as portas também. Site por porta 80 localhost Site por porta 8090 localhost:8090 Colocando seu site online pela porta 80 (A porta 80 seria o ip normal de seu servidor. Exemplo : teste.servegame.com. ) A porta 80 não necessita de nada no final. Para que as pessoas entrem pela porta 80, não necessita mudar nada na pasta do Xampp. Pois ela ja está configurada para entrarem. Só é necessário desbloquear a porta 80 no seu modem ou roteador. E desbloquear a porta 80 pelo Firewall também. VIDEO AULA - FEITA EM 2/4/2012 (DESCULPA , AS VEZES TENHO QUE PENSAR QUANDO FALO EM PORTUGUES, PORQUE NAO MORO NO BRASIL)!! Créditos : 100% por Mim :] Não mexo mais com Tibia, mas ainda respondo a qualquer dúvida que eu esteja capacitado a responder (:
    1 ponto
  3. Animal Pak

    [8.54] Naruto Legend

    [8.54] Naruto Legend Estou aqui para disponibilizar o download do melhor servidor de Narutibia da atualidade Informações: 10 Novos monstros Mapa 100% refeito Teleports Sharingan Itens 100% Akatsuk Vocs 100% Jutsus 100% Mapa RPG. Organizações 100% Vocações 100% 3 Vilas Configurei o server para o sistema sqlite E Mais Screens: Downloads: Server - 4 Shared Scan Esses 3 virus encontrados são dlls não reconhecidas. Client Spr e Dat: http://www.4shared.c..._Dat_e_Pic.html Créditos: SmoOkeR Bianco Nazito
    1 ponto
  4. Slicer

    [Pokemon] Pda By Slicer 1.9/2.9

    [Pokemon] PDA By Slicer Pokemon dash advanced editado por slicer, vários bugs retidos. Projeto encerrado! Espero que todos tenham gostado desse 1 ano de trabalho duro! Todas as atualizações: * Leiam e sigam as instruções do Change Log dentro da pasta do patch! Downlaods: PDA By Slicer With Level System v2.9 Full -> http://www.mediafire...z2afuu75zblvmvq PDA By Slicer Without Level System v1.9 Full -> http://www.mediafire...td0l0ip9ajprrbf OTClient editado 2.8/1.8 => http://www.mediafire...1lcbs1fktpm676w Atualizações: EH OBRIGATORIO O USO DESSE CLIENT ABAIXO E USEM O .PIC TB!!!!!!!!! Client v1.9/2.9 => http://www.mediafire...77i414v1hy187fj Patch v1.9 => http://www.mediafire...da4umj3ip18jrf1 Patch v2.9 => http://www.mediafire...7nt275td9afl1fy Patch v1.9.1 => http://www.mediafire.com/?i3flwa3lrd016zl Patch v2.9.1 => http://www.mediafire.com/?m4zhjgn62uow1sp Obs: Atualizaçoes mais antigas estao dentro do spoiler acima!! OTAL.DLL: OBS: caso n esteja aparecendo a barra de moves no client normal do tibia, baixem essa .dll e coloquem na pasta onde fica o Pokemon_nibe.exe ... Otal.rar Patch Correçao! Todos olhem! Bugs na nova atualizaçao? Olhe o spoiler e veja se arruma o problema! Atualizado: 08/02/13 Créditos: Otal.rar
    1 ponto
  5. Skymagnum

    [Mods] System Frag Skull

    Olá, galerinha do Xtibia vim trazer esse mod aqui para vocês vão em mods crie um mods e renomeie para Skull System.xml o e adicione isso dentro; <?xml version="1.0" encoding="ISO-8859-1"?> <mod name="Skull System" version="1.0" author="Skyforever" contact="#####.com" enabled="yes"> <config name="SkullC_func"><![CDATA[ function setSkullColor(cid) local t = { [{5,10}] = 1, [{11,15}] = 2, [{16,20}] = 3, [{21,25}] = 4, [{26,math.huge}] = 5 } for var, ret in pairs(t) do if getPlayerFrags(cid) >= var[1] and getPlayerFrags(cid) <= var[2] then doCreatureSetSkullType(cid, ret) end end end function getPlayerFrags(cid) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = {date = result:getDataInt("date")} if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = {day = table.maxn(contents.day),week = table.maxn(contents.week),month = table.maxn(contents.month)} return size.day + size.week + size.month end ]]></config> <event type="login" name="SkullLogin" event="script"><![CDATA[ domodlib('SkullC_func') function onLogin(cid) registerCreatureEvent(cid, "ColorKill") setSkullColor(cid) return true end]]></event> <event type="kill" name="ColorKill" event="script"><![CDATA[ domodlib('SkullC_func') function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then doCreatureSetSkullType(target, 0) addEvent(setSkullColor, 100, cid) end return true end]]></event> </mod> primeiro abra o config.lua procurem por vai estar assim deixem assim agora procurem por e deixem assim Skyforever meu nome em outro fórum LEMBRANDO SOMENTE PARA SERVIDORES DE WAR
    1 ponto
  6. Eu gostaria de compartilhar com vocês como é interessante que Atlantida World servidor. Ao mesmo tempo o projeto nasce de um grande OTS . Atlantyda World tratou-se um super server que pertencia a uma equipa polaca, tive o prazer de jogar nele, mas ao final de algum tempo fechou. O server esteve online varios meses, no entanto, alguém nao se apercebeu que as más escolhas da administração resultou em uma grande queda. Pack Full contém literalmente tudo para gozar as suas Atlântida! Mapa, scripts, actions, monters,etc! O importante é tudo isso vem de uma fonte legal como era na administração.Pessoalmente, eu não tenho tempo para abrir de novo este OTS por isso quis compartilhar com vocês tudo o que qualquer um de vocês pode reconstruir o que foi acima no fumo! Esta imagem é reduzida. Clique nesta barra para ver a imagem completa. Imagem original: 2202x1392. Esta imagem é reduzida. Clique nesta barra para ver a imagem completa. Imagem original: 801x586. Esta imagem é reduzida. Clique nesta barra para ver a imagem completa. Imagem original: 801x586. Esta imagem é reduzida. Clique nesta barra para ver a imagem completa. Imagem original: 801x586. Esta imagem é reduzida. Clique nesta barra para ver a imagem completa. Imagem original: 801x586. Download ou Download ​ Vírus Total Depois de vários pedidos decidi colocar um executável compactivel com windows, mas aconselho a configurar os vossos itens aconselho a utilização de rook para um maior rpg, bom jogo não esqueçam de um comentário e do REP+. Download Com exe e dlls Se tiver alguma dificuldade reporte-me, server configurado para ligar um mysql.
    1 ponto
  7. PostadorHunter

    Dat E Spr Do Dbo Brasil

    Iai galaera agora vo passa pra vo6 odat e o spr do dbo brasil Dat: http://www.4shared.com/file/DXPF-Eey/dbo_brasil_dat.html? Spr: http://www.4shared.com/file/RwoDd0tP/Dbo_brasil_spr.html? Gostou rep+
    1 ponto
  8. Quando der meu REP+ dos outros topicos eu te ajudo. Acho injusto all te ajuda e voce ignora sem dar rep.
    1 ponto
  9. notle2012

    !bless Para Vip

    data\talkactions\scripts\bless.lua function onSay(cid, words, param) local fail = 0 if getPlayerLevel(cid) < 31 then cost = 2000 else cost = ((getPlayerLevel(cid) - 30) * 200) + 2000 end if cost > 20000 then cost = 20000 end for i = 1, 5 do if getPlayerBlessing(cid, i) then fail = fail + 1 else if doPlayerRemoveMoney(cid, cost) == TRUE then doPlayerAddBlessing(cid, i) if i == 5 and not(fail == 5) then doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED) end else doPlayerSendCancel(cid, "You do not have enough money to buy all the blessings!") break end end end if fail == 5 then doPlayerSendCancel(cid, "You already have all the blessings!") end return TRUE end data\talkactions\talkactions.xml <talkaction words="!bless" script="bless.lua" /> aqui bless não sei como funciona esse Perfect System Vip ​se não editava mais deixa como base pra alguém
    1 ponto
  10. theu1995

    [Encerrado] [Pokemon] Dúvidas? - Pda

    spoiler maldito, foi dificil mais consegui.
    1 ponto
  11. Maguito cara eu estava com poblema pra abaxa o rme map editor do bruin123.. ai eu fui no google digitei.. rme map editor 8.54 simples.. e o item.otb fui no computador/disco local c/rme map editor/8.54 e colokei láh ^^ Agr que eu paro de joga essa merda de pxg eles fazem shiny (obs.. shiny de psy é restart mesmo ahsdiasud)
    1 ponto
  12. Eae Galerinha Xtibiana... Venho aqui trazer alguns dos meus mais "feios" trabalhos... Esses são os 3 mais recentes que fiz... se alguém gostar de algum eu posto mais! Gostou? Da um REP+ aê tio só pa eu sair do "0" . OBs: Não sei postar nesse editor aqui... muito complexo '
    1 ponto
  13. notle2012

    Pedido De Script

    data\npc\Namer.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Namer" script="nick.lua" walkinterval="350000" floorchange="0" speed="0" lookdir="2"> <health now="150" max="150"/> <look type="614" head="115" body="122" legs="0" feet="76"/> <parameters> </parameters> </npc> data\npc\scripts\nick.lua local focus = 0 local talk_start = 0 local conv = 0 local target = 0 local following = false local attacking = false local talkState = {} local finalname = "" function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye sir!') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msge) local msg = string.lower(msge) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if focus == cid then talk_start = os.clock() end local auras = {"red aura", "blue aura", "green aura", "yellow aura", "white aura", "gray aura", "cyan aura", "purple aura", "orange aura"} if (msgcontains(msg, 'hi') and (focus == 0) and (getDistanceToCreature(cid) <= 4)) then focus = cid conv = 1 talk_start = os.clock() selfSay("Hello, "..getCreatureName(cid).."! Eu posso dar o seu Pokémon um apelido me diga 'nickname' e nome que queira") elseif (msgcontains(msg, "no") or msgcontains(msg, "bye")) and focus == cid and conv ~= 3 then selfSay("No problem then, sir. Come back when you feel like it!") focus = 0 elseif (msgcontains(msg, "nick") or msgcontains(msg, "nickname")) and focus == cid and conv == 1 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Sorry, you don't have a pokemon in the main slot!") focus = 0 return true end selfSay("Put your pokemon at the main slot and tell me, what nickname would you like me to give to your pokemon?") conv = 3 elseif msgcontains(msg, "aura") and focus == cid and conv == 1 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Sorry, you don't have a pokemon in the main slot!") focus = 0 return true end local pb = getPlayerSlotItem(cid, 8).uid if not getItemAttribute(pb, "boost") or getItemAttribute(pb, "boost") < 50 then selfSay("Sorry, your pokemon is not boosted +50!") focus = 0 return true end selfSay("You can choose one of these auras: red aura, blue aura, green aura, yellow aura, white aura, gray aura, cyan aura, purple aura, orange aura. Which one do you prefer?") conv = 9 elseif isInArray(auras, msg) and focus == cid and conv == 9 then selfSay("Are you sure that you want to put a "..msg.." in your pokemon?") conv = 11 local d, e = msg:find('(.-) aura') auraFinal = string.sub(msg, d -1, e - 5) elseif msgcontains(msg, "yes") and focus == cid and conv == 11 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Sorry, you don't have a pokemon in the main slot!") focus = 0 return true end local pb = getPlayerSlotItem(cid, 8).uid if not getItemAttribute(pb, "boost") or getItemAttribute(pb, "boost") < 50 then selfSay("Sorry, your pokemon is not boosted +50!") focus = 0 return true end doItemSetAttribute(pb, "aura", auraFinal) selfSay("Done! Now your pokemon have a new elemental aura. Enjoy it!") if #getCreatureSummons(cid) >= 1 then adjustStatus(getCreatureSummons(cid)[1], getPlayerSlotItem(cid, 8).uid) end focus = 0 conv = 0 elseif conv == 3 and focus == cid then local tablee = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "w", "y", "z", ".", ":", "'", '"', "~", "^", "@", "#", "$", "%", "&", "*", "(", ")", "-", "+", "_", "?", ">", "<", "•", ";", "°", "¹", "²", "³", "£", "¢", "¬", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"} local table = {"'", '"', "!", "ã", "õ", "ç", "´", "`", "á", "à", "ó", "ò", "é", "è", "í", "ì", "ú", "ù", "¹", "²", "³", "£", "¢", "¬", "§", "°", "º", "ª", "•", "|"} for a = 1, #table do if string.find(msg, table[a]) then selfSay("Sorry, the nick has invalid symbols.") return true end end if string.len(msg) <= 1 or string.len(msg) >= 19 then selfSay("Sorry, that nick is too long or too short!") return true end local pokename = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") selfSay("Are you sure that you want to change your's "..pokename.." name to \""..msge.."\"? This is going to cost you 10 hundred dollars.") conv = 5 finalname = msge elseif msgcontains(msg, "yes") and focus == cid and conv == 5 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Where is your pokemon?! You have to keep it at the main slot!") focus = 0 return true end if doPlayerRemoveMoney(cid, 100000) == false then selfSay("You don't have enough money to afford this service, come back later.") focus = 0 conv = 0 return true end local nick = ""..finalname.."" local description = "Contains a "..getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke").."." selfSay("Done! Your pokemon now has a new name, enjoy it!") doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "nick", nick) local newdes = description.."\nIt's nickname is: "..finalname.."." doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "description", newdes) local hp = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "happy") doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "happy", hp + 25) if #getCreatureSummons(cid) >= 1 then adjustStatus(getCreatureSummons(cid)[1], getPlayerSlotItem(cid, 8).uid) end focus = 0 conv = 0 end end local intervalmin = 38 local intervalmax = 70 local delay = 25 local number = 1 local messages = {"Want to give some nicknames to your pokemon? Talk to me!", "Did you know your pokemon gets a little happier when you give him a nickname?", "Every pokemon wants to have a nickname! Come talk to me!", "Pokemons love nicknames, you should give yours one.", } function onThink() if focus == 0 then selfTurn(1) delay = delay - 0.5 if delay <= 0 then selfSay(messages[number]) number = number + 1 if number > #messages then number = 1 end delay = math.random(intervalmin, intervalmax) end return true else if not isCreature(focus) then focus = 0 return true end local npcpos = getThingPos(getThis()) local focpos = getThingPos(focus) if npcpos.z ~= focpos.z then focus = 0 return true end if (os.clock() - talk_start) > 45 then focus = 0 selfSay("Come back some other time!") end if getDistanceToCreature(focus) > 3 then selfSay("Enjoy!") focus = 0 return true end local dir = doDirectPos(npcpos, focpos) selfTurn(dir) end return true end e tenho esse outro local focus = 0 local talk_start = 0 local conv = 0 local target = 0 local following = false local attacking = false local talkState = {} local finalname = "" function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Good bye sir!') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msge) local msg = string.lower(msge) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if (msgcontains(msg, 'hi') and (focus == 0) and (getDistanceToCreature(cid) <= 4)) then --if not isPremium(cid) then --selfSay("Hello, "..getCreatureName(cid).."! I'm sorry, but I can only give nicknames to pokemons for premium members!") --return true --end focus = cid conv = 1 selfSay("Hello, "..getCreatureName(cid).."! I can give your pokemon a nickname, would you like it?") elseif (msgcontains(msg, "no") or msgcontains(msg, "bye")) and focus == cid and conv ~= 3 then selfSay("No problem then, sir. Come back when you feel like it!") focus = 0 elseif msgcontains(msg, "yes") and focus == cid and conv == 1 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Sorry, you don't have a pokemon in the main slot!") focus = 0 return true end selfSay("Put your pokemon at the main slot and tell me, what nickname would you like me to give to your pokemon?") conv = 3 elseif conv == 3 and focus == cid then local tablee = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "x", "w", "y", "z", ".", ":", "'", '"', "~", "^", "@", "#", "$", "%", "&", "*", "(", ")", "-", "+", "_", "?", ">", "<", "•", ";", "°", "¹", "²", "³", "£", "¢", "¬", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"} local table = {"'", '"', "!", "ã", "õ", "ç", "´", "`", "á", "à", "ó", "ò", "é", "è", "í", "ì", "ú", "ù", "¹", "²", "³", "£", "¢", "¬", "§", "°", "º", "ª", "•", "|"} for a = 1, #table do if string.find(msg, table[a]) then selfSay("Sorry, the nick has invalid symbols.") return true end end if string.len(msg) <= 1 or string.len(msg) >= 19 then selfSay("Sorry, that nick is too long or too short!") return true end local pokename = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke") selfSay("Are you sure that you want to change your's "..pokename.." name to \""..msge.."\"? This is going to cost you 10 hundred dollars.") conv = 5 finalname = msge elseif msgcontains(msg, "yes") and focus == cid and conv == 5 then if getPlayerSlotItem(cid, 8).uid <= 0 then selfSay("Where is your pokemon?! You have to keep it at the main slot!") focus = 0 return true end if doPlayerRemoveMoney(cid, 100000) == false then selfSay("You don't have enough money to afford this service, come back later.") focus = 0 conv = 0 return true end local nick = ""..finalname.."" local description = "Contains a "..getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke").."." selfSay("Done! Your pokemon now has a new name, enjoy it!") doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "nick", nick) local newdes = description.."\nIt's nickname is: "..finalname.."." doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "description", newdes) local hp = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "happy") doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "happy", hp + 25) if #getCreatureSummons(cid) >= 1 then doCreatureSetNick(getCreatureSummons(cid)[1], finalname) end focus = 0 conv = 0 end end function onThink() if focus ~= 0 then a, b, c = selfGetPosition() if c ~= getThingPos(focus).z then focus = 0 end end if focus ~= 0 then if getDistanceToCreature(focus) > 6 then focus = 0 end end return true end mais tem eu editar goback.lua order.lua look.lua login.lua acho que ainda falto algo kkkkk
    1 ponto
  14. Suas wands estão configuradas para o número certo da vocation? Procure a wand que quer no data/weapons/ weapons.xml e acrescenta: <vocation id="9"/> Exemplo: <wand id="2183" level="33" mana="13" min="40" max="50" type="ice" event="function" value="default"> <!-- Hailstorm Rod --> <vocation id="2"/> <vocation id="9"/>
    1 ponto
  15. Mudar gender = "Genderless" para gender = "" Melhor o/ Decidi uma coisa, a cada post meu vou colocar uma img pra deixar o topico mais bonito. Essa foto aqui foi q eu tava mexendo no dat pra consertar a aura white e talz ai eu lembrei q falta colocar umas coisitas e coloquei E essa abaixo foi para zuar quando eu tava vendo o epi lá do Best Wishes e achei que combinava E essa ultima é uma duvida @Slicer Ja consertou o twister? EDIT: FONTE COLOR É O KRL JA FALEI QUE NAO QUERO ISSO
    1 ponto
  16. Slicer

    [Encerrado] [Pokemon] Dúvidas? - Pda

    @dudu q tal? '-'
    1 ponto
  17. 1027929

    Thetime

    Já tem no próprio fórum. http://www.xtibia.com/forum/topic/113350-talkaction-datahoraanodia-by-esk/ Não esquece do REP+
    1 ponto
  18. Vodkart

    Simple Task 3.0

    dá para fazer facilmente pelo onCombat amigo, não tem mistério nisso. eu estou indo trabalhar agr de tarde e estudar anoite, quando eu tiver um tempinho eu faço sem problema.
    1 ponto
  19. SmiX

    [Encerrado] [Irregular]Pokextreme

    PokeXtreme – Divulgação Olá galera. Hoje venho aqui para postar meu Server PokeXtreme. Causa: Não tenho tanta motivação em copiar algo que já esta criado por outras pessoas. Vou postar meu Server para download. Mas toda moeda tem dois lados. Para que eu post o Server, quero uma idéia e um projeto bom. Farei um Show Do Milhão aqui. As melhores idéias de projetos serão premiadas com o meu Server. O que contem em meu Server? ChangeLog PokeXtreme: Para quem não entendeu, segue a dica: Não quero mais fazer um servidor de Pokémon. Quero um projeto que seja inovador e que seja original. Parcialmente isso será uma troca. Vocês me dão uma idéia de um projeto e eu dou o Server. O Server só será disponibilizado para 10 ganhadores. Ou seja 3 idéias de projetos irão ganhar. Boa sorte aos participantes. Rank Ideias: 1° Exchange - Senhor dos Anéis & GOD Of Wa 2° Brunnoo - Yu-Gi-Oh 3° PraduH - Digimon ( já existe. Mas o que vale é participar ) 4° StyloMaldoso - Narutibia ( já existe varios por ai. Mas o que vale é participar ) 5° Maguito - Megamen ( Legal á ideia ) 6° fstatk - BayBlade ( ele deu uma Jogabilidade Por PM ) 7° Jefesson - Thundercats ( legal também )
    1 ponto
  20. adc essa função na lib function doRemoveItemsFromList(cid,items) -- by vodka local count = 0 if table.maxn(items) > 0 then for i = 1, table.maxn(items) do if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then count = count + 1 end end end if count == table.maxn(items) then for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end else return false end return true end dps só usar assim: function onSay(cid, words, param) local remove = {{8262,1},{8263,1},{8264,1},{8265,1}} if not doRemoveItemsFromList(cid, remove) then doPlayerSendCancel(cid, 'Voce Precisa Das 4 Partes Do Amuleto Para Conseguir Formalo.') return true end doPlayerAddItem(cid,8266,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) doCreatureSay(cid, "!ShadownStaffQuest", TALKTYPE_ORANGE_1) return true end exemplo: local items = {{ID DO ITEM,QUANTIDADE}} dá para adc mais local items = {{2123,5},{2160,10},{2494,1}}
    1 ponto
  21. Pra funcionar perfeitamente, só removendo essa tag do animatedeffect: doSendAnimatedText(getPlayerPosition(cid), "Critical!", TEXTCOLOR_LIGHTGREY) Essa função foi retirada dos servidores atuais. Tente usar novamente mais não tive sucesso com palavras, apenas conseguir fazer rodar com números. Assim: doPlayerSendTextMessage(cid, MESSAGE_EXPERIENCE, "$$$", número desejado, COLOR_LIGHTGREEN, getCreaturePosition(cid))
    1 ponto
  22. Olhá só, usa eu script aqui que eu fiz: Em data/creaturescripts/scripts, duplica um arquivo e nomeia pra "outfitEffects" sem as aspas e nele cole: function onLogin(cid) registerCreatureEvent(cid, "OutfitEffects") effectOut(cid, effect, out) end local effect = { [136] = {3}, -- [looktype] = {effects} [279] = {17, 18}, [141] = {66}, [155] = {31, 32, 15}, [288] = {6} } function onOutfit(cid, old, current) if effect[current.lookType] then for i=0, #effect[current.lookType] do effectOut(cid, effect, out) end end return true end function effectOut(cid, effect, out) if isPlayer(cid) and getCreatureOutfit(cid).lookType == out.lookType then doSendMagicEffect(cid, effect) addEvent(effectOut, 1000, cid, effect[current.lookType][i], current) end end Agora em creaturescripts.xml cole as tags: <event type="login" name="OutfitLoginEffect" event="script" value="outfitEffects.lua"/> <event type="outfit" name="OutfitEffects" event="script" value="outfitEffects.lua"/> Prontinho, vai funcionar da seguinte maneira, ali você vai poder configurar quando o player tiver com tal outfit qual o effect vai ficar saindo nele, e é possível configurar mais de um effect por player.
    1 ponto
  23. @gabriel1211995 ver esse
    1 ponto
  24. alldakie

    Rabiscos Do Tonyhanks

    Olá Galera Xtibiana, Estou tentando aprender as técnicas de fazer sprites, ainda sou iniciante mais gostaria da opinião de vocês p/ poder melhorar...
    1 ponto
  25. WarW0lf

    ! Anti-Bot System ! + Tutorial

    Olá, obrigado pelos comentários, só não passarei para mods pois estou trabalhando em um novo script que postarei em breve aqui no Xtibia, por isso estou muito oculpado. Desculpem... Não se esqueçam do Rep+
    1 ponto
  26. SkySeven

    Swapping System Help!

    FlaashMan,Muito Bom,vai ajudar muitos que procuram por isso.
    1 ponto
  27. tenta esse http://www.4shared.com/rar/sPpPzsAp/BaiakSexo.html
    1 ponto
  28. 1º - Crie uma nova conta no seu OT, abra o localhost/phpmyadmin, / BD do seu OT / account / nome da account criada, vá em page acess e mude para 3 (numero padrão do Gesior). Logue com essaconta no site, e você verá o Admin Panel 2º - localhost:8090, não é um bug, pois você está acessando pelo local onde está hospedado o otserver, certifique-se que todos os roteadores estejam com as portas abertas, e tente entrar em seu site externamente.
    1 ponto
Líderes está configurado para São Paulo/GMT-03:00
×
×
  • Criar Novo...