Should it be like bool plant = mem.Read<bool>(EntityList + bBombPlanted); //In my mind it will read if someone on the server has planted the bomb.
The way I do it is by looping though all entities and finding DT_PlantedC4 (I think that's what it's called) that is the entity for the planted bomb and then reading its netvars:
The way I do it is by looping though all entities and finding DT_PlantedC4 (I think that's what it's called) that is the entity for the planted bomb and then reading its netvars:
btw im using half of it from a open source as example, then i will do by myself
5 is for +attack, 4 is for -attack, if you actually would've tried and find the addr with cheat engine you would've noticed that, anywya you should sleep more than 1 millisecond.
Think about it:
The game wont be able to register each shot at such pace, its just not possible, most games probably have around 50+ delay between something actually happening, I have 100 for most of my triggers.
Originally Posted by Yemiez
5 is for +attack, 4 is for -attack, if you actually would've tried and find the addr with cheat engine you would've noticed that, anywya you should sleep more than 1 millisecond.
Think about it:
The game wont be able to register each shot at such pace, its just not possible, most games probably have around 50+ delay between something actually happening, I have 100 for most of my triggers.
Ohhhhhhhhhhhh i really forgot about the attack :/ i tried it after watching fleep's tiggerbot tutorial, and dont got it, will watch again, thanks
--------------------------------
Changed 1 to 5 and 0 to 4, stills nothing, set Sleep(105); nothing, i think is something with the offsets :/
H3h3, i know that Source
But like PsychoBitch said, sleeping 1 millisecond doesn't really work. I found out Sleeping 10 milliseconds works just fine.
Originally Posted by WasserEsser
H3h3, i know that Source
But like PsychoBitch said, sleeping 1 millisecond doesn't really work. I found out Sleeping 10 milliseconds works just fine.
Sleeping 10 milliseconds will still not work well, how I do it:
pEntity = Player EntityList?
GetClientClass.m_iClassId = NetVar = 0x23AC
ClassID::PlantedC4 = "Weapon" ID
GetEntityNetvar = mem.Read<bool>(offEntityList + 0x0D50) // 0x0D50 bBombTicking
if ( ... ) { }
ClassID::PlantedC4 is the.. well.. the class id of the planted c4.
Each entity has its own class id that tells you what type of an entity it is. A player entity is 34 (class name "CCSPlayer"). The planted C4 is 103, name "CPlantedC4"
09 - CBaseCSGrenadeProjectile, you can do some l33t grande ESP/tracers with it.
28 - The not planted C4. You can use it to do a C4 ESP (shows you where the C4 is, which player is carrying it, etc).
33 - Has a lot of info about the current game.
35 - CCSPlayerResource, also known as GameResources or "ScoreboardInfo" has information about players. Kill, Deaths, Competitive rank, competitive wins, etc..
Originally Posted by MarkHC
ClassID::PlantedC4 is the.. well.. the class id of the planted c4.
Each entity has its own class id that tells you what type of an entity it is. A player entity is 34 (class name "CCSPlayer"). The planted C4 is 103, name "CPlantedC4"
09 - CBaseCSGrenadeProjectile, you can do some l33t grande ESP/tracers with it.
28 - The not planted C4. You can use it to do a C4 ESP (shows you where the C4 is, which player is carrying it, etc).
33 - Has a lot of info about the current game.
35 - CCSPlayerResource, also known as GameResources or "ScoreboardInfo" has information about players. Kill, Deaths, Competitive rank, competitive wins, etc..
OH thx now lets try to glowc4 and do the timer based on color
I really didn't understand how to use these classes in an external hack... Can somebody explain :?
Originally Posted by Block4o
I really didn't understand how to use these classes in an external hack... Can somebody explain :?