Register for your free account! | Forgot your password?

You last visited: Today at 01:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



D2jsp forum watcher

Discussion on D2jsp forum watcher within the Diablo 2 Trading forum part of the Other Online Games Trading category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2005
Posts: 119
Received Thanks: 154
D2jsp forum watcher

1) Copy/paste the URL of the forum you want to watch into the program
2) type the word you want it to scan for
3) set the checking interval (or leave it at every 5 second)

The forum watcher will then prune that pages list and only show you the entries that contain your "watch" string.


I developed this for myself to watch the EuropeClassicLadder forum for the word "rush" when I did classic rushes and made a fortune as I was almost always first poster

Im dropping this here incase anyone else wants to use it.
(You could also use it to watch post titles for item names, "trist", etc)


In more detail for those that care:
This program downloads the webpage that you specify as a "file". It then parses this file into an array and cuts out everything apart from the legitimate posts. It then looks through each post title to see if it contains the keyword you typed and drops it from the array if it doesnt. It then rebuilds the array of only your matches back into a website and fixes all paths that were relative to point at d2jsp
(or something like this... I cant remember and cant be assed to check the source)

I offer no support for this program as it was never written with other people in mind (just knocked-up for myself).

If you cant follow the steps above or dont have the correct .net libs installed from M$... then ask someone else
Attached Files
File Type: zip D2jsp Forum Watcher.zip (8.9 KB, 16 views)
Lurker3 is offline  
Old 07/14/2009, 06:39   #2 Trade Status: Unverified(?)
 
elite*gold: 12
Join Date: Jun 2007
Posts: 1,052
Received Thanks: 403
dont need it , but nice idea
_FightZ_ is offline  
Thanks
1 User
Old 07/14/2009, 10:21   #3 Trade Status: Unverified(?)
 
elite*gold: 0
Join Date: Feb 2009
Posts: 173
Received Thanks: 5
have anyone els checked this?
dont want to load keylogger or something else
smurfjunky is offline  
Old 07/15/2009, 02:16   #4
 
elite*gold: 0
Join Date: Nov 2005
Posts: 119
Received Thanks: 154
Quote:
Originally Posted by smurfjunky View Post
have anyone els checked this?
dont want to load keylogger or something else
Dont be an idiot all your life please.

If someone made a program, you dont think they could write a trojan/keylogger that doesnt show on an antivirus too? Scanning programs people make on here for trojans/viruses that are already known to Antivirus companies doesnt mean shit... they wouldnt be known to Antivirus companies so wouldnt show up!

If you wanna be "uber-safe" though... code it yourself or drop this code into a VB.net 2005 form (google for Vb.net 2005 express) and hit "compile":
Code:
Imports System
Imports System.IO
Imports System.Net

