Загрузка...

**** maps with Steam recommendations

Thread in CS2 Guides created by Fockstrot Jul 1, 2018. (bumped Jun 27, 2018) 432 views

  1. Fockstrot
    Fockstrot Topic starter Jul 1, 2018 Banned 1466 May 14, 2016
    [IMG]
    Переходим на страницу рекомендаций >> https://store.steampowered.com/explore
    Открываем консоль (chrome) ctrl + shift + J

    Code
    var DiscoveryQueueModal, GenerateQueue = function( queueNumber )
    {
    if( DiscoveryQueueModal )
    {
    DiscoveryQueueModal.Dismiss();
    }

    DiscoveryQueueModal = ShowBlockingWaitDialog( 'Generating the queue...', 'Generating new discovery queue #' + ++queueNumber );

    jQuery.post( 'https://store.steampowered.com/explore/generatenewdiscoveryqueue', { sessionid: g_sessionID, queuetype: 0 } ).done( function( data )
    {
    var requests = [], done = 0, errorShown;

    for( var i = 0; i < data.queue.length; i++ )
    {
    var request = jQuery.post( 'https://store.steampowered.com/app/10', { appid_to_clear_from_queue: data.queue[ i ], sessionid: g_sessionID } );

    request.done( function()
    {
    if( errorShown )
    {
    return;
    }

    DiscoveryQueueModal.Dismiss();
    DiscoveryQueueModal = ShowBlockingWaitDialog( 'Exploring the queue...', 'Request ' + ++done + ' of ' + data.queue.length );
    } );

    request.fail( function()
    {
    errorShown = true;

    setTimeout( () => GenerateQueue( queueNumber - 1 ), 1000 );

    DiscoveryQueueModal.Dismiss();
    DiscoveryQueueModal = ShowConfirmDialog( 'Error', 'Failed to clear queue item #' + ++done + '. Trying again in a second.', 'Try again' );
    } );

    requests.push( request );
    }

    jQuery.when.apply( jQuery, requests ).done( function()
    {
    DiscoveryQueueModal.Dismiss();

    if( queueNumber < 3 )
    {
    GenerateQueue( queueNumber );
    }
    else
    {
    DiscoveryQueueModal = ShowConfirmDialog( 'Done', 'Queue has been explored ' + queueNumber + ' times', 'Reload the page' ).done( function() {
    ShowBlockingWaitDialog( 'Reloading the page' );
    window.location.reload();
    });
    }
    } );
    } ).fail( function()
    {
    setTimeout( () => GenerateQueue( queueNumber - 1 ), 1000 );

    DiscoveryQueueModal.Dismiss();
    DiscoveryQueueModal = ShowBlockingWaitDialog( 'Error', 'Failed to generate new queue #' + queueNumber + '. Trying again in a second.' );
    } );
    };

    var buttonContainer = document.createElement( 'div' );
    buttonContainer.className = 'discovery_queue_customize_ctn';
    buttonContainer.innerHTML = '<div class="btnv6_blue_hoverfade btn_medium" id="js-cheat-queue"><span>Cheat the queue</span></div><span>Discover the queue three times to get the sale cards</span>';

    var container = document.querySelector( '.discovery_queue_customize_ctn' );
    container.parentNode.insertBefore( buttonContainer, container );

    var button = document.getElementById( 'js-cheat-queue' );

    button.addEventListener( 'click', function( )
    {
    GenerateQueue( 0 );
    }, false );
    Вставляем скрипт + Enter.

    Далее кликаем по кнопке:

    [IMG]
     
  2. FTS
    FTS Jul 1, 2018 Fuck The System - меняйся с нами 1020 Jan 9, 2018
    и шо будет?(я туплю)
     
  3. Jordan
    Jordan Jul 1, 2018 Отнимай, пока не отняли у тебя 8063 Feb 1, 2016
    Хз,я расширение юзаю,да и старые скрипты вроде всё ещё робят
     
  4. Fockstrot
    Fockstrot Topic starter Jul 1, 2018 Banned 1466 May 14, 2016
    По три карточки дают два дня,ксго нужен на профиле
    [IMG]
     
  5. Jordan
    Jordan Jul 1, 2018 Отнимай, пока не отняли у тебя 8063 Feb 1, 2016
    Я чего-то не понимаю,2 дня?Это уже дней как 5 есть,и будет числа до 5ого,если не ошибаюсь.И кс вообще не обязательна
     
Loading...
Top