mostly... you'll have to change the syntax a little if you write a shellscript to do this on the linux side... On my linux-based servers I scrape the logs every half hour with a cron job and the following script (which you should obviously modify):
#!/bin/sh cat ~/srcds/labatt/orangebox/tf/logs/*.log | grep connected |grep STEAM >> ~/logprocess/workfile1.tmp cat ~/srcds/rum/orangebox/tf/logs/*.log | grep connected |grep STEAM >> ~/logprocess/workfile1.tmp cat ~/srcds/miller/orangebox/tf/logs/*.log | grep connected | grep STEAM >>~/logprocess/workfile1.tmp cat ~/srcds/molson/orangebox/tf/logs/*.log | grep connected | grep STEAM >>~/logprocess/workfile1.tmp rm -rf ~/srcds/labatt/orangebox/tf/logs/*.log rm -rf ~/srcds/rum/orangebox/tf/logs/*.log rm -rf ~/srcds/miller/orangebox/tf/logs/*.log rm -rf ~/srcds/molson/orangebox/tf/logs/*.log and the cron job: 0,30 * * * * /home/tg/logprocess/logscrape then I use psftp.exe (Putty Secure FTP) to transfer it over a few times a day. -----Original Message----- From: hlds-boun...@list.valvesoftware.com [mailto:hlds-boun...@list.valvesoftware.com] On Behalf Of Nightbox Sent: Sunday, May 10, 2009 1:54 PM To: Half-Life dedicated Win32 server mailing list Subject: Re: [hlds] Sourcemod plugin for joining Group thanks, its the same for linux ? 2009/5/10 Karl Weckstrom <k...@weckstrom.com> > Why the big secret? :) It's not like steamgroups are very valuable anymore. > > Here's a list of what you have to do to invite players that join your > server. > > Step 1: Make sure you have everything you need to support this. Install the > scripting language "Python" so you can run the conversion script that > converts steam ID's to community ID's. Location: > http://www.weckstrom.com/(since <http://www.weckstrom.com/%28since>there's > nothing really built in with Windows that supports 64 bit integer > math). Grab the script called sid_convert.py ( > http://www.weckstrom.com/steamstuff/sidconv.txt) <---rename to .py > > I also recommend getting a small executable called "cmsort", which will let > you filter out dupes really easily (cmsort /d file1.txt output.txt) > > Step 2: Log scraping. If you look at your server logs, every steam ID will > be captured in it. You need to loop through it and get all those ID's. > Here's a quick script that will do it from a windows command prompt: > > @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 > > Once that's done, you now have a list of community ID's in > c:\temp\communitylist.txt > > Step 3: Now that you have that, you can spam them via IE (Make sure you > FIRST configure IE to NOT open a new tab when a url is launched from an > outside app - simple config item under tools > internet options). > > -Log in to Steam via IE with your username/password > -Use a small script the spam around 120 invites per hour... the limit is > 200, so you can tailor this for your own needs: > > @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=%INVITERID%^&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 > > I have all of the above automated so I never have to touch it. If anyone > manages to get this working on their own and would like some tips on how to > do automatic logons (good idea to do them from time to time), let me know. > > > -----Original Message----- > From: hlds-boun...@list.valvesoftware.com [mailto: > hlds-boun...@list.valvesoftware.com] On Behalf Of 1nsane > Sent: Sunday, May 10, 2009 11:09 AM > To: Half-Life dedicated Win32 server mailing list > Subject: Re: [hlds] Sourcemod plugin for joining Group > > There actually is a way to put people into steam groups if they join your > server. > > But I'm not about to tell you! > > On Sun, May 10, 2009 at 3:58 AM, DontWannaName! <ad...@topnotchclan.com > >wrote: > > > Back on topic, I tested using the steam://url command ingame and it opens > > the steam group in steam not the overlay. I added an overlay request here > > and hopefully it is added. > > http://developer.valvesoftware.com/wiki/Steam_browser_protocol They > could > > probably just use url but check if they are ingame. > > > > On Sat, May 9, 2009 at 3:22 PM, Cc2iscooL <cc2isc...@gmail.com> wrote: > > > > > Good way to drive your community. > > > > > > "Oh btw my community is a bunch of idiots. lol" > > > > > > On Sat, May 9, 2009 at 5:06 PM, Nightbox <alexandrualexa...@gmail.com > > > >wrote: > > > > > > > Yes i know, but there is a romanian server, and usually romanians are > > > dumb > > > > asses. > > > > > > > > 2009/5/10 Didrole <didr...@gmail.com> > > > > > > > > > Do it yourself. > > > > > Advertise for your group on your server. > > > > > If somebody want to join your group he will maybe be smart enough > to > > > join > > > > > it > > > > > himself by steamcommunity. > > > > > > > > > > 2009/5/9 Nightbox <alexandrualexa...@gmail.com> > > > > > > > > > > > so can someone make a plugin ? > > > > > > > > > > > > 2009/5/9 Haven Meyer <avene...@gmail.com> > > > > > > > > > > > > > There isn't a steam URL- there is however a normal URL. If you > > run > > > > the > > > > > > URL > > > > > > > in a normal browser, you get an XML error due lack of > > certificate. > > > > > Again > > > > > > > however, there is a way to bypass this. > > > > > > > > > > > > > > On Sat, May 9, 2009 at 1:43 PM, DontWannaName! < > > > > ad...@topnotchclan.com > > > > > > > >wrote: > > > > > > > > > > > > > > > Ya theres no steam url for joining a group but there is for > > > opening > > > > a > > > > > > > > groups > > > > > > > > profile in steam. > > > > > > > > > > > > > > > > On Sat, May 9, 2009 at 6:45 AM, Cc2iscooL < > cc2isc...@gmail.com > > > > > > > > wrote: > > > > > > > > > > > > > > > > > Yes but there isn't an equivalent for joining a group...I > > don't > > > > > > think. > > > > > > > > > > > > > > > > > > It's just a link like > steamcommunity.com/join.php?group=name > > > > > > > > > > > > > > > > > > On Sat, May 9, 2009 at 6:21 AM, Philip Bembridge > > > > > > > > > <philipbembri...@gmail.com>wrote: > > > > > > > > > > > > > > > > > > > well I have this line in my webshortcuts, so people can > > > message > > > > > me: > > > > > > > > > > > > > > > > > > > > "admin" "Message an admin using steam PRESS SHIFT + TAB" > > > > > > > > > > steam://friends/message/ > > > > > > > > > > > > > > > > > > > > that opens in steam in-game overlay > > > > > > > > > > _______________________________________________ > > > > > > > > > > To unsubscribe, edit your list preferences, or view the > > list > > > > > > > archives, > > > > > > > > > > please visit: > > > > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > To unsubscribe, edit your list preferences, or view the > list > > > > > > archives, > > > > > > > > > please visit: > > > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > To unsubscribe, edit your list preferences, or view the list > > > > > archives, > > > > > > > > please visit: > > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > To unsubscribe, edit your list preferences, or view the list > > > > archives, > > > > > > > please visit: > > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > > > > > _______________________________________________ > > > > > > To unsubscribe, edit your list preferences, or view the list > > > archives, > > > > > > please visit: > > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > > > _______________________________________________ > > > > > To unsubscribe, edit your list preferences, or view the list > > archives, > > > > > please visit: > > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > > > _______________________________________________ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlds > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlds > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds