Smartlaunch Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      


12»»

Login Steam when login userExpand / Collapse
Author
Message
Posted 08-11-2009 15:36:31
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 13-01-2012 16:24:48
Posts: 67, Visits: 168
Hello,

I saw an example on startup.bat how to login steam accounts.

I would like to do that, but only when user login to smartlaunch, and not at startup.

Thanks for answer.

Hassan

Post #22300
Posted 09-11-2009 00:26:27
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 11-01-2011 18:58:23
Posts: 150, Visits: 292
just copy that script to the "UserLogin.bat"



-----------------------------------------------------
Ricardo Musch - IT Ventions (NL)
IT Services for LAN centers

Post #22302
Posted 10-11-2009 00:33:59
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 13-01-2012 16:24:48
Posts: 67, Visits: 168
i did, it didnt work.

it came empty results in username and password on steam.

Post #22311
Posted 10-11-2009 01:26:38
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 11-01-2011 18:58:23
Posts: 150, Visits: 292
did you edit that code to include your steam username and password?

-----------------------------------------------------
Ricardo Musch - IT Ventions (NL)
IT Services for LAN centers

Post #22312
Posted 25-11-2009 01:39:02
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 13-01-2012 16:24:48
Posts: 67, Visits: 168
yes, show me your correct code...
Post #22542
Posted 26-11-2009 12:38:26
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 11-01-2011 18:58:23
Posts: 150, Visits: 292
c:\program files\steam\steam.exe -login YOURUSERNAME YOURPASSWORD



-----------------------------------------------------
Ricardo Musch - IT Ventions (NL)
IT Services for LAN centers

Post #22555
Posted 29-11-2009 23:10:07
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 13-01-2012 16:24:48
Posts: 67, Visits: 168
OKi, i have a question.

If i buy 10 Call of duty games, and i activate it on 10 steam accounts, for ex:

Steam01, 02, 03, 04 etc!

And i have 25 PC.
I have installed the game using Steam01 on all PC.
If i login on PC 25 with Steam04 account, do i still see that the game is installed, and can run it?

Post #22587
Posted 06-12-2009 15:39:32
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: 13-01-2012 16:24:48
Posts: 67, Visits: 168
Hello,

can anyone answer, why does steam not always save the password?

Hassan

Post #22626
Posted 06-12-2009 16:29:22
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 11-01-2011 18:58:23
Posts: 150, Visits: 292
Hassaninho (29-11-2009)
OKi, i have a question.

If i buy 10 Call of duty games, and i activate it on 10 steam accounts, for ex:

Steam01, 02, 03, 04 etc!

And i have 25 PC.
I have installed the game using Steam01 on all PC.
If i login on PC 25 with Steam04 account, do i still see that the game is installed, and can run it?


If the game files are not present on that computer then the game will not be shown as installed but you can still install it on that computer by either downloading the game from the steam cloud or installing it from the cd.


Hassaninho (06-12-2009)
Hello,

can anyone answer, why does steam not always save the password?

Hassan


Maybe in the options you have configured that it is public computer? Then it won't save passwords offline mode will also not work.

-----------------------------------------------------
Ricardo Musch - IT Ventions (NL)
IT Services for LAN centers

Post #22627
Posted 07-12-2009 13:29:03
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 19-01-2012 00:08:03
Posts: 126, Visits: 986
Ok, this got covered in another topic, and I will not take credit for it.

There is a way to set the steam ID from the SL number, that get the whole login a lot easier to steam (no it was NOT a solution from steam :-)).

I cannot remember the tread, so I cannot give credit where it is due right now, but will do so! :-)

Startup script:

@ECHO OFF

ECHO **********************************
ECHO *                                *
ECHO *   Launching Startup Programs   *
ECHO *                                *
ECHO **********************************
ECHO         Current PC is #%1

REM ****** Sætter Steam Login informationer ******
set baseLogin=setcafeloginhere
reg add HKCU\Environment /f /t REG_SZ /v SL_USERNAME /d %baseLogin%%1
reg add HKCU\Environment /f /t REG_SZ /v SL_PASSWORD /d xxxpasswordherexxx

This will tell steam which cafe login number to use. If you make a new user to use MW2, then make them sequentially from 1 :-)

Example. user: mycafe1, password: cafepass then the script will look like this:

@ECHO OFF

ECHO **********************************
ECHO *                                *
ECHO *   Launching Startup Programs   *
ECHO *                                *
ECHO **********************************
ECHO         Current PC is #%1

REM ****** Sætter Steam Login informationer ******
set baseLogin=mycafe
reg add HKCU\Environment /f /t REG_SZ /v SL_USERNAME /d %baseLogin%%1
reg add HKCU\Environment /f /t REG_SZ /v SL_PASSWORD /d cafepass

After startup the computer will be named mycafe1 (or whatever SL number it has) and preset password to cafepass.

THEN, when users login (if you have the same number of user accounts and computers) you can have your login.bat look like this:

REM ###### Start steam ######

for /f "skip=4 tokens=3" %%V in ('reg query HKCU\Environment /v SL_USERNAME') do set SL_USERNAME=%%V
for /f "skip=4 tokens=3" %%V in ('reg query HKCU\Environment /v SL_PASSWORD') do set SL_PASSWORD=%%V

Start "Steam" "D:\games\Steam\Steam.exe" -silent -login %SL_USERNAME% %SL_PASSWORD%

After this, steam is logged in. Now, all you have to do, is point SL at steam.exe and in parameters give -applaunch number for specific game.

Now, of course this only works with same number of PC as licenses. But it is also possible to use LM to achive the same.

But what is the benefit of doing this? Well, for one, L4D2 works. It can´t handle roaming profiles (changing users all the time, as in a café perhaps?). The next is, that we can now syncronize each computer with a server, so it updates the maps on all machines (so you don´t have to download all over again), without using junction :-) Just use robocopy with /XO :-) Questions? ;-)

Post #22635
« Prev Topic | Next Topic »

12»»

Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Adam [SL], Ralf [SL], infidel [GIZMO], Thomas [SL], Daniel [SL]

PermissionsExpand / Collapse

All times are GMT +1:00, Time now is 4:50

Powered by InstantForum.NET v4.1.4 © 2012
Execution: 0,031. 8 queries. Compression Enabled.