Hello There, Guest! Login Register


Seafoam B4F to Fuchsia City PC Leveler
#26
Nova i used your script it i working well but sometimes it is stops
 
Reply
#27
Is there a way to change it so that it doesn't go back to Fuchsia city, and instead will simply heal at the Nurse Joy inside the Seafoam B4F? Similar to how the Victory Road script works, it must manually be directed to "x" "y" and have a selection added.
 
Reply
#28
Griffindor Is there a way to change it so that it doesn't go back to Fuchsia city, and instead will simply heal at the Nurse Joy inside the Seafoam B4F? Similar to how the Victory Road script works, it must manually be directed to "x" "y" and have a selection added.

That would be ideal. I'll give it a shot when I get some free time.
 
Reply
#29
NetPaPa
function onBattleAction()


if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Lapras" or getOpponentName() == "Staryu" ) then
        return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon()
    end

if getActivePokemonNumber() > 3 then
            return run()
    else return attack() or sendUsablePokemon() or sendAnyPokemon()    or run()
        end
end

It's ok ?


can u make it use false swipe when to capture any shiny lapras or staryu?
 
Reply
#30
Sure, here Heal at Nurse Joy..
But its possible that the script stop working... I dont Know where is the bug, or its the software self? Someone can find it, if the bug is in the script? Wink
Edit: What i mean with bug: Why?
[15:09:37] No action executed: stopping the bot.
[15:09:37] Bot stopped



name = "iBot Seafoam"
author = "Snes1010/NetPaPa tweaked by Nova, Edited by Kingchen"
description = "Trains all your pokemon at Seafoam Island 4th Floor, Heals at Nurse Joy in Seafoam B4F!"

function onStart()
  pcVisits = 0
  shinyCounter = 0
  wildCounter = 0
  startLevel1 = getPokemonLevel(1)
  startLevel2 = getPokemonLevel(2)
  startLevel3 = getPokemonLevel(3)
  startLevel4 = getPokemonLevel(4)
  startLevel5 = getPokemonLevel(5)
  startLevel6 = getPokemonLevel(6)
  startLevel = getPokemonLevel(1)
  startMoney = getMoney()
  log("You have currently " .. getMoney() .. " Pokedollars.")
  log("Your " .. getPokemonName(1) .. " is Level " .. startLevel1 .. ".")
  log("Your " .. getPokemonName(2) .. " is Level " .. startLevel2 .. ".")
  log("Your " .. getPokemonName(3) .. " is Level " .. startLevel3 .. ".")
  log("Your " .. getPokemonName(4) .. " is Level " .. startLevel4 .. ".")
  log("Your " .. getPokemonName(5) .. " is Level " .. startLevel5 .. ".")
  log("Your " .. getPokemonName(6) .. " is Level " .. startLevel6 .. ".")
  log("Start botting.")
end

function onPause()
  log("***********************************PAUSED - SESSION STATS***********************************")
  log("Your First Pokemon, ".. getPokemonName(1) ..", has gained ".. (getPokemonLevel(1) - startLevel1) .." levels!")
  log("Your Second Pokemon, ".. getPokemonName(2) ..", has gained ".. (getPokemonLevel(2) - startLevel2) .." levels!")
  log("Your Third Pokemon, ".. getPokemonName(3) ..", has gained ".. (getPokemonLevel(3) - startLevel3) .." levels!")
  log("Your Fourth Pokemon, ".. getPokemonName(4) ..", has gained ".. (getPokemonLevel(4) - startLevel4) .." levels!")
  log("Your Fifth Pokemon, ".. getPokemonName(5) ..", has gained ".. (getPokemonLevel(5) - startLevel5) .." levels!")
  log("Your Sixth Pokemon, ".. getPokemonName(6) ..", has gained ".. (getPokemonLevel(6) - startLevel6) .." levels!")
  log("You have earned ".. tostring(getMoney() - startMoney) .." PokeDollars!")
  log("Shinies Caught: " .. shinyCounter)
  log("Pokemons encountered: " .. wildCounter)
  log("You have visited the PokeCenter ".. pcVisits .." times.")
  log("*********************************************************************************************")
end

function onResume()
  log("SESSION RESUMED")
end

function onStop()
  log("Total PokeDollars Earned: ".. tostring(getMoney() - startMoney) ..".")
  log("Total Pokemon Defeated: ".. wildCounter ..".")
  log("Total Shiny Pokemon Caught: ".. shinyCounter ..".")
end

