Page 1 of 2 12 LastLast
Results 1 to 25 of 38

Thread: TakeIPScreenshots

  1. #1
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default TakeIPScreenshots

    Edit: made and pulled requested. https://github.com/SRL/SRL-5/pull/21

    Will take a screenshot when logging into Lobby once the "last logged in" pops up. Should be just a few lines to take the screenshot and to add as a global. It could use gettextat or similar, but a screenshot should be more safe (and more incriminating proof!)

    It should make and save to a directory in Simba folder called "IPLogs" or similar, and save them all there.

    Would be a useful feature, especially for people complaining they got hacked and didn't see IP because they were running a script when it happened. This should be added ASAP, as it would very much discourage hackings and such.
    Last edited by Harry; 02-21-2012 at 04:15 AM.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Oooo I like it. I'm surprised nobody thought of this before.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    I suggested this weeks ago on IRC...

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  4. #4
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default



    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  5. #5
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    I like it.
    I say SS and Text, along with date, time, etc sounds good!
    Where would we/how would we use this?
    E:
    Or is this just a suggestion right now, no code made yet?

  6. #6
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Check the post above you, already coded it all. Just so when someone's bank gets wiped, they can check that folder and pick out what different IP there was to look at.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  7. #7
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    That could add up to a lot of screenshots. =\ Maybe have the option to disable?

    E: I would rather have it just get the IP text and save to a .txt file. That could prove to be inaccurate, though, and I guess people could lie.

  8. #8
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    It does have that option.
    And yea, a screenshot is much more incriminating. You could have it screenshot just the IP area using something like http://pastebin.com/ckMqbaN1 (from Dbgy), but I prefer a full screenshot which is also more detailed about your other account statuses.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  9. #9
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    What about only taking a screenshot when the IP changes?
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  10. #10
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    How do you propose we know when the IP changes? The client doesn't tell us this.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  11. #11
    Join Date
    Jan 2008
    Location
    10° north of Hell
    Posts
    2,035
    Mentioned
    65 Post(s)
    Quoted
    164 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    How do you propose we know when the IP changes? The client doesn't tell us this.
    Read it, If it doesn't match IPLogs/lastip.txt then save.

    Dg's Small Procedures | IRC Quotes
    Thank Wishlah for my nice new avatar!
    Quote Originally Posted by IRC
    [22:12:05] <Dgby714> Im agnostic
    [22:12:36] <Blumblebee> :O ...you can read minds

  12. #12
    Join Date
    Feb 2007
    Location
    Lux Aeterna
    Posts
    171
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I like the IPLogs/lastip.txt matching idea. Also, perhaps you can keep a record of the last ten IP snapshots?

  13. #13
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    How do you propose we know when the IP changes? The client doesn't tell us this.
    Save a file with the last IP read and read it when it gets the text and if it matches don't do anything (but still log it) and if it is different, save a screenshot.

    Edit: Dgby answered already.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  14. #14
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Harry View Post
    I prefer a full screenshot which is also more detailed about your other account statuses.
    What else do we need here? Membership expires until?

    By the way, instead of marking the datetime on the filename, would it be better to mark it on the bitmap similar to a watermark? I know an experienced user can still get around it but it requires significantly more work to falsify a screenshot as such.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

  15. #15
    Join Date
    Feb 2012
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    tbh I don't think this is really needed lol
    If you get hacked it's almost always your own fault, have a pin and you're safe.
    Never include your acc details in script...
    If you still get hacked it's someone you know or the previous acc owner (just don't buy accounts).
    I don't really see the point of filling my hard disk with these screenies

  16. #16
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Masterstroke View Post
    tbh I don't think this is really needed lol
    If you get hacked it's almost always your own fault, have a pin and you're safe.
    Never include your acc details in script...
    If you still get hacked it's someone you know or the previous acc owner (just don't buy accounts).
    I don't really see the point of filling my hard disk with these screenies
    Set DisableIPScreenshots to false and you're good to go.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  17. #17
    Join Date
    Dec 2011
    Posts
    496
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    How about save only the last 5 ip's taken?? If someone logs more than 5 times after being hacked without realising there's not much else they can say.
    Nearly maxed, woowweee.

  18. #18
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    Maybe have a choice to save it in --- txt files vs a pic...
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  19. #19
    Join Date
    Oct 2007
    Location
    The deep web
    Posts
    2,496
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by momotron View Post
    How about save only the last 5 ip's taken?? If someone logs more than 5 times after being hacked without realising there's not much else they can say.
    This, you'll notice within 3 logins or so that youve been hacked
    Did someone say GDK?

  20. #20
    Join Date
    Nov 2011
    Posts
    1,532
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Yago View Post
    Maybe have a choice to save it in --- txt files vs a pic...
    OCR inaccuracies will make txt logs virtually useless.
    Current activity: Recovering from vacation
    - Nulla pars vitae vacare officio potest -
    SRL membership? Can I buy that?
    Scripts - AGS - SWF - WAR - EMS - W100S-EM
    If you need scripting help, you can pm me. Remember, if you need help you have to ask for it properly though

  21. #21
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by nosaj.421 View Post
    OCR inaccuracies will make txt logs virtually useless.
    OCR, check if it changes, bitmaps same thing. If bitmap taken or text taken has changed, save screenshot? Then make that screenshot the new bitmap until next time. Maybe if OCR is that inaccurate just do the bitmap thing. Maybe true to always take screenshot, false to take one when bitmap changes?

  22. #22
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    This is in the latest version.

  23. #23
    Join Date
    Nov 2011
    Posts
    1,268
    Mentioned
    17 Post(s)
    Quoted
    217 Post(s)

    Default

    This makes Simba get stuck on lobby with login limit exceed error, and it takes screenshots but I can't find them anywhere on my computer

  24. #24
    Join Date
    Nov 2011
    Location
    Louisiana
    Posts
    881
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by DemiseScythe View Post
    This makes Simba get stuck on lobby with login limit exceed error, and it takes screenshots but I can't find them anywhere on my computer
    I've noticed this as well, the stuck in lobby part.

  25. #25
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by DemiseScythe View Post
    This makes Simba get stuck on lobby with login limit exceed error, and it takes screenshots but I can't find them anywhere on my computer
    Nope, it's just a takeScreen. Something else is the culprit if you get that error. They are saved in your Includes/SRL/logs folder


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

Page 1 of 2 12 LastLast

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
  •