Skocz do zawartości
1 maja :: Święto Pracy / 2 maja :: Dzień Flagi / 3 maja :: Święto Konstytucji

[Source / CS:GO] ascedancy hvh cheat


deathander
# CSH External VIP Project

Masz dosyć problemów z czynnikiem zaufania w CS2 lub notorycznymi banami?

Sprawdź CSH External VIP Project.


Więcej informacji  

Rekomendowane odpowiedzi

15 godzin temu, Mon3teR napisał:

To co to za problem w google znaleść ten events  log albo damager inicjator? 

Ty rozumiesz co ja napisałem? NIE MOGE DODAĆ TEGO, UŻYWAŁEM TEGO EVENT LOGA Z HITGROUPAMI, FIXOWAŁEM WSZYSTKO ALE I TAK NIE DAŁO SIĘ TEGO DODAĆ

//HIT GROUP
char* HitgroupToName( int hitgroup )
{
switch ( hitgroup )
{
case HITGROUP_HEAD:
return "head";
case HITGROUP_LEFTLEG:
return "left leg";
case HITGROUP_RIGHTLEG:
return "right leg";
case HITGROUP_STOMACH:
return "stomach";
default:
return "body";
}
}
//LOGS
void CVisuals::EventListener::FireGameEvent( IGameEvent * pEvent )
{
if ( !strcmp( pEvent->GetName(), "player_hurt" ) )
{
int iAttacker = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "attacker" ) );
int iVictim = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
if ( iAttacker == g_pEngine->GetLocalPlayer() && iVictim != g_pEngine->GetLocalPlayer() )
{
if ( Vars.Other.bHitsound )
g_pSurface->PlaySound( "buttons\\arena_switch_press_02.wav" );
if ( Vars.Visuals.bHitmarkerHitbox )
F::Visuals->CapsuleOverlay( iVictim, Vars.Visuals.PlayerEsp.Colors.flEnemyHitBoxes, 0.8f );
F::Visuals->SetHitmarkerValues( g_pGlobalVarsBase->curtime, pEvent->GetInt( "dmg_health" ), iVictim );
auto pVictim = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( iVictim ) );
player_info_t pinfo;
g_pEngine->GetPlayerInfo( iVictim, &pinfo );
g_pCvar->ConsoleColorPrintf( Color( 200, 255, 0, 255 ), "[lightlogs] " );
G::Msg( "Hit %s in the %s for %d damage (%d health remaining) \n", pinfo.name, HitgroupToName( pEvent->GetInt( "hitgroup" ) ), pEvent->GetInt( "dmg_health" ), pEvent->GetInt( "health" ) );
}
}
else if ( !strcmp( pEvent->GetName(), "bullet_impact" ) )
{
int iUser = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
auto pPlayer = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( iUser ) );
if ( !pPlayer )
return;
if (iUser != g_pEngine->GetLocalPlayer())
return;
if ( pPlayer->IsDormant() )
return;
float x, y, z;
x = pEvent->GetFloat( "x" );
y = pEvent->GetFloat( "y" );
z = pEvent->GetFloat( "z" );
BulletImpact_t impact( pPlayer, Vector( x, y, z ), g_pGlobalVarsBase->curtime, iUser == g_pEngine->GetLocalPlayer() ? Color::Green() : Color::Red() );
F::Visuals->Impacts.push_back( impact );
}
else if ( !strcmp( pEvent->GetName(), "item_purchase" ) )
{
int iUser = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
auto pLocalPlayer = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( g_pEngine->GetLocalPlayer() ) );
if ( pLocalPlayer || pLocalPlayer->GetTeam() == pEvent->GetInt( "team" ) )
return;
player_info_t pinfo;
g_pEngine->GetPlayerInfo( iUser, &pinfo );
g_pCvar->ConsoleColorPrintf( Color( 200, 255, 0, 255 ), "[lightlogs] " );
G::Msg( "%s bought %s\n", pinfo.name, pEvent->GetString( "weapon" ) );
}
};

