Advertiser Content

Ego13

hollow_ego

Male
Larua Region
Seen 9 Hours Ago
Posted 3 Weeks Ago
303 posts
2.2 Years
When using Spite it raises the following error message

Spoiler:

Exception: NoMethodError

Message: undefined method `pbSetPP' for # < PokeBattle_Move_10E:0xc73ecb8 >
PokeBattle_MoveEffects:7862:in `pbEffect'
PokeBattle_MoveEffects:7858:in `each'
PokeBattle_MoveEffects:7858:in `pbEffect'
PokeBattle_Battler:2931:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:2887:in `each'
PokeBattle_Battler:2887:in `pbProcessMoveAgainstTarget'
PokeBattle_Battler:3365:in `pbUseMove'
PokeBattle_Battler:3345:in `loop'
PokeBattle_Battler:3368:in `pbUseMove'
PokeBattle_Battler:3566:in `pbProcessTurn'


to fix this:
In Script Section PokeBattle_MoveEffects find
################################################################################
# Target's last move used loses 4 PP. (Spite)
################################################################################
class PokeBattle_Move_10E < PokeBattle_Move
  def pbEffect(attacker,opponent,hitnum=0,alltargets=nil,showanimation=true)
    for i in opponent.moves
      if i.id==opponent.lastMoveUsed && i.id>0 && i.pp>0
        pbShowAnimation(@id,attacker,opponent,hitnum,alltargets,showanimation)
        reduction=[4,i.pp].min
        pbSetPP(i,i.pp-reduction)
        @battle.pbDisplay(_INTL("It reduced the PP of {1}'s {2} by {3}!",opponent.pbThis(true),i.name,reduction))
        return 0
      end
    end
    @battle.pbDisplay(_INTL("But it failed!"))
    return -1
  end
end
and change this
pbSetPP(i,i.pp-reduction)
to
opponent.pbSetPP(i,i.pp-reduction)
Looking for spriters to help with

Pokemon Hollow on pokecommunity.com

Maruno

Lead Dev of Pokémon Essentials

England
Seen 5 Days Ago
Posted September 2nd, 2019
5,185 posts
11.7 Years
In Essentials 17.1, if you use an accented e () for move or ability descriptions, it doesn't appear and ends up making words like Caf and Pokmon. Possibly affects more areas but seems to work alright in the main menu.
I'm looking at v17.1, and accented characters in move/ability descriptions definitely DO display properly.
Go to the Essentials Docs Wiki

Essentials Docs Wiki

Follow me on Twitter: @maruno42


Arkadious

Developer of Fragmentum

Age 22
Male
New Zealand
Seen July 18th, 2019
Posted October 9th, 2017
50 posts
3.9 Years
I'm looking at v17.1, and accented characters in move/ability descriptions definitely DO display properly.
I just redownloaded it and yeah, you're right. Go figure. I must've touched something without realising.
Edit: I found out what it was, I'd accidentally changed the encoding of the Abilities PBS file. Didn't even realise that could even affect it.

p.claydon

Female
Seen August 16th, 2019
Posted August 13th, 2019
392 posts
8.8 Years
unmodded 17.2
when cathing gensect and keldo it provides an error

Spoiler:

[Pokémon Essentials version 17.2]
Exception: TypeError
Message: cannot convert false into Integer
PSystem_Utilities:855:in `[]'
PSystem_Utilities:855:in `pbGetFSpeciesFromForm'
Pokemon_Forms:28:in `fSpecies'
PokeBattle_Pokemon:850:in `baseStats'
PokeBattle_Pokemon:886:in `calcStats'
PokeBattle_Battler:483:in `pbUpdate'
PokeBattle_Battler:947:in `pbResetForm'
PokeBattle_Battle:4024:in `pbEndOfBattle'
PokeBattle_Battle:4023:in `each'
PokeBattle_Battle:4023:in `pbEndOfBattle'
Still learning how to sprite but if you want to look at my progress then here you go
http://pclaydon.deviantart.com/gallery/
Male
Seen July 24th, 2019
Posted May 31st, 2019
30 posts
3.6 Years
Hi, I am new in this forum. I am currently using version 17.1 though I tweak some items, skills and abilities and global switches. There seems to be a glitch when after I defeated all the opponent pokemon in a double battle, the battle still continue.

Please help, heres the image in the document (hope it can display) after I defeat the opponents. I could not escape the battle as I forced this battle to be unescapable and uncatchable. I allow this battle to be able to win or lose this match. If I lose, everything goes well as I planned. But, if win this happens.


There is also no error message or debug message unless if I attack. An error display no target observed and then the battle continues.

Spoiler:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: No targets somehow...

EliteBattle_UI:1235:in `pbChooseTarget'

PokeBattle_Battle:2764:in `pbCommandPhase_ebs'

