• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Error with Bug Bite

73
Posts
8
Years
  • Now, as the title says above, yes. something can't stop moving. and guess who that is? my enemy's sewaddle, every time it uses bug bite. It strikes: ERROR message pops up, than look again, IT USES THE ATTACK AGAIN! then, it keeps spamming bug bite and the error message, WHICH KILLED ME, EVEN THOUGH I WAS A THROH, AND IT LOST ALL OF IT'S PP!!! nevertheless, this wasn't the first time i had this incident. I started my 1st edition to my pokemon game, and guess what? same little error to bug bite, AND i'm pretty sure maybe flamethrower. anyway, it ticked me off SO MUCH that i did a fresh start on my pokemon game, FROM THE FRICKING BEGINNING. and, if you don't know, THAT SUX. now, the SAME GLITCH is happening AGAIN, so i wish to find a way to fix it, to every single move, not just bug bite. ples, whoever fixes this, i will be gr8ful.

    (Please, someone out there who knows how to fix it, please, don't just sit there, send me it. :D )
     
    Last edited by a moderator:

    Zeak6464

    Zeak #3205 - Discord
    1,101
    Posts
    11
    Years
  • Post the error your getting so we can fix it.
    Can't fix what we don't see.
     
    73
    Posts
    8
    Years
  • Sorry, I thought this was a rather frequently recievied error, here:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NameError

    Message: undefined local variable or method `ret' for #<PokeBattle_Move_0F4:0xd048a78>

    PokeBattle_MoveEffects:6851:in `pbEffectAfterHit'

    PokeBattle_Battler:2841:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:3149:in `pbUseMove'

    PokeBattle_Battler:3129:in `loop'

    PokeBattle_Battler:3152:in `pbUseMove'

    PokeBattle_Battler:3348:in `pbProcessTurn'

    PokeBattle_Battler:3347:in `logonerr'

    PokeBattle_Battler:3347:in `pbProcessTurn'

    PokeBattle_Battle:2944:in `pbAttackPhase'

    PokeBattle_Battle:2941:in `each'



    This exception was logged in

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

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

    THERES THE CODE.
     
    1,224
    Posts
    10
    Years
  • Title your questions appropriately please. I've fixed this one already. Titles should indicate clearly what (from what you can tell) your problem is. As should the initial post.
    Express what the error is, when it occurs, what you've tried to fix it, if you have any custom scripts (does this error occur on a clean version of Essentials?), what version of Essentials you're using for that matter, etc.
    Try to provide as much information as clearly as you can.
    An angry rant about an error only detracts from your actual purpose, which is to receive help fixing it.
     
    73
    Posts
    8
    Years
  • mej71 said:
    An angry rant about an error only detracts from your actual purpose, which is to receive help fixing it.

    Sorry, it won't happen again. To say this correctly, I need a way to fix this error:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NameError

    Message: undefined local variable or method `ret' for #<PokeBattle_Move_0F4:0xd048a78>

    PokeBattle_MoveEffects:6851:in `pbEffectAfterHit'

    PokeBattle_Battler:2841:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:3149:in `pbUseMove'

    PokeBattle_Battler:3129:in `loop'

    PokeBattle_Battler:3152:in `pbUseMove'

    PokeBattle_Battler:3348:in `pbProcessTurn'

    PokeBattle_Battler:3347:in `logonerr'

    PokeBattle_Battler:3347:in `pbProcessTurn'

    PokeBattle_Battle:2944:in `pbAttackPhase'

    PokeBattle_Battle:2941:in `each'



    This exception was logged in

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

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

    But, I've noticed there is plenty more than just that move to fix. Is there a way to fix them all at once, or is it like a one-at-a-time type thing?
     
    87
    Posts
    8
    Years
    • Seen Jul 24, 2016
    Sorry, it won't happen again. To say this correctly, I need a way to fix this error:

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NameError

    Message: undefined local variable or method `ret' for #<PokeBattle_Move_0F4:0xd048a78>

    PokeBattle_MoveEffects:6851:in `pbEffectAfterHit'

    PokeBattle_Battler:2841:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:3149:in `pbUseMove'

    PokeBattle_Battler:3129:in `loop'

    PokeBattle_Battler:3152:in `pbUseMove'

    PokeBattle_Battler:3348:in `pbProcessTurn'

    PokeBattle_Battler:3347:in `logonerr'

    PokeBattle_Battler:3347:in `pbProcessTurn'

    PokeBattle_Battle:2944:in `pbAttackPhase'

    PokeBattle_Battle:2941:in `each'



    This exception was logged in

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

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

    But, I've noticed there is plenty more than just that move to fix. Is there a way to fix them all at once, or is it like a one-at-a-time type thing?

    I guess that problem is supposed to be fix in the last version of essentials...What version do you use?
    BTW this may help http://www.pokecommunity.com/showthread.php?t=361718
     
    87
    Posts
    8
    Years
    • Seen Jul 24, 2016
    Well, I'm nearly certain I use 16.


    Sorry, 16.1.
    Yes, essentials had this problem in 16.1. It was fixed in 16.2 though. The link I gave you earlier has a solution that will solve the problem...or just upgrade it to the last version properly (recommended).
     
    Back
    Top