Jump to content

Camera to entity the other way


Recommended Posts

Posted

Hello everyone :) I know that there is toEntity(entity) method in Camera class, but the problem is that if the entity is static it would always move the camera to same position every cycle. IS there any way to make it not do that? Overriding the method? If I would do that then yet, would it release the left/right button and then again push it? Thanks :)

Posted

toEntity(entity);
camera.movePitch(random(camera.getPitch() - 1, camera.getPitch()+1));
etc.

Theres your antiban that will prevent you from ever getting banned.

Edit: Unless of course I'm missing something which isn't antiban related, but it sounds like you're trying to randomize the camera.

  • Like 1
  • Boge 1
Posted

Yes, it is anti-ban related. Although I do not believe in such things, and would like to hear someones opinion  about it. I believe jagex could try to get the pattern of your behavior and then figure if you are boting. So better to be safe in this case.

By the way, I checked and am not sure, that there is mouse hook in one of jagex files stored in your computer, which check whether your mouse is moved by you or by some program. To be more specific jaclib.dll. @Alek Have you ever heard about something like that?

Posted
1 hour ago, urmom said:

Yes, it is anti-ban related. Although I do not believe in such things, and would like to hear someones opinion  about it. I believe jagex could try to get the pattern of your behavior and then figure if you are boting. So better to be safe in this case.

By the way, I checked and am not sure, that there is mouse hook in one of jagex files stored in your computer, which check whether your mouse is moved by you or by some program. To be more specific jaclib.dll. @Alek Have you ever heard about something like that?

Not a Java reverser (x86 only) or know much about the game, but what you’re talking about would require a kernel level driver to properly implement. In this case your heuristic antiban would be completely useless, so there would be no point in implementing it. 

  • Like 5
Posted
int __stdcall Java_jaclib_ping_IcmpService_run(int a1, int a2)
{
  int v2; // edi@1
  int v3; // eax@1
  int (__stdcall *v4)(_DWORD, _DWORD, _DWORD, _DWORD); // edx@1
  HHOOK v5; // eax@1
  int (__stdcall *v6)(_DWORD, _DWORD, _DWORD, _DWORD); // edx@1
  int v7; // eax@1
  int result; // eax@3
  struct tagMSG Msg; // [sp+30h] [bp-1Ch]@1

  v2 = (*(int (__stdcall **)(int, int))(*(_DWORD *)a1 + 124))(a1, a2);
  v3 = (*(int (__stdcall **)(int, int))(*(_DWORD *)a1 + 84))(a1, a2);
  v4 = *(int (__stdcall **)(_DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)a1 + 132);
  dword_100241B4 = v3;
  dword_10024170 = v4(a1, v2, "notify", "(III)V");
  idThread = GetCurrentThreadId();
  v5 = SetWindowsHookExA(14, (HOOKPROC)fn, hmod, 0);
  v6 = *(int (__stdcall **)(_DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)a1 + 132);
  hhk = v5;
  v7 = v6(a1, v2, "notify", "(I)V");
  sub_10005DA0(a1, dword_100241B4, v7, 0);
  while ( GetMessageA(&Msg, 0, 0, 0) )
  {
    TranslateMessage(&Msg);
    DispatchMessageA(&Msg);
  }
  UnhookWindowsHookEx(hhk);
  (*(void (__stdcall **)(int, int))(*(_DWORD *)a1 + 88))(a1, dword_100241B4);
  result = 0;
  dword_10024170 = 0;
  hhk = 0;
  return
}

a reference for the code https://msdn.microsoft.com/en-us/library/windows/desktop/ms644970(v=vs.85).aspx

check out LLMHF_INJECTED

 

Just curious why runescape would have something like that :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...