![]() |
|
[.NET] [Source] Steam Snippets [RegEx] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [Source] Steam Snippets [RegEx] (/showthread.php?tid=2087570) |
[Source] Steam Snippets [RegEx] - StarZ - Jan 6, 2012 Username History Grabber: (Click to View)
Game Grabber: (Click to View) VAC Status Grabber: (Click to View) Date of Creation Grabber: (Click to View) Steam ID >< Community ID Conversion: (Click to View) Steam POST Login: (Click to View) Steam GET Login: (Click to View) * - Weakky. - Jan 7, 2012 You are using a function without returning any value. Why don't you simply use a sub ? Anyway, pretty nice function ! Thanks for the share :) * - StarZ - Jan 7, 2012 I had it returning a List for my initial test. I forgot to switch it. * - Cody8295 - Jan 7, 2012 Here's another method, gets the date as well: Code Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load* - StarZ - Jan 7, 2012 Thanks, Cody! I'm not the best with RegEx. Thanks for your Alternative Method! * - (╯°□°)╯︵ ┻━━┻ - Jan 7, 2012 Nice share. Just wondering, how do you get the code transparent? * - StarZ - Jan 7, 2012 What do you mean, (╯°□°)╯︵ ┻━━┻? Cody used the [code] tags, I posted an image. * - Marketplace - Jan 7, 2012 (Jan 7, 2012 12:10 PM)(╯°□°)╯︵ ┻━━┻ Wrote: Nice share. Just wondering, how do you get the code transparent? It's not transparent. The pic is darker than the HF skin * - (╯°□°)╯︵ ┻━━┻ - Jan 7, 2012 Oh, it looked transparent at a glance. But what did you do to put it on that background..? * - T3amworkz - Jan 7, 2012 It's not working very correctly for me It finds a previous name but also an totally random * - Cody8295 - Jan 7, 2012 (Jan 7, 2012 12:18 PM)(╯°□°)╯︵ ┻━━┻ Wrote: Oh, it looked transparent at a glance. But what did you do to put it on that background..? I made a tread a while back: https://hackforums.net/showthread.php?tid=1183407 * - (╯°□°)╯︵ ┻━━┻ - Jan 7, 2012 (Jan 7, 2012 12:33 PM)Cody8295 Wrote: I made a tread a while back: Thank you very much cody! Now to get HF's color... * - StarZ - Jan 7, 2012 Added a Game Parser. Parses the AppID ( http://store.steampowered.com/app/ & AppID for a link to the game itself...) And the Games Name. * - Chewbaka - Jan 7, 2012 Here is more cleaner regex for the game grabber. Code Dim r As New Regex("rgGames\['(?<id>[\d]+)'\] = '(?<game>.*)';")* - StarZ - Jan 7, 2012 Yeah, I could use grouping, or just return it as a MatchCollection. But, I like to leave the end user a little to do. :) |