Raised This Month: $51 Target: $400
 12% 

Invitation automatique au groupe steam


  
 
 
Thread Tools Display Modes
anthologie
Senior Member
Join Date: May 2010
Old 08-25-2011 , 12:04   Re: Invitation automatique au groupe steam
#31

... Comme tu veus.

Quelqu'un dautre saurais le faire svp .
anthologie is offline
anthologie
Senior Member
Join Date: May 2010
Old 08-25-2011 , 17:44   Re: Invitation automatique au groupe steam
#32

Apres avoir chercher j'ai trouver ceci http://forums.eventscripts.com/viewt...29376&start=18
http://www.python.org/download/
http://www.chmaas.handshake.de/delph...ort/cmsort.htm

You also need Python and sidconv.py

cmsort.exe will find Steam IDs and save it in a text file.
Here you can download cmsort.exe

sidconv.py:
import sys, os, re
SID_NONE = 1<<0
SID_PRINT = 1<<1
SID_PROCESS = 1<<2
SID_QUIET = 1<<3
def about():
print "Steam Id <-> Community ID Converter\n" \
"Programmed by theY4Kman, algorithm discovered by voogru\n"
def syntax(command=None):
if command == ["help", "?", "/?"]:
print "Displays the help message."
else:
print "Usage: ", os.path.basename(sys.argv[0]), " SteamID|CommunityID [/p] [/q]\n" \
"Options:\n" \
" /p Show the process of deriving the Steam/Community ID\n" \
" /q Quiet mode. Only print out the Steam/Community ID"
def proc(message, check=SID_NONE, flags=SID_NONE):
if flags & check: print message
def convert(i, flags=SID_NONE):
steamid = re.compile(r'STEAM_0[01])\d{1,10})').match(i)
commid = re.compile(r"(\d{17})").match(i)
if steamid:
proc("Steam ID -> Community ID\n\n%s" % i, SID_PROCESS, flags)
tok = steamid.groups()
auth = int(tok[1]) * 2
server = int(tok[0])
proc("%s * 2 = %d" % (tok[1], auth), SID_PROCESS, flags)
tok = auth + 76561197960265728 + server
proc("%d + 76561197960265728 + %d = %d" % (auth, server, tok), SID_PROCESS, flags)
if flags & SID_PRINT: print tok
else: return tok
else:
proc("Community ID -> Steam ID\n", SID_PROCESS, flags)
tok = int(i)
server = tok % 2
proc("%s is %s, so the auth server is %d" % (i, (server and "odd") or "even", server), SID_PROCESS, flags)
auth = tok - server
proc("%d - %d = %d" % (tok, server, auth), SID_PROCESS, flags)
auth -= 76561197960265728
proc("%d - 76561197960265728 = %d" % (tok - server, auth), SID_PROCESS, flags)
proc("%d / 2 = %d" % (auth, auth/2), SID_PROCESS, flags)
auth /= 2
if flags & SID_PRINT: print "\nSteam ID: STEAM_0:%d:%d" % (server, auth)
else: return "STEAM_0:%d:%d" % (server, auth)
return
if __name__ == '__main__':
if len(sys.argv) < 2:
syntax()
exit()
if sys.argv[1] == "about":
about()
exit()
if sys.argv[1] in ["help", "?", "/?"]:
syntax((len(sys.argv) >= 3) and sys.argv[2] or None)
exit()
flags = SID_NONE
i = None
for option in sys.argv[1:]:
if option == "/p": flags |= SID_PROCESS
if option == "/q": flags |= SID_QUIET
else:
if not i and re.compile(r'STEAM_0:[01]:\d{1,10}').match(option) or re.compile(r"\d{17}").match(option): i = option
if not i: # Then whom?
syntax()
else:
if flags & (SID_QUIET|SID_PROCESS) == (SID_QUIET|SID_PROCESS): flags ^= SID_PROCESS
convert(i, flags|SID_PRINT)
---------------------------------------------------------------------------------
bot.bat
@echo off
type *.log | find "STEAM_" >c:\temp\scrape.txt
cmsort /d c:\temp\scrape.txt C:\temp\steamids.txt
for /f %%a in (c:\temp\steamids.txt) do c:\python\python.exe sidconv.py %%a >>c:\temp\communitylist.txt

@Echo off
REM You need to know your own Inviter ID and Group ID
SET GROUPID=103582733552053221
SET INVITERID=76561198092836596
REM This script assumes you're logged in to steam already via IE
for /f %%a in (c:\temp\communitylist.txt) do call :LOOP %%a
goto :END

:LOOP
start http://steamcommunity.com/actions/GroupInvite?type=groupInvite^&inviter=%INVITE RID%^&invitee=%1^&group=%GROUPID%
REM Ping a dummy address for 40ish seconds before doing the next invite
ping 1.1.1.1 -n 1 -w 40000 >nul
goto :END

:END
anthologie is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 08-25-2011 , 17:46   Re: Invitation automatique au groupe steam
#33

Eventscript, aucun rapport avec HL1. C'est du python. Ca peut toujours aider mais bon...
teol is offline
anthologie
Senior Member
Join Date: May 2010
Old 08-25-2011 , 17:57   Re: Invitation automatique au groupe steam
#34

t'es sur teol j'y connais rien
anthologie is offline
lecat
Junior Member
Join Date: Jul 2011
Old 09-10-2011 , 10:57   Re: Invitation automatique au groupe steam
#35

Quote:
Originally Posted by anthologie View Post
... Comme tu veus.

Quelqu'un dautre saurais le faire svp .
Solution qui fonctionne sur linux avec sourcemod et hlstatsx,
http://permalink.gmane.org/gmane.gam...e.server/28973
lecat is offline
anthologie
Senior Member
Join Date: May 2010
Old 09-13-2011 , 13:26   Re: Invitation automatique au groupe steam
#36

mais comment je dois faire ceci pas bien compris
anthologie is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 09-13-2011 , 13:32   Re: Invitation automatique au groupe steam
#37

Suffit de lire ;)
teol is offline
anthologie
Senior Member
Join Date: May 2010
Old 09-14-2011 , 14:52   Re: Invitation automatique au groupe steam
#38

Stp tu pe m'expliquer je comprend pas exactement...
anthologie is offline
teol
Veteran Member
Join Date: Oct 2009
Location: Marbella
Old 09-14-2011 , 14:53   Re: Invitation automatique au groupe steam
#39

1. create a php file on your web server invite_steam.php with following content (replace the defines at the beginning):

2. open hlstats.pl file and find a line containing "STEAM USERID validated" 3. paste (and replace address) the following code after line "my $playerinfo = &getPlayerInfo($ev_player, 0);" :

4. go grab some beer and watch your group to grow
teol is offline
anthologie
Senior Member
Join Date: May 2010
Old 09-14-2011 , 15:11   Re: Invitation automatique au groupe steam
#40

mais je ne comprend pas ...
anthologie is offline
 



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

Forum Jump


All times are GMT -4. The time now is 01:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode