Do you understand the connection between both maps?
Type: Posts; User: Lolrapa
Do you understand the connection between both maps?
Thanks! I will use some of the adress to figure out how some things work.
GUI structure is still like this? http://tpforums.org/forum/threads/443-Tibia-GUI-structure
Yes, turned out that it was a custom call, I was able to call it with __fastcall convention and then clearing the stack with
add esp, 10.
The downside is that I can't use detours to hook it so I...
Glad I could help you! Whenever you want :)
I was about to say that creature structure size isnt 156 but then I read you comment.
I dont know whats the step of creatures in 7.72 but lets assume thats right.
Are you sure X position step...
Are you trying to add new sprites or to load a newer sprite data?
Thanks! I found this code http://pastebin.com/YgL99fwg that works fine, it was a trick with the animations.
My "Use Item" function works, it uses the item but then it crashes tibia, maybe I'm...
Thank for the help!
But I think you may be mistaken, here is a picture of the stack in the use item function call.
205
The number 3 is the 6th parameter and its the Id of the container where...
I've been reading about the fast call convention and I realized that ECX and EDX are also parameters in my function
ECX is always 0xFFFF
EDX is 0x40 + IdContainer
Convention says that allways...
Hey! I'm pretty sure those are the values, not cpmpletely sure about the order but that shouldn't make tibia crash.
How can I know if there is another param involved? Maybe via registers
To the...
Thank You!! I was able to understund how to find these adresses and found one my self! Great tutotrial, I learned about intermodular calls and how to read the call stack (that was way shorter than I...
Hello everybody!! I'm back trying to learn some more and now I'm trying to make my program do some actions in the game.
I'm working with VC++, injected into the client and I'm trying to learn how...
That is sad, but creatures movement is very predictable you can try to record certain creatures behavior and when they go invisible try to calculte the most likely position.
But that's just crazy :P
You can start by checking if the map structure displays invisible creatures.
I've been idle from programming some time but I think that's strange.... I will look into it today noon, but I really don't think they changed this.
To find your position in this map there is a...
Take a look at this post:
http://tibiaauto.net/ta_art_mapread.html
If you have any doubt after reading it tell me and I will explain you how to update all the values and how to read the structure.
Haha, thanks both! I'll try it when I have some time
Or copy the first 5 bytes form the original function and paste them somewhere at the end of my function
I could reserve space by doing
__asm
{
nop
nop
nop
nop
I acctualy tried that but I didn't figure how to add asm at the very end of my function if I use __asm{} im myFunction() the compiler will add asm code between my asm code and the ret statment and...
Added to github.
https://github.com/lolrapa/Tibia-Server-Packet-Reader
https://github.com/lolrapa/Tibia-Server-Packet-Reader
If this tool is useful to you please bump the post by writing a comment
Packets are encripted with xtea, if you give me a moment i'll explain you how to get this key, then just find xtea in google and algorithm to decrypt it.
If you want to read packets I have made a...
if its printing chars instead of numbers try casting it to int instead of byte
Assuming you are reading the correct data, if you want to write it as hex you can do:
int __stdcall MyRecv(SOCKET s, char* buf, int len, int flags)
{
int bytes = recv(s, buf, len,...