Hello There, Guest! Login Register


Universal Anywhere-Leveler, Anywhere Catcher
#1
This script is actually by Zymu and Credits to Royal for base framework but continued with Extra Features

Always check and download latest
Last Updated : 9/14/2016
Download here

Show ContentFeatures:


Report any bugs found here

FAQs:
  • Stuck in pokecenter loop: Check if you have a pokemon that does not have an attack skill e.g. ditto, abra
  • Flee or Kill pokemon when encounter capturelist check if your balls are enough or team health is above what you set
  • Buying will not work on some maps e.g. Goldenrod, Celadon because its not coded
Known Bugs:

  1. Surf mount not working
Suggest if you would like to see any more features or maps/marts/poke centers to support
 
Reply
#2
wonderd what "Anti-Trap" is Big Grin
 
Reply
#3
(2016-08-26, 16:42:25)haiduong wonderd what "Anti-Trap" is Big Grin

anti bellsprout / mean look? that makes you can't escape
 
Reply
#4
Really nice fork, kudos!
Works fine for me.

Not sure whether this is implemented or simply does not work, i'd like the bot not to stop, when Pokemons are down but rather go to the specified PokeCenter and heal the.

Kind regards.

"Error during the execution of 'onStop': attempt to perform arithmetic on a nil value"
When starting in the Pokecenter.
 
Reply
#5
(2016-08-26, 18:43:26)SilverSurfer Really nice fork, kudos!
Works fine for me.

Not sure whether this is implemented or simply does not work, i'd like the bot not to stop, when Pokemons are down but rather go to the specified PokeCenter and heal the.

Kind regards.

"Error during the execution of 'onStop': attempt to perform arithmetic on a nil value"
When starting in the Pokecenter.
That error is fine because u have not battled and have no exp value to return. Poke center seems to work fine for me without stopping make sure to check for the correct names of the map in config
 
Reply
#6
Nice one, ill try it out once questing is done lol..
 
Reply
#7
(2016-08-26, 13:33:03)ToothBrush This script is actually by Zymu and credits to Royal as well but edited with extra features
  • Buying Balls
  • Escape rope
  • Power leveling aka Swap Training
  • Advancing Catching e.g. Sync and False Swipe or use any specified move in config
  • Supports Surfing / Surf Mount
  • Show Exp /Poke dollar earned / Hour
  • Random Movement
  • Anti-Trap
  • Supports Indigo Plateau Center
  • Lots of logs
  • Config file to configure it to your needs and read it carefully
Script 
https://github.com/eder279/Universal

Need Testers report any bugs here

Is the script ready already or not sir?i clicked on your link but i couldnt find a way to make it work,if its ready could u explain a little bit?
couldnt find it Functionpath anywhere...
 
Reply
#8
(2016-08-26, 20:33:34)pombaGira
(2016-08-26, 13:33:03)ToothBrush This script is actually by Zymu and credits to Royal as well but edited with extra features
  • Buying Balls
  • Escape rope
  • Power leveling aka Swap Training
  • Advancing Catching e.g. Sync and False Swipe or use any specified move in config
  • Supports Surfing / Surf Mount
  • Show Exp /Poke dollar earned / Hour
  • Random Movement
  • Anti-Trap
  • Supports Indigo Plateau Center
  • Lots of logs
  • Config file to configure it to your needs and read it carefully
Script 
https://github.com/eder279/Universal

Need Testers report any bugs here

 Is the script ready already or not sir?i clicked on your link but i couldnt find a way to make it work,if its ready could u explain a little bit?
couldnt find it Functionpath anywhere...

did u miss out config?
 
Reply
#9
The script only moves Between pokecenter and the city and then headed not going the route. just start in the pokecenter and then moves to the city and does repeatedly . (sorry for my bad English) any help ?
 
Reply
#10
(2016-08-27, 03:17:55)toat2 The script only moves Between pokecenter and the city and then headed not going the route. just start in the pokecenter and then moves to the city and does repeatedly . (sorry for my bad English) any help ?

may i see your config
 
Reply
#11
(2016-08-27, 03:19:47)ToothBrush
(2016-08-27, 03:17:55)toat2 The script only moves Between pokecenter and the city and then headed not going the route. just start in the pokecenter and then moves to the city and does repeatedly . (sorry for my bad English) any help ?

may i see your config