nie moglem tego w zaden sposob dodac, jedna rzecz fixowalem, druga sie psula

Odnośnik do komentarza
3 godziny temu, klocek222 napisał:

Ty rozumiesz co ja napisałem? NIE MOGE DODAĆ TEGO, UŻYWAŁEM TEGO EVENT LOGA Z HITGROUPAMI, FIXOWAŁEM WSZYSTKO ALE I TAK NIE DAŁO SIĘ TEGO DODAĆ


//HIT GROUP
char* HitgroupToName( int hitgroup )
{
switch ( hitgroup )
{
case HITGROUP_HEAD:
return "head";
case HITGROUP_LEFTLEG:
return "left leg";
case HITGROUP_RIGHTLEG:
return "right leg";
case HITGROUP_STOMACH:
return "stomach";
default:
return "body";
}
}
//LOGS
void CVisuals::EventListener::FireGameEvent( IGameEvent * pEvent )
{
if ( !strcmp( pEvent->GetName(), "player_hurt" ) )
{
int iAttacker = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "attacker" ) );
int iVictim = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
if ( iAttacker == g_pEngine->GetLocalPlayer() && iVictim != g_pEngine->GetLocalPlayer() )
{
if ( Vars.Other.bHitsound )
g_pSurface->PlaySound( "buttons\\arena_switch_press_02.wav" );
if ( Vars.Visuals.bHitmarkerHitbox )
F::Visuals->CapsuleOverlay( iVictim, Vars.Visuals.PlayerEsp.Colors.flEnemyHitBoxes, 0.8f );
F::Visuals->SetHitmarkerValues( g_pGlobalVarsBase->curtime, pEvent->GetInt( "dmg_health" ), iVictim );
auto pVictim = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( iVictim ) );
player_info_t pinfo;
g_pEngine->GetPlayerInfo( iVictim, &pinfo );
g_pCvar->ConsoleColorPrintf( Color( 200, 255, 0, 255 ), "[lightlogs] " );
G::Msg( "Hit %s in the %s for %d damage (%d health remaining) \n", pinfo.name, HitgroupToName( pEvent->GetInt( "hitgroup" ) ), pEvent->GetInt( "dmg_health" ), pEvent->GetInt( "health" ) );
}
}
else if ( !strcmp( pEvent->GetName(), "bullet_impact" ) )
{
int iUser = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
auto pPlayer = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( iUser ) );
if ( !pPlayer )
return;
if (iUser != g_pEngine->GetLocalPlayer())
return;
if ( pPlayer->IsDormant() )
return;
float x, y, z;
x = pEvent->GetFloat( "x" );
y = pEvent->GetFloat( "y" );
z = pEvent->GetFloat( "z" );
BulletImpact_t impact( pPlayer, Vector( x, y, z ), g_pGlobalVarsBase->curtime, iUser == g_pEngine->GetLocalPlayer() ? Color::Green() : Color::Red() );
F::Visuals->Impacts.push_back( impact );
}
else if ( !strcmp( pEvent->GetName(), "item_purchase" ) )
{
int iUser = g_pEngine->GetPlayerForUserID( pEvent->GetInt( "userid" ) );
auto pLocalPlayer = reinterpret_cast< C_BasePlayer* >( g_pClientEntList->GetClientEntity( g_pEngine->GetLocalPlayer() ) );
if ( pLocalPlayer || pLocalPlayer->GetTeam() == pEvent->GetInt( "team" ) )
return;
player_info_t pinfo;
g_pEngine->GetPlayerInfo( iUser, &pinfo );
g_pCvar->ConsoleColorPrintf( Color( 200, 255, 0, 255 ), "[lightlogs] " );
G::Msg( "%s bought %s\n", pinfo.name, pEvent->GetString( "weapon" ) );
}
};

nie moglem tego w zaden sposob dodac, jedna rzecz fixowalem, druga sie psula

Jak masz chociaż troche mózgu, a nie pastujesz jak leci to zrobisz z tego użytek :






#include "../includes.h"