function onPathAction()
  if isPokemonUsable(6) then
      if getMapName()=="Seafoam B4F" then
          moveToRectangle(56, 27, 59, 27)
      end
  else
      if getMapName()=="Seafoam B4F" then
          talkToNpcOnCell(59, 13)
      end
  end
end

     

function onDialogMessage(pokecenter)
  if stringContains(pokecenter, "Would you like me to heal your Pokemon?") then
      pcVisits = pcVisits + 1
  end
end

function onBattleMessage(wild)
  if stringContains(wild, "A Wild SHINY ") then
      shinyCounter = shinyCounter + 1
  elseif stringContains(wild, "A Wild ") then
      wildCounter = wildCounter + 1
  end
end


function onBattleAction()


if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Lapras" or getOpponentName() == "Staryu" ) then
      return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon()
  end

if getActivePokemonNumber() > 6 then
          return run()
  else return attack() or sendUsablePokemon() or sendAnyPokemon()    or run()
      end
end
 
Reply
#31
[18:17:35] Start botting.
[18:17:36] System: You are no longer AFK!
[18:17:57] No action executed: stopping the bot.
[18:17:57] Bot stopped


Bot stoped when in route 19 and if i go manualy, stop in B3F ;/ can help me? i think my problem is when bot try to surf, just stop bot. But i have horsea lvl 7 with surf.... whats wrong?
 
Reply
#32
how i use it? i can not use.

"[17:02:16] Bot started
[17:02:16] You have currently 21469 Pokedollars.
[17:02:16] Your Vileplume is Level 56.
[17:02:16] Your Parasect is Level 26.
[17:02:16] Your Tentacruel is Level 31.
[17:02:16] Start botting.
[17:02:26] No action executed: stopping the bot.
[17:02:26] Bot stopped"


Because say message "Bot stopped"?

Thanks for the help!
 
Reply
#33
(2016-08-28, 20:07:57)tiagololxd how i use it? i can not use.

"[17:02:16] Bot started
[17:02:16] You have currently 21469 Pokedollars.
[17:02:16] Your Vileplume is Level 56.
[17:02:16] Your Parasect is Level 26.
[17:02:16] Your Tentacruel is Level 31.
[17:02:16] Start botting.
[17:02:26] No action executed: stopping the bot.
[17:02:26] Bot stopped"


Because say message "Bot stopped"?

Thanks for the help!

That happens with me when i tried to use first time. You need deafeat Fuchsia gym to bot working with surf to seafoam. You have defeat Fuchsia gym?
 
Reply
#34
anyone getting the error " you can not run away" ??
 
Reply
#35
(2016-09-01, 01:31:11)pokemonboy anyone getting the error " you can not run away" ??

Its caused by Zubat sometimes, thats why the Anti-Trap Features came up recenty, especially for cave-scripts.

Here's a basic Anti-Trap:
function onPathAction()
    trapped = false
    
    -- Your Walkpath goes here
    
end

function onBattleAction()
    if getActivePokemonNumber() == 1 then
        if trapped == true then
            return attack()
        else
            
            -- Your BattleStuff goes here
            
        end
    end
end

function onBattleMessage(wild)
    if stringContains(wild, "wrapped") or stringContains(wild, "You can not switch this Pokemon") or stringContains(wild, "You failed to run away") or stringContains(wild, "You can not run away") then
        trapped = true
    end        
end
It will update the trapped status once the battle is over and the script falls back to the onPatchAction function, and will update to "trapped = true" once it gets certain strings on the battlelog.
No support for scripts from other authors or edited scripts ( except config.lua ). If you change something on the "core" and it isnt working anymore then you can fix it by your own.
Feel free to contact me for informations and tips !

 
Reply
#36
hmm i cant seem to use the newest script to heal at nurse joy. and also i tried using the scripts before the it says the bot doesnt move.
i have also beaten furshia gym. anyone knows the problem?
 
Reply
#37
why my does not work? the play and he to the msm time , to inside the cave B4F
 
Reply
#38
how do you train 2 Pokemons on route 21 ? and catch the brilliant?

-- Copyright © 2016 Ney RD
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. See the LICENSE file for more details.

name = "Leveling: Route 21 (cerca Cinnabar)"
author = "Ney RD"
description = [[Este script se entrenará el primer pokémon de su equipo .
También intentará capturar shinies lanzando Pokébolas .
Empezar en cualquier lugar entre Cinnabar Island y Route 21.
Se necesita un pokémon con surf.]]

