// Credits to DarkstaR
DWORD GetModuleBase(DWORD processID)
{
MODULEENTRY32 moduleEntry = {0};
HANDLE snapShot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, processID);
DWORD base = 0;
...
Type: Posts; User: Czepek
// Credits to DarkstaR
DWORD GetModuleBase(DWORD processID)
{
MODULEENTRY32 moduleEntry = {0};
HANDLE snapShot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, processID);
DWORD base = 0;
...
Something smilar(?):
Hook.cpp
Hook.h
Hook* hookPrintName;
hookPrintName = new Hook(Address::PrintName, (DWORD)&MyPrintName);
hookPrintName->Enable();
hookPrintName->Disable();
delete[]...
Czepek`s IP Changer is an open sourced program written in C++ to change IP address, port and RSA key of Tibia client.
It uses WinAPI, libXML, WinSOCK.
Some useful functions: IP List, changing...
Here it is.
Regards, Czepek!
#include <windows.h>
#include <TlHelp32.h>
#include <iostream>
DWORD getModuleBase(DWORD gameProcessId)
{
MODULEENTRY32 moduleEntry = {0};
HANDLE snapShot =...
Link works fine for me. Added attachment.
Like in thread I wrote: C++
Regards, Czepek!
I didn't checked code, but why:
int adres = blablabla;
instead of
return Memory.blablabla; ?
Regards, Czepek!
What about protocol changes? Actually TibiaAPI has got ASLR. Addresses are not so hard to find...
Regards, Czepek!
The best site/book, or any another thing to learn is one that you most understand. Compiling OTServ isn't that hard. Nowdays you just download some Dev-Cpp distribution with regex, xml, etc....
Good job!
I think we should do some list of video tutorials. Our life may be lighter.
Regards, Czepek!
These addresses didn't changed.
Regards, Czepek!
Click!
Regards, Czepek!
Tibia.exe+0x3B2EA0 = 0x7B2EA0
What does it mean? If you want first creature in battle list, then it is battle list begin. : O (0x948008)
Hi,
I'm too busy to finish, fix, or something else to do with this, so I decided to post sources of my project.
It is on GNU GPLv3 license.
It has features like:
Healing and mana...
@DarkstaR, seems that you're retarded or so, cuz you can't live without any 'war' with another one member. Saw tons of threads, messages in shoutbox. Just relax ; O
Hope some1 close thread.
...
if(creatureID < 0x40000000)
{
// player
}
else
{
// creature
}
Regards, Czepek!
Do you mean login server address?
<Protocol Version="963" rsaAddr="0x724EC0" ipAddr="0x7B34F8" loginServers="10"/>
Regards, Czepek!
Address, in this case 0x545000 plus XP Base (0x400000) is equal to: 0x945000.
So:
// DarkstaR <3
DWORD AlignAddress(DWORD address)
{
static int base = (int)GetModuleBase();
static int...
Hi,
I'm trying to block channel inside "Open Channel" dialog (CTRL + O). I've tried to do it using Stepler's Parser. So, in this case, it is '0xAB' packet ID.
case (int)0xAB:
{
int Position...
Since when there exist 'self name' address?
If you want to read your player name, then you have to do loop:
// pseudo code
DWORD playerID = readProcessMemory(PlayerID_Address, 4);
for(int i =...
Hello. I've got problem related to the debug on Win7. I check which one code does debug - it is mana bar code. I've got Hawkye's code. I use 8.54 addresses, they are 100% correct, because it works on...
I'm ashamed to upload pictures, where I lay drunk. Reality of Poland :D
Regards, Czepek!
Reading XOR`ed HP and MP
Regards, Czepek!
You can compile it alone. Here you are with 8.54 addresses:
const DWORD CURRENT_HP_BAR_DRAWING_CREATURE = (0x13E114-0x30);
const DWORD PRINT_TEXT_FUNC_ADDR = 0x4B0550;
const DWORD...
How to use Windows XP Tibia 9.1+ address in Vista/7
Regards, Czepek!