Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[Source] Steam Snippets [RegEx]

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)
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
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 :)

[Image: 1riOqZa.png]
I had it returning a List for my initial test.

I forgot to switch it.
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
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
  ReturnNameHistory("http://steamcommunity.com/id/8295", ListView1)
    End Sub

    Sub ReturnNameHistory(ByVal url As String, ByVal lv As ListView)
  Dim rl As New ListView.ListViewItemCollection(lv)
  Dim s As String = New Net.WebClient().DownloadString(url & "/namehistory")
  Dim non As Integer = System.Text.RegularExpressions.Regex.Matches(s, System.Text.RegularExpressions.Regex.Escape("-</span>")).Count
  For i As Integer = 2 To non Step 2
    rl.Add(New ListViewItem(Split(s, "-</span>")(i).Split("<")(0).Replace(ChrW(9), "")))
    rl.Item(rl.Count - 1).SubItems.Add(Split(s, """historyDate"">")(i / 2).Split("<")(0))
  Next
    End Sub
Thanks, Cody! I'm not the best with RegEx. Thanks for your Alternative Method!
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
Nice share. Just wondering, how do you get the code transparent?
What do you mean, (╯°□°)╯︵ ┻━━┻? Cody used the [code] tags, I posted an image.
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
(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
Oh, it looked transparent at a glance. But what did you do to put it on that background..?
It's not working very correctly for me It finds a previous name but also an totally random
(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 12:33 PM)Cody8295 Wrote:  I made a tread a while back:

https://hackforums.net/showthread.php?tid=1183407

Thank you very much cody! Now to get HF's color...
Added a Game Parser. Parses the AppID ( http://store.steampowered.com/app/ & AppID for a link to the game itself...) And the Games Name.
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.
Here is more cleaner regex for the game grabber.

Code
Dim r As New Regex("rgGames\['(?<id>[\d]+)'\] = '(?<game>.*)';")
Yeah, I could use grouping, or just return it as a MatchCollection. But, I like to leave the end user a little to do. :)
fuck.
[Image: wyEbCMi.png]

Not trying to be a dick, It just comes naturally.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by SIM-5432905Nov 16, 2023 04:06 PM 8 286 Nov 16, 2023 04:06 PM
Last Post: Hackers
[.NET] by SoldiercrimesJan 14, 2018 01:24 PM 16 486 Jan 14, 2018 01:24 PM
Last Post: Sn0wX
[.NET] by XoggOct 4, 2017 10:05 PM 31 2,059 Oct 4, 2017 10:05 PM
Last Post: Xogg