PokeBattle_Battle:2741:in `loop'

PokeBattle_Battle:2842:in `pbCommandPhase_ebs'

PokeBattle_Battle:2730:in `each'

PokeBattle_Battle:2730:in `pbCommandPhase_ebs'

EliteBattle_Battle:294:in `pbCommandPhase'

EliteBattle_Battle:224:in `pbStartBattleCore'

EliteBattle_Battle:223:in `logonerr'

EliteBattle_Battle:223:in `pbStartBattleCore'

EliteBattle_Battle:215:in `loop'

EliteBattle_Battle:237:in `pbStartBattleCore'

PokeBattle_Battle:2483:in `pbStartBattle'

PField_Field:987:in `pbDoubleWildBattle'

PField_Field:986:in `pbSceneStandby'

PField_Field:988:in `pbDoubleWildBattle'

PField_Field:985:in `pbBattleAnimation'

PField_Field:985:in `pbDoubleWildBattle'

(eval):1:in `pbExecuteScript'

Interpreter:794:in `eval'

Interpreter:243:in `pbExecuteScript'

Interpreter:794:in `command_111'

Interpreter:320:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'



This exception was logged in

C:\Users\tan\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

p.claydon

Female
Seen August 16th, 2019
Posted August 13th, 2019
392 posts
8.8 Years
is there any news on how to fix the crash error caused by capturing certain multiple form pokemon such as genesect and deerling

reported here
https://www.pokecommunity.com/showthread.php?p=9813994#post9813994
Still learning how to sprite but if you want to look at my progress then here you go
http://pclaydon.deviantart.com/gallery/

FL

Pokémon Island Creator

Male
Seen 1 Day Ago
Posted 1 Day Ago
1,808 posts
9.1 Years
The line 'textpos.push(["Cost: $#{pbDayCareCost(i)}",8+i*Graphics.width/2,y,0,base,shadow])' crashes the game, since there is no pbDayCareCost. You can access this crash depositing a pokémon on Day Care using debug.

The phrase: "Do you want to delete the save file and start anew?".

A very small detail: The text saying "None" about a pokémon item on summary was a different color on eggs. The label is a little mispositioned too.

p.claydon

Female
Seen August 16th, 2019
Posted August 13th, 2019
392 posts
8.8 Years
quick update to the caputre error it looks like the bug seems to be somewere within the battle generating code or something because if you give the player one of the erroneous pokemon they can use that pokemon in a battle but if you capture a wild pokemon that pokemon is unusable
Still learning how to sprite but if you want to look at my progress then here you go
http://pclaydon.deviantart.com/gallery/
Seen February 11th, 2019
Posted December 19th, 2018
30 posts
3.9 Years
I'm getting this error after capturing a Shaymin with a Master Ball

Spoiler:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17]

Exception: TypeError

Message: cannot convert false into Integer

PSystem_Utilities:855:in `[]'

PSystem_Utilities:855:in `pbGetFSpeciesFromForm'

Pokemon_Forms:28:in `fSpecies'

PokeBattle_Pokemon:848:in `baseStats'

PokeBattle_Pokemon:884:in `calcStats'

PokeBattle_Battler:483:in `pbUpdate'

PokeBattle_Battler:945:in `pbResetForm'

PokeBattle_Battle:4024:in `pbEndOfBattle'

PokeBattle_Battle:4023:in `each'

PokeBattle_Battle:4023:in `pbEndOfBattle'



This exception was logged in

C:\Users\Jol the Hedgehog\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------

Vendily

Female
Seen 3 Hours Ago
Posted 3 Hours Ago
955 posts
4.2 Years
is there any news on how to fix the crash error caused by capturing certain multiple form pokemon such as genesect and deerling

reported here
https://www.pokecommunity.com/showthread.php?p=9813994#post9813994


I'm getting this error after capturing a Shaymin with a Master Ball

Spoiler:
---------------------------
Pokemon Essentials
---------------------------
[Pokémon Essentials version 17]

Exception: TypeError

Message: cannot convert false into Integer

PSystem_Utilities:855:in `[]'

PSystem_Utilities:855:in `pbGetFSpeciesFromForm'

Pokemon_Forms:28:in `fSpecies'

PokeBattle_Pokemon:848:in `baseStats'

PokeBattle_Pokemon:884:in `calcStats'

PokeBattle_Battler:483:in `pbUpdate'

PokeBattle_Battler:945:in `pbResetForm'

PokeBattle_Battle:4024:in `pbEndOfBattle'

PokeBattle_Battle:4023:in `each'

PokeBattle_Battle:4023:in `pbEndOfBattle'



This exception was logged in

C:\Users\Jol the Hedgehog\Saved Games\Pokemon Essentials\errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Fortunately, This is a known issue that has a fix.
https://essentialsdocs.wikia.com/d/p/3100000000000000033/r/3085673425470174620
If the link doesn't work correctly, look at Maruno's reply.

