

Refe
Conde-
Total de itens
645 -
Registro em
-
Última visita
-
Dias Ganhos
10
Tudo que Refe postou
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Vou publicar as sources do OTC- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
dúvida [Encerrado] NPC QUE TROCA ITEM POR OUTFIT
tópico respondeu ao lol08 de Refe em Tópicos Sem Resposta
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid --alterado v2.8 \/ peguem ele todo! local outs = { ["NOME"] = {sto = 66565, item = item, quant = quant}, } msg = string.lower(msg) if (msgcontains(msg, 'outfit') or msgcontains(msg, 'outfits')) then selfSay("I sell this outfits: {"..outs[1].."}??") talkState[talkUser] = 2 end if outs[msg] and talkState[talkUser] == 2 then selfSay("Are you sure which want trade item for that outfit?") outfit = outs[tostring(msg)] talkState[talkUser] = 3 end if msgcontains(msg, 'yes') and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, outs[1].item, outs[1].quant)then doPlayerRemoveItem(cid, outs[1].item, outs[1].quant) setPlayerStorageValue(cid, outs[1].sto, 1) elfSay("So... Here is.") talkState[talkUser] = 0 return true else selfSay("You need "..outs[1].quant.."x "..getItemNameById(outs[1].item).." to get this outfit!") talkState[talkUser] = 0 return false end end if getPlayerStorageValue(cid, outs[1].sto) == 1 then selfSay("You already have this outfit, so please, choose another outfit...") talkState[talkUser] = 0 return false elseif msgcontains(msg, 'no') and talkState[talkUser] == 3 then selfSay("So... Please choose another outfit...") talkState[talkUser] = 0 end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Poste no forum q eu edito o topico com o link Claro que ele funciona até certo ponto, só botei as funções mais úteis do PDA.- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
dúvida [Encerrado] NPC QUE TROCA ITEM POR OUTFIT
tópico respondeu ao lol08 de Refe em Tópicos Sem Resposta
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid --alterado v2.8 \/ peguem ele todo! local outs = { ["NOME"] = {sto = 66565, item = item, quant = quant}, } msg = string.lower(msg) if (msgcontains(msg, 'outfit') or msgcontains(msg, 'outfits')) then selfSay("I sell this outfits: {NOME}??") talkState[talkUser] = 2 end if outs[msg] and talkState[talkUser] == 2 then selfSay("Are you sure which want trade item for that outfit?") outfit = outs[tostring(msg)] talkState[talkUser] = 3 end if msgcontains(msg, 'yes') and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, outs[1].item, outs[1].quant)then doPlayerRemoveItem(cid, outs[1].item, outs[1].quant) setPlayerStorageValue(cid, outs[1].sto, 1) else selfSay("You need "..outs[1].quant.."x "..getItemNameById(outs[1].item).." to get this outfit!") talkState[talkUser] = 0 return false end end if getPlayerStorageValue(cid, outs[1].sto) == 1 then selfSay("You already have this outfit, so please, choose another outfit...") talkState[talkUser] = 0 return false selfSay("So... Here is.") talkState[talkUser] = 0 return true elseif msgcontains(msg, 'no') and talkState[talkUser] == 3 then selfSay("So... Please choose another outfit...") talkState[talkUser] = 0 end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -
dúvida [Encerrado] NPC QUE TROCA ITEM POR OUTFIT
tópico respondeu ao lol08 de Refe em Tópicos Sem Resposta
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid --alterado v2.8 \/ peguem ele todo! local outs = { ["NOME"] = {66565}, } quant = QUANTIDADE item = ID ITEM msg = string.lower(msg) if (msgcontains(msg, 'outfit') or msgcontains(msg, 'outfits')) then selfSay("I sell this outfits: {NOME}??", cid) talkState[talkUser] = 2 end if outs[msg] and talkState[talkUser] == 2 then selfSay("Are you sure which want trade item for that outfit?", cid) outfit = outs[tostring(msg)] talkState[talkUser] = 3 end if msgcontains(msg, 'yes') and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, item, quant)then doPlayerRemoveItem(cid, item, quant) setPlayerStorageValue(cid, outs[1], 1) else selfSay("You need "..quant.."x "..getItemNameById(item).." to get this outfit!", cid) talkState[talkUser] = 0 return false end end if getPlayerStorageValue(cid, outs[1]) == 1 then selfSay("You already have this outfit, so please, choose another outfit...", cid) talkState[talkUser] = 0 return false selfSay("So... Here is.", cid) talkState[talkUser] = 0 return true elseif msgcontains(msg, 'no') and talkState[talkUser] == 3 then selfSay("So... Please choose another outfit...", cid) talkState[talkUser] = 0 end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -
dúvida [Encerrado] NPC QUE TROCA ITEM POR OUTFIT
tópico respondeu ao lol08 de Refe em Tópicos Sem Resposta
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid --alterado v2.8 \/ peguem ele todo! local outs = { ["NOME"] = {66565}, } quant = QUANTIDADE item = ID ITEM msg = string.lower(msg) if (msgcontains(msg, 'outfit') or msgcontains(msg, 'outfits')) then selfSay("I sell this outfits: {NOME}??", cid) talkState[talkUser] = 2 elseif outs[msg] and talkState[talkUser] == 2 then selfSay("Are you sure which want trade item for that outfit?", cid) outfit = outs[tostring(msg)] talkState[talkUser] = 3 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, item, quant)then doPlayerRemoveItem(cid, item, quant) setPlayerStorageValue(cid, outs[1], 1) else selfSay("You need "..quant.."x "..getItemNameById(item).." to get this outfit!", cid) talkState[talkUser] = 0 return false end else selfSay("You already have this outfit, so please, choose another outfit...", cid) talkState[talkUser] = 0 return false selfSay("So... Here is.", cid) talkState[talkUser] = 0 return true elseif msgcontains(msg, 'no') and talkState[talkUser] == 3 then selfSay("So... Please choose another outfit...", cid) talkState[talkUser] = 0 end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -
dúvida [Encerrado] NPC QUE TROCA ITEM POR OUTFIT
tópico respondeu ao lol08 de Refe em Tópicos Sem Resposta
Vai em outftis.xml e cria uma outfit <outfit id="ID" premium="yes" quest="66565"> <list gender="0" lookType="look" name="nome"/> <list gender="1" lookType="look" name="nome"/> </outfit> Crie um NPC e no arquivo lua dele cole isso: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid --alterado v2.8 \/ peguem ele todo! local outs = { ["NOME"] = {66565}, } quant = QUANTIDADE item = ID ITEM msg = string.lower(msg) if (msgcontains(msg, 'outfit') or msgcontains(msg, 'outfits')) then selfSay("I sell this outfits: {NOME}??", cid) talkState[talkUser] = 2 elseif outs[msg] and talkState[talkUser] == 2 then selfSay("Are you sure which want trade item for that outfit?", cid) outfit = outs[tostring(msg)] talkState[talkUser] = 3 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 3 then if doPlayerRemoveItem(cid, item, quant)then doPlayerRemoveItem(cid, item, quant) setPlayerStorageValue(cid, outs[1], 1) else selfSay("You need "..quant.."x "..getItemNameById(item).." to get this outfit!", cid) talkState[talkUser] = 0 return false end else selfSay("You already have this outfit, so please, choose another outfit...", cid) talkState[talkUser] = 0 return false end selfSay("So... Here is.", cid) talkState[talkUser] = 0 return true elseif msgcontains(msg, 'no') and talkState[talkUser] == 3 then selfSay("So... Please choose another outfit...", cid) talkState[talkUser] = 0 end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Não testei aqui, vê se dá certo ai. -
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
O servidor só vai com database em mysql.- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
OTCLIENT https://github.com/edubart/otclient
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Sim, quanto as scripts deve aceitar. Qual erro ?- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Tem que adicionar onSpawn nas sources!
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Qual erro ?- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
É fácil tirar.- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
No andar 6 você põe a agua, o resto poe no 7. Ou seja, a agua transparente fica 1 andar acima dos "enfeites", seja um piso, uma montanha, uma criatura, etc...
-
As sources do PDA se perderam, logo é quase impossível de se achar.
-
Crie itens novos de água com transparência e não use o PDUB Para por no floor 7 eu tive que alterar as sources. Dá sim Daniel.
-
Você quer fazer algo assim ? https://scontent-gru2-1.xx.fbcdn.net/hphotos-xaf1/v/t1.0-9/12644947_551870714987870_2305887022109382942_n.png?oh=3c8e0d6945a49a4e810f5335dee9e9a2&oe=5742D2C8
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Todos tem no clientes é só arrumar Não- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
action Ball System + Tutorial Adicionando Pokebolas [PDE]
tópico respondeu ao Refe de Refe em Mods, funções e outros
Valeu daniel -
[Encerrado]Trabalhe em Pokémon Origins! [OFICIAL]
tópico respondeu ao Refe de Refe em Formação de Equipes
Adicionado prints do mapa! -
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Não testei.- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Vou postar as sources do OTCLIENT. É problema no OTC e nas Sources, o viewport. Vou postar as sources do OTC- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Não tava afim de fazer uma coisa muito elaborada, e tava sem tempo.
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Vi sim, sobre o cooldownbar eu devo por sim.- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Pokemon Dash Evolution ~> Projeto Comunitário <~
tópico respondeu ao Refe de Refe em OTServer Alternativo (ATS)
Level system não vou fazer. Já aumentar effect eu tava pensando em fazer- 273 respostas
-
- open source
- poketibia
- (e 5 mais)
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.