Hello There, Guest! Login Register


Catch and Release
#26
(2016-12-28, 21:52:56)Zonz
(2016-12-28, 14:05:32)a 7 fold Starts up fine, doesn't move or do anything, then stops after 8-10 seconds saying, "no action executed: stopping the bot."
Can anyone help?

Route 111 is a desert area, but in your config you've set it to hunt in grass. You'll need to define at least one rectangle to hunt in, for morning, day, and night.

Ya I figured that out, on the bot it had 'grassy' areas so I figured that'd work.
I setup the rectangles and it works flawlessly. Thanks a lot!
 
Reply
#27
Can't get the script to hunt Goodra in Dragons Den B1F.

Show Contentconfig:

Show Contenterror::

Does that mean Dragons Den B1F isn't supported by pathfinder?
 
Reply
#28
ola sou do Brasil, tentei entender os scripts mas achei muito confuso, não tenho noção de programação, tentei varios scripts para capturar evee em kanto safari, não consegui, um deles ficava apenas na area 1 e o evee é na area 3, alguem poderia me ajudar ajeitando um script para entrar no safari ir na area 3 com sync no 1 slot e sleep power ou hypnosis no segundo pra deixar dormindo e jogar pokebola quando acabar tempo do safari ir ate pokecenter e retornar para safari...
alguem pode me ajudar Huh


Obrigado
 
Reply
#29
When would it runs to release poke......? It never check the pc except finding surf/cut poke...Sad
 
Reply
#30
It checks your PC every time it goes to the Pokecenter to heal.
 
