Steam

Steam

评价数不足
How to idle on Steam!
由 Chocolate Coconut Cake 制作
This guide will teach you how to idle on any Steam game you want! (With limitations on some games that do not exist/others)
   
奖励
收藏
已收藏
取消收藏
Required Items
PLEASE HAVE THE ABILITY TO VIEW FILE EXTENSIONS SO THIS GOES EASIER!

Hello, the items you require to idle on Steam is:

  • Python installed at: "C:/Python27/python.exe" (That is where the .exe is suppose to be located at)
  • Windows

THIS WILL USE THE FOLLOWING PROGRAMS:

Python
wscript.exe (VBScript)
notepad.exe (Text)
Steam Games (We need to copy a file from one game)
Creation of Files
Now that you have the two required items on the list, let us continue on!

Make a folder, anywhere is fine.

The folder I created is located at:

C:/python27/husani

Inside that folder, we want to create three text files.

One text file is going to be called "ANYTHINGYOUWANTHERE.txt" (Doesn't matter how you name it, as long as it's a text file)
One text file is going to be called "ids.txt"
One text file is going to be called "steam_appid.txt"

Now, open up "ANYTHINGYOUWANTHERE.txt" and put in this code:

AmountofTimeInSeconds = 7200 '7200 is 2 Hours '86400 is 24 Hours '1209600 is 2 Weeks (14 Days(336 Hours)) Const ForReading = 1 Const ForWriting = 2 Set objFSO = CreateObject("Scripting.FileSystemObject") Set objWSH = WScript.CreateObject("WScript.Shell") DirectoryOfScript = objWSH.CurrentDirectory steamappid = DirectoryOfScript & "\steam_appid.txt" steamids = DirectoryOfScript & "\ids.txt" steamidsbackup = DirectoryOfScript & "\temp.txt" objFSO.CopyFile steamids, steamidsbackup, true Set TextFile1 = objFSO.OpenTextFile(steamids, ForReading) Do While TextFile1.AtEndOfStream <> True TextFile1.SkipLine Loop AmountofLinesTotal = TextFile1.Line i = 1 Do until i = AmountofLinesTotal i = i + 1 Set objTextFile1 = objFSO.OpenTextFile(steamids, ForReading) strLine1 = objTextFile1.ReadLine strText1 = objTextFile1.ReadAll arrLines = Split(strText1) objTextFile1.Close Set objFile1 = objFSO.OpenTextFile(steamids, ForWriting) For a = 0 to Ubound(arrLines) objFile1.WriteLine arrLines(a) Next objFile1.Close Set objTextFile2 = objFSO.OpenTextFile(steamappid, ForReading) strText2 = objTextFile2.ReadAll arrLines = Split(strText2) objTextFile2.Close Set objFile2 = objFSO.OpenTextFile(steamappid, ForWriting) For b = 1 to Ubound(arrLines) objFile2.WriteLine arrLines(b) Next objFile2.WriteLine strLine1 objFile2.Close objWSH.run "C:\Python27\\python.exe -c " & chr(34) & "import time; import ctypes; s=ctypes.CDLL('steam_api.dll'); s.SteamAPI_Init(); time.sleep(" & AmountofTimeInSeconds & ");" & chr(34), 0 wscript.sleep(1000) loop objFSO.CopyFile steamidsbackup, steamids, true

Save the file AS "ANYTHINGYOUWANT.vbs"

IT HAS TO BE A .vbs EXTENSION!

Edit the top part of the script to any number you want in seconds
IMPORTANT STEP! (Aquiring "steam_api.dll")
Now, the most important part of this tutorial is getting a "steam_api.dll" file

Go to any steam game's directory (Which can be acomplished by going to your game library -> Properties -> Local Files - Browse Local Files)

Some games do not have steam_api.dll

We will use Transformice ( http://psteamproxy.yuanyoumao.com/app/335240 ) for this since CS:GO does not have a steam_api.dll (at least not for me).

It'll be located in the main directory of Transformice.

Copy the steam_api.dll there, then paste it into the same folder as your three files you created, ("ANYTHINGYOUWANTHERE.vbs", "steam_appid.txt", and "ids.txt")

Now you're done with getting the file!

(YOU CAN USE ANY "steam_api.dll"S YOU WANT! (AS LONG AS IT'S YOUR OWN I THINK!))
AppIDs you want to idle in
To idle in games you want to idle in, find their steam page on the steam store, go to their page, and you'll be at a page with the URL: http://store.steampowered .com/app/APPIDHERE/

You'll want to copy the numbers where "APPIDHERE" is located at.

For this test purpose, we're going to use CS:GO.

CS:GO's steam page is: http://psteamproxy.yuanyoumao.com/app/730

We are going to go ahead and edit the file, "ids.txt" and add in the number, "730" to the first line of the text file.

Now, if you want to idle in multiple games, which we want to do, we're going to add another game. This other game is TF2, Appid = "440"

In "ids.txt", we'll add the two IDs so now the file looks like this:

730 440

Now, all we want to do now is launch the "ANYTHINGYOUWANTHERE.vbs" to continue!

Launching the "ANYTHINGYOUWANTHERE.vbs" will launch "python.exe", which will only show in your task manager. There should be two "python.exe"s, if there are more it's because you added either more numbers to "ids.txt".

THE "python.exe"s WILL CLOSE AFTER THE AMOUNT OF SECONDS YOU PUT IN THE "ANYTHINGYOUWANTHERE.vbs" FILE.
TO CLOSE THE "python.exe"s MANUALLY
Just copy this into a different ".vbs" file:

Set objWSH = CreateObject("WScript.Shell") objWSH.Run "taskkill /F /IM python.exe", ,True objWSH.Run "taskkill /F /IM wscript.exe", ,True

Then save it as anything you want, but it has to end in ".vbs"

Then run it.
Credits
https://psteamcommunity.yuanyoumao.com/profiles/76561198054893519

For the original batch script which I converted to VBScript (Mine doesn't make a pop-up like his does)

http://psteamcommunity.yuanyoumao.com/groups/idlemastery

Source Code? :D

13 条留言
Amber Starlight 2017 年 1 月 5 日 下午 4:22 
or you could just use fucking steam achivement manager and leave that open all day
germanboo hispanic 2017 年 1 月 4 日 下午 9:09 
hey at least you don't use ruby
Chocolate Coconut Cake  [作者] 2016 年 7 月 11 日 下午 9:27 
dont make fun of autists for being a python
tip real drippy 2016 年 7 月 11 日 下午 6:57 
python is autistic
Useless Chest Muscle 2016 年 6 月 29 日 下午 3:35 
thx
Jesus Christ 2016 年 6 月 22 日 下午 9:57 
Yes you are stupid, jk add me and ill show you my way
Genji The Genju 2016 年 6 月 22 日 上午 2:41 
me is stupid
Chocolate Coconut Cake  [作者] 2016 年 6 月 21 日 下午 12:26 
it's .vbs not .vds
Genji The Genju 2016 年 6 月 21 日 上午 10:13 
mine doesnt wanna run the anythingyouwanthere.vds file
Jesus Christ 2016 年 3 月 29 日 上午 1:08 
mine is easier to do.