-
Total de itens
50 -
Registro em
-
Última visita
-
Dias Ganhos
2
Posts postados por RobsonSilva
-
-
Em 12/02/2018 at 20:48, ricardoberg disse:
Up
Spoilerlocal NPCBattle = {
["Brock"] = {artig = "He is", cidbat = "Pewter"},
["Misty"] = {artig = "She is", cidbat = "Cerulean"},
["Blaine"] = {artig = "He is", cidbat = "Cinnabar"},
["Sabrina"] = {artig = "She is", cidbat = "Saffron"}, --alterado aki \/ TUDO
["Kira"] = {artig = "She is", cidbat = "Viridian"},
["Koga"] = {artig = "He is", cidbat = "Fushcia"},
["Erika"] = {artig = "She is", cidbat = "Celadon"},
["Surge"] = {artig = "He is", cidbat = "Vermilion"},
}local shinys = {
["Shiny Abra"] = "Dark Abra",
["Shiny Onix"] = "Crystal Onix",
["Shiny Gyarados"] = "Red Gyarados",
["Shiny Charizard"] = "Elder Charizard",
["Shiny Venusaur"] = "Ancient Venusaur",
["Shiny Blastoise"] = "Ancient Blastoise",
["Shiny Farfetch'd"] = "Elite Farfetch'd",
["Shiny Hitmonlee"] = "Elite Hitmonlee",
["Shiny Himonchan"] = "Elite Hitmonchan",
["Shiny Snorlax"] = "Big Snorlax",
}-- tabela adicionado ao configuration só procura por price = ..--
function onLook(cid, thing, position, lookDistance)
local str = {}
local iname = getItemInfo(thing.itemid)
if not isCreature(thing.uid) then
if not iname or not iname.name then return true end
if isPokeball(thing.itemid) and getItemAttribute(thing.uid, "poke") then --alterado aki
local owner = getItemAttribute(thing.uid, "firstpoke")
local pokename = getItemAttribute(thing.uid, "poke")
if shinys[pokename] then
pokename = shinys[pokename]
end
local ballName = iname.name
if getItemAttribute(thing.uid, 'ball') then
ballName = getItemAttribute(thing.uid, 'ball').. " ball"
end
table.insert(str, "You see "..iname.article.." "..ballName..".")
if getItemAttribute(thing.uid, "unique") then
table.insert(str, " It's an unique item.")
end
table.insert(str, "\nContains "..getArticle(pokename).." "..pokename)
if getItemAttribute(thing.uid, "nick") then
table.insert(str, " ("..getItemAttribute(thing.uid, "nick")..")")
end
local boost = getItemAttribute(thing.uid, "boost") or 0
if boost > 0 then
table.insert(str, " +"..boost)
end
if prices[pokename] then
table.insert(str, ". $Price: ".. prices[pokename].."")
else
table.insert(str, ". Price: unsellable")
end
table.insert(str, ".")
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
return false
elseif string.find(iname.name, "fainted") or string.find(iname.name, "defeated") then
local name = iname.name
name = string.gsub(name, "fainted ", "")
name = string.gsub(name, "defeated ", "")
name = doCorrectPokemonName(name)
if shinys[name] then
name = shinys[name]
end
name = "fainted "..name:lower()
table.insert(str, "You see "..iname.article.." "..name..". ")
if isContainer(thing.uid) then
table.insert(str, "(Vol: "..getContainerCap(thing.uid)..")")
end
table.insert(str, "\n")
if getItemAttribute(thing.uid, "gender") == SEX_MALE then
table.insert(str, "It is male.")
elseif getItemAttribute(thing.uid, "gender") == SEX_FEMALE then
table.insert(str, "It is female.")
else
table.insert(str, "It is genderless.")
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
return false
elseif isContainer(thing.uid) then --containers
if iname.name == "dead human" and getItemAttribute(thing.uid, "pName") then
table.insert(str, "You see a dead human (Vol:"..getContainerCap(thing.uid).."). ")
table.insert(str, "You recognize ".. getItemAttribute(thing.uid, "pName")..". ".. getItemAttribute(thing.uid, "article").." was killed by a ")
table.insert(str, getItemAttribute(thing.uid, "attacker")..".")
else
table.insert(str, "You see "..iname.article.." "..iname.name..". (Vol:"..getContainerCap(thing.uid)..").")
end
local price = prices[doCorrectString(iname.name)]
if price then
local finalPrice = thing.type > 1 and thing.type * price or price
table.insert(str, " Price: $".. finalPrice ..".")
end
if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then
table.insert(str, "\nItemID: ["..thing.itemid.."]")
local pos = getThingPos(thing.uid)
table.insert(str, "\nPosition: [X: "..pos.x.."][Y: "..pos.y.."][Z: "..pos.z.."]")
end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
return false
else
local p = getThingPos(thing.uid)
table.insert(str, "You see ")
if thing.type > 1 then
table.insert(str, thing.type.." "..iname.plural..".")
else
table.insert(str, iname.article.." "..iname.name..".")
end
if getItemAttribute(thing.uid, "unique") then
table.insert(str, " It's an unique item.")
end
local price = prices[doCorrectString(iname.name)]
if price then
local finalPrice = thing.type > 1 and thing.type * price or price
table.insert(str, " Price: $".. finalPrice ..".")
end
table.insert(str, "\n"..iname.description)
if getPlayerGroupId(cid) >= 4 and getPlayerGroupId(cid) <= 6 then
table.insert(str, "\nItemID: ["..thing.itemid.."]")
table.insert(str, "\nPosition: ["..p.x.."]["..p.y.."]["..p.z.."]")
end
sendMsgToPlayer(cid, MESSAGE_INFO_DESCR, table.concat(str))
return true
end
endif not isPlayer(thing.uid) and not isMonster(thing.uid) then --outros npcs
table.insert(str, "You see "..getCreatureName(thing.uid)..".")
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
return false
endif isPlayer(thing.uid) then --player
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, getPlayerDesc(cid, thing, false))
return true
endif getCreatureName(thing.uid) == "Evolution" then return false end
if not isSummon(thing.uid) then --monstros
local pokename = getCreatureName(thing.uid)
if shinys[pokename] then
pokename = shinys[pokename]
end
table.insert(str, "You see a wild "..string.lower(pokename)..".\n")
table.insert(str, "Hit Points: "..getCreatureHealth(thing.uid).." / "..getCreatureMaxHealth(thing.uid)..".\n")
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
return falseelseif isSummon(thing.uid) and not isPlayer(thing.uid) then --summons
local pokename = getCreatureName(thing.uid)
if shinys[pokename] then
pokename = shinys[pokename]
end
local boostlevel = getItemAttribute(getPlayerSlotItem(getCreatureMaster(thing.uid), 8).uid, "boost") or 0
if getCreatureMaster(thing.uid) == cid then
local myball = getPlayerSlotItem(cid, 8).uid
table.insert(str, "You see your "..string.lower(pokename)..".")
if boostlevel > 0 then
table.insert(str, "\nBoost level: +"..boostlevel..".")
end
table.insert(str, "\nHit points: "..getCreatureHealth(thing.uid).."/"..getCreatureMaxHealth(thing.uid)..".")
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, table.concat(str))
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You see a "..string.lower(pokename)..".\nIt belongs to "..getCreatureName(getCreatureMaster(thing.uid))..".")
end
return false
end
return true
endtroca o seu Look.lua por esse e tenta da look no player!
-
basta adicionar no client usando o itemEditor! se tiver algo bugando é pq tem alguma opção selecionado.
-
poderia mandar print? você tá usando client estendido?
-
7 horas atrás, Joaotz disse:
falando que as senhas estão erradas
aqui ta normal, vou ver aqui.
- robsonsiilva reagiu a isso
- 1
-
2 horas atrás, Joaotz disse:
n entra nenhuma acc
como assim?
- robsonsiilva reagiu a isso
- 1
-
Como muitos sabem, um tempo atrás eu tava trabalhando no PokémonXuniversion, mas infelizmente ocorreram alguns problemas que impediram que eu seguisse com o projeto, cansei de pedi ajuda alguns amigos pra da uma força e venho trazer pra vocês meu projeto PxU e parando com Otserv, dessa vez para sempre, vlw há todos pela há força que tive no pxu
INFORMAÇÕES
*Tournament System não 100%
*Open Source
*Base Lenda/Mega
*Sem LvL System
*OLD Cliet
*foi arrumado o sexo "M" não é mais uma ball.
*Source Compilando 100%
*XP por RATES.
*Box de 1 até 14/ SpBox 1 até 4
*SHOP System igual Pokepro 100%
*arrumado todos atalho de quest.
*alguns pokemon foi balanceado para evitar curar outros pokemon.
ERROS
*Alguns debugs acontecem em alguns locais como por exemplo nas quest, as vez sim e as vez não
*Alguns erros as vezes se manifestam na distro como por exemplo o exp2.lua e o move1.lua, até então não descobri o que causa isso
Até então os erros que descobri não são tão graves, infelizmente não me lembro de todos
DOWNLOADS
Servidor (WINDOWS): Clique aqui para baixar.
OLD Client: Clique aqui para baixar.
Source: Clique aqui para baixar.
CRÉDITOS
*Jair Kevick
o resto não lembro, qual quer coisa chama pv pra eu colocar seu credito.
SCANS
Servidor: Clique aqui para analisar.
OLD Client: Clique aqui para analisar.
Source: Clique aqui para analisar.
-
Bom Dia, Boa Tarde e Boa Noite.
não sei se aqui é o lugar certo para publicar esse tipo de conteúdo.
mais vai ai o link das SPR do Otp atualizado de 2017!
Download: http://www.mediafire.com/file/asog38jq58abx96/Spr+Otp+2017.rar
-
Em 18/03/2016 at 15:43, CaioSilva99 disse:Está dando crash quando eu sumono o npc
Amigo eu peço desculpas pelo meu comentário acima,eu fui burro d+ a ponto de não verificar a "roupa" do npc.
Então no meu aqui eu configurei o script com o rme aberto.
O que acontece?
Eu vou para area de espera...
Fico lá...
E nada acontece poderia me ajudar?
todos que usa esse script tem esse problema '-
-
não funcionou ;-; dps vou testar com "timer" no lugar do "time" em globalevent.xml
vlw ae pela atenção.
-
meu globalevent/script/torneio ele tá function onTimer() e as tag "time" tem algum problema?
desculpa ae pela as pergunta, pq eu quero muito arrumar esse torneio, so conseguir arrumar uma vez e foi no dash v6
-
--- Lib
startHour1 = "21:50:00", --horario do aviso?--
endHour1 = "22:01:00",--horario que começa?----- globalevent.xml
<globalevent name="TournamentStart1" time="22:01" event="script" value="torneio.lua"/>
--- globalevent/msgtorneio.lua
["21:50"] = {nome = "O Torneio vai começar em 10 minutos, fale com o NPC Nike no CP de sua cidade, vai custar 500 Dollar's para participar!"},
["21:55"] = {nome = "Faltam 5 minutos para fechar as inscriçoes do torneio!"},
["21:59"] = {nome = "As inscriçoes do Torneio fecharam!"},ficando assim?
obs: apenas para test.
-
já coloquei o onTimer() só que nas tag do data/globalevents ele ta <globalevent name="TournamentStart1" time="08:00" event="script" value="torneio.lua"/>
-
eu to usando ha "time" será que é por causa disso?
-
não, não sei se é naquela hora de escolher ha "tfs" "dependendo da sua tfs"
-
já fiz isso...
-
aqui ele não ta puxando o player para area de combate, faz tempo que eu tento arrumar isso e não consigo, fiz até uma area de combate igual da arena de espera pra ver se o script ia ler até agr nada.
-
o foda desse system de torneio que não ta conseguindo ler na parte da arena combate. ler apenas area de espera.
-
Galera, tou querendo um script para meu servidor quando der horário X apareça um teleport lugar X e mandar uma mensagem para todos verem que vai começar o evento.
ex: Zombie event foi aberto, portal fechará em 2 minutos.
Informaçoes:
Posiçao> X
Teleport> abre horário X e fecha depois de 2 minuto.
Mensagem antes do teleport> Zombie event foi aberto, portal fechará em 2 minutos.
Mensagem quando fechar o teleport> Zombi Event Começou !
Obs: Gostaria que o evento acontecesse todos os dias, com horário X
Ex: 08:00 12:00 17:00 22:00
REP+++
-
Boa Tarde Galera!
alguém sabe me dizer qual é o motivo do battle ta bugando fazendo o client fechar?
Ex: chego perto do Pokemon "X" com battle aberto e toma debug, isso acontece apenas com alguns pokémon.
quem tiver como me ajudar agradeço desde de já!
+REP
-
-
Agora, Brunds disse:
base kpdo?
pda, um amigo meu adapto uma source, ficou tudo 100% porem não conseguiu arrumar esse catch system
-
-
espero em...
-
"dicas pra programar" e eu achando que era um tutorial .-.
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
[Resolvido] como que eu adiciono o catch do pokemon
em Resolvidos
Postado
Vai em Lib/Configuration.lua vai até a essa linha.
["Alakazam"] = {chance = 100, corpse = 6057},
Chance = e a dificuldade para capturar o pokémon!
Corpse = é o corpo do pokémon morto que você pega no ItemEditor!