Results 1 to 14 of 14

Thread: Bank Pin

  1. #1
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Bank Pin

    OK, So when a script has the bank pin thing in it I set my pin in it but there is one problem it doesn't recognize the first two digits because they are 0's my pin has two 0's to start it off (its not 0000) ;P but anyway it only clicks the last two digits because of this what can I do to fix it?


  2. #2
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Anyone know..


  3. #3
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Yesterday for me it "pinned" fine :<

    Even this makes you want to smash baybees - "Are you running on SCAR 3.13 and SRL 4 newest rev?"

  4. #4
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm using 3.12c because 3.13 still has bugs and older scripts wont work 'I think' =/

    The pin fully works but it misses out the 0's so only types two digits.


  5. #5
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    I think the script literally takes the 0's as a Zero Integer, worth Nothing, so it does not click it.

    maybe change pin? :P
    Ce ne sont que des gueux


  6. #6
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    I think the script literally takes the 0's as a Zero Integer, worth Nothing, so it does not click it.

    maybe change pin? :P
    Good, but not

    InPin gets a string from the user, and uses ClickText to find the digit.

    ClickText uses CreateBitmapMaskFromText to get the bitmap mask of the digit, and then it does FindBitmapMaskTolerance...





    SCAR Code:
    program New;
    begin
      Writeln(IntToStr(0));
    end.

    EDIT: Plus that, my bank pin contains a 0 and works fine...

  7. #7
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Is your script shitty and asking for you to put the PIN as an integer instead of a script, and does it forget to add 0's to make the length 4 chars?
    I made a new script, check it out!.

  8. #8
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    Rofl, Integer pin would suck, you just can't do it, 0034 IntToStr = 34.

  9. #9
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    players.pin = integer
    So people need to do somethng like this:
    SCAR Code:
    var temppin : str;
    begin
    temppin := inttostr(players[currentplayer].pin);
    while (length(temppin) < 4) do
      temppin := '0' + temppin;
    end;
    I made a new script, check it out!.

  10. #10
    Join Date
    Dec 2006
    Location
    Copy pastin to my C#
    Posts
    3,788
    Mentioned
    8 Post(s)
    Quoted
    29 Post(s)

    Default

    But why not just use Strings[0]?

    Its quite same what var you use, InPin doesn't use Players.pin.

  11. #11
    Join Date
    Aug 2007
    Location
    Emo-land
    Posts
    1,109
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by n3ss3s View Post
    But why not just use Strings[0]?

    Its quite same what var you use, InPin doesn't use Players.pin.
    I agree I use Strings[3] and it works fine. Easy too.

  12. #12
    Join Date
    Jul 2007
    Location
    Australia
    Posts
    320
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Rofl, Integer pin would suck, you just can't do it, 0034 IntToStr = 34.
    Thats what it does so maybe the script maker did that.. ?


  13. #13
    Join Date
    Oct 2006
    Location
    I'm also from Michigan!
    Posts
    563
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    i think players[#].pin should be changed to a string

  14. #14
    Join Date
    Nov 2007
    Posts
    9
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i'm kinda a noob but have you tried _00?? or -00??
    www.fuckinggoogleit.com
    Instructions on a blowdryer in a mens room-- "1) Push button. 2) Rub hands briskly under nozzel. 3) Dryer shuts off automatically." Scratched underneath "4) Wipe hands on pants."
    http://www.signaturebar.com/uploads/images/12299.gif

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. bank pin
    By ekamjit in forum OSR Help
    Replies: 3
    Last Post: 11-12-2008, 02:06 AM
  2. Bank Pin
    By traveler in forum OSR Help
    Replies: 2
    Last Post: 06-05-2008, 10:43 PM
  3. Hello bank help plz
    By Hobo in forum OSR Help
    Replies: 12
    Last Post: 01-01-2008, 10:29 AM
  4. bank pin
    By whatsthat in forum News and General
    Replies: 6
    Last Post: 12-16-2007, 10:19 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
  •