-
Total de itens
631 -
Registro em
-
Última visita
-
Dias Ganhos
13
Tudo que jhon992 postou
-
Preciso de um script que ao falar bye o ficar longe do npc, ele sumise. Tenta ajuda aew plx. Vlw.
-
nem funfo velho. Mais vlw a ajuda. Resolvi fazer com spell msm. RESOLVIDO!
-
tenho esse script: function onSay(cid, words, param) local outfit = {lookType=2} local outfitTime = 10 local pos = getPlayerPosition(cid) if getCreatureOutfit(cid).lookType == 32 then doSetCreatureOutfit(cid, outfit, outfitTime) doSendMagicEffect(pos, 30) doChangeSpeed(cid, -390) doPlayerSendTextMessage(cid,27,'Normal form!') else doPlayerSendCancel(cid,"Você não esta transformado!") end return 1 end ///////////////////////////////////////// Precisso que alem de remover a velocidade, que ele remove-se tambem skills por um determinado tempo. Ja pesquisei por tudo e não encontrei como fazer. Se ajudar rep++ concerteza!
-
se a sua internet for compartilhada, seus amigos so poderão entrar via hamachi. se não for, voce precissa liberar as portas 7171, 7172 no seu modem e no seu firewall, pegar seu ip no meuip.com.br e colocar no config.lua que se encontra na pasta principal do seu otserv. para liberar a portas no seu firewall, vai em iniciar, painel de controle, firewall e adiciona essas duas portas e para adicionar as mesmas em seu modem voce deve procura algum tutorial de como adicinar portas no modelo de seu modem. apos isso creio que seus amigos poderão entrar. se não conseguir pesquise aqui no xtibia msm que tem muitos tutoriais de como resolver isso.
-
function onSay(cid, words) local voc = getPlayerVocation(cid) --Obter Vocação do Player local pos = getCreaturePosition(cid) --Obter Posição do Player local lvl = getPlayerLevel(cid) --Obter LvL do Player local minutos = 465656565 -- Quanto tempo depois em minutos a transformação vai sumir? if voc == 0 then doSendMagicEffect(pos,32) doPlayerSendCancel(cid, "Você não pode se transformar") end if lvl >= 50 then -- LvL necessario para se transformar if voc == 369 then doSendMagicEffect(pos,32) doPlayerSetVocation(cid,voc +380) doSetCreatureOutfit(cid,{lookType=280,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000) doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1) addEvent(returnTransform, minutos*9999*60, cid) end if voc == 380 then doSendMagicEffect(pos,2) dolvlPlayerSetVocation(cid,voc +50) doSetCreatureOutfit(cid,{lookType=120,lookHead=20,lookAddons=0,lookLegs=40,lookBody=30,lookFeet=50},4 * 60 * 1000) doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1) addEvent(returnTransform, minutos*9999*60, cid) end if voc == 3 then doSendMagicEffect(pos,2) doPlayerSetVocation(cid,voc +4) doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000) doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1) addEvent(returnTransform, minutos*9999*60, cid) end if voc == 4 then doSendMagicEffect(pos,2) doPlayerSetVocation(cid,voc +4) doSetCreatureOutfit(cid,{lookType = 440, lookHead = getCreatureOutfit(cid).lookHead, lookBody = getCreatureOutfit(cid).lookBody, lookLegs = getCreatureOutfit(cid).lookLegs, lookFeet = getCreatureOutfit(cid).lookFeet, lookAddons = getCreatureOutfit(cid).lookAddons},4 * 60 * 1000) doCreatureSay(cid, "Transform...UaaaaaaAaahHhhh!!!", TALKTYPE_ORANGE_1) addEvent(returnTransform, minutos*9999*60, cid) end else doPlayerSendCancel(cid, "Você não possui o lvl necessario!") end end
-
tenta assim : Obs. Nem testei aqui. Se não funcionar me avisa. function onSay(cid, words, param, var) local pos = getPlayerPosition(cid) if (getPlayerVocation(cid) == 1) and (getPlayerLevel(cid) >= 50) then doPlayerSetVocation(cid, 2) local outfit = {lookType = 30} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 50 then doPlayerSendCancel(cid, "Nao foi possivel!") elseif getPlayerVocation(cid) == 1 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 2) and (getPlayerLevel(cid) >= 50) then doPlayerSetVocation(cid, 3) local outfit = {lookType = 37} doSendMagicEffect(pos,18) doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 50 then doPlayerSendCancel(cid, "Nao foi possivel!") elseif getPlayerVocation(cid) ==1 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 3) and (getPlayerLevel(cid) >= 100) then doPlayerSetVocation(cid, 4) local outfit = {lookType = 71} doSendMagicEffect(pos,18) doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 100 then doPlayerSendCancel(cid, "Nao foi possivel") elseif getPlayerVocation(cid) ==3 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 4) and (getPlayerLevel(cid) >= 150) then doPlayerSetVocation(cid, 5) local outfit = {lookType = 70} doSendMagicEffect(pos,18) doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 150 then doPlayerSendCancel(cid, "Nao foi possivel!") elseif getPlayerVocation(cid) ==4 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 6) and (getPlayerLevel(cid) >= 30) then doPlayerSetVocation(cid, 7) local outfit = {lookType = 205} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 30 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 7) and (getPlayerLevel(cid) >= 40) then doPlayerSetVocation(cid, 8) local outfit = {lookType = 165} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 40 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 8) and (getPlayerLevel(cid) >= 50) then doPlayerSetVocation(cid, 9) local outfit = {lookType = 166} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 50 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 9) and (getPlayerLevel(cid) >= 75) then doPlayerSetVocation(cid, 10) local outfit = {lookType = 7} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 75 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 10) and (getPlayerLevel(cid) >= 100) then doPlayerSetVocation(cid, 11) local outfit = {lookType = 164} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 100 then doPlayerSendCancel(cid, "Nao foi possivel!") end if (getPlayerVocation(cid) == 11) and (getPlayerLevel(cid) >= 150) then doPlayerSetVocation(cid, 12) local outfit = {lookType = 4} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 150 then doPlayerSendCancel(cid, "Nao foi posivel!") end if (getPlayerVocation(cid) == 12) and (getPlayerLevel(cid) >= 200) then doPlayerSetVocation(cid, 13) local outfit = {lookType = 54} doCreatureChangeOutfit(cid, outfit) doPlayerSendCancel(cid, "Voce se Transformou!") elseif getPlayerLevel(cid) < 200 then doPlayerSendCancel(cid, "Nao foi possivel!") end
-
[Encerrado] Não Consigo Entrar No Meu Proprio Ot
tópico respondeu ao jhon992 de jhon992 em Tópicos Sem Resposta
o problema éh que de uma hra pra outra não ta mais compativel com o win7, o win7 deve ter dado alguma atualização seila. Consigo abri usando modo de compatibilidade, + o char fica deslogando sozinho, muito estranho =/ -
[Encerrado] Não Consigo Entrar No Meu Proprio Ot
tópico respondeu ao jhon992 de jhon992 em Tópicos Sem Resposta
continuou com o msm problema Xotserv =/. -
[Encerrado] Não Consigo Entrar No Meu Proprio Ot
tópico respondeu ao jhon992 de jhon992 em Tópicos Sem Resposta
o server não é dedicado. Abro ele aqui em ksa msm sóh pra teste. As portas 7171, 7172 jah estão liberadas e nem possui site. Minha internet é compartilhada. Como seria isso de abrir a porta de novo com o novo IP local? E vlw aew pela ajuda vc's, qualquer ajuda é bem vinda! -
[Encerrado] Não Consigo Entrar No Meu Proprio Ot
um tópico no fórum postou jhon992 Tópicos Sem Resposta
Até ontem eu entrava no meu servidor normalmente, mas hoje abri o servidor, cliente e ao tentar logar abre a character list normalmente mais não consigo entrar em nenhum character. Ja tentei mudar database de accounts, ja pesquisei em tudo quante forum mais não achei nada. Todas as minhas portas estão desbloqueadas, ja tentei utilizar o ip padrão, como eu disse loguei normalmente ontem e hoje jah não consigo logar. O unico geito que deu pra logar foi assim: abro o server, abro cliente, abro character list, dae eu feixo o servidor e abro denovo e depois aperto enter no cliente que eu não tinha feichado, sóh assim conseigo logar. Estou precisando muito de ajuda, todos que puderem me ajudar darei rep+++. Eu uso tfs 8.54. -
Preciso De Ajuda Para Colocar Exahusted Em Talkaction.
um tópico no fórum postou jhon992 Lixeira Pública
Talkaction: function onSay(cid, words, param) local config = { pz = "no", -- players precisam estar em protection zone para usar? ("yes" or "no"). battle = "no", -- players deve estar sem battle ("yes" or "no") custo = "no", -- se os teleport irão custa ("yes" or "no") premium = "no" -- se precisa ser premium account ("yes" or "no") } -------------Config Lugares---------------- local lugar = { ["sul"] = {{x=2461, y=2419, z=7}, 1, 2000}, ["west"] = {{x=2269, y=2264, z=7}, 10, 1000}, ["east"] = {{x=2997, y=2163, z=7}, 1, 2000}, ["nort"] = {{x=2577, y=2086, z=7}, 1, 2000} } -------------/Config Checkar não mecha---------------- local lugar = lugar[param] if (param == "check") then for name, pos in pairs(lugar) do text = "Destino: "..name..", Level necessario: "..pos[2].."," if(config.battle == "yes") then text = text.." Voce pode usar estando battler: SIM" else text = text.." Voce pode usar estando battler: Não" end if(config.pz == "yes") then text = text.." Voce DeVe Usar estando PZ: SIM" else text = text.." Voce DeVe Usar estando PZ: Não" end if (pos[3] == TRUE) then text = text..", Cost: "..pos[4]..";" end doPlayerSendTextMessage(cid, 20, ""..text.."") end return TRUE end if(config.pz == "yes") and (getTilePzInfo(getCreaturePosition(cid)) == FALSE) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"você precisa estar em protection zone pra poder teleportar.") return TRUE end if(config.premium == "yes") and (not isPremium(cid)) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "apenas players com premium account podem teleportar.") return TRUE end if(config.battle == "yes") and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você precisa estar sem battler pra poder teleportar.") return TRUE end if not(lugar) then doPlayerSendTextMessage(cid, 22, "desculpe,este lugar não existe") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE end if (getPlayerLevel(cid) <= lugar[2]) then doPlayerSendTextMessage(cid, 22, "Desculpe,Voce não tem level. voce precisa "..lugar[2].." level ou mais para ser teleportado.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE end if(config.custo == "yes") and (doPlayerRemoveMoney(cid, lugar[3]) == FALSE) then doPlayerSendTextMessage(cid, 22, "Desculpe,voce nao tem dinheiro suficiente. Voce precisa "..lugar[3].." gp para ser teleportado.") doSendMagicEffect(getCreaturePosition(cid), CONST_ME_POFF) return TRUE end doTeleportThing(cid, lugar[1]) doSendMagicEffect(lugar[1], 46) doPlayerSendTextMessage(cid, 22, "" .. getPlayerName(cid) .. " foi teleportado para: " .. param .. ".") return TRUE end /////// Por favor da um help aew. -
Alterando Nomes No Client Do Ot
tópico respondeu ao eickhoff de jhon992 em Tutoriais para Iniciantes
Otimo tutorial, parabens! Me ajudo muito, pesquisei por tudo e não encontrava ate agora. Com isso pudo alterar as infos do cliente que não estava conseguindo com um hex editor. Rep+
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.