Public Class frmMain
    Public myPage As String = ""

    Private Function GetPage(ByVal getURL As String) As String
        Dim myFailures As Integer = 0
        Dim client As WebClient = New WebClient()
        Dim data As Stream = client.OpenRead(getURL)
        Dim reader As StreamReader = New StreamReader(data)
        Dim str As String = ""
        GetPage = ""

        Do
            GetPage &= str
            str = reader.ReadLine()
            If str = "" Then
                myFailures += 1
                If myFailures > 5 Then
                    Exit Function
                End If
            End If
        Loop
    End Function

    Private Sub updatePage(ByVal gotPage As String)
        Dim tableCell As String
        Dim tablePointer As Long
        Dim myPage As String = "<HTML><HEAD><TITLE>Blah</TITLE><link rel='stylesheet' type='text/css' href='http://forums.d2jsp.org/css/main0.css'></HEAD><BODY><table class='ftb'><colgroup align='center'><col></col><col width='50%' align='left'></col><col width='18%' align='left'></col><col width='7%'></col><col width='7%'></col><col width='18%' align='left'></col></colgroup><tr><th></th><th nowrap>Topic Title</th><th>Author</th><th>Replies</th><th>Views</th><th nowrap>Last Reply</th></tr>"
        Dim changeDone As Boolean

        'Find any TRs that contain my text-match
        Do
            tablePointer = UCase(gotPage).IndexOf("</TR>")
            If tablePointer.Equals(-1) Then Exit Do
            tablePointer += 5
            tableCell = gotPage.Substring(0, tablePointer)
            gotPage = gotPage.Substring(tablePointer, gotPage.Length - tablePointer)

            'Strip all but the first "<TR"
            Do
                tablePointer = UCase(tableCell).IndexOf("<TR", 2)
                If Not tablePointer.Equals(-1) Then
                    tableCell = tableCell.Substring(tablePointer, tableCell.Length - tablePointer)
                Else
                    Exit Do
                End If
            Loop

            ' Check if TR contains what Im looking for
            tablePointer = UCase(tableCell).IndexOf(UCase(txtMatch.Text))
            If Not tablePointer.Equals(-1) Then
                'I've got a TR that contains my text-match!
                tablePointer = UCase(tableCell).IndexOf("AUTHOR")
                If tablePointer.Equals(-1) Then
                    '...and its NOT the table header!  :P
                    myPage &= tableCell
                    If chkBeep.Checked = True Then Beep()
                End If
            End If
        Loop

        myPage &= "</TABLE></BODY></HTML>"

        'Fix links, etc
        Do
            changeDone = False
            'Fix INDEX links
            tablePointer = UCase(myPage).IndexOf("<A HREF=" & Chr(34) & "I")
            If Not tablePointer.Equals(-1) Then
                tableCell = myPage.Substring(0, tablePointer)
                tableCell &= "<a target='_blank' href=" & Chr(34) & "http://forums.d2jsp.org/i"
                tableCell &= myPage.Substring(tablePointer + 10, myPage.Length - (tablePointer + 10))
                myPage = tableCell
                changeDone = True
            End If

            'Fix USER links
            tablePointer = UCase(myPage).IndexOf("<A HREF=" & Chr(34) & "U")
            If Not tablePointer.Equals(-1) Then
                tableCell = myPage.Substring(0, tablePointer)
                tableCell &= "<a target='_blank' href=" & Chr(34) & "http://forums.d2jsp.org/u"
                tableCell &= myPage.Substring(tablePointer + 10, myPage.Length - (tablePointer + 10))
                myPage = tableCell
                changeDone = True
            End If

            'Fix SHOWLASTCOMMENT links
            tablePointer = UCase(myPage).IndexOf("<A CLASS=" & Chr(34) & "DESC" & Chr(34) & " HREF=" & Chr(34) & "I")
            If Not tablePointer.Equals(-1) Then
                tableCell = myPage.Substring(0, tablePointer)
                tableCell &= "<a class='desc' target='_blank' href=" & Chr(34) & "http://forums.d2jsp.org/i"
                tableCell &= myPage.Substring(tablePointer + 23, myPage.Length - (tablePointer + 23))
                myPage = tableCell
                changeDone = True
            End If

            'Fix IMAGES links
            tablePointer = UCase(myPage).IndexOf("SRC=" & Chr(34) & "/")
            If Not tablePointer.Equals(-1) Then
                tableCell = myPage.Substring(0, tablePointer)
                tableCell &= "src=" & Chr(34) & "http://forums.d2jsp.org/"
                tableCell &= myPage.Substring(tablePointer + 6, myPage.Length - (tablePointer + 6))
                myPage = tableCell
                changeDone = True
            End If
        Loop While changeDone = True

        webOutput.DocumentText = myPage
        Application.DoEvents()
    End Sub

    Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If tmrRefresh.Enabled = False Then tmrRefresh.Enabled = True
    End Sub

    Private Sub tmrRefresh_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrRefresh.Tick
        Dim myTimer As Long
        tmrRefresh.Enabled = False
        If Val(txtSeconds.Text) * 1000 >= 5000 Then
            myPage = GetPage(txtUrl.Text)
            updatePage(myPage)
        End If
        myTimer = Val(txtSeconds.Text) * 1000
        If Val(txtSeconds.Text) * 1000 >= 5000 Then tmrRefresh.Interval = Val(txtSeconds.Text) * 1000
        tmrRefresh.Enabled = True
    End Sub
End Class
Lurker3 is offline  
Thanks
1 User
Old 07/15/2009, 08:23   #5 Trade Status: Unverified(?)
 
elite*gold: 0
Join Date: May 2009
Posts: 438
Received Thanks: 23

ich hab das mal mit viruschief.com versucht und der hat nix gefunden....
biggi21 is offline  
Old 03/10/2011, 11:50   #6 Trade Status: Unverified(?)
 
SekSypeesorie's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 3
Received Thanks: 0
New member

Thanks! forumwanting to have fun here
SekSypeesorie is offline  
Old 03/10/2011, 12:36   #7 Trade Status: Unverified(?)
 
speCt0R's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 451
Received Thanks: 63
this thread was almost dead dude -.-
speCt0R is offline  
Old 03/10/2011, 13:21   #8 Trade Status: Unverified(?)
 
elite*gold: 0
Join Date: Aug 2009
Posts: 350
Received Thanks: 36
Quote:
Originally Posted by SekSypeesorie View Post
Thanks! forumwanting to have fun here
Und schon wieder 2Jahre alten **** hoch geholt.....muss wohl irgendwo nen Nest sein......

For:SekSypeesorie..LOOK AT THE DATE!!!!!!!
Progamer6661 is offline  
Old 03/10/2011, 13:28   #9 Trade Status: Unverified(?)
 
elite*gold: 0
Join Date: Dec 2009
Posts: 931
Received Thanks: 47
ist das jetzt clean?^^
Deutsche-Mafia is offline  
Closed Thread


Similar Threads Similar Threads
[WTS] d2jsp Forum Gold
04/21/2010 - Trading - 0 Replies
ALL SOLD
O D2jsp Forum Gold!!!
10/08/2009 - Diablo 2 Trading - 14 Replies
Hi , da ich ca. 7K FG übrig habe die ich nicht benötige versuche ich diese nun hier zu verkaufen ! Der Preis ist natürlich billiger als auf d2jsp! Bezahlt wird via. überweisung oder paypall account! Ich werde auf keinen Fall zuerst senden ! Falls ihr mir nicht vertraut, werde ich das FG ins Ebay stellen damit ihr es dort kaufen koennt ( geringer aufpreis !) Preise von d2jsp: $ 10 for 260 fg ( 6.81 € ) $ 20 for 595 fg ( 13.62 € ) $ 30 for 855 fg ( 20.43 € ) $ 40 for 1190 fg ( 27.24...



All times are GMT +1. The time now is 01:37.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.