function onPathAction()
if isPokemonUsable(1) then
if getMapName() == "Pokecenter Cinnabar" then
moveToMap("Cinnabar Island")
elseif getMapName() == "Cinnabar Island" then
moveToMap("Route 21")
elseif getMapName() == "Route 21" then
moveToWater()
end
else
if getMapName() == "Route 21" then
moveToMap("Cinnabar Island")
elseif getMapName() == "Cinnabar Island" then
moveToMap("Pokecenter Cinnabar")
elseif getMapName() == "Pokecenter Cinnabar" then
usePokecenter()
end
end
end

function onBattleAction()
if isWildBattle() and isOpponentShiny() then
if useItem("Ultra Ball") or useItem("Great Ball") or useItem("Pokeball") then
return
end
end
if getActivePokemonNumber() == 1 then
return attack() or run() or sendUsablePokemon() or sendAnyPokemon()
else
return run() or attack() or sendUsablePokemon() or sendAnyPokemon()
end
end
 
Reply
#39
(2016-06-10, 16:16:56)snes1010 This Script will Level the first 3 Pokemon in your team at Seafoam 4th Floor where the Pokemon are a higher level, The script will Heal in Fuchsia City. It will attack everything on the way too. This Script will also Catch Shiny Pokemon. It logs your levels gained, Money earned, Pokecenter visits, Shinies Caught, and pokemon Defeated.

This Script is Lua format Smile Enjoy!

name = "iBot Seafoam to Fuchsia"
author = "Snes1010/NetPaPa"
description = "Trains your first 3 pokemon at Seafoam Island 4th Floor, Heals in Fuchsia City, Catches Shinies, Start in Fuchsia City! Must Know Surf!"

function onStart()
    pcVisits = 0
    shinyCounter = 0
    wildCounter = 0
    startLevel1 = getPokemonLevel(1)
    startLevel2 = getPokemonLevel(2)
    startLevel3 = getPokemonLevel(3)
    startLevel = getPokemonLevel(1)
    startMoney = getMoney()
    log("You have currently " .. getMoney() .. " Pokedollars.")
    log("Your " .. getPokemonName(1) .. " is Level " .. startLevel1 .. ".")
    log("Your " .. getPokemonName(2) .. " is Level " .. startLevel2 .. ".")
    log("Your " .. getPokemonName(3) .. " is Level " .. startLevel3 .. ".")
    log("Start botting.")
end

function onPause()
    log("***********************************PAUSED - SESSION STATS***********************************")
    log("Your First Pokemon, ".. getPokemonName(1) ..", has gained ".. (getPokemonLevel(1) - startLevel1) .." levels!")
    log("Your Second Pokemon, ".. getPokemonName(2) ..", has gained ".. (getPokemonLevel(2) - startLevel2) .." levels!")
    log("Your Third Pokemon, ".. getPokemonName(3) ..", has gained ".. (getPokemonLevel(3) - startLevel3) .." levels!")
    log("You have earned ".. tostring(getMoney() - startMoney) .." PokeDollars!")
    log("Shinies Caught: " .. shinyCounter)
    log("Pokemons encountered: " .. wildCounter)
    log("You have visited the PokeCenter ".. pcVisits .." times.")
    log("*********************************************************************************************")
end

function onResume()
    log("SESSION RESUMED")
end

function onPathAction()
    if isPokemonUsable(3) then
        if getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then
            moveToMap("Route 20")
        elseif getMapName() == "Route 20" then
            moveToCell(60, 32)
        elseif getMapName() == "Seafoam 1F" then
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then
            moveToMap("Seafoam B3F")
        elseif getMapName() == "Seafoam B3F" then
            moveToCell(12, 8)
        elseif getMapName() == "Seafoam B4F" then
            moveToRectangle(9,15,13,20)
        end
    elseif getMapName() == "Seafoam B4F" then
            moveToCell(9, 6)
        elseif getMapName() == "Seafoam B3F" then
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then
            moveToMap("Seafoam 1F")
        elseif getMapName() == "Seafoam 1F" then
            moveToMap("Route 20")
        elseif getMapName() == "Route 20" then
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Pokecenter Fuchsia")
        elseif getMapName() == "Pokecenter Fuchsia" then
            usePokecenter()
        end
    end

        

function onDialogMessage(pokecenter)
    if stringContains(pokecenter, "Would you like me to heal your Pokemon?") then
        pcVisits = pcVisits + 1
    end
end

function onBattleMessage(wild)
    if stringContains(wild, "A Wild SHINY ") then
        shinyCounter = shinyCounter + 1
    elseif stringContains(wild, "A Wild ") then
        wildCounter = wildCounter + 1
    end
end


function onBattleAction()


