Tudo que kiinho postou
-
action id que teleporta
Ha desculpe, kkk, me mande o arquivo ninjusto então esqueci.. kk
-
action id que teleporta
Faça uma copia do seu fishing.lua (guarde como backup) e substituia o fishing.lua por esse local fishing = { ["Magikarp"] = {skill = 0, level = -2}, ["Staryu"] = {skill = 22, level = 6}, ["Tentacool"] = {skill = 20, level = 7}, ["Goldeen"] = {skill = 17, level = 5}, ["Krabby"] = {skill = 14, level = 2}, ["Horsea"] = {skill = 16, level = 3}, ["Kingler"] = {skill = 35, level = 14}, ["Seaking"] = {skill = 28, level = 11}, ["Starmie"] = {skill = 49, level = 20}, ["Chinchou"] = {skill = 23, level = 6}, ["Poliwhirl"] = {skill = 27, level = 9}, ["Seadra"] = {skill = 41, level = 15}, ["Lanturn"] = {skill = 38, level = 14}, ["Tentacruel"] = {skill = 80, level = 15}, ["Lapras"] = {skill = 80, level = 15}, ["huntail"] = {skill = 50, level = 15}, } local storage = 15458 local bonus = 1 local limite = 150 local function doFish(cid, pos, ppos, chance, interval, number) if not isCreature(cid) then return false end if getThingPos(cid).x ~= ppos.x or getThingPos(cid).y ~= ppos.y then return false end if getPlayerStorageValue(cid, storage) ~= number then return false end doSendMagicEffect(pos, CONST_ME_LOSEENERGY) local peixe = 0 local playerpos = getClosestFreeTile(cid, getThingPos(cid)) local fishes = {} local randomfish = "" if getPlayerSkillLevel(cid, 6) < limite then doPlayerAddSkillTry(cid, 6, bonus) end for a, b in pairs (fishing) do if getPlayerSkillLevel(cid, 6) >= b.skill then table.insert(fishes, a) end end if math.random(1, 100) <= chance then if getPlayerSkillLevel(cid, 6) < limite then doPlayerAddSkillTry(cid, 6, bonus) end randomfish = fishes[math.random(#fishes)] peixe = doSummonCreature(randomfish, playerpos) if not isCreature(peixe) then addEvent(doFish, interval, cid, pos, ppos, chance, interval, number) return true end doSetMonsterPassive(peixe) doWildAttackPlayer(peixe, cid) doCreatureSetLookDir(cid, getDirectionTo(getThingPos(cid), getThingPos(peixe))) --alterado ver depois if #getCreatureSummons(cid) >= 1 then doSendMagicEffect(getThingPos(getCreatureSummons(cid)[1]), 173) doChallengeCreature(getCreatureSummons(cid)[1], peixe) else doSendMagicEffect(getThingPos(cid), 173) doChallengeCreature(cid, peixe) end return true end addEvent(doFish, interval, cid, pos, ppos, chance, interval, number) return true end local waters = {4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825} function onUse(cid, item, fromPos, itemEx, toPos) if getPlayerGroupId(cid) == 11 then return true end local checkPos = toPos checkPos.stackpos = 0 if getTileThingByPos(checkPos).itemid <= 0 then doPlayerSendCancel(cid, '!') return true end if not isInArray(waters, getTileInfo(toPos).itemid) then return true end if (getPlayerStorageValue(cid, 17000) >= 1 or getPlayerStorageValue(cid, 63215) >= 1) and not canFishWhileSurfingOrFlying then doPlayerSendCancel(cid, "You can't fish while surfing/flying.") return true end if isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then doPlayerSendCancel(cid, "You can\'t fish while surfing neither flying above water.") return true end if getTileInfo(getThingPos(getCreatureSummons(cid)[1] or cid)).protection then doPlayerSendCancel(cid, "You can't fish pokémons if you or your pokémon is in protection zone.") return true end if not tonumber(getPlayerStorageValue(cid, storage)) then local test = io.open("data/sendtobrun123.txt", "a+") local read = "" if test then read = test:read("*all") test:close() end read = read.."\n[fishing.lua] "..getCreatureName(cid).." - "..getPlayerStorageValue(cid, storage).."" local reopen = io.open("data/sendtobrun123.txt", "w") reopen:write(read) reopen:close() setPlayerStorageValue(cid, storage, 1) end setPlayerStorageValue(cid, storage, getPlayerStorageValue(cid, storage) + 1) if getPlayerStorageValue(cid, storage) >= 800 then setPlayerStorageValue(cid, storage, 1) end local delay = 3500 - getPlayerSkillLevel(cid, 6) * 25 local chance = 10 + getPlayerSkillLevel(cid, 6) / 2.5 doFish(cid, toPos, getThingPos(cid), chance, delay, getPlayerStorageValue(cid, storage)) return true end
-
action id que teleporta
data\actions\scripts e ache fishing.lua e me mande
-
action id que teleporta
Mude o RateSkill= quanto menor mais demorado é pra upar os atributos da aba skill tipo fishing
-
action id que teleporta
Sim também pode mudar esses outros Ajuste a sua preferencia
-
action id que teleporta
troca pra 2, fica bem equilibrado mas pode aumentar ou diminuir se quiser
-
Porta house não abre
@Magichell Qual action que vc colocou na porta? ou não colocou nenhuma?
-
action id que teleporta
@ZikaLord Manda seu config.lua para dar uma olhada, talvez possa ser o exp rate dos skills.
-
Alguém tem sprites dos robot pxg?
Alguém tem sprites dos robot pxg? Rep+ Colocar o sprite no ot eu sei, só não sei o script Se alguém souber e tiver posta ae. Rep++
- EXCLUSIVO BASE PARECIDA (OtpokemonXY)
-
(Resolvido)HELP Mega Stone !
@Wend II poderia passar esse system? Rep+
-
Ajuda com shop do server
@frank007 Mande a solução no tópico alguém pode ter o mesmo problema e feche tópico
-
Alguém sabe fazer script do /clean do adm?
Alguém sabe fazer script do /clean do adm?
-
Como coloco server on pelo hamachi
OBS: windows 7, ja tentei por o ip do hamachi no config.lua e no ipchange e não funciona, as vezes aparece a seleção de char, mas aparece (offline) e tento entra fica só carregando e depois da erro.
-
QUEST RECOMPENSA
Como faço pra por recompensa no baú da quest? Como faço para pegar apenas uma vez a recompensa.
-
[PEDIDO] Script Alavaca
@Gabriel Netto @wougoplex local tpId = 1387 local tps = { ["Mega Gengar"] = {pos = {x=1313, y=1144, z=8}, toPos = {x=1317, y=1140, z=8}, time = 30}, } function removeTp(tp) local t = getTileItemById(tp.pos, tpId) if t then doRemoveItem(t.uid, 1) doSendMagicEffect(tp.pos, CONST_ME_POFF) end end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(tpId, tp.toPos, tp.pos) doCreatureSay(cid, "O teleport irá sumir em "..tp.time.." segundos.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return TRUE end Tem algum erro aqui? Pois quando mato o monstro não aparece o portal.
-
[QUEST]
@wougoplex Aonde salvo o arquivo.lua? @wougoplex O que esse erro poderia ser? e os itens duplicate?? [12/08/2016 16:18:26] Pokemon Dash Advanced (1.0), last compiled at Jan 11 2012. [12/08/2016 16:18:26] Credits to all TFS team (Elf, slawkens, Talaturen, Lithium, KaczooH, Kiper, Kornholijo). [12/08/2016 16:18:26] PokemonDistro made by mastercraft/brun123. [12/08/2016 16:18:26] >> Loading config (config.lua) [12/08/2016 16:18:26] > Using plaintext encryption [12/08/2016 16:18:26] >> Checking software version... failed checking - malformed file. [12/08/2016 16:18:27] >> Fetching blacklist [12/08/2016 16:18:27] >> Loading RSA key [12/08/2016 16:18:27] >> Starting SQL connection [12/08/2016 16:18:27] >> Running Database Manager [12/08/2016 16:18:27] > Optimized database. [12/08/2016 16:18:27] >> Loading items [12/08/2016 16:18:27] [Warning - Items::loadFromXml] Duplicate registered item with id 1232 [12/08/2016 16:18:27] [Warning - Items::loadFromXml] Duplicate registered item with id 12593 [12/08/2016 16:18:27] >> Loading groups [12/08/2016 16:18:27] >> Loading vocations [12/08/2016 16:18:27] >> Loading script systems [12/08/2016 16:18:28] [Warning - Actions::registerEvent] Duplicate registered item id: 12804 [12/08/2016 16:18:28] [Warning - Actions::registerEvent] Duplicate registered item id: 12808 [12/08/2016 16:18:28] [Warning - Actions::registerEvent] Duplicate registered item id: 2393 [12/08/2016 16:18:28] [Warning - Actions::registerEvent] Duplicate registered item aid: 2000 [12/08/2016 16:18:28] >> Loading chat channels [12/08/2016 16:18:28] >> Loading outfits [12/08/2016 16:18:28] >> Loading experience stages [12/08/2016 16:18:28] >> Loading monsters [12/08/2016 16:18:30] >> Loading mods... [12/08/2016 16:18:30] > Loading buypremium_command.xml... done, but disabled. [12/08/2016 16:18:30] > Loading changender_command.xml... done, but disabled. [12/08/2016 16:18:30] > Loading custommonsters.xml... done, but disabled. [12/08/2016 16:18:30] > Loading customspells.xml... done, but disabled. [12/08/2016 16:18:30] > Loading firstitems.xml... done. [12/08/2016 16:18:30] > Loading highscorebook.xml... done. [12/08/2016 16:18:30] > Loading Sumário do OneNote.onetoc2...[Error - ScriptingManager::loadFromXml] Cannot load mod mods/Sumário do OneNote.onetoc2 [12/08/2016 16:18:30] Line: 1, Info: Start tag expected, '<' not found [12/08/2016 16:18:30] failed! [12/08/2016 16:18:30] > 7 mods were loaded (4 disabled). [12/08/2016 16:18:30] >> Loading map and spawns... [12/08/2016 16:18:35] > Map size: 65000x30000. [12/08/2016 16:18:35] > Map descriptions: [12/08/2016 16:18:35] "Saved with Remere's Map Editor 2.2" [12/08/2016 16:18:35] "" [12/08/2016 16:18:38] Duplicate uniqueId 65535 [12/08/2016 16:18:44] Duplicate uniqueId 65535 [12/08/2016 16:18:49] Duplicate uniqueId 65535 [12/08/2016 16:18:50] > Map loading time: 20.079 seconds. [12/08/2016 16:18:55] > Data parsing time: 5.507 seconds. [12/08/2016 16:19:30] > Houses synchronization time: 34.201 seconds. [12/08/2016 16:19:30] > Content unserialization time: 0.47 seconds. [12/08/2016 16:19:30] >> Checking world type... PvP [12/08/2016 16:19:30] >> Initializing game state modules and registering services... [12/08/2016 16:19:31] > Global address: 127.0.0.1 [12/08/2016 16:19:31] > Local ports: 7171 7172 [12/08/2016 16:19:31] >> All modules were loaded, server is starting up... [12/08/2016 16:19:31] >> XTM server Online! @wougoplex tem algo errado ai, não aparece o portal.
-
[QUEST]
@wougoplex Você sabe criar um script para aparecer um portal quando mata determinado monstro? e como faz para por item no bau da quest e para poder pegar apenas uma vez. Agradeço desde já.
-
Quest (portal)
Como fazer um portal aparacer quando matar um determinado monstro? @Mathwsz Me ajuda?
-
Alguém sabe fazer site pra ot pokemon?
Estou criando um projeto e preciso do SITE para ot pokemon, se alguém souber editar me avisa. SKYPE: lucas.silva8080
-
Alguém me ajuda a deletar contas.
Baixei um server e veio cheio de contas, deletei quase todas, mas algumas não da pra deletar, tem como resetar?
-
Remere map editor (poketibia)
-
Alguem Intende Sobre Isso
@willgu o mysql serve quando tem site, se não tiver faça o que falei.
-
Alguem Intende Sobre Isso
troque para isso sqlType = "sqlite" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" +Rep? @willgu
-
Preciso de ajuda, como faço pra por ot server pra ficar on 24hrs pelo host?
@Mathwsz O que é isso? Loading Sumário do OneNote.onetoc2...[Error - ScriptingManager::loadFromXml] Cannot load mod mods/Sumário do OneNote.onetoc2