|
You last visited: Today at 21:15
Advertisement
Help with thx check system
Discussion on Help with thx check system within the .NET Languages forum part of the Coders Den category.
06/26/2012, 16:51
|
#1
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
Help with thx check system
#deleted Thanks for all
|
|
|
06/27/2012, 11:53
|
#2
|
elite*gold: 0
Join Date: Jan 2012
Posts: 322
Received Thanks: 505
|
You could do a login System which logs the user in e*pvp & than checks if he gave you a thx or not.
But over HWID i don't know how it should work :S
|
|
|
06/27/2012, 12:06
|
#3
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|
Quote:
Originally Posted by MissUnderstoodOne
You could do a login System which logs the user in e*pvp & than checks if he gave you a thx or not.
But over HWID i don't know how it should work :S
|
e*pvp has a hwid system. which that he could simply gather the username and then he can check if the user thanked his post.
|
|
|
06/27/2012, 13:44
|
#4
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
#deleted
|
|
|
06/27/2012, 14:47
|
#5
|
elite*gold: 0
Join Date: May 2008
Posts: 1,222
Received Thanks: 500
|

Here. But you have to convert it, if you use vb.net.
|
|
|
06/27/2012, 15:53
|
#6
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
You can read the thanks it here:
It's build like this:
Code:
ID(3305517) Name(Coding Lounge) idk(1298997735) posts(695) thanks(123) rank(Level One)
simply this way:
Code:
"http://www.elitepvpers.com/api/hwid.php?hash=" + HWID
|
|
|
06/27/2012, 22:04
|
#7
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
#deleted
|
|
|
06/28/2012, 00:18
|
#8
|
elite*gold: 146
Join Date: May 2009
Posts: 3,764
Received Thanks: 6,974
|
It's working, but i've upgraded it over the time.
|
|
|
06/28/2012, 07:46
|
#9
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
#deleted
|
|
|
06/28/2012, 13:21
|
#10
|
elite*gold: 0
Join Date: Mar 2011
Posts: 806
Received Thanks: 160
|
Maybe this could help you:
There is the Source in the thread given. Or u can use this direct Link:
|
|
|
06/28/2012, 14:21
|
#11
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
#deleted
|
|
|
06/28/2012, 17:48
|
#12
|
elite*gold: 146
Join Date: May 2009
Posts: 3,764
Received Thanks: 6,974
|
Remember, that it's not case insensitive. In order to prevent any faults, i would convert everything to lowercase. I would try something like this:
Code:
Function StringBetween(ByVal s_String As String, ByVal s_Start As String, ByVal s_End As String) As String
If s_String.Contains(s_Start) AndAlso s_String.Contains(s_End) Then
StringBetween = Split(Split(s_String, s_Start)(1), s_End)(0)
Else
StringBetween = ""
End If
End Function
' .....
Dim res As String = StringBetween(source, "For This Useful Post:", "</table>")
If String.IsNullOrEmpty(InStr(res.ToLower, Uname.ToLower))) Then
MsgBox("You must press thanks")
End If
It might be very basic, but logically, it should work.
|
|
|
06/28/2012, 18:34
|
#13
|
elite*gold: 300
Join Date: Mar 2010
Posts: 2,681
Received Thanks: 3,471
|
Quote:
Originally Posted by Whoknowsit
Remember, that it's not case insensitive. In order to prevent any faults, i would convert everything to lowercase. I would try something like this:
...
It might be very basic, but logically, it should work.
|
Thank you, but already I have it finished  I find a simply way how to check thanks  But
#closerequest
|
|
|
06/28/2012, 23:04
|
#14
|
elite*gold: 146
Join Date: May 2009
Posts: 3,764
Received Thanks: 6,974
|
And how did you solve this? I guess, there are some people, who're interested in a solution.
|
|
|
All times are GMT +1. The time now is 21:15.
|
|