#include "../UTILS/INTERFACES.h"
#include "../SDK/CClientEntityList.h"
#include "../SDK/IEngine.h"
#include "../SDK/CBaseEntity.h"
#include "../SDK/CGlobalVars.h"
#include "../SDK/ISurface.h"

#include "../FEATURES/Backtracking.h"
#include "../FEATURES/Resolver.h"
#include "../FEATURES/Visuals.h"
#include "../DamageIndicators.h"
#include "EventListener.h"
#include <playsoundapi.h>
#include "../eventstruct.h"
#include <sstream>
#include "../SDK/ConVar.h"
#pragma comment(lib, "Winmm.lib")

CGameEvents::PlayerHurtListener player_hurt_listener;
CGameEvents::ItemPurchaseListener item_purchase_listener;
CGameEvents::BulletImpactListener bullet_impact_listener;
auto filter = SDK::CHudChat::ChatFilters::CHAT_FILTER_NONE;
void CGameEvents::InitializeEventListeners()
{
    I::GameEventManager->AddListener(&item_purchase_listener, "item_purchase", false);
    I::GameEventManager->AddListener(&player_hurt_listener, "player_hurt", false);
    I::GameEventManager->AddListener(&bullet_impact_listener, "bullet_impact", false);
}
char* HitgroupToName(int hitgroup)
{
    switch (hitgroup)
    {
    case HITGROUP_HEAD:
        return "Head";
    case HITGROUP_LEFTLEG:
        return "Left leg";
    case HITGROUP_RIGHTLEG:
        return "Right leg";
    case HITGROUP_STOMACH:
        return "Stomach";
    default:
        return "Body";
    }
}

 

void CGameEvents::PlayerHurtListener::FireGameEvent(SDK::IGameEvent* game_event)
{
    if (!game_event)
        return;

    auto local_player = I::ClientEntityList->GetClientEntity(I::Engine->GetLocalPlayer());
    if (!local_player)
        return;

    auto entity = I::ClientEntityList->GetClientEntity(I::Engine->GetPlayerForUserID(game_event->GetInt("userid")));
    if (!entity)
        return;

    auto entity_attacker = I::ClientEntityList->GetClientEntity(I::Engine->GetPlayerForUserID(game_event->GetInt("attacker")));
    if (!entity_attacker)
        return;

    if (entity->GetTeam() == local_player->GetTeam())
        return;

    SDK::player_info_t player_info;
    if (!I::Engine->GetPlayerInfo(entity->GetIndex(), &player_info))
        return;

    if (SETTINGS::settings.hitmaker_bool)
    {
        const char* szEventName = game_event->GetName();
        if (!szEventName)
            return;

        if (strcmp(szEventName, "player_hurt") == 0)
        {
            
            int Attacker = game_event->GetInt("attacker");
            int UserID = game_event->GetInt("userid");

            
            auto* Entity = I::ClientEntityList->GetClientEntity(I::Engine->GetPlayerForUserID(UserID));

            if (I::Engine->GetPlayerForUserID(Attacker) == I::Engine->GetLocalPlayer())
            {
                //SDK::player_info_t ent_info;
                I::Engine->ClientCmd_Unrestricted("play buttons\\arena_switch_press_02.wav");
                shots_hit[Entity->GetIndex()]++;

                std::stringstream string;
                string << "\x3 [ALI3NW4RE] \x4 Hitted " << player_info.name << " 's " << HitgroupToName(game_event->GetInt("hitgroup")) << " for " << game_event->GetInt("dmg_health") <<" damage (" << game_event->GetInt("health") << " health remaining)";
                visuals->events.push_front(loginfo(string.str(), CColor(51, 204, 51,255), I::Globals->curtime));
                
                std::string str(string.str());

                const char* cstr1 = str.c_str();
                
                I::cvar->ConsoleColorPrintf(CColor(51, 204, 51, 255), cstr1);
                I::cvar->ConsoleColorPrintf(CColor(51, 204, 51, 255), "\n");
                I::g_ChatElement->ChatPrintf(I::Engine->GetLocalPlayer(), filter, cstr1);
                


            }
        }
    }

 

 

}