Reply
#31
After 20 days waiting for a Zonz response about my suggestions and not a single response yet Sad I tried fix for myself this script from 3 days ago and I added new stuff and I fixed a few things:
  • Added support for ignore fswipe on all ghost type pokes (they are immune).
  • fixed farm/farming bugs when is enabled, pokes was using fswipe as attack move instead going to pokecenter when the another moves dont have PP (I reworked the hasGoodMoves function because it's not working 100%).
  • reduced log spam when farming is enabled and active.
  • Added and fixed submaps/exceptions for some zones in pathfinder.
  • Script is using now pf.moveToMapCell instead pf.moveTo when possible (if type(area) is not an string). It's much better for a zones with many submaps/exceptions and floors because default moveToCell or pf.moveTo are not working on these zones.
  • Reduced come back to pokecenter for heal pokes when weakmoveuser or sync poke is dead (<1% health) instead < 30% health.
I want to add a few things more and I will upload the reworked script if you want guys. I would like add support for multi fswipe on the party, I use 3-5 fswipe pokes not only 1 and script is running to pokecenter after 1 fswiper is dead or without PPs, I would like use more fswipers, not only one, It would be much more eficient. I hope Zonz can help me but he never respond me :S

Thanks anyways for the script.
 
Reply
#32
Sorry about my lack of response, prolol. I've been planning on rewriting most of the script when Silv3r updates the bot again, so I was reluctant to make any huge changes until then.
  • Instead of using False Swipe as your weakMove against ghost types, you could opt to use Dragon Rage instead, or really any move that you think won't kill them.
  • I'd like to see your fixes to hasGoodMoves if you don't mind sharing
  • farming log spam should be an easy fix
  • If you actually did fix Pathfinder, you should make a pull request here.
  • I'd like to see the moveToArea fixes too
  • I made it return at 30% so that it would still be alive on the return trip, in case you encountered anything useful on the way to the Pokecenter.
Multiple False Swipers seems like something very few people would be interested in. I for one have never had more than one at the same time; I'd rather have HM slaves and more Syncs in my party. It would be possible to code in multiple swipers, but I can tell you I don't think it would be easy.
 
Reply
#33
(2017-01-08, 17:06:52)Zonz Sorry about my lack of response, prolol. I've been planning on rewriting most of the script when Silv3r updates the bot again, so I was reluctant to make any huge changes until then.
  • Instead of using False Swipe as your weakMove against ghost types, you could opt to use Dragon Rage instead, or really any move that you think won't kill them.
  • I'd like to see your fixes to hasGoodMoves if you don't mind sharing
  • farming log spam should be an easy fix
  • If you actually did fix Pathfinder, you should make a pull request here.
  • I'd like to see the moveToArea fixes too
  • I made it return at 30% so that it would still be alive on the return trip, in case you encountered anything useful on the way to the Pokecenter.
Multiple False Swipers seems like something very few people would be interested in. I for one have never had more than one at the same time; I'd rather have HM slaves and more Syncs in my party. It would be possible to code in multiple swipers, but I can tell you I don't think it would be easy.

Ah ok mate thanks for the response Wink  I will send you a PM with my catch and release version if you want check and test for your future rewrite.

EDIT: I sent you a PM with the download link and my changes to the script, this need more testing and will have bugs, I only tested in a 2-3 places.

EDIT2: I saw another bug with toTitleCase function for map names and the fix with "mansion" word. All zone maps with upper cases not on the first letter will convert to lower case and script will throw an error (example B1F floors).

"Mt. Moon B1F" will change to "Mt. Moon B1f" and:

Error during the script execution: Pathfinder/Lib/MoveTo/MoveTo.lua:(205,18-86): Pathfinder -> Requested dest does not exist in the map : Mt. Moon B1f
 
Reply
#34
I am new to this script business I do not know how to edit or anything I would like help with how I use this catch and release script?
 
Reply
#35
You'll need to open config.lua in any text editor. Notepad++ is preferred by most, but regular Notepad will work as well. Everything in config.lua is commented, so it's easy to know what you need to change.
 
Reply
#36
You do not have a good setup to pass me, do not you?
 
Reply
#37
Everyone's config will be different according to how they want the script to do things. There's really no such thing as a "good" setup.
 
Reply
#38
But would not have to pass your configuration to me tests or has video explaining how I edit the script
 
Reply
#39
Ces trop difficile dommage j attend la mise à jour avec impatience.. ?
 
Reply
#40
Open config.lua and read the contents. You'll be amazed at what happens when you read things.
 
Reply
#41
There is no video explaining how to edit I have never worked with this.
 
Reply
#42
Dear Zonz,
I have set farm to true and farmer=0 which means attack which whatever Pokemon happens to be out , according to your config file.  But when the bot start it said "error getPokemonMove : tried to retrieve the non-existing pokemomn 0" . Do you have any suggest to fix ? Every else is great except this. Thank for making a good script. Below is my config file

------------------------ Config --------------------------

-- Weak move name - False Swipe, Dragon Rage, Sonicboom, etc.   ---   Use "" if you don't wish to damage opponents before catching them
weakMove = "Super Fang"

-- Name of status move - Spore, Hypnosis, Thunder Wave, etc.   ---   Use "" if you don't wish to afflict opponents with a status before catching them
statusMove = "Thunder Wave"

-- Use Role Play when catching Pokémon? - Will check the Pokémon in catchList for the abilities listed in the abilities table
useRolePlay = false

-- Do ALL of our Sync Pokémon (morningSync, daySync, and nightSync) have Role Play?   ---   ignore this if useRolePlay = false
rolePlayAsWell = false

-- Sync nature to use during morning
morningSync = "Timid"

-- Sync nature to use during daytime
daySync = "Timid"

-- Sync nature to use during nighttime
nightSync = "Timid"

-- Minimum level for our Sync Pokémon - used when we retrieve it from the PC
minSyncLevel = 40

-- List of Pokémon to catch, and release the bad ones
catchList = { "Electabuzz"}

-- List of Pokémon to catch that will not get released under any circumstances
-- Also will not use Role Play on these Pokémon
exceptionCatches = { "Bulbasaur", "Charmander", "Squirtle", "Larvitar","Shellder" }

-- Release Pokémon with the wrong nature?
tossWrongNature = true

-- The natures you want to keep - ignore this if tossWrongNature = false
natures = { "Timid"}

-- Minimum IV's   ---   Order is Attack, Defence, SpAttack, SpDefence, Speed, HP   ---   use 0 to not check against a particular IV
minIVs = {0, 0, 30, 0, 30, 20}

-- Release Pokémon with the wrong ability?
tossWrongAbility = true

-- The abilities to look for - Used for Role Play even if tossWrongAbility = false   ---   if tossWrongAbility = true, Pokémon in catchList without one of these abilities will get released
abilities = {"Vital Spirit"}

-- Release Pokémon with the wrong Hidden Power type?
tossWrongHP = false

-- Hidden Power types to look for - ignore this if tossWrongHP = false   ---   Remember that any Pokémon in catchList without one of these HP types will get released, so be careful
hpTypes = { "Fire" }

-- Attack Pokémon that we're not catching?
farm = true

-- If farm = true, this is the index of the Pokémon will get sent out to fight, instead of fighting with your Sync Pokémon
-- Set to 0 to just attack with whatever Pokémon happens to be out
farmer = 0

-- If farm = true, we will only attack Pokémon that give this EV - "HP", "ATK", "DEF", "SPATK", "SPDEF", or "SPD"   ---   use "", nil, or false to attack everything
evToTrain = ""

-- Use items to heal our Pokémon instead of going to the Pokécenter to heal? - Useful for the Safari Zone or the Moon
useItems = false

-- Names of items to use   ---   {Reviving, Healing, Restoring PP, Paralysis, Poison}   ---   Use "" for a particular item to never use that type
items = {"Revive", "Hyper Potion", "Leppa Berry", "Lum Berry", "Lum Berry"}

-- Head to the Pokécenter when one of our Pokémon is Paralyzed or Poisoned?
healWhenStatused = true

-- Catch Pokémon we've never caught before?
catchNotCaught = true

-- Auto-evolve Pokémon?
autoEvolve = false

-- Enable private messaging?
enableMessages = false

-- Hunting location for morning time - Hour >= 4 and Hour < 10
morningMap = "Power Plant"

-- The type of hunting area for morning time - use "Grass", "Water", {x1, y1, x2, y2} - use {x, y} to set the cell to go to for fishing
-- If you're using a rectangle, you can set more rectangles to hunt in just by adding 4 more parameters
-- for example: morningArea = {ax1, ay1, ax2, ay2,
--                               bx1, by1, bx2, by2,
--                               cx1, cy1, cx2, cy2} etcetera, as many as you like
morningArea = {3,31,3,36,
               4,31,4,36,
               5,31,5,36,
               6,31,6,36}

-- Daytime location - Hour >= 10 and Hour < 20
dayMap = "Power Plant"
-- Daytime hunting area - "Grass", "Water", {x, y}, or {x1, y1, x2, y2}, multiple rectangles are fine
dayArea =      {3,31,3,36,
               4,31,4,36,
               5,31,5,36,
               6,31,6,36}

-- Nighttime location - Hour >= 20 or Hour < 4
nightMap = "Power Plant"

-- Nighttime hunting area - "Grass", "Water", {x, y}, or {x1, y1, x2, y2}, multiple rectangles are fine
nightArea =      {3,31,3,36,
               4,31,4,36,
               5,31,5,36,
               6,31,6,36}
-- If you're using multiple rectangles, this is the amount of time in minutes that we'll hunt in one of them before picking the next one at random
minutesToMove = 30

-- Name of the rod you're going to use if you're fishing
rod = "Old rod"

-- The type of Pokeball to use - "Pokeball", "Great Ball", or "Ultra Ball"
ballType = "Pokeball"

-- Minimum number of balls to keep - if we have less than this number, we go buy some   ---   use 0 to forget about this
ballMin = 10

-- Number of balls to buy when we go to the the mart
buyAmount = 50

-- Minimum amount of money to start farming at - useful if you're using the Safari Zone a lot - set to 0 to never farm for money
minMoney = 1000


-- If minMoney = 0, ignore everything below this point


-- Minimum amount of money to stop farming at
moneyStop = 3000

-- Index of Pokémon to farm with when our money gets too low - set to 0 to just fight with anything
farmerId = 3

-- If we have less money than minMoney, we will only attack Pokémon that give this EV - "HP", "ATK", "DEF", "SPATK", "SPDEF", or "SPD"   ---   use "", nil, or false to attack everything
farmingEV = ""

-- Location to farm in when our money gets too low - Not an optional setting - if you won't ever farm, just leave this value alone
farmMap = "Route 10"

-- Hunting area for farming - "Grass", "Water", {x, y}, or {x1, y1, x2, y2}, multiple rectangles are fine  - Not an optional setting - if you won't ever farm, just leave this value alone
farmArea = "Grass"

-------------------------------------------------------
 
Reply
#43
Can you tell me exactly what the bot was doing when this happened? The log would help a lot too.
 
Reply
#44
Im sorry i cannot access to my computer right now. The bot is switch pokemon endlessly when my pokemon with farmerId dead. As an example : my team consist of 6 pokemons which are natu stanler rattata snorlax tentacool and diglert and i put farmerId = 3 means rattata. But when ratata died the bot switch others endlessly until they died without attack the opponent. Thank you.
 
Reply
#45
Change line 1060 to this and see if that fixes it.

return sendPokemon(farmer) or run() or sendUsablePokemon()
 
Reply
#46
(2017-01-15, 06:23:44)Zonz Change line 1060 to this and see if that fixes it.

return sendPokemon(farmer) or run() or sendUsablePokemon()
Okay i will try and reply after. Thanks for quick support
 
Reply
#47
Dear Zonz,
I have edit like you said beside make another change to your script. After that the script work well, the player still attack wild pokemon by throwing another usable one instead of run away. Here is what i have change to your script : (from line 1060 to 1073 Smile) ). Thank you and please forgive my mistake bcs it is the first time i write a script using lua. Thanks again.
if isPokemonUsable(farmer) then
                    if farmer > 0 and getActivePokemonNumber() != farmer then
                        pokemonHealth = 0
                        return sendPokemon(farmer) or run() or sendUsablePokemon()()                        -- Sending farmer
                    else
                        return attack() or run() or sendUsablePokemon()                                    -- Murdering the cute little Pokémon
                    end
                else
                    return  attack() or sendUsablePokemon() or run()
                end
            else                                                                                    -- Gonna let it live
                return run() or attack() or sendUsablePokemon()
            end
        end
    end
