Ir para conteúdo

345sat

Membro
  • Registro em

  • Última visita

Tudo que 345sat postou

  1. mano ainda da para deslogar no surf/ride/fly
  2. e para os players quando tiver no surf/ride/fly não quando estiver na bike
  3. isso ser vc poder me ajudar agradeceria
  4. 2 pedido quando player morrer no surf/fly/ride ride sempre bugar a conta quando deslogar do surf perde a conta quando deslogar do fly perde a conta queria 1 script para não da desbuger na conta dos players quando deslogar surf/ride/fly
  5. 1-sou poderia deslogar da conta dps de 10 segundos 2-quando morrer no fly/surf/ride volta para o centro pokemon
  6. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    up ainda esta dando error
  7. aa pq meu não esta fucionando tipo nn esta deslogando do mesno geito
  8. mano falta registra na parte login.lua
  9. nn botar isso no action.xml
  10. starter.lua <<alterer por esse esta configurador para seu local starterpokes = { ["Bulbasaur"] = {x = 47, y = 44, z = 7}, ["Squirtle"] = {x = 49, y = 44, z = 7}, ["Charmander"] = {x = 51, y = 44, z = 7}, } local btype = "normal" function onUse(cid, item, frompos, item2, topos) if getPlayerLevel(cid) > 5 then --alterado v1.3 return true end local pokemon = "" for a, b in pairs (starterpokes) do if isPosEqualPos(topos, b) then pokemon = a end end if pokemon == "" then return true end local gender = getRandomGenderByName(pokemon) local happy = 180 doPlayerAddItem(cid, 2392, 10) doPlayerAddItem(cid, 2152, 5) doPlayerAddItem(cid, 12222, 25) doPlayerAddItem(cid, 12347, 10) doPlayerAddItem(cid, 12344, 3) local item = doCreateItemEx(2219) doItemSetAttribute(item, "poke", pokemon) doItemSetAttribute(item, "hp", 1) doItemSetAttribute(item, "happy", happy) doItemSetAttribute(item, "gender", gender) doItemSetAttribute(item, "description", "Contains a "..pokemon..".") doItemSetAttribute(item, "fakedesc", "Contains a "..pokemon..".") doItemSetAttribute(item, "firstpoke", getCreatureName(cid)) doPlayerAddItemEx(cid, item, true) doTransformItem(item, pokeballs[btype].on) doPlayerSendTextMessage(cid, 27, "You got your first pokemon! You also received some pokeballs to help you in your way.") doPlayerSendTextMessage(cid, 27, "Don\'t forget to use your pokedex on every undiscovered pokemon!") doSendMagicEffect(getThingPos(cid), 29) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doSendMagicEffect(getThingPos(cid), 27) doSendMagicEffect(getThingPos(cid), 29) return TRUE end tag para actions.lua <action itemid="STORAGE" event="script" value="starter.lua"/>
  11. manda sua script do pokemon inicial para eu acheita manda o error para eu poder ensinar vc a tirar 1-como ja falei manda starter.lua ficar servido/data/action/script 2-agora manda script do raikou ficar servido/data/monster/geração 2 procurar raikou.xml
  12. vlw galera por tentar me ajudar + nn consiguir
  13. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    idle.lua como vc pediu local config = { idleWarning = getConfigValue('idleWarningTime'), idleKick = getConfigValue('idleKickTime') } function onThink(cid, interval) if not isCreature(cid) then return true end if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_ALLOWIDLE)) then return true end local idleTime = getPlayerIdleTime(cid) + interval doPlayerSetIdleTime(cid, idleTime) if(config.idleKick > 0 and idleTime > config.idleKick) then doRemoveCreature(cid) elseif(config.idleWarning > 0 and idleTime == config.idleWarning) then local message = "You have been idle for " .. math.ceil(config.idleWarning / 60000) .. " minutes" if(config.idleKick > 0) then message = message .. ", you will be disconnected in " local diff = math.ceil((config.idleWarning - config.idleKick) / 60000) if(diff > 1) then message = message .. diff .. " minutes" else message = message .. "one minute" end message = message .. " if you are still idle" end doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, message .. ".") end return true end
  14. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    esta ai meu creaturescripts.xml <?xml version="1.0" encoding="UTF-8"?> <creaturescripts> <event type="kill" name="task_count" script="task.lua"/> <event type="login" name="PlayerLogin" event="script" value="login.lua"/> <event type="receivemail" name="Mail" event="script" value="mail.lua"/> <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/> <event type="think" name="Idle" event="script" value="idle.lua"/> <event type="death" name="Death" event="script" value="playerpdeath.lua"/> <event type="death" name="Experience" event="script" value="pokeexp.lua"/> <event type="spawn" name="Spawn" event="script" value="spawn.lua"/> <event type="think" name="PokemonIdle" event="script" value="poketele.lua"/> <event type="think" name="t" event="script" value="wildpoke.lua"/> <event type="logout" name="PokeLogout" event="script" value="pokelogout.lua"/> <event type="statschange" name="GeneralConfiguration" event="script" value="exp2.0.lua"/> <event type="advance" name="EffectOnAdvance" event="script" value="levelup.lua"/> <event type="direction" name="DirectionSystem" event="script" value="wildpoke.lua"/> <event type="attack" name="AttackSystem" event="script" value="wildpoke.lua"/> <event type="cast" name="CastSystem" event="script" value="wildpoke.lua"/> <event type="target" name="WildAttack" event="script" value="playerattack.lua"/> <event type="look" name="LookSystem" event="script" value="look.lua"/> <event type="death" name="SummonDeath" event="script" value="goback.lua"/> <event type="logout" name="PlayerLogout" event="script" value="goback.lua"/> <!-- TV SYSTEM --> <event type="joinchannel" name="WatchTv" event="script" value="tvsys.lua"/> <event type="leavechannel" name="StopWatchingTv" event="script" value="tvsys.lua"/> <event type="walk" name="WalkTv" event="script" value="tvsys.lua"/> <event type="textedit" name="RecordTv" event="script" value="tvsys.lua"/> <event type="traderequest" name="T2" event="script" value="trade system.lua"/> <event type="tradeaccept" name="T1" event="script" value="trade system.lua"/> <event type="look" name="infoLook" event="script" value="info_look.lua"/> </creaturescripts>
  15. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    + vai da error no respanw
  16. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    ser eu tirar nn vai bugar spanw do red e do shiny + agora nn esta aparecendo nome quando vc solta da pokebola
  17. 345sat postou uma resposta no tópico em Suporte Tibia OTServer
    MEU SPANW.LUA ALGUEM PODERIA TIRAR NOME OCULTO DOS POKEMON SHINY COMO ESTA NA FOTO local PokemonRed = { "Metapod","Gloom" ,"Haunter","Dratini", } local shinys = { "Venusaur", "Charizard", "Blastoise", "Butterfree", "Beedrill", "Pidgeot", "Rattata", "Raticate", "Raichu", "Zubat", "Golbat", "Paras", "Parasect", "Venonat", "Venomoth", "Growlithe", "Arcanine", "Abra", "Alakazam", "Tentacool", "Tentacruel", "Farfetch'd", "Grimer", "Muk", "Gengar", "Onix", "Krabby", "Kingler", "Voltorb", "Electrode", "Cubone", "Marowak", "Hitmonlee", "Hitmonchan", "Tangela", "Horsea", "Seadra", "Scyther", "Jynx", "Electabuzz", "Pinsir", "Magikarp", "Gyarados", "Snorlax", "Dragonair", "Dratini", } local raros = {"Dragonite"} --alterado v1.5 local function ShinyName(cid) if isCreature(cid) then if string.find(tostring(getCreatureName(cid)), "Shiny") then local newName = tostring(getCreatureName(cid)):match("Shiny (.*)") doCreatureSetNick(cid, newName) if isMonster(cid) then doSetCreatureDropLoot(cid, false) end end end end local function RedName(cid) if isCreature(cid) then if string.find(tostring(getCreatureName(cid)), "Red") then local newNameRed = tostring(getCreatureName(cid)):match("Red (.*)") doCreatureSetNick(cid, newNameRed) if isMonster(cid) then doSetCreatureDropLoot(cid, false) end end end end local function doSetRandomGender(cid) if not isCreature(cid) then return true end if isSummon(cid) then return true end local gender = 0 local name = getCreatureName(cid) if not newpokedex[name] then return true end local rate = newpokedex[name].gender if rate == 0 then gender = 3 elseif rate == 1000 then gender = 4 elseif rate == -1 then gender = 0 elseif math.random(1, 1000) <= rate then gender = 4 else gender = 3 end doCreatureSetSkullType(cid, gender) end local function doShiny(cid) if isCreature(cid) then if isSummon(cid) then return true end if getPlayerStorageValue(cid, 74469) >= 1 then return true end if isNpcSummon(cid) then return true end if isInArray(shinys, getCreatureName(cid)) then transform = math.random(1, 1000) --0.1% chance if isInArray(PokemonRed, getCreatureName(cid)) then transformar = math.random(50, 1000) -- 5 % ALTERA A CHANCE DE APARECER elseif isInArray(raros, getCreatureName(cid)) then transform = math.random(1, 1000) --0.1% chance elseif not isInArray(raros, getCreatureName(cid)) and not isInArray(PokemonRed, getCreatureName(cid)) and not isInArray(shinys, getCreatureName(cid)) then return true end if transformar == 10 then doSendMagicEffect(getThingPos(cid), 18) local Red = doCreateMonster("Red ".. getCreatureName(cid) .."", getThingPos(cid)) setPlayerStorageValue(Red, 74469, 1) setPlayerStorageValue(cid, 74469, 1) doRemoveCreature(cid) else setPlayerStorageValue(cid, 74469, 1) end if transform == 10 then doSendMagicEffect(getThingPos(cid), 18) local shi = doCreateMonster("Shiny ".. getCreatureName(cid) .."", getThingPos(cid)) setPlayerStorageValue(shi, 74469, 1) setPlayerStorageValue(cid, 74469, 1) doRemoveCreature(cid) else setPlayerStorageValue(cid, 74469, 1) end else return true end end end function onSpawn(cid) registerCreatureEvent(cid, "Experience") registerCreatureEvent(cid, "GeneralConfiguration") registerCreatureEvent(cid, "DirectionSystem") registerCreatureEvent(cid, "CastSystem") if isSummon(cid) then registerCreatureEvent(cid, "SummonDeath") return true end addEvent(doSetRandomGender, 5, cid) addEvent(doShiny, 10, cid) addEvent(ShinyName, 15, cid) addEvent(RedName, 15, cid) addEvent(adjustWildPoke, 5, cid) return true end
  18. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    Nextbr muito obrigado pela sua ajudar estava precisando urgente segura seu rep
  19. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    sou esses quer eu citei
  20. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    Nextbr [16/05/2015 14:05:23] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/spawn.lua:65: ')' expected near 'Red' [16/05/2015 14:05:23] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/spawn.lua) [16/05/2015 14:05:23] data/creaturescripts/scripts/spawn.lua:65: ')' expected near 'Red' ESTA DANDO ESSE ERROR NA DISTRO Nextbr [16/05/2015 14:05:23] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/spawn.lua:65: ')' expected near 'Red' [16/05/2015 14:05:23] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/spawn.lua) [16/05/2015 14:05:23] data/creaturescripts/scripts/spawn.lua:65: ')' expected near 'Red' ESTA DANDO ESSE ERROR NA DISTRO
  21. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    sou + 1 duvida tem como fazer meus pokemon aparecer tipo no nome shiny metagross pq meu esta com nome oculto
  22. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    Vinicius Xxgamexx obrigado pela sua ajudar
  23. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    Red Dratini,Red Metapod,Red Gloom,Red Gloom sou esses 4
  24. 345sat respondeu ao post em um tópico de 345sat em Suporte Tibia OTServer
    tipo aparecer no respawn dos pokemon aparecer tipo exemplo
  25. 345sat postou uma resposta no tópico em Suporte Tibia OTServer

Informação Importante

Confirmação de Termo