void CGameEvents::BulletImpactListener::FireGameEvent(SDK::IGameEvent* game_event)
{
    if (!game_event)
        return;

    int iUser = I::Engine->GetPlayerForUserID(game_event->GetInt("userid"));

    auto entity = reinterpret_cast<SDK::CBaseEntity*>(I::ClientEntityList->GetClientEntity(iUser));

    if (!entity)
        return;

    if (entity->GetIsDormant())
        return;

    float x, y, z;
    x = game_event->GetFloat("x");
    y = game_event->GetFloat("y");
    z = game_event->GetFloat("z");

    
    UTILS::BulletImpact_t impact(entity, Vector(x, y, z), I::Globals->curtime, iUser == I::Engine->GetLocalPlayer() ? GREEN : RED);

    visuals->Impacts.push_back(impact);
}

void CGameEvents::ItemPurchaseListener::FireGameEvent(SDK::IGameEvent* game_event)
{
    auto userid = game_event->GetInt("userid");

    if (!userid)
        return;

    auto* Entity = I::ClientEntityList->GetClientEntity(I::Engine->GetPlayerForUserID(userid));

    auto local_player = I::ClientEntityList->GetClientEntity(I::Engine->GetLocalPlayer());

    if (Entity->GetTeam() == local_player->GetTeam())
        return;

    auto userid_id = I::Engine->GetPlayerForUserID(userid);

    SDK::player_info_t userid_info;
    if (!I::Engine->GetPlayerInfo(userid_id, &userid_info))
        return;

    std::stringstream string;
    string << "\x3 [ALI3NW4RE] \x1" << userid_info.name << " purchased " << game_event->GetString("weapon") << "";
    visuals->events.push_front(loginfo(string.str(), CColor(255, 255, 255, 255), I::Globals->curtime));


    

    std::string str(string.str());

    const char* cstr1 = str.c_str();

    I::cvar->ConsoleColorPrintf(CColor(255, 255, 255, 255), cstr1);
    I::cvar->ConsoleColorPrintf(CColor(255, 255, 255, 255), "\n");
    //I::g_ChatElement->ChatPrintf(I::Engine->GetLocalPlayer(), filter, cstr1);
}

Odnośnik do komentarza

niestety mi crashuje 😕

po włączonym csie injectuje cheata i wyskakuje konsola z róznymi numerami i literami, a po 3 sekundach wyłącza się cs i ta konsola.

 

edit: próbowałem róznymi injectorami i nic z tego, ma ktoś jakaś pomoc?


Edytowane przez DJOgree
Odnośnik do komentarza

Hm?

i

Cytat

@Mon3teR

 

1. W hitboksach usuń HITBOX_LOWER_NECK. 
2. Zastąp indeksy (wskaźniki) w CBaseWeapon.h

GetWeaponInfo: 445

GetInaccuracy: 468

UpdateAccuracyPenalty: 469

GetSpread: 437

3. A co najważniejsze, popraw anty-cele. 
auto client_state = * reinterpret_cast <uintptr_t *> (uintptr_t (GetModuleHandle ("engine.dll")) + 0x57F85C);

 


Edytowane przez Lummit

zdOPYWZ.png

image.thumb.png.b57ec0103ede32ce1ed9b263d4c2d40d.png

Odnośnik do komentarza
W dniu 27.02.2019 o 07:44, Lummit napisał:

@baranex3 zmień wszystkie "client.dll" na "client_panorama.dll"

 

W dniu 27.02.2019 o 17:35, baranex3 napisał:

@Lummit Właśnie o to chodzi, że miałem zmienione i nic się niedzieje. 

To nie wystarczy ten source jest nie aktualny, jak chcesz inny podobny source do tego to masz w tym dziale nazywa się "stackhack".

1316234203_standard(2).gif.367f1f222009a3a6158b86f067535f0a.gif

Odnośnik do komentarza

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Gość
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę. Regulamin. Polityka prywatności