end
 
Reply
#48
This is amazing! Thank you so much for this, you honestly don't know how much this has helped me in my productivity knowing that I have your script running at home. Had it run flawlessly for 5 hours (made precautions just in case I got banned). Again, thank you so much! Big GrinDDDDDDDDDDDDDDDD

(2017-01-11, 21:24:17)joaofns There is no video explaining how to edit I have never worked with this.

Everything I'm going to mention is in the Tutorial Forums
-------
0. If you haven't installed Notepad++ you should probably do that working with any type of writing scripts or programming.
1. Download the files from the Forum 
2. Download PathFinder which is given in the beginning post as well
3. Drag the files from the Catch and Relase.zip in to the PathFinder folder
4. Open "config" using notepad++
5. Enter values for the actions you want to happen
6. Load up Proshine 
7. Select "Catch and Release" file NOT config
8. Enjoy!

(THIS IS ALL ASSUMING YOU KNOW HOW TO READ AND HOW TO USE PROSHINE)
 
Reply
#49
Mdr je vais essayer alors sa a l'air tellement bien expliquer mes pourquoi ne métter vous pas un lien direct

C en anglais et moi français lol j arrive pas à comprendre les crypte j abandonne
 
Reply
#50
(2017-01-17, 15:15:46)play4zeta This is amazing! Thank you so much for this, you honestly don't know how much this has helped me in my productivity knowing that I have your script running at home. Had it run flawlessly for 5 hours (made precautions just in case I got banned). Again, thank you so much! Big GrinDDDDDDDDDDDDDDDD

(2017-01-11, 21:24:17)joaofns There is no video explaining how to edit I have never worked with this.

Everything I'm going to mention is in the Tutorial Forums
-------
0. If you haven't installed Notepad++ you should probably do that working with any type of writing scripts or programming.
1. Download the files from the Forum 
2. Download PathFinder which is given in the beginning post as well
3. Drag the files from the Catch and Relase.zip in to the PathFinder folder
4. Open "config" using notepad++
5. Enter values for the actions you want to happen
6. Load up Proshine 
7. Select "Catch and Release" file NOT config
8. Enjoy!

(THIS IS ALL ASSUMING YOU KNOW HOW TO READ AND HOW TO USE PROSHINE)
It's great to hear this. Actually I have found a bug and i dont know hơ to fix it. The bot will stop when 5 pkm faint and another dont have atk move (run out of pp on the atk move). I will try my best. I think you have to say thank to Zonz - the scrypt owner.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)