if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Lapras" or getOpponentName() == "Staryu" ) then
        return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon()
    end

if getActivePokemonNumber() > 3 then
            return run()
    else return attack() or sendUsablePokemon() or sendAnyPokemon()    or run()
        end
end

Here is for 1 pokemon trained:
name = "iBot Seafoam to Fuchsia"
author = "Snes1010/NetPaPa"
description = "Trains your first 3 pokemon at Seafoam Island 4th Floor, Heals in Fuchsia City, Catches Shinies, Start in Fuchsia City! Must Know Surf!"

function onStart()
    pcVisits = 0
    shinyCounter = 0
    wildCounter = 0
    startLevel1 = getPokemonLevel(1)
    startLevel2 = getPokemonLevel(2)
    startLevel3 = getPokemonLevel(3)
    startLevel = getPokemonLevel(1)
    startMoney = getMoney()
    log("You have currently " .. getMoney() .. " Pokedollars.")
    log("Your " .. getPokemonName(1) .. " is Level " .. startLevel1 .. ".")
    log("Your " .. getPokemonName(2) .. " is Level " .. startLevel2 .. ".")
    log("Your " .. getPokemonName(3) .. " is Level " .. startLevel3 .. ".")
    log("Start botting.")
end

function onPause()
    log("***********************************PAUSED - SESSION STATS***********************************")
    log("Your First Pokemon, ".. getPokemonName(1) ..", has gained ".. (getPokemonLevel(1) - startLevel1) .." levels!")
    log("Your Second Pokemon, ".. getPokemonName(2) ..", has gained ".. (getPokemonLevel(2) - startLevel2) .." levels!")
    log("Your Third Pokemon, ".. getPokemonName(3) ..", has gained ".. (getPokemonLevel(3) - startLevel3) .." levels!")
    log("You have earned ".. tostring(getMoney() - startMoney) .." PokeDollars!")
    log("Shinies Caught: " .. shinyCounter)
    log("Pokemons encountered: " .. wildCounter)
    log("You have visited the PokeCenter ".. pcVisits .." times.")
    log("*********************************************************************************************")
end

function onResume()
    log("SESSION RESUMED")
end

function onPathAction()
    if isPokemonUsable(1) then
        if getMapName() == "Pokecenter Fuchsia" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then
            moveToMap("Route 20")
        elseif getMapName() == "Route 20" then
            moveToCell(60, 32)
        elseif getMapName() == "Seafoam 1F" then
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then
            moveToMap("Seafoam B3F")
        elseif getMapName() == "Seafoam B3F" then
            moveToCell(12, 8)
        elseif getMapName() == "Seafoam B4F" then
            moveToRectangle(9,15,13,20)
        end
    elseif getMapName() == "Seafoam B4F" then
            moveToCell(9, 6)
        elseif getMapName() == "Seafoam B3F" then
            moveToMap("Seafoam B2F")
        elseif getMapName() == "Seafoam B2F" then
            moveToMap("Seafoam B1F")
        elseif getMapName() == "Seafoam B1F" then
            moveToMap("Seafoam 1F")
        elseif getMapName() == "Seafoam 1F" then
            moveToMap("Route 20")
        elseif getMapName() == "Route 20" then
            moveToMap("Route 19")
        elseif getMapName() == "Route 19" then
            moveToMap("Fuchsia City Stop House")
        elseif getMapName() == "Fuchsia City Stop House" then
            moveToMap("Fuchsia City")
        elseif getMapName() == "Fuchsia City" then
            moveToMap("Pokecenter Fuchsia")
        elseif getMapName() == "Pokecenter Fuchsia" then
            usePokecenter()
        end
    end

        

function onDialogMessage(pokecenter)
    if stringContains(pokecenter, "Would you like me to heal your Pokemon?") then
        pcVisits = pcVisits + 1
    end
end

function onBattleMessage(wild)
    if stringContains(wild, "A Wild SHINY ") then
        shinyCounter = shinyCounter + 1
    elseif stringContains(wild, "A Wild ") then
        wildCounter = wildCounter + 1
    end
end


function onBattleAction()


if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Lapras" or getOpponentName() == "Staryu" ) then
        return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon()
    end

if getActivePokemonNumber() > 3 then
            return run()
    else return attack() or sendUsablePokemon() or sendAnyPokemon()    or run()
        end
end

Credits: Me, NetPaPa, S1lver and Royal for they're Tutorials!

Enjoy Guys!
all these script are being taken by a person, and editing them as the author and creator of them... https://www.youtube.com/channel/UCM3epts...J-AIORNMTA.. denounce it helps not to take credit for the work of others
 
