[HELP] Bot Error

Discussion in 'Help' started by GotThatPopcorn, Feb 8, 2013.

Moderators: E.T., Zoroark
  1. GotThatPopcorn

    GotThatPopcorn Banned

    Joined:
    Jan 30, 2013
    Messages:
    177
    Likes Received:
    0
    PO Trainer Name:
    GTP
    Well, I am using Pokemon Online's scripts and apparently 'Bot' is not a constructor. Below is the section of the script.

    Code (text):
    1.  
    2. var Bot = require('bot.js').Bot;
    3.  
    4.  
    5. normalbot = bot = new Bot(Config.bot);
    6. mafiabot = new Bot(Config.Mafia.bot);
    7. channelbot = new Bot(Config.channelbot);
    8. kickbot = new Bot(Config.kickbot);
    9. capsbot = new Bot(Config.capsbot);
    10. checkbot = new Bot(Config.checkbot);
    11. coinbot = new Bot(Config.coinbot);
    12. countbot = new Bot(Config.countbot);
    13. tourneybot = new Bot(Config.tourneybot);
    14. rankingbot = new Bot(Config.rankingbot);
    15. battlebot = new Bot(Config.battlebot);
    16. commandbot = new Bot(Config.commandbot);
    17. querybot = new Bot(Config.querybot);
    18. hangbot = new Bot(Config.hangbot);
    19. bfbot = new Bot(Config.bfbot);
    I have no clue on what to do. I am not a script wiz >.<
     
  2. GotThatPopcorn

    GotThatPopcorn Banned

    Joined:
    Jan 30, 2013
    Messages:
    177
    Likes Received:
    0
    PO Trainer Name:
    GTP
    Scratch that, the whole Bot session is preventing my server to use the scripts in general.
     
Moderators: E.T., Zoroark