Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old December 24th, 2012 (8:02 AM). Edited December 24th, 2012 by Kunoichi.
Kunoichi's Avatar
Kunoichi Kunoichi is offline
The one who dreams alone
     
    Join Date: Jun 2006
    Location: England
    Age: 27
    Nature: Mild
    Posts: 45
    I am really stuck on how to make dependent events work. I have tried for the entire day to figure out why this little bit of code won't work for me.

    All I want is for one character to follow and help the main player. I have read the Pokemon essentials Wikia page and it still doesn't make sense. T_T

    I've tried making new trainer types, new encounters, replacing some of the older trainers/types... It's just a big mess.

    I'm using the newest version of the starter kit (December 23rd).

    I keep getting error messages:

    Spoiler:

    Code:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    
    Message: Script error within event 12, map 5 (Route 1):
    
    Exception: SyntaxError
    
    Message: (eval):4:in `pbExecuteScript'compile error
    (eval):3: syntax error
    
    ***Line '(PBTrainers::Pokemontrainer_Leaf,"Ita' shouldn't begin with '('. Try
    
    putting '(' at the end of the previous line instead,
    
    or using Extendtext.
    
    ***Full script:
    
    pbRegisterPartner
    (PBTrainers::Pokemontrainer_Leaf,"Ita
    chi",
    0)
    
    
    
    
    Interpreter:276:in `pbExecuteScript'
    
    Interpreter:1600:in `command_355'
    
    Interpreter:494:in `execute_command'
    
    Interpreter:193:in `update'
    
    Interpreter:106:in `loop'
    
    Interpreter:198:in `update'
    
    Interpreter:124:in `update'
    
    Interpreter:106:in `loop'
    
    Interpreter:198:in `update'
    
    Scene_Map:103:in `update'
    
    
    
    This exception was logged in 
    
    C:\Users\Home\Saved Games/Pokemon Essentials/errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------


    I've even read the error message, about the line and have done a million different things (okay, that's an exaggeration but still) to change the 'line' that seems to bother the program, but still doesn't work. *sobbing*

    Any help would be greatly appreciated.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old December 24th, 2012 (8:49 AM).
    Maruno's Avatar
    Maruno Maruno is offline
    Lead Dev of Pokémon Essentials
       
      Join Date: Jan 2008
      Location: England
      Posts: 5,185
      Quote:
      Originally Posted by Kunoichi View Post
      I've even read the error message
      You can't have done, because the error message tells you how to solve your problem. You also haven't searched this forum for similar errors, because if you had you would have found the recent thread about this exact same problem which includes a fuller explanation from me.

      At the moment you have this:
      Code:
      pbRegisterPartner
      (PBTrainers::Pokemontrainer_Leaf,"Ita
      chi",
      0)
      It needs to look like this:
      Code:
      pbRegisterPartner(
      PBTrainers::Pokemontrainer_Leaf,
      "Itachi",0)
      Notice how, at the end of each line, there is either a bracket or a comma. That's important.

      An alternative is the other thing the error message suggested, which is to use ExtendText to make the code box really wide, and then put this code all on the same line:

      Code:
      pbRegisterPartner(PBTrainers::Pokemontrainer_Leaf,"Itachi",0)
      Pick an option and go for it.
      __________________
      Go to the Pokémon Essentials Wiki

      | Downloads | Tutorials | Fangames |
      | All Animations Project |

      Follow me on Twitter: @maruno42


      Reply With Quote
        #3    
      Old December 24th, 2012 (9:19 AM).
      Kunoichi's Avatar
      Kunoichi Kunoichi is offline
      The one who dreams alone
         
        Join Date: Jun 2006
        Location: England
        Age: 27
        Nature: Mild
        Posts: 45
        Okay, after some tweaking and a lot of messing around in the game editor (mostly my own fault with confusing some trainer types), I've finally got it working.
        I did read it, but you're right, pressing the backspace key didn't work. Thank you so much for the prompt response and solving it.

        Also, what do you mean by extend text?
        Reply With Quote
          #4    
        Old December 24th, 2012 (9:32 AM).
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,185
          It's a program called ExtendText.exe in the game's main folder. Running it while RMXP is open will cause all event message boxes and event script boxes to become larger, allowing you to fit more in. The effect lasts until you close RMXP.
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
            #5    
          Old December 24th, 2012 (9:37 AM).
          Kunoichi's Avatar
          Kunoichi Kunoichi is offline
          The one who dreams alone
             
            Join Date: Jun 2006
            Location: England
            Age: 27
            Nature: Mild
            Posts: 45
            Thank you again for helping to solve my problems! c:
            Reply With Quote
            Reply

            Quick Reply

            Join the conversation!

            Create an account to post a reply in this thread, participate in other discussions, and more!

            Create a PokéCommunity Account

            Sponsored Links
            Thread Tools

            Posting Rules
            You may not post new threads
            You may not post replies
            You may not post attachments
            You may not edit your posts

            BB code is On
            Smilies are On
            [IMG] code is On
            HTML code is Off

            Forum Jump


            All times are GMT -8. The time now is 12:15 AM.