Results 1 to 2 of 2

Thread: Error:

  1. #1
    Join Date
    Apr 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Error:

    Everyimte im using PowerFlop i get this error

    Error: Exception: Mask is invalid. Width/Height: (9,6). WhiteHi/BlackHi: (-1,53) at line 778
    The following DTMs were not freed: [SRL - Lamp bitmap, SRL - Book of Knowledge]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Minimap Mask bitmap]

    and the bot stops. any help?

  2. #2
    Join Date
    Jun 2012
    Location
    Howell, Michigan
    Posts
    1,585
    Mentioned
    34 Post(s)
    Quoted
    553 Post(s)

    Default

    Its the randoms include make sure you have a nickname filled out here

    Simba Code:
    Procedure DeclarePlayers;
    Begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name := '';          // ***Username***
      Players[0].Pass := '';          // ***PW***
      Players[0].WorldInfo  := [];    // ***Desired World, leave blank if random***
      Players[0].Nick := 'man88';          // ***Portion of display name, IMPORTANT FOR RANDOMS***
      Players[0].LampSkill := Skill_Slayer;
      Players[0].Active := True;
    End;

    then make sure

    Quote Originally Posted by Ashaman88 View Post
    2) You MUST call declareplayers BEFORE you call setupsrl. setupsrl handles setting the nickname and will also cause a runtime error if you do not do it in that order (this also may be made to be more flexible in the future). If you still get the runtime error, redownload the include!
    Like this

    Simba Code:
    begin
      DeclarePlayers;
      SetupSRL;

    At the beginning of the main loop at the bottom of the script, Ashamans guide here

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •