Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - luke

Pages: [1] 2 3 ... 144
1
Streaming / Re: Fat DotA & more
« on: October 26, 2020, 21:16 »


Thanks to @Hamza for sharing game

2
Technical support / Re: cant find game
« on: October 26, 2020, 13:38 »
Its because only few play quick game. And they arrange game beforehand, means they plan game and then press the button together

3
Offtopic / Re: "GOD" Account for sale
« on: October 26, 2020, 13:37 »
Hahah, this account doesnt even cost 5 cents.

Stats should be reset soon.

2500 games all have.

1000000 warns.

I think selling account is forbidden, so it could be banned right after.

4
Programming / Re: Help wanted
« on: October 23, 2020, 17:28 »
It seems that the camera object is created during loading, so i can just track the value with Cheat Engine. Guess will have to use this method

5
Programming / Re: Help wanted
« on: October 22, 2020, 17:55 »
Does //0x40 CCamera exist and have distance too?

It points to the same address as 0x34

6
Programming / Re: Help wanted
« on: October 22, 2020, 17:36 »
So, there are 2 camera distance variables.

1. Is the one you can track from dreamdota offsets

GLOBAL_UI (Game.dll + 0xAB4F80) -> CCameraWar3 (*GLOBAL_UI + 0x254) -> CCamera (*CCameraWar3+0x34) -> Distance float (*CCamera + 0x8C)

It shows the actual value of camera distance but changing it doesn't do anything. Upon changing it in Cheat Engine it changes itself back with no effect (if you freeze it its same). Basically its read only value.

2. Is the actual camera value which is updated through player structure i was talking about before (according to debugging when you type -cam in dota, for example, basically when you change it with triggers). When you change it in Cheat Engine it changes the camera distance in game.

See screenshot for clarity

When i took apart 1 .mix based maphack it used a static offset which was pointing to the 1 variable as well. However adjusting distance using that tool works while changing it at the same offset manually doesn't which really puzzles me.

7
Programming / Re: Help wanted
« on: October 22, 2020, 14:07 »
I will check it out thanks a lot!

Spoiler for Hiden:
Either google it somehow

If it was so easy i wouldnt ask in the first place

8
Programming / Re: Help wanted
« on: October 22, 2020, 13:32 »
The address is dynamic but the offset off that address can be static (like fog offset in maphacks) or dynamic (stored somewhere which seems to be the case)

9
Programming / Re: Help wanted
« on: October 22, 2020, 13:28 »
Well, static in the sense that its always same on every launch. I did some exploring with cheat engine and the distance is basically stored on a dynamic address which is stored in some structure which address is based on value of some registers, so i couldnt get track of any static offset to find the distance. Maybe i just dont have enough experience to evaluate the register values,  seems like a lot of work. Or maybe i made some mistake because there were actually many places where the needed value/pointer to that value can be stored but the only actually working 1 was the one i mentioned.

Spoiler for Hiden:
You can find dll of v2-beta plugin (which is not perfect too, but way more cool) and decompile it yourself

Good idea, need to try, weird that i didnt think of that (guess because i assumed the repository code is the same but you said its not)

Spoiler for Hiden:
Also, even simpler, you can use CheatEngine or similar, find there offset of camera distance and just freeze it to desired value

This was the first thing i tried. Dota doesnt like cheat engine and keeps crashing, also its hard to find the value inside replay + its really annoying to do all this every time

10
Programming / Re: Help wanted
« on: October 22, 2020, 13:10 »
I mean static offset off game.dll implying i can get the address of game.dll itself already.

Now that you mention it maybe the code in simplecamera is wrong and this is why it doesnt work. Is the code in the repository not the same as the one the original dll was compiled from? Because as i said the plugin inside replayseeker works fine

11
Programming / Help wanted
« on: October 22, 2020, 02:08 »
Context: i want to make videos with default (or at least constant) camera distance but people type -cam 2000, -cam 3000 etc and camera distance changes when watching  replay

Problem:
i can't find camera distance offset to manually set it

DotA has various anti hack measures and doesn't allow most tools which can do it.

ReplaySeeker with SimpleCamera works but it doesnt let me set the distance, only to zoom in/out with hotkeys.

I tried to adapt the code from SimpleCamera repository (https://github.com/StarveTheEgo/SimpleCamera/blob/master/CameraManager.cs) but it doesnt seem to work (tried to get offsets with
Spoiler for Hiden:
private static void GetMemoryLocationsForReplayData(IProcessMemory pMemory, out int memPosition, out int memOther, out int memUnitPointer, out int memFog)
    {
      memPosition = 0;
      memOther = 0;
      memUnitPointer = 0;
      memFog = 0;
      for (int index = 0; index <= 12288; ++index)
      {
        pMemory.OpenProcess();
        if (memOther == 0)
        {
     
          int num0 = (index << 16);
          if (pMemory.ReadProcessInt32(num0 + 736) == 1080) // 736
          {
                memOther = num0;
                memPosition = pMemory.ReadProcessInt32(num0 + 1868) & -65536;
               // System.Diagnostics.Debug.WriteLine("memOther memPosition 0");
          }
          int num1 = (index << 16) + 9472;// 9472;
          if (pMemory.ReadProcessInt32(num1 + 832 + 44) == 1080)
          {
            memOther = num1;
            memPosition = pMemory.ReadProcessInt32(num1 + 1868) & -65536;
            //System.Diagnostics.Debug.WriteLine("memOther memPosition 1");
          }
          int num2 = index << 16;
          if (pMemory.ReadProcessInt32(num2 + 832 + 44) == 1080)
          {
            memOther = num2;
            memPosition = pMemory.ReadProcessInt32(num2 + 1868) & -65536;
           // System.Diagnostics.Debug.WriteLine("memOther memPosition 2");
          }
          int num3 = (index << 16) + 9536;
          if (pMemory.ReadProcessInt32(num3 + 832 + 44) == 1148)
          {
            memOther = num3;
            memPosition = pMemory.ReadProcessInt32(num3 + 1868) & -65536;
          //  System.Diagnostics.Debug.WriteLine("memOther memPosition 3");
          }
        }
        if (memUnitPointer == 0)
        {
          int num = index << 16;
          if (pMemory.ReadProcessInt32(num + 164) == 1767994469)
          {
              memUnitPointer = num + 476;
             // System.Diagnostics.Debug.WriteLine("memUnit");
          }
        }
        if (memFog == 0)
        {
          int num = index << 16;
          if (pMemory.ReadProcessInt32(num + 108) == 1196377672)
          {
              memFog = num;
             // System.Diagnostics.Debug.WriteLine("memFog");
          }
        }
      }
      try
      {
        pMemory.CloseHandle();
      }
      catch
      {
        int num = (int) MessageBox.Show("Error in memory handler!");
      }
    }
and
Spoiler for Hiden:
public float distance
    {
      get
      {
        return this.pMemory.ReadFloat32(this.memoryBlockOther + 832);
      }
      set
      {
        this.pMemory.WriteFloat32(this.memoryBlockOther + 832, value);
      }
    }
by copy-pasting and adjusting the code to execute it in a standalone program. The loop in GetMemoryLocationsForReplayData basically runs through and never reads the expected values. Its full of magic numbers, so i dont fully understand which offsets and why its checking, apparently searching for the camera object. The offsets there are added to the game.dll base address in my code)

What i need is either the static offset from Game.dll (if exists), advice on how to adapt the mentioned code better or any other working method. Any help would be greatly appreciated.

@AntlermanXXL

12
Offtopic / Re: Give me feedback on my s**t
« on: October 21, 2020, 12:48 »

13
Ban Requests / Ban JackOfShadows
« on: October 20, 2020, 18:11 »
1: Your NickName?
FatAndViolent

2: NickName of the player that you want to be banned?
JackOfShadow

3: What rule did he/they break?
Family flame

4: When was the Rule Broken?
Check screenshot

5: Explain to us your general vision about the situation.


6: Link of the game? (if applies),

14
Offtopic / Re: Give me feedback on my s**t
« on: October 18, 2020, 14:17 »
ahahhaa

15
Ban Requests / Ban lukaakul
« on: September 28, 2020, 20:14 »
1: Your NickName?
FatAndViolent

2: NickName of the player that you want to be banned?
lukaakul

3: What rule did he/they break?
Family flame

4: When was the Rule Broken?
22:17    lukaakul    [Allies]    MOVE
22:18    lukaakul    [Allies]    SON OF A WHORE
22:19    lukaakul    [Allies]    LEGION

5: Explain to us your general vision about the situation.
Classic angry player: die stupidly, flame and rq

6: Link of the game? (if applies),
https://dota.eurobattle.net/la/forum/index.php?action=gameinfo;sa=game;gid=6326173

Pages: [1] 2 3 ... 144