Reply
#40
Here's a a script with anti trap function.


name = "iBot Seafoam to Fuchsia"
author = "Snes1010/NetPaPa"
description = "Trains your first 3 pokemon at Seafoam Island 4th Floor, Heals in Fuchsia City, Catches Shinies, Start in Fuchsia City! Must Know Surf!"

function onStart()
  pcVisits = 0
  shinyCounter = 0
  wildCounter = 0
  startMoney = getMoney()
  log("You have currently " .. getMoney() .. " Pokedollars.")
  log("Start botting.")
end

function onPause()
  log("***********************************PAUSED - SESSION STATS***********************************")
  log("You have earned ".. tostring(getMoney() - startMoney) .." PokeDollars!")
  log("Shinies Caught: " .. shinyCounter)
  log("Pokemons encountered: " .. wildCounter)
  log("You have visited the PokeCenter ".. pcVisits .." times.")
  log("*********************************************************************************************")
end

function onResume()
  log("SESSION RESUMED")
end

function onPathAction()
  if isPokemonUsable(5) then
      if getMapName() == "Pokecenter Fuchsia" then
          moveToMap("Fuchsia City")
      elseif getMapName() == "Fuchsia City" then
          moveToMap("Fuchsia City Stop House")
      elseif getMapName() == "Fuchsia City Stop House" then
          moveToMap("Route 19")
      elseif getMapName() == "Route 19" then
          moveToMap("Route 20")
      elseif getMapName() == "Route 20" then
          moveToCell(60, 32)
      elseif getMapName() == "Seafoam 1F" then
          moveToMap("Seafoam B1F")
      elseif getMapName() == "Seafoam B1F" then
          moveToMap("Seafoam B2F")
      elseif getMapName() == "Seafoam B2F" then
          moveToMap("Seafoam B3F")
      elseif getMapName() == "Seafoam B3F" then
          moveToCell(12, 8)
      elseif getMapName() == "Seafoam B4F" then
          moveToRectangle(9,15,13,20)
      end
  elseif getMapName() == "Seafoam B4F" then
          moveToCell(9, 6)
      elseif getMapName() == "Seafoam B3F" then
          moveToMap("Seafoam B2F")
      elseif getMapName() == "Seafoam B2F" then
          moveToMap("Seafoam B1F")
      elseif getMapName() == "Seafoam B1F" then
          moveToMap("Seafoam 1F")
      elseif getMapName() == "Seafoam 1F" then
          moveToMap("Route 20")
      elseif getMapName() == "Route 20" then
          moveToMap("Route 19")
      elseif getMapName() == "Route 19" then
          moveToMap("Fuchsia City Stop House")
      elseif getMapName() == "Fuchsia City Stop House" then
          moveToMap("Fuchsia City")
      elseif getMapName() == "Fuchsia City" then
          moveToMap("Pokecenter Fuchsia")
      elseif getMapName() == "Pokecenter Fuchsia" then
          usePokecenter()
      end
  end

     

function onDialogMessage(pokecenter)
  if stringContains(pokecenter, "Would you like me to heal your Pokemon?") then
      pcVisits = pcVisits + 1
  end
end

function onBattleMessage(wild)
  if stringContains(wild, "A Wild SHINY ") then
      shinyCounter = shinyCounter + 1
  elseif stringContains(wild, "A Wild ") then
      wildCounter = wildCounter + 1

  elseif stringContains(wild, "Pokedollar(s)") then
       log("Info ~ Pokedollars earned: "..tostring(getMoney() - startMoney).." (" ..tostring((getMoney() - startMoney)/wildCounter).." average)")
   elseif stringContains(wild, "wrapped") or stringContains(wild, "You can not switch this Pokemon!") or stringContains(wild, "You failed to run away!") or stringContains(wild, "You can not run away!")  then
   trapped = true
   log("Info | Anti-Trap mode activated")
  end
end


function onBattleAction()

if isWildBattle() and (isOpponentShiny() or getOpponentName() == "Lapras" or getOpponentName() == "Squirtle" ) then
      return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or sendUsablePokemon()
  end

if getActivePokemonNumber() > 5 then
          return run()
  else return attack() or sendUsablePokemon() or sendAnyPokemon()    or run()
                      end
       end
 
Reply
#41
hi, itll train all my pokes till lvl 99? and what to edit if i want to farm just money in there?
 
Reply
#42
hi, the script doesnt work for me, and bot always stopped
 
Reply
#43
fix pls!! doesnt work
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)