Results 1 to 6 of 6

Thread: Can i make an error box pop up in scar?

  1. #1
    Join Date
    Nov 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Can i make an error box pop up in scar?

    what im doing for my autologin procedure is ive made it scan to see if the users entered an invalid username or password. Instead of using writeln('wrong password or username entered'); i want a alert/error box to pop up when this happens. is that possible?

  2. #2
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    yes, you could do that with 'forms'

    use the search buttum or look in the turail section

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    I think there is a function i just cant remember.

    ReadLn('Enter Question'): String;

    Something like that about

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  4. #4
    Join Date
    May 2007
    Location
    Netherlands, Amersfoort
    Posts
    2,701
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JuKKa View Post
    I think there is a function i just cant remember.

    ReadLn('Enter Question'): String;

    Something like that about
    isen't that reading the bug?

    ...

    I say forms

  5. #5
    Join Date
    Dec 2006
    Posts
    723
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    a := CreateBitmapFromText('Invalid Username or Password entered', TR_BigLetters, 11925429);
      GetBitmapSize(a, Height, Width);
      DisplayDebugImgWindow(Height, Width);
      SafeCopyCanvas(GetBitmapCanvas(a), GetDebugCanvas, 0, 0, Height, Width, 0, 0, Height, Width);
      RaiseException(ErInternalError, 'Invalid Username or Password');

    Like that?

  6. #6
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Dat id thed ownaged!
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 02-26-2008, 04:14 PM
  2. [Runtime Error] Cannot Make a Visible...........
    By dudesareus in forum OSR Help
    Replies: 4
    Last Post: 04-20-2007, 09:57 PM

Posting Permissions

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