maecry / asphyxia-cs2 Goto Github PK
View Code? Open in Web Editor NEWopen-source game hack/base/template for Counter-Strike 2 (somewhat of low-quality maybe as I don't care)
License: MIT License
open-source game hack/base/template for Counter-Strike 2 (somewhat of low-quality maybe as I don't care)
License: MIT License
idk if thats intended to be like that but chams alpha(transparency) doesnt work
also chams dont work through walls
Describe the bug
the cheat crashes on inject i havent changed anything, i just installed and built and injected but it crashes. Probably something is outdated
Expected behavior
fix
I am trying to add a feature such as "No Flash" and I need to change a offset value called "m_flFlashBangTime" but I don't know how to do that I'd appreciate it if someone gave me a snippet of a code to help.
cheat not working because of cs2 update, injector log - returned NULL
Game crashes when you enter into a game when injected. Error:
[schema.cpp:111] [error] failed to find offset for field with hash: 0x9241B8778DD136BD
unable to find pattern: F2 41 0F 10 00 4C 63 CA
void SetViewAngle(QAngle_t& angView)
{
// @ida: this got called before GetMatricesForView
using fnSetViewAngle = std::int64_t(CS_FASTCALL*)(void*, std::int32_t, QAngle_t&);
//static auto oSetViewAngle = reinterpret_cast<fnSetViewAngle>(MEM::FindPattern(CLIENT_DLL, CS_XOR("F2 41 0F 10 00 4C 63 CA")));
static auto oSetViewAngle = reinterpret_cast<fnSetViewAngle>(MEM::FindPattern(CLIENT_DLL, CS_XOR("F2 41 0F 10 00 4C 63 CA")));
#ifdef CS_PARANOID
CS_ASSERT(oSetViewAngle != nullptr);
#endif
oSetViewAngle(this, 0, std::ref(angView));
}
possibily crashing at this code block, any fix?
Describe the bug
Render target view has been destroyed after changing the game resolution.
To Reproduce
Expected behavior
The render target view should persist after changing the game resolution.
Screenshots
No
Additional context
This issue likely stems from the render target view not being properly re-initialized or updated after the resolution change. Consider implementing a solution to recreate or update the render target view when the resolution changes to ensure its persistence.
Make an legitbot with good aimbot and all that stuff you know smoothing and stuff. Can you add offsets from aimstar so It will be easier to add features.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
I am question after updating the offset.
Thanks for the source.
However, it doesn't seem to move at all.
After compiling, I injected it with potato injector, but when I press insert, the menu does not appear.
I see in the source that the menu is displayed using VK_insert, but why isn't it displayed? (potato injector is normal)
I noticed that when overriding the matierals in OverrideMaterial the colors don't applay to the new material.
One question, what other materials can i use instead of primary_white.vmat or debug_wireframe.vmat?
Describe the bug
nothing appears/happens when injecting
To Reproduce
use injector https://github.com/adamhlt/DLL-Injector (loadlibrary) to inject built dll into cs2.exe
Expected behavior
base loads
Additional context
used multiple other loadlibrary injectors and same thing. i used debug and release builds, unmodified
Describe the bug
Joining the game with the cheat injected and any modifications to CUserCMD will result in a kick with the following error "Failed to parse user commands"
To Reproduce
Enable a feature that modifies CUserCMD such as bhop and go in game
Expected behavior
It should not kick you out of the game eksdee
Additional context
Problem is definitely related to modifying CUserCMD. Perhaps valvo added some kind of CRC to check for modifications before executing the CMD, but I am not proficient enough with assembly and reversing to fix it myself so in other words please fix it pookie xoxo
I am currently using extreme injector v3 and injected the built with manual map (nothing modified). The console opens up, and loads up and then crashes the entire game, the last line the console said was:
[31-01-2024 14:50:08] [core.cpp:121] renderer backend initialization completed
That's what happens when using the debug build, the release build just crashes my game, no console showing up.
I am on win11 and AMD, does this change anything?
Describe the bug
dont work
Hi, im trying to fix my aimbot cause pistols shots only 1 shoot.
When i do nButtons |= IN_ATTACK it shoot but i cant unset in_attack cause if i did it my game not shoot.
And if i dont clear in_attack, it shoot and still holding...
In unknowncheats told me "change CMD to 0x54" but i dont understand at all.... anyone can help me to fix it and fix in base too?
Thanks!
I noticed that some forks of this like this: https://github.com/Bam810bam321/asphyxia have an anti aim. I think it would be very cool if it gets added to the real deal
header
Crashing when loading into the game and throws "failed to find offset for field with hash" in schema.cpp.
the menu seems unstable and is bugging and the base itself is crashing after a few seconds without an error output. please fix this because you cant use something as a base which doesnt work in the first place lol
After the last update, when I inject the cheat in default mode nothing happens (I tried to open the menu on insert), in debug mode it crashes and the console is empty.
please help
i just asked for help ;(
Describe the bug
SCHEMA::Setup not work, after latest update
To Reproduce
for (int i = 0; i < nElements; i++)
{
const UtlTSHashHandle_t hElement = pElements[i];
if (hElement == 0)
continue;
CSchemaClassBinding* pClassBinding = pTypeScope->hashClasses[hElement];
if (pClassBinding == nullptr)
continue;
SchemaClassInfoData_t* pDeclaredClassInfo;
pTypeScope->FindDeclaredClass(&pDeclaredClassInfo, pClassBinding->szBinaryName);
if (pDeclaredClassInfo == nullptr)
continue;
if (pDeclaredClassInfo->nFieldSize == 0)
continue;
CRT::String_t<MAX_PATH> szClassBuffer(CS_XOR("class %s\n"), pDeclaredClassInfo->szName);
::WriteFile(hOutFile, szClassBuffer.Data(), szClassBuffer.Length(), nullptr, nullptr);
for (auto j = 0; j < pDeclaredClassInfo->nFieldSize; j++)
{
SchemaClassFieldData_t* pFields = pDeclaredClassInfo->pFields;
CRT::String_t<MAX_PATH> szFieldClassBuffer(CS_XOR("%s->%s"), pClassBinding->szBinaryName, pFields[j].szName);
// store field info
vecSchemaData.emplace_back(FNV1A::Hash(szFieldClassBuffer.Data()), pFields[j].nSingleInheritanceOffset);
CRT::String_t<MAX_PATH> szFieldBuffer(CS_XOR(" %s %s = 0x%X\n"), pFields[j].pSchemaType->szName, pFields[j].szName, pFields[j].nSingleInheritanceOffset);
// write field info
::WriteFile(hOutFile, szFieldBuffer.Data(), szFieldBuffer.Length(), nullptr, nullptr);
}
//L_PRINT(LOG_INFO) << CS_XOR("dumped \"") << pDeclaredClassInfo->szName << CS_XOR("\" (total: ") << pDeclaredClassInfo->nFieldSize << CS_XOR(" fields)");
}
This step not work, maybe nElements is null
I implement a cheat through the extreme injector method of manual punishment or the usual loading of the library, I also tried smokeinjector and process hacker , all injectors implement dll , but nothing happens in the game, the menu does not open, I use windows 10, the -insecure parameter is enabled in the cs
[memory.cpp:220] [error] export not found: UnDecorateSymbolName
[memory.cpp:220] [error] export not found: SDL_SetRelativeMouseMode
[memory.cpp:220] [error] export not found: SDL_SetWindowGrab
[memory.cpp:220] [error] export not found: SDL_WarpMouseInWindow
[memory.cpp:220] [error] export not found: ?LoadKV3@@YA_NPEAVKeyValues3@@PEAVCUtlString@@PEBDAEBUKV3ID_t@@2@Z
[memory.cpp:356] [error] pattern not found: "48 89 5C 24 00 48 89 6C 24 00 56 57 41 56 48 81 EC 00 00 00 00 48 8B 05"
base is crashing when loading into a map
its crashing here:
void CS_FASTCALL H::FrameStageNotify(void* rcx, int nFrameStage)
{
const auto oFrameStageNotify = hkFrameStageNotify.GetOriginal();
F::OnFrameStageNotify(nFrameStage);
return oFrameStageNotify(rcx, nFrameStage);
}
After adding a variable using C_ADD_VARIABLE
on build the code starts returning 146 errors from windbg.h in the windows 10 sdk.
To Reproduce
Steps to reproduce the behavior:
C_ADD_VARIABLE
in variables.hC_GET
in an if statementExpected behavior
Not getting errors
Additional context
VS2022, c++20
Hello, i would like to know how to get boneArray from this source, i'm trying to do that for 6 hours but i found nothing.
Can someone help me pls ?
cusercmd seems to be weird, it reads the memory of class, for example using an assigment operator as IN_JUMP doesn't do anything in game even though the value is set
I had asked a question but forgot to include it in another issue.
Anyway, I'm curious how the data structure for bone data is made and constructed.
I saw some information in another issue and wanted to test it and understand how it was done, but I couldn't understand some things (I'm a beginner at some things)
I used this to test:
struct CBoneData
{
Vector_t Location;
float Scale;
Quaternion_t Rotation;
};
class CModelState
{
public:
CS_CLASS_NO_INITIALIZER(CModelState);
SCHEMA_ADD_FIELD(CBoneData*, GetBoneArray, "CModelState->m_boneArray");
Vector_t GetBoneLocation(int index)
{
if (GetBoneArray() && index < 0)
return nullptr;
Vector_t pos = GetBoneArray()[index].Location;
return pos;
}
};
class CSkeletonInstance : public CGameSceneNode
{
public:
CS_CLASS_NO_INITIALIZER(CSkeletonInstance);
SCHEMA_ADD_FIELD(CModelState, GetModelState, "CSkeletonInstance->m_modelState");
};
from this : Issue-40
What I don't understand is how the CBoneData data is saved and what is the difference between getting data like this or with a bone data matrix?
Why I have a doubt about how the CBoneData data is taken is because I tested as you said in Issue-40 to increase or decrease the pointer, the pointer 7 works and the CSkeletonInstance does not return null, but the CBoneData data is null
CSkeletonInstance* GetSkeletonInstance() { return MEM::CallVFunc<CSkeletonInstance*, 7U>(this); }
Well, these are my questions... thx!
Throw a decent menu on it and will be good
https://imgbb.com/FgnyRtf (take this for an example its decent but has things that aren't needed Example: Chat feature)
Any plans to add new functions to the base? something like Trace ray function? or more world functions like item esp. ( not asking for features, just more functions to the base like said above "Trace ray/Ray")
I pasted the new update but it still crashes. I even downloaded from github itself and tried to inject but it crashes in lobby without giving any errors
Chams don't work properly, invisible chams don't work at all
Used manual map and got vacation, only made minor changes so not blaming anything but wondering if it was the manual map injector that caused it or not, also your discord doesnt work in README
Describe the bug
When trying to inject (manual map) the cmd prompt does its thing then crashes
To Reproduce
Just try to inject when the current GitHub version
Expected behavior
Unhandled exception at 0x0000000000000000 in cs2.exe: 0xC0000005: Access violation executing location 0x0000000000000000.
I'm sure you are aware of this.
chams dont work
https://imgur.com/a/qkcikrD
Note that anything outside of this base scope will get closed without further question (ex: aimbot, adding features) as the word 'base' describes itself
Cheat crashes when entering match / enabling bhop
CUserCmd is probably outdated
i just wanna know how to fix
i thought its just gonna work like every cheat in like csgo
Describe the bug
A clear and concise description of what the bug is.
Its not really a bug, and because your discord link isn't working i was going to ask here how would it be possible to make an aimbot using this base, like getting view angles, bones, world to screen functions etc.
Im relatively new to CS2 cheats and i believe your base is really good, but also really complex xD.
Thanks for the help in adnvance!
Since the last update, you have changed the logic of operation CORE::GetWorkingPath, and
GetModuleFileNameW always returns false, after that the hack is closed, to fix it is enough to go back to the previous version and everything works as before again.
OS: Windows 11 23H2 (22631.3447)
Just wanted to ask a question. How can I access the client's steam/steamid? I saw this feature in https://github.com/bruhmoment21/cs2-sdk but unfortunately the base was broken and I cannot use it anymore.
Can you work on https://github.com/alza54/opensource2 ? because it has aimbot, triggerbot & rcs and everything! it misses only inventory changer from: https://github.com/bruhmoment21/cs2-sdk/tree/a024d82b81c62ddc62a3fc40c0a51110b27fa9a4/cs2cheat/src/game/skins (it was included in the paste).
cusercmd has crash
Since the 2 last updates, I think you removed the schema dump. Now there is only offsets. Does asphyxia still dump the cs2 schema? if no than is there a place to get it?
So, i have injected it. but i cant open it? insert doesnt work.
Or have something gone wrong in injecting?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.