Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

Pokemons doesn't attack #1089

Open Rodo1607 opened 1 year ago

Rodo1607 commented 1 year ago

Issue Description:

I can't fight wild pokemon because they don't attack each other

What happens:

At first everything was fine but from one day to another my pokemons stopped attacking wild pokemons (there is no fight). I can only fight against other trainers

What you expected to happen:

I hope they fight

Steps to reproduce:

  1. I throw the pokemon
  2. My pokemon sees the other but they don't attack

Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

Thutmose commented 1 year ago

see if this is fixed in 3.20.2? one of the fixes was for what pokemobs decide to target.

Note that your pokemobs will tend to not fight another pokemob if that other pokemob is guarding and egg, or if yours is trying to guard an egg

Rodo1607 commented 1 year ago

Now I download the new version and confirm. On the other hand, they don't want to fight in general.

Thutmose commented 1 year ago

I have tried combat, and for me it works as intended, except for when the enemy is guarding an egg.

Can you set debug_moves, debug_ai, debug_commands to true in pokecube-common.toml, then start the game, try a fight where it doesn't work, close the game, then send:

latest.log pokecube.log thutcore.log debug.log (if it exists)

those files should be in the logs folder

Rodo1607 commented 1 year ago

How can i configure that?

Thutmose commented 1 year ago

in the config folder, there should be a pokecube folder, then the file is in there, you can edit it with any normal text editor, like notepad, nano, etc

Thutmose commented 1 year ago

See if 3.20.3 fixes it, it was just uploaded, but should be available on curseforge at some point

Rodo1607 commented 1 year ago

I will wait for it to be available

Thutmose commented 1 year ago

it should be up now, let me know if it helps any

Rodo1607 commented 1 year ago

It keeps happening, could you explain to me how to modify the folders, please? or should I reinstall everything?

Thutmose commented 1 year ago

there should be a "config" folder, same place as the "mods" folder that the mod jars go in.

Inside that folder, should be a "pokecube" folder, containing the relevant file, pokecube-common.toml, which you can edit with an text editor.

Look in there for the debug options, change false to true, then: