iseekwonderful / csgoGlow

Simple macOS CSGO glow hack
113 stars 66 forks source link

Code not working #35

Closed Wolf-88 closed 8 years ago

Wolf-88 commented 8 years ago

I believe this is more then the off sets, because the new ones arent working, I have come across 8 issues, detecting players and health, the glow seems to be fine

Freek3 commented 8 years ago

Yes i believe i'm having the same issue. help?

ghost commented 8 years ago

Yeah, I think there is something else wrong here. I updated the offsets with @gabsens new ones and it still wasn't working.

Freek3 commented 8 years ago

@buzzel Same with me :/ Pls @gabsens halp

ghost commented 8 years ago

Same

gabsens commented 8 years ago

On line 20 change playerBase offset to 0x50B51F8

The guy named playerBase what the rest of the world names EntityList ...

Wolf-88 commented 8 years ago

Thank you and praise be unto @gabsens Its working! and yeah that is weird that the coder did that

ghost commented 8 years ago

@gabsens a true legend <3 ily

Freek3 commented 8 years ago

@gabsens back to save the day! xxox

ghost commented 8 years ago

@gabsens for mayer!

Thanks a million! How did you manage to find that one?

gabsens commented 8 years ago

@buzzel this offset is related to the entity list. The real question is why is it even used in the code ? Once you have the GlowEntity you're given a PointerToEntity which points to the PlayerBase. You can retrieve team and health from that PlayerBase.

There's literally no reason for accessing the EntityList... But the author will turn a blind eye to this as well. I see you have coding skills, and I encourage you to rewrite everything from scratch, and add other features.

This source on github is really a mere proof of concept.

ghost commented 8 years ago

@gabsens I've been programming for several years. C++ isn't my forte but I understand it enough. I've been tempted to rewrite this in Obj-C++ and actually make an app out of it, vs just an executable.

What other features do you suggest? I'm thinking Aimbot and such, but that kind of stuff is useless to me. What are some of the other useful CSGO hacks that are around?

ghost commented 8 years ago

@buzzel aimbot, trigger bot, bhop, spinbot, no flash effect, and I even saw an Overwatch case where a guy had a teleportation hack, and was playing on cache, and would teleport from T spawn to sand bags right when the game started. but yeah those are all the hacks I can think of rn, excluding wall.

ghost commented 8 years ago

Would this be safe to use on Faceit servers?

gabsens commented 8 years ago

@brendon111 glow only is safe. Triggerbot or Norecoil will get you banned if not done properly

Freek3 commented 8 years ago

@gabsens I'm wanting a trigger/aimbot for offline usage, completing challenge coin missions etc. To use any hacks other than glow on a mm server is a bad move, you're asking for a ban hahaha

ghost commented 8 years ago

Those kind of things is what I am worried about. I dont wanna get banned or cheat that hard. Walling is helful for me as the players just stand out for me, and thats all I need. Looking through walls doesnt matter so much to me.

BTW: There was a CSGO update tonight so if anyone wants to give @gabsens's tutorials a try, feel free. I dont have time tonight to find the offsets so I can take a look tomorrow if no one figures it out.

ghost commented 8 years ago

@gabsens You tuts are spot on! GlowEntity was weird as fuck, but I got it working.

uint64_t glowInfoOffset = 0x5948500; uint64_t LocalPlayerBase = 0x50B5288;

The player base I couldnt find

gabsens commented 8 years ago

Good job, these are the right offsets. PlayerBase (Entitylist) should be 0x50B5288

Freek3 commented 8 years ago

@buzzel Great work :D xox

Wolf-88 commented 8 years ago

it makes everyone glow, even own team

ghost commented 8 years ago

@Wolf-88 Set the playerBase to @gabsens offset, that should work. I'll look at the code later and see if there is a check I can put in there to avoid using the entitylist and not make your team glow.

@gabsens Off the top of your head, do you have any ideas?

gabsens commented 8 years ago

@buzzel There's no one-liner fix unfortunately. Take a look at readPlayerPointAndHealth(...) The author chose to loop through the entitylist, check is each entity is a player, check if the entity is on your team and then glow it. The link between Entitylist and GlowEntityList is done through int glowIndex.

If you want to get rid of the EntityList, you have to loop through the GlowEntityList (which starts at LocalPlayerBase + GlowOffset). If an entity is a player, the PointerToEntity will take you the entity's PlayerBase where you'll be able to read the entity's health and team. To determine if an entity is a player, you have to check if it has a valid PointerToEntity, valid health and valid team numbers.

