• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

Trade error

  • 14
    Posts
    12
    Years
    • Seen Oct 9, 2014
    When i used the trade script in the Wiki iget this error


    Exception: RuntimeError
    Message: Script error within event 12, map 39 (Viridian City):
    Exception: SyntaxError
    Message: (eval):2:in `pbExecuteScript'compile error
    (eval):2: syntax error
    PBSpecies::SHINX,,"Marie",1)
    ^
    (eval):2: syntax error
    PBSpecies::SHINX,,"Marie",1)
    ^
    ***Full script:
    pbStartTrade(pbGet(1),
    PBSpecies::SHINX,,"Marie",1)


    Interpreter:276:in `pbExecuteScript'
    Interpreter:1599:in `command_355'
    Interpreter:494:in `execute_command'
    Interpreter:193:in `update'
    Interpreter:106:in `loop'
    Interpreter:198:in `update'
    Scene_Map:103:in `update'
    Scene_Map:101:in `loop'
    Scene_Map:114:in `update'
    Scene_Map:68:in `main'
     
    Code:
    pbStartTrade(pbGet(1),
    PBSpecies::SHINX,,"Marie",1)
    You've not given the Pokémon a nickname. Essentials doesn't like two commas in a row like that. If for some strange reason you don't want this Shinx to have a nickname, put nil in there (no quote marks). That's kind of a daft thing to do, though, because the whole point of traded Pokémon is that they have nicknames.
     
    Code:
    pbStartTrade(pbGet(1),
    PBSpecies::SHINX,,"Marie",1)
    You've not given the Pokémon a nickname. Essentials doesn't like two commas in a row like that. If for some strange reason you don't want this Shinx to have a nickname, put nil in there (no quote marks). That's kind of a daft thing to do, though, because the whole point of traded Pokémon is that they have nicknames.

    I took the suggestion and added a nickname to it and solved.Thanks again maruno
     
    Back
    Top