褰???浣?缃??棣?椤?/a> > ?跺?娲诲??/a>

Steam????????娆炬父?? ?╃?ㄥ??ュ??绱?杞绘?鹃???

2018-05-05 00:42:35 ?ユ?锛???????? 浣???锛??ヨ景澶ц〃??/span> ?3?¤?璁?/a>

Steam????????娆炬父?? ?╃?ㄥ??ュ??绱?杞绘?鹃???


杩?涓??规????╃?ㄦ?瑙??ㄧ??瀹℃?ュ??绱?涓??????Steam娓告?? ??浣???甯哥???

1.棣?????寮?锛?
https://store.steampowered.com/ ?诲?Steam璐﹀??br />
2.?诲?????寮?锛?https://store.steampowered.com/account/licenses/ ?冲?诲??ュ??绱?-?惧??onsole

灏?浠g??澶??剁?璐磋??绘????杞﹀氨?藉??璐归???浜?


Steam????????娆炬父??_?╃?ㄥ??ュ??绱?杞绘?鹃???


浠g??濡?涓?锛?


(function()
{
    if( location.href.match( /^https://store.steampowered.com/account/licenses/?$/ ) === null )
	{
		alert( '璇峰??team甯??锋??缁?椤甸?㈣?琛?杩?浜?浠g??: https://store.steampowered.com/account/licenses/' );

		window.location = 'https://store.steampowered.com/account/licenses/';

		return;
	}
	
	var freePackages =
	[
		//???
		39166,//Heroine's Quest: The Herald of Ragnarok
		13261,//RACE 07: Andy Priaulx Crowne Plaza Raceway
		32032,//Portal 2 Sixense Perceptual Pack
		59373,//Penumbra: Necrologue
		33694,//Grimm&Episode 1 - A Boy Learns What Fear Is
		88162,//Romance of the Three Kingdoms Maker
		36561,//Serena
		58514,//Voxelized
        117526,//Amnesia: Final Revelations
		
		//dlc
		85604,//RTK Maker - Face CG ??RTK13?? Set / 涓??藉??????笺????婚?茬??? ??涓???蹇?13???汇????+?枫?????
		21478,//Free to Play??璐规???
		50861,//Free to Play Soundtrack
		21473,//Prime World??璐规???
		31538,//Prime World - Prime Machine
		32287,//Z3TA+ 2 - Polybius 8-bit Game Pack
		38085,//Saints Row IV - Reverse Cosplay Pack
		72261,//The Secret of Tremendous Corporation??璐规???
		81026,//The Sources of Tremendous Corporation
		47333,//Aura Kingdom??璐规???
		38820,//Aura Kingdom - Winter Gift
		69802,//Fuse??璐规???
		60341,//Fuse - Free Brute Character Pack
		21416,//Elsword??璐规???
		63207,//Time Tracer's DLC Package
		59253,//Vindictus - New User Package
		
		//杞?欢&宸ュ?
		35063,//Star Swarm Stress Test
		74465,//Arma 3 Samples
	];
	
	var ownedPackages = {};
	
	jQuery( '.account_table a' ).each( function( i, el )
	{
		var match = el.href.match( /javascript:RemoveFreeLicense( ([0-9]+), '/ );
		
		if( match !== null )
		{
			ownedPackages[ +match[ 1 ] ] = true;
		}
	} );
	
	var i = 0,
	    loaded = 0,
	    package = 0,
	    total = freePackages.length,
	    modal = ShowBlockingWaitDialog( '?????ц?涓?..',
	    	'璇疯??蹇?绛?寰?锛?濡???????璇????瑙?锛?璇疯??蹇?绛?寰???????杞藉?姣?' );
	
	for( ; i < total; i++ )
	{
		package = freePackages[ i ];
		
		if( ownedPackages[ package ] )
		{
			loaded++;
			continue;
		}
		
		jQuery.post(
			'//store.steampowered.com/checkout/addfreelicense',
			{
				action: 'add_to_cart',
				sessionid: g_sessionID,
				subid: package
			}
		).always( function( )
			{
				loaded++;
				
				modal.Dismiss();
				
				if( loaded >= total )
				{
					location.reload();
				}
				else
				{
					modal = ShowBlockingWaitDialog( '?ц?涓?..',
						'??杞借? <b>' + loaded + '</b>/' + total + '.' );
				}
			}
		);
	}
}());

??濂界????绔???璧?婧?甯????????辩???甯??╁??浜??ㄥ箍锛????宠?????瑕???绋?/a>

?冲?ㄨ?????辩??存?扮?绔??存?版?堕?磋?????涓?瀹??舵?存?板????
  •  05-03

    缃???璇?璁?i class="after">

  • ????em>?存??/em>
    ????em>??绔?