--supports up to 5 stops and mart, leave unused stops blank--
city = "Lavender Town"
pokecenter = "Pokecenter Lavender"
stop1 = "Pokecenter Lavender"
stop2 = "Lavender Town"
stop3 = "Route 12"
stop4 = ""
stop5 = ""
endLocation = "Route 12"
martLocation = ""

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 70
powerLevelingPokemon = "Charmander"
powerLevelerIndex = 3

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 1400000
buyBallType = "Great Ball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = false
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = "t"
surfMount = ""

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 9
rectX2 = 12
rectY1 = 4
rectY2 = 10

rectXB1 = 12
rectXB2 = 16
rectYB1 = 14
rectYB2 = 19

rectXC1 = 17
rectXC2 = 20
rectYC1 = 4
rectYC2 = 10

rectXD1 = 20
rectXD2 = 22
rectYD1 = 19
rectYD2 = 26

rectXE1 = 12
rectXE2 = 14
rectYE1 = 23
rectYE2 = 26

--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = true

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = True
syncName = "Natu"
moveUserIndex = 2
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Slowpoke", "", "", "", "", "", "", ""}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
movesNotToForget = {"Dragon Claw", "Psychic", "Night Slash", "X-Scissor", "Flame Burst", "Razor Wind", "Mean Look", "Earthquake", "Ice Beam", "Megahorn", "Wild charge", "Crunch", "Hyper Beam", "Dragon Dance", "Hydro Pump", "Air Slash", "FlameThrower", "Poison Jab", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Nuzzle", "HeadButt", "False Swipe", "Fire Blast"}
 
Reply
#12
(2016-08-27, 03:26:43)toat2
(2016-08-27, 03:19:47)ToothBrush
(2016-08-27, 03:17:55)toat2 The script only moves Between pokecenter and the city and then headed not going the route. just start in the pokecenter and then moves to the city and does repeatedly . (sorry for my bad English) any help ?

may i see your config

--supports up to 5 stops and mart, leave unused stops blank--
city = "Lavender Town"
pokecenter = "Pokecenter Lavender"
stop1 = ""
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Route 12"
martLocation = ""

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 70
powerLevelingPokemon = "Charmander"
powerLevelerIndex = 3

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 1400000
buyBallType = "Great Ball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = false
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = "t"
surfMount = ""

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 9
rectX2 = 12
rectY1 = 4
rectY2 = 10

rectXB1 = 12
rectXB2 = 16
rectYB1 = 14
rectYB2 = 19

rectXC1 = 17
rectXC2 = 20
rectYC1 = 4
rectYC2 = 10

rectXD1 = 20
rectXD2 = 22
rectYD1 = 19
rectYD2 = 26

rectXE1 = 12
rectXE2 = 14
rectYE1 = 23
rectYE2 = 26

--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = true

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = True
syncName = "Natu"
moveUserIndex = 2
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Slowpoke", "", "", "", "", "", "", ""}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
movesNotToForget = {"Dragon Claw", "Psychic", "Night Slash", "X-Scissor", "Flame Burst", "Razor Wind", "Mean Look", "Earthquake", "Ice Beam", "Megahorn", "Wild charge", "Crunch", "Hyper Beam", "Dragon Dance", "Hydro Pump", "Air Slash", "FlameThrower", "Poison Jab", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Nuzzle", "HeadButt", "False Swipe", "Fire Blast"}
Your stop 1 should not contain pokecenter and stop 2 do not need to contain city and stop 3 does not need route 12 also this part 
catchThesePokemon = {"Slowpoke", "", "", "", "", "", "", ""}

u should just put it as 
catchThesePokemon = {"Slowpoke"}
unless you do not have any capture list then leave it to {""}
 
Reply
#13
(2016-08-27, 03:28:40)ToothBrush
(2016-08-27, 03:26:43)toat2
(2016-08-27, 03:19:47)ToothBrush
(2016-08-27, 03:17:55)toat2 The script only moves Between pokecenter and the city and then headed not going the route. just start in the pokecenter and then moves to the city and does repeatedly . (sorry for my bad English) any help ?

may i see your config

--supports up to 5 stops and mart, leave unused stops blank--
city = "Lavender Town"
pokecenter = "Pokecenter Lavender"
stop1 = ""
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Route 12"
martLocation = ""

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 70
powerLevelingPokemon = "Charmander"
powerLevelerIndex = 3

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 1400000
buyBallType = "Great Ball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = false
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = "t"
surfMount = ""

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 9
rectX2 = 12
rectY1 = 4
rectY2 = 10

rectXB1 = 12
rectXB2 = 16
rectYB1 = 14
rectYB2 = 19

rectXC1 = 17
rectXC2 = 20
rectYC1 = 4
rectYC2 = 10

rectXD1 = 20
rectXD2 = 22
rectYD1 = 19
rectYD2 = 26

rectXE1 = 12
rectXE2 = 14
rectYE1 = 23
rectYE2 = 26

--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = true

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = True
syncName = "Natu"
moveUserIndex = 2
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Slowpoke", "", "", "", "", "", "", ""}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
movesNotToForget = {"Dragon Claw", "Psychic", "Night Slash", "X-Scissor", "Flame Burst", "Razor Wind", "Mean Look", "Earthquake", "Ice Beam", "Megahorn", "Wild charge", "Crunch", "Hyper Beam", "Dragon Dance", "Hydro Pump", "Air Slash", "FlameThrower", "Poison Jab", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Nuzzle", "HeadButt", "False Swipe", "Fire Blast"}
Your stop 1 should not contain pokecenter and stop 2 do not need to contain city and stop 3 does not need route 12

--supports up to 5 stops and mart, leave unused stops blank--
city = "Lavender Town"
pokecenter = "Pokecenter Lavender"
stop1 = "Route 12"
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Route 12"
martLocation = ""

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 70
powerLevelingPokemon = "Charmander"
powerLevelerIndex = 3

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 1400000
buyBallType = "Great Ball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = false
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = ""
surfMount = ""

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 9
rectX2 = 12
rectY1 = 4
rectY2 = 10

rectXB1 = 12
rectXB2 = 16
rectYB1 = 14
rectYB2 = 19

rectXC1 = 17
rectXC2 = 20
rectYC1 = 4
rectYC2 = 10

rectXD1 = 20
rectXD2 = 22
rectYD1 = 19
rectYD2 = 26

rectXE1 = 12
rectXE2 = 14
rectYE1 = 23
rectYE2 = 26

--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = true

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = true
syncName = "Natu"
moveUserIndex = 2
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Slowpoke"}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
movesNotToForget = {"Dragon Claw", "Psychic", "Night Slash", "X-Scissor", "Flame Burst", "Razor Wind", "Mean Look", "Earthquake", "Ice Beam", "Megahorn", "Wild charge", "Crunch", "Hyper Beam", "Dragon Dance", "Hydro Pump", "Air Slash", "FlameThrower", "Poison Jab", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Nuzzle", "HeadButt", "False Swipe", "Fire Blast"}

The only way he reached Route 12 , was to place the first stop " Route 12 " but when he gets there , the bot stops
 
Reply
#14
[23:28:20] =======================================
[23:28:20] A Wild Slowpoke Attacks!
[23:28:26] Come Back, Natu!
[23:28:26] Go, Scizor!
[23:28:26] Slowpoke Attacks Scizor with Headbutt.
[23:28:26] It's not very effective!
[23:28:29] Scizor Attacks Slowpoke with False Swipe.
[23:28:29] Slowpoke Attacks Scizor with Water Gun.
[23:28:33] You throw a Great Ball.
[23:28:33] Pattern 1
[23:28:33] Battle Log
[23:28:33] =======================================
[23:28:33] Info | Shineys encountered: 0
[23:28:33] Info | Pokemon(s) encountered: 10 and Catched 5 Pokemon(s).
[23:28:33] Info | Total Earning: $0 ($0.0 average)
[23:28:33] Info | PokeDollars/Hour: $0
[23:28:33] Info | Exp/Hour 0
[23:28:33] Info | Balls remaining: 0 Pokeballs 193 Great Balls 0 Ultra Balls
[23:28:33] Info | Balls used: 0 Pokeballs 7 Great Balls 0 Ultra Balls
[23:28:33] =======================================
[23:28:33] Success! You caught Slowpoke!
Woriking, thank you very much  Big Grin Big Grin


Quick question , martlocation is the name of the market or the coordinates of the npc or market ?
 
Reply
#15
(2016-08-27, 04:32:34)toat2
[23:28:20] =======================================
[23:28:20] A Wild Slowpoke Attacks!
[23:28:26] Come Back, Natu!
[23:28:26] Go, Scizor!
[23:28:26] Slowpoke Attacks Scizor with Headbutt.
[23:28:26] It's not very effective!
[23:28:29] Scizor Attacks Slowpoke with False Swipe.
[23:28:29] Slowpoke Attacks Scizor with Water Gun.
[23:28:33] You throw a Great Ball.
[23:28:33] Pattern 1
[23:28:33] Battle Log
[23:28:33] =======================================
[23:28:33] Info | Shineys encountered: 0
[23:28:33] Info | Pokemon(s) encountered: 10 and Catched 5 Pokemon(s).
[23:28:33] Info | Total Earning: $0 ($0.0 average)
[23:28:33] Info | PokeDollars/Hour: $0
[23:28:33] Info | Exp/Hour 0
[23:28:33] Info | Balls remaining: 0 Pokeballs 193 Great Balls 0 Ultra Balls
[23:28:33] Info | Balls used: 0 Pokeballs 7 Great Balls 0 Ultra Balls
[23:28:33] =======================================
[23:28:33] Success! You caught Slowpoke!
Woriking, thank you very much  Big Grin Big Grin


Quick question , martlocation is the name of the market or the coordinates of the npc or market ?
Name of the mart
 
Reply
#16
Great work , very detailed thanks for sharing
 
Reply
#17
"Error during the execution of 'onStop': attempt to perform arithmetic on a nil value"

@ v road 3f with full hp and such..?
 
Reply
#18
(2016-08-27, 16:56:10)Rot "Error during the execution of 'onStop': attempt to perform arithmetic on a nil value"

@ v road 3f with full hp and such..?

that error is not a problem its just that is no value to return to the log
 
Reply
#19
everything works so far except it doesnt teach any of my pokemons any moves, missed out on alot of good ones now Sad

--supports up to 5 stops and mart, leave unused stops blank--
city = "Blackthorn City"
pokecenter = "Pokecenter Blackthorn"
stop1 = "Dragons Den Entrance"
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Dragons Den"
martLocation = "Blackthorn City Pokemart"

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 60
powerLevelingPokemon = "Floatzel"
powerLevelerIndex = 4

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 100000
buyBallType = "Pokeball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = false
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = "S Absol Mount"
surfMount = ""

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 29
rectX2 = 50
rectY1 = 29
rectY2 = 43


--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = false

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = false
syncName = "Kadabra"
moveUserIndex = 4
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Abra", "Squirtle", "Bulbasaur", "Charmander", "Dratini", "Dragonair", "Bagon"}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
movesNotToForget = {"Dragon Claw", "Psychic", "Night Slash", "X-Scissor", "Flame Burst", "Razor Wind", "Mean Look", "Earthquake", "Ice Beam", "Megahorn", "Wild charge", "Crunch", "Hyper Beam", "Dragon Dance", "Hydro Pump", "Air Slash", "FlameThrower", "Poison Jab", "Double-Edge", "Ice Fang", "Thunder Fang", "Fire Fang", "Play Rough", "Bite", "Covet", "Low Kick", "Quick Attack", "Ice Punch", "Thunder Punch", "Fire Punch", "Sky Uppercut", "Thunderbolt", "Thunder", "Thrash", "Horn Attack", "Nuzzle", "HeadButt", "False Swipe", "Fire Blast"}
 
Reply
#20
really? mine seems to learn moves check wether the move u wana learn is inside movesnottoforget sometimes it may overwrite the goodmove that is learned after a new move is availble
 
Reply
#21
(2016-08-27, 17:54:14)ToothBrush really? mine seems to learn moves check wether the move u wana learn is inside movesnottoforget sometimes it may overwrite the goodmove that is learned after a new move is availble

yeah, ive been trying it for awhile, and it havent learned any moves on any of my pokes, kinda sad cus my rare didnt get hydra pump Sad
 
Reply
#22
It seem to worked fine with lvl and normal catching but im having some issues with special catching , for some reason bot wont throw balls at it and stop .
[19:52:47] A Wild Krabby Attacks!
[19:52:52] Come Back, Alakazam!
[19:52:52] Go, Gallade!
[19:52:52] Krabby Attacks Gallade with Stomp.
[19:52:52] A Critical Hit!
[19:52:52] Gallade restored HP using Leftovers!
[19:52:54] Gallade Attacks Krabby with False Swipe.
[19:52:54] Krabby Attacks Gallade with Stomp.
[19:52:54] Gallade restored HP using Leftovers!
[19:53:04] No action executed: stopping the bot.
[19:53:04] Bot stopped

My configs

--supports up to 5 stops and mart, leave unused stops blank--
city = "Fortree City"
pokecenter = "Pokecenter Fortree City"
stop1 = "Route 119A"
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Route 119B"
martLocation = ""

-- Settings for Power Leveling weaker pokemon aka ExpShare --
--Turn this off if you want to use advanceCatching / onlyCatch--
powerLevel = false
stopAtLevel = 70
powerLevelingPokemon = "Charmander"
powerLevelerIndex = 3

--Buy features wont work on some maps because the npc is on a different cell / location--
--Settings for auto purchase--
buyBalls = false
MinMoney = 100000
buyBallType = "Pokeball"
MinBalls = 30
buyAmt = 1

-- Settings for escape rope --
-- NOTE: Only work on those maps that are able to use it --
-- NOTE: Won't Work when buyBalls is on --
useEscapeRope = true
autoRefill = false
minRopeAmt = 5
buyRopeAmt = 1

--Declare which mount u use / leave blank if no mount--
mount = "Latios Mount"
surfMount = "Lapras Mount"

--if no city, and pokecenter is on route, change this to true, and leave city blank--
pokecenterOnRoute = false

--Leave this true unless you are not fighting/catching in grass/water--
--Please set only one of the below to true if u want to look in grass or water then turn the other to false--
lookForGrass = false
lookForWater = true

--If the above is false, what rectangle do you want to walk within at your endLocation?--
--You can set an infinite number of patterns to walk in, this makes you appear more like an actual human!--
--just add a set of coordinates, and make sure its name is different from the rest, like the examples below--

rectX1 = 46
rectX2 = 46
rectY1 = 14
rectY2 = 19

rectXB1 = 45
rectXB2 = 48
rectYB1 = 19
rectYB2 = 19

rectXC1 = 46
rectXC2 = 46
rectYC1 = 19
rectYC2 = 22

rectXD1 = 47
rectXD2 = 47
rectYD1 = 19
rectYD2 = 22

rectXE1 = 45
rectXE2 = 47
rectYE1 = 15
rectYE2 = 15

--Do you want to catch shineys and uncaught pokemon?--
catchShineys = true

catchNotCaught = true

--Do you only want to catch pokemon, and not level?--
onlyCatch = true

--Advance Catching Settings--
--NOTE: Turn onlyCatch for best experience--
advanceCatching = true
syncName = "Alakazam"
moveUserIndex = 4
moveName = "False Swipe"

--Advance Catch without Sync for catching e.g. Abra--
--NOTE: Turn onlyCatch on for best experience --
useMoveOnly = false
useMovePokemon = "Golbat"
usingMove = "Mean Look"

--the below will be the percentage of your opponent's health we'll start throwing balls at--
--DEFAULT: 30--
percentToStartThrowing = 1
--DEFAULT: 50--
percentToStartThrowingIfShiny = 25

-- Currently In Progress --
useRod = false
rodType = "Old Rod"

--the below is case-sensitive, add more moves by adding commas. ex : onlyCatchThesePokemon = {"Pokemon 1", "Pokemon 2", "Pokemon 3"}--
--Even if you set all other capture variables to false, we'll still try to catch these/this pokemon--
--Leave an empty "" here if you aren't using it--
catchThesePokemon = {"Feebas", "Krabby", "Wingull", "Bulbasaur", "Charmander", "Dratini", "Dragonair"}


--the below will be the percentage of your last alive poke's health that we'll stop fighting at--
--DEFAULT: 50--
healthToRunAt = 45

--Level to stop levelling mons, set to a value over 100 if you are just catching and have a lvl 100 team--
levelPokesTo = 100

--the below is case-sensitive, add more moves by adding commas. ex : movesNotToForget = {"Move 1", "Move 2", "Move 3"}--
--Leave an empty "" here if you aren't using it--
 
Reply
#23
Hey man, nice work in "Ant Trap mode". Can you add this Ant trap mode in this script Seafoam B4F, i tried to add but is not work. look my try 

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.")
   trapped = false
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
        else
        if not trapped and (getActivePokemonNumber() > 5) then
                return run()
            elseif trapped == true then
               trapped = false
                return attack() or sendUsablePokemon()
            else
                return attack() or sendUsablePokemon() or run()
                end
            end
        end
    end




and now this is the working script. ty




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
#24
(2016-08-26, 13:33:03)Every time I try and launch the script i get the "Error during the execution of \onStop': attempt to perform arithmetic on a nil value" Error how can I fix this is what my config looks like this city = "Ecruteak City pokecenter = "Pokecenter Ecruteak"
stop1 = "Route 37"
stop2 = ""
stop3 = ""
stop4 = ""
stop5 = ""
endLocation = "Route 36"
martLocation = "Ecruteak Mart"
 
Reply
#25
@mutreta82 make sure u have enough ball even when u dont have enough ball they will run or attack hmmm

@fishjesus where does it stops @?
 
Reply
  


Forum Jump:


Browsing: 2 Guest(s)