Подпишитесь на наш Telegram-канал, чтобы всегда быть в курсе важных обновлений! Перейти

Исходник Inviter Lobby

Модератор форума
Модератор
Модератор
Статус
Оффлайн
Регистрация
2 Дек 2016
Сообщения
2,574
Реакции
1,885
Обычный инвайтер в лобби.
Думаю объяснять ,что оно делает и так всем понятно :)


Код:
Expand Collapse Copy
auto lobby_stuff::meme_inviter(bool get_collection_size) -> uint16_t {
  #pragma pack(push, 1)
  struct item_t {
    uint16_t idx_next_0, unk_idx_2, idx_prev_4, unk_val_6;
    uint64_t steam_id_8;
    uint32_t* unk_ptr_16;
  }; //Size: 0x0014
  #pragma pack(pop)

  static const auto collection = *(uint32_t**)(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 35 ? ? ? ? 66 3B D0 74 07") + 2);

  if (*collection) {
    auto invite_to_lobby = [](uint64_t id) {
      class IMatchFramework; // GetMatchSession:13
      class ISteamMatchmaking; // InviteUserToLobby:16

      using GetLobbyId = uint64_t(__thiscall*)(void*);
      using GetMatchSession = uintptr_t*(__thiscall*)(IMatchFramework*);
      using InviteUserToLobby = bool(__thiscall*)(ISteamMatchmaking*, uint64_t, uint64_t);

      static const auto match_framework = **reinterpret_cast<IMatchFramework***>(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 0D ? ? ? ? 8B 01 FF 50 2C 8D 4B 18") + 0x2);
      static const auto steam_matchmaking = **reinterpret_cast<ISteamMatchmaking***>(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 3D ? ? ? ? 83 EC 08 8B 4D 08 8B C4") + 0x2);
    
      const auto match_session = CallVFunction<GetMatchSession>(match_framework, 13)(match_framework);
      if (match_session) {
        const uint64_t my_lobby_id = CallVFunction<GetLobbyId>(match_session, 4)(match_session);
        CallVFunction<InviteUserToLobby>(steam_matchmaking, 16)(steam_matchmaking, my_lobby_id, id);
      }
    };

    auto max_index = ((uint16_t*)collection)[9];
  
    if (get_collection_size)
      return max_index;

    for (uint16_t i = 0; i <= max_index; ++i) {
      auto item = &((item_t*)*collection)[i];
      invite_to_lobby(item->steam_id_8);
    }

    return max_index;
  }

  return 0;
}

Пожалуйста, авторизуйтесь для просмотра ссылки.
 
Последнее редактирование:
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обычный инвайтер в лобби.
Думаю объяснять ,что оно делает и так всем понятно :)


Код:
Expand Collapse Copy
auto lobby_stuff::meme_inviter(bool get_collection_size) -> uint16_t {
  #pragma pack(push, 1)
  struct item_t {
    uint16_t idx_next_0, unk_idx_2, idx_prev_4, unk_val_6;
    uint64_t steam_id_8;
    uint32_t* unk_ptr_16;
  }; //Size: 0x0014
  #pragma pack(pop)

  static const auto collection = *(uint32_t**)(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 35 ? ? ? ? 66 3B D0 74 07") + 2);

  if (*collection) {
    auto invite_to_lobby = [](uint64_t id) {
      class IMatchFramework; // GetMatchSession:13
      class ISteamMatchmaking; // InviteUserToLobby:16

      using GetLobbyId = uint64_t(__thiscall*)(void*);
      using GetMatchSession = uintptr_t*(__thiscall*)(IMatchFramework*);
      using InviteUserToLobby = bool(__thiscall*)(ISteamMatchmaking*, uint64_t, uint64_t);

      static const auto match_framework = **reinterpret_cast<IMatchFramework***>(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 0D ? ? ? ? 8B 01 FF 50 2C 8D 4B 18") + 0x2);
      static const auto steam_matchmaking = **reinterpret_cast<ISteamMatchmaking***>(Utils::PatternScan(GetModuleHandleA("client_panorama.dll"), "8B 3D ? ? ? ? 83 EC 08 8B 4D 08 8B C4") + 0x2);
    
      const auto match_session = CallVFunction<GetMatchSession>(match_framework, 13)(match_framework);
      if (match_session) {
        const uint64_t my_lobby_id = CallVFunction<GetLobbyId>(match_session, 4)(match_session);
        CallVFunction<InviteUserToLobby>(steam_matchmaking, 16)(steam_matchmaking, my_lobby_id, id);
      }
    };

    auto max_index = ((uint16_t*)collection)[9];
  
    if (get_collection_size)
      return max_index;

    for (uint16_t i = 0; i <= max_index; ++i) {
      auto item = &((item_t*)*collection)[i];
      invite_to_lobby(item->steam_id_8);
    }

    return max_index;
  }

  return 0;[/CENTER]
}

Пожалуйста, авторизуйтесь для просмотра ссылки.
Как это вставить в мой исходник?
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Инвайтер очень классный, кстати гоги, хочешь секса?
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Как по мне анюзелз дич
 
Назад
Сверху Снизу