asiano commented 8 years ago

Hey guys i just made an account to ask this question. I just found these havks after weeks of searching, and i was wondering how to officially run them and make them work? Do i inject it somewhere or do i run it with xcode (if i can)? Please let me know how to get started!

Wolf-88 commented 8 years ago

@asiano read the text document associated with the files, if there is other questions, most have been answered in some thread or another, I know I ask a lot of questions.

@gabsens Whats interesting if youve noticed is, when glowing the entire entity list, the glow in game is very strong i.e. see across entire map for people, whereas before it was aprox 30m in game you could see through.

asiano commented 8 years ago

I did read it and all it said was start it in root. I dont really know how to do that or what that means. I also dont know how to start running it or activate it to start. Please help!

Wolf-88 commented 8 years ago
  1. Download X-Code
  2. What type of Mac determines execution (Terminal/X-code based on CPU usage)
  3. Download files
  4. If running in X-code, Go to Product ----> Scheme-----> Edit Scheme-----> Root
  5. Update offsets as necessary
  6. Enter game, press play, enter password
  7. If game crashes, 'too much CPU usage' (Compile an executable and sudo in terminal)

Instructions thanks to: @buzzel @gabsens

asiano commented 8 years ago

Thank you so much for your help, ill try it as soon as i go home tonight and let you know how it works

asiano commented 8 years ago

Do you think you can ellaborate on entering game and press play and putting in my pasaword? Do i press play in xcode? Do i put my password in xcode?

asiano commented 8 years ago

Also i just realized that using xcode probably wouldnt do my cpu much good so how would i go about doing this on the terminal?

ghost commented 8 years ago

I just run it through Xcode, after all, I am on a maxed out 5K iMac so I dont notice anything. I usually have several projects open in Xcode and Photoshop or some other high intensive app. I have noticed that if I run this through terminal I tend to lose FPS. Also, the executable seems to hang if you quit it and you can end up running 2-3 instances of it. Check your Activity monitor or run killall Wall before starting the process again.

@gabsens I'll look into your suggestion and see if I can get it working.

ghost commented 8 years ago

Yeah, I have all updated offsets, and still get my team to glow too. Also, it is quite peculiar that the glow works better and more thoroughly when both you and your team are glowing, as @Wolf-88 noted.

ghost commented 8 years ago

@gabsens I also have an iMac but I believe 4K, how much fps are you getting while running the glow? I get around 150, and I have 4:3 and the 1344:something resolution.

asiano commented 8 years ago

I have a mac air, 50-60 for me, guesing this will bring it down alot

ghost commented 8 years ago

@asiano Try changing from 16:9 to 4:3. If you already have done that, lower the resolution too.

ghost commented 8 years ago

Also do you guys think the cevo anti cheat will detect this? (An addition to VAC)

ghost commented 8 years ago

@gabsens Question: Under the method testLocalPlayerAddress() the iTeam value returns 0. Whats Whats missing there to grab the team number?

asiano commented 8 years ago

How safe is this to play in competitive? Just wondering?

ghost commented 8 years ago

idk, I only use it when im messing around

ghost commented 8 years ago

fine to use in comp @asiano

asiano commented 8 years ago

Hey guys! Ive got it to work with xcode but it says the directory or file could not be found when i use terminal. I did exactly what buzzel told me to do (thank you so much by the way), yet i cant seem to get it to work on terminal. Please help lol.

ghost commented 8 years ago

@asiano why can't you just stick to Xcode?

asiano commented 8 years ago

It crashes evwry time

gabsens commented 8 years ago

@buzzel on line 289 there's a wrong offset, it should be 0x124 instead of 0x120.

0x12C-0x8=0x124

ghost commented 8 years ago

@gabsens I'll give that a try. Thanks

asiano commented 8 years ago

Can anyone give me assistance in trying to run it through terminal?

asiano commented 8 years ago

Anyone lol

ghost commented 8 years ago

@gabsens So the team detection worked with bots, but in competitive, it returned 0 for both teams. Those are at a different location.

gabsens commented 8 years ago

@buzzel what happens in casual or deathmatch ? I've actually never played comp on my mac

ghost commented 8 years ago

@gabsens Not sure. will try that out shortly

ghost commented 8 years ago

new update