Seen 8 Hours Ago
Posted 2 Weeks Ago
57 posts
1.9 Years
In my version off 17.2 that i downloaded electric pokemon can be paralyzed... it seems to not get fix in pokebattler_battleeffects since even if i copy paste that script into a project that paralysis works fine it will keep working the same way...
So what's going on?
EDIT: I edit to say that USENEWBATTLEMECHANICS was in false in settings. All ok now.

clawort

Male
Australia
Seen June 16th, 2019
Posted June 16th, 2019
82 posts
231 Days
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `<' for nil:NilClass
Pokemon_Forms:483
Pokemon_Forms:482:in `call'
Pokemon_Forms:95:in `call'
Pokemon_Forms:7:in `form'
Pokemon_Forms:28:in `fSpecies'
PokeBattle_Pokemon:850:in `baseStats'
PokeBattle_Pokemon:886:in `calcStats'
PokeBattle_Pokemon:967:in `__mf_initialize'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'

juliorain

Male
USA
Seen 6 Days Ago
Posted 1 Week Ago
1,638 posts
3.2 Years
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `<' for nil:NilClass
Pokemon_Forms:483
Pokemon_Forms:482:in `call'
Pokemon_Forms:95:in `call'
Pokemon_Forms:7:in `form'
Pokemon_Forms:28:in `fSpecies'
PokeBattle_Pokemon:850:in `baseStats'
PokeBattle_Pokemon:886:in `calcStats'
PokeBattle_Pokemon:967:in `__mf_initialize'
Pokemon_Forms:43:in `initialize'
PSystem_PokemonUtilities:79:in `new'
this doesn't seem like a base essentials error. This seems like an error done based on incorrect coding. What does the specific block say?

juliorain

Male
USA
Seen 6 Days Ago
Posted 1 Week Ago
1,638 posts
3.2 Years
What specific block?
whetever is on the Pokemon_Forms script line 483

juliorain

Male
USA
Seen 6 Days Ago
Posted 1 Week Ago
1,638 posts
3.2 Years
Oh!
Here:
Spoiler:
next 2 if pokemon.happiness<1
that isn't a base essential error. Please defer to your thread.

mgriffin

Seen 2 Hours Ago
Posted 13 Hours Ago
705 posts
5.5 Years
Uh, what?
Julio means you have this thread that appears to be discussing the exact same error that you posted here, and because this is an error that was caused by modifying Essentials' code it doesn't belong in this thread (this thread is only for errors that occur without changing any code).

clawort

Male
Australia
Seen June 16th, 2019
Posted June 16th, 2019
82 posts
231 Days
Julio means you have this thread that appears to be discussing the exact same error that you posted here, and because this is an error that was caused by modifying Essentials' code it doesn't belong in this thread (this thread is only for errors that occur without changing any code).
Okay!

fauno

Non-binary
Brazil
Seen 2 Weeks Ago
Posted July 4th, 2019
22 posts
2 Years
Spoiler:
Hi~

Well, I do not know exactly if someone has reported this bug, but it seems to me, when you sell a certain item, the list of items is not updated, only visually. Example: I sold the last item in my bag, the final option should be updated to "Close Bag", however this does not happen visually, it still shows the information of the item sold, but if I confirm or press the C button, Close Bag "happens normally. I tried updating the scene of selling items manually by calling several "refresh", but it also did not work.


~~Edit~~

Can someone how to fix it?

Ty~

So Vendily help me to fix it, with the code:

So I've never really done this stuff before, but around here-ish (Line 782 in PScreen_Mart)
pbDisplayPaused(_INTL("Turned over the {1} and received ${2}.",itemname,pbCommaNumber(price)))
You'll want to stick in
@scene.pbRefresh
But, we are not done yet. In class PokemonMart_Scene, replace this method.
  def pbRefresh
    if !@subscene
      itemwindow=@sprites["itemwindow"]
      @sprites["icon"].item=itemwindow.item
      @sprites["itemtextwindow"].text=(itemwindow.item==0) ? _INTL("Quit shopping.") :
         @adapter.getDescription(itemwindow.item)
      itemwindow.refresh
    else # This line is new
      @subscene.pbRefresh # So is this one
    end
    @sprites["moneywindow"].text=_INTL("Money:\n<r>${1}",pbCommaNumber(@adapter.getMoney))
  end

fauno

Non-binary
Brazil
Seen 2 Weeks Ago
Posted July 4th, 2019
22 posts
2 Years
I found another bug about Mega Evo, this time I notice that if: the player is in a double battle and activate the mega evolution button, then choose a target to attack, but cancel the choice, the mega evolution button does not reappear, however the mega pokémon normally evolves. It's more of a visual mistake.
Advertiser Content