Slicer 1070 Postado Julho 25, 2012 Autor Share Postado Julho 25, 2012 @notle2012 verei sobre esse bug obrigado ^^ @AncientFury o npc de nick/aura ta em npc/aChangeNick... @Yaldabaoth a pasta sistemas separados eh pra aqueles q n querem pegar o serv todo.. dai ali eu deixo todos os scripts q cada sistema utiliza.. n eh preciso jogalos dentro da pasta do serv n... ;p Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1300572 Compartilhar em outros sites More sharing options...
shadow2012 6 Postado Julho 25, 2012 Share Postado Julho 25, 2012 muito bom esse server REP + parabens cara. Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1300688 Compartilhar em outros sites More sharing options...
SmiX 265 Postado Julho 25, 2012 Share Postado Julho 25, 2012 @Dúvida Tem como refazer as sources deste server? Será que um programador profissional consegui fazer as sources deste server? Se sim, vou atraz de um pra fazer e colocar essas malditas sources aqui pra download. @Sou scritper Caso alguem queria ajuda só falar. Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1300857 Compartilhar em outros sites More sharing options...
PedroSouza 1 Postado Julho 26, 2012 Share Postado Julho 26, 2012 (editado) Estou com este erro, alguém me ajuda? [26/07/2012 00:02:43] [Error - Action Interface] [26/07/2012 00:02:43] data/actions/scripts/starter.lua:onUse [26/07/2012 00:02:43] Description: [26/07/2012 00:02:43] data/actions/scripts/starter.lua:29: attempt to call global 'getPokemonStatus' (a nil value) [26/07/2012 00:02:43] stack traceback: [26/07/2012 00:02:43] data/actions/scripts/starter.lua:29: in function <data/actions/scripts/starter.lua:11> Edit: Resolvido Editado Julho 26, 2012 por PedroSouza Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301148 Compartilhar em outros sites More sharing options...
GuiihMarquezi 0 Postado Julho 26, 2012 Share Postado Julho 26, 2012 pow vey nesse seu mapa n tem quase nada e nao aparece nenhum npc :s aii tipo eu joguei um mapa meu dentro dele so que aii sumiu tudo os npc novo que tu coloko tipo o da quest da box 3 e os npcs de cla :S Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301167 Compartilhar em outros sites More sharing options...
Yaldabaoth 0 Postado Julho 26, 2012 Share Postado Julho 26, 2012 (editado) @ancientFury quando vc trocou o map do slicer pelo teu, vc importou os npcs e os pokes? se nao, vc abre o remere's vai em file/import/import monsters/npc... importa tudo da pasta npc (menos a pasta lib e script) e dpois faz o mesmo com a pasta monsters pra achá-los dpois vc sabe né? espero ter ajudado ^^ e alguem me corrija se disse algo errado xD ---EDIT--- @slicer Eu mesmo venho me corrigir, pq nao tinha mexido no map ainda e o pior que aqui deu o mesmo problema, eu até importo os pokes e os npcs mas na hora de jogar no mapa nao vai Agora nao sei se é o map que eu to usando, se for... será que se eu jogar ele todo no que vc criou slicer daria certo? Editado Julho 26, 2012 por Yaldabaoth Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301184 Compartilhar em outros sites More sharing options...
ninexin 2 Postado Julho 26, 2012 Share Postado Julho 26, 2012 mto bom o servidor adorei!!!! otimo trabalho!!! porem alguem teria as Sources desse servidor pra disponibilizar para eu poder compilar um executavel em linux? thxx Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301241 Compartilhar em outros sites More sharing options...
drigo 0 Postado Julho 26, 2012 Share Postado Julho 26, 2012 eu estou com bug, que quando eu abro um pokemon o char cai, alguem sabe o que pode ser? Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301289 Compartilhar em outros sites More sharing options...
newhera 4 Postado Julho 26, 2012 Share Postado Julho 26, 2012 (editado) Tem limite de Players ON?! Editado Julho 26, 2012 por MeTaLLeiRo Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1301444 Compartilhar em outros sites More sharing options...
PedroSouza 1 Postado Julho 27, 2012 Share Postado Julho 27, 2012 (editado) Bugs: Líderes de Gym e treinadores npc: Os pokémons que eles mandam não atacam. Items.xml: Enigma Stone está como EEnigma Stone (fácil corrigir). Não tem NPC de compra de loot. @Slicer, por gentileza, entre em contato comigo Editado Julho 27, 2012 por PedroSouza Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302287 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 27, 2012 Autor Share Postado Julho 27, 2012 @PedroSouza obrigado pelos reports.. irei arrumalos ^^ e ja respondi teu pm.. ;p Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302299 Compartilhar em outros sites More sharing options...
PedroSouza 1 Postado Julho 27, 2012 Share Postado Julho 27, 2012 @Slicer por nada, vê lá novamente Sobre o GYM se puder postar apenas o script de um líder arrumado, assim já tem base para arrumar o restante. Abraço! Esse poke envolue o pokemon por lvl ou pedra? se for por lvl o que eu faço para evoluilo ja ta no lvl certinho de envolução e n evolue, onde clico para envoluilo etc... a pergunta pode ser meio simples mais vale meu rep + Evolução por pedra. Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302312 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 27, 2012 Autor Share Postado Julho 27, 2012 vo posta a atualizaçao ainda hj a noite ou amanha mas.. blz npc/scripts/brock.lua local focus = 0 local max_distance = 8 local talk_start = 0 local conv = 0 local fighting = false local challenger = 0 local afk_limit_time = 30 -- seconds local afk_time = 0 -- don't change local battle_turn = 1 -- don't change local challenger_turn = 0 -- don't change local pokemons = { {name = "Geodude", sex = SEX_MALE, nick = "", ball = "normal"}, {name = "Rhyhorn", sex = SEX_MALE, nick = "", ball = "normal"}, --alterado v1.3 {name = "Graveler", sex = SEX_MALE, nick = "", ball = "normal"}, {name = "Onix", sex = SEX_MALE, nick = "", ball = "normal"}, {name = "Golem", sex = SEX_MALE, nick = "Golemniso", ball = "normal"}, } local function doSummonGymPokemon(npc) local this = npc if not isCreature(this) then return true end if #getCreatureSummons(this) >= 1 or focus == 0 then return true end local it = pokemons[battle_turn] doSummonMonster(this, it.name) local summon = getCreatureSummons(this)[1] local balleffect = pokeballs["normal"].effect if it.ball and pokeballs[it.ball] then balleffect = pokeballs[it.ball].effect end doSendMagicEffect(getThingPos(summon), balleffect) setPlayerStorageValue(summon, 10000, balleffect) setPlayerStorageValue(summon, 10001, gobackmsgs[math.random(#gobackmsgs)].back:gsub("doka", it.nick ~= "" and it.nick or it.name)) setPlayerStorageValue(summon, 1007, it.nick ~= "" and it.nick or it.name) doSetMonsterGym(summon, focus) local name = it.nick ~= "" and it.nick or getCreatureName(this).."s "..it.name --alterado v1.3 doCreatureSay(this, gobackmsgs[math.random(#gobackmsgs)].go:gsub("doka", getPlayerStorageValue(summon, 1007)), 1) fighting = true battle_turn = battle_turn + 1 end local function doWinDuel(cid, npc) if not isCreature(cid) then return true end local this = npc local a = gymbadges[getCreatureName(this)] + 8 doCreatureSay(npc, "You won the duel! Congratulations, take this "..getItemNameById(a - 8).." as a prize.", 1) local b = getPlayerItemById(cid, true, a) if b.uid > 0 then doTransformItem(b.uid, b.itemid - 8) end end function onCreatureSay(cid, type, msg) local msg = string.lower(msg) if focus == cid then talk_start = os.clock() end if msgcontains(msg, 'hi') and focus == 0 and getDistanceToCreature(cid) <= 4 then focus = cid talk_start = os.clock() conv = 1 selfSay("Hello "..getCreatureName(cid)..", my name is Brock and I'm Pewter's Gym Leader. How may I help you?") return true end if isDuelMsg(msg) and conv == 1 and focus == cid then --if getPlayerItemCount(cid, gymbadges[getCreatureName(getThis())]) >= 1 then -- selfSay("You have already won my Boulder Badge, maybe some other day we can fight.") -- focus = 0 --return true --end if not hasPokemon(cid) then selfSay("To battle agains't a gym leader you need pokemons.") return true end selfSay("You are challenging me to a battle. It will be a "..#pokemons.." pokemon limit battle, let's start?") conv = 2 return true end if isConfirmMsg(msg) and conv == 2 and focus == cid then challenger = focus setPlayerStorageValue(cid, 990, 1) selfSay("Yea, let's fight!") talk_start = os.clock() addEvent(doSummonGymPokemon, 850, getThis()) conv = 3 return true end if isNegMsg(msg) and conv == 2 and focus == cid then focus = 0 selfSay("It is better for you to refuse a battle against me!") return true end if msgcontains(msg, 'bye') and focus == cid then selfSay('Bye and do your best trainer!') setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local afk_warning = false local change = false function onThink() if focus == 0 then selfTurn(2) fighting = false challenger = 0 challenger_turn = 0 battle_turn = 1 afk_time = 0 afk_warning = false if #getCreatureSummons(getThis()) >= 1 then setPlayerStorageValue(getCreatureSummons(getThis())[1], 1006, 0) doCreatureAddHealth(getCreatureSummons(getThis())[1], -getCreatureMaxHealth(getCreatureSummons(getThis())[1])) end return true else if not isCreature(focus) then focus = 0 return true end if fighting then talk_start = os.clock() if not isCreature(getCreatureTarget(getThis())) then if #getCreatureSummons(challenger) >= 1 then selfAttackCreature(getCreatureSummons(challenger)[1]) change = true afk_time = 0 else afk_time = afk_time + 0.5 if change then change = false challenger_turn = challenger_turn + 1 end end end if afk_time > afk_limit_time then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("I have waited too long, come back when you are ready!") return true end if not afk_warning and afk_time > afk_limit_time / 2 then selfSay("Where's your pokemon? Let's fight!") afk_warning = true end if #getCreatureSummons(getThis()) == 0 then if battle_turn > #pokemons then addEvent(doWinDuel, 1000, focus, getThis()) setPlayerStorageValue(focus, 990, -1) focus = 0 return true end addEvent(doSummonGymPokemon, 1000, getThis()) end if not hasPokemon(challenger) or challenger_turn >= 7 or challenger_turn > #pokemons then selfSay("You lost our duel! Maybe some other time you'll defeat me.") setPlayerStorageValue(focus, 990, -1) focus = 0 return true end end local npcpos = getThingPos(getThis()) local focpos = getThingPos(focus) if npcpos.z ~= focpos.z then setPlayerStorageValue(focus, 990, -1) focus = 0 selfSay("Bye then.") return true end if (os.clock() - talk_start) > 30 then selfSay("Good bye and keep training!") setPlayerStorageValue(focus, 990, -1) focus = 0 end if getDistanceToCreature(focus) > max_distance then setPlayerStorageValue(focus, 990, -1) focus = 0 return true end local dir = doRedirectDirection(getDirectionTo(npcpos, focpos)) selfTurn(dir) end return true end soh alterei 2 coisas... ;p Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302544 Compartilhar em outros sites More sharing options...
BrunooMaciell 85 Postado Julho 27, 2012 Share Postado Julho 27, 2012 Slicer Um dica cara pf tenta posta o serve ou atualizaçao full posta em picado e picado e foda =/ mais nao to falando mal e nem nada so dando uam dica que eu acho que ficaria melhor ^^ Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302570 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 27, 2012 Autor Share Postado Julho 27, 2012 eh complicado mano.. pq muita gente fica pegando soh partes dos scripts.. dai desse jeito separado eh melhor... ;x e quem usa o serv todo eh soh pegar todos os scripts do patch e jogar na pasta do serv e pronto... ;p Link para o comentário https://xtibia.com/forum/topic/185337-pokemon-pda-by-slicer-1929/page/4/#findComment-1302683 Compartilhar em outros sites More sharing options...
Posts Recomendados