Not quite so simple if you're not using .NET CLR.
Why is this thread in tutorials anyway?
Type: Posts; User: XtrmJash
Not quite so simple if you're not using .NET CLR.
Why is this thread in tutorials anyway?
omnomnom we all love speedyshare.
This is quite difficult if your knowledge isn't already quite big about Tibia. I'll give you some steps that might make it easier...
Reverse engineer the structure of messages in the client OR
...
The PlayerGoX, PlayerGoY, and PlayerGoZ are typically located by walking somewhere, finding the Y coordinate (or maybe X coordinate, I can't remember which) somewhere other than the battle list and...
You have an access violation. You are violating your access privileges...
Either:
1. Someone really doesn't want you to get in, if it's an OT this is probably the case.
2. You need to run...
If it helps, you can use
For Each S as Process in Process.GetProcessesByName("Tibia")
instead of
For Each S As Process In Process.GetProcesses
:)
One would assume there is some value in the creature structure of the battle list that dictates the colour of a players name. Get a friend to stand on screen on low, med, high HP, and browse the...
Unless you're willing to provide working samples for each of a few popular bots, noone will ever use it sadly. The people who are likely to use it are the copy paste kids of the internet, and they...
There are a few things you could be doing:
1. Adding the base address inside your ReadString method
2. Using an old client with ASLR disabled, but trying to account for it
Probably some more....
It will have been fixed ages ago mate, TibiaAPI is kinda abandoned now, left to rot. People still use it for OTs and some people even maintain their own "local copy" which in my experience ranges...
To call one of Tibias functions you do need to either inject a DLL or write a code cave and modify some assembly. Injecting a DLL would be simpler IMO, since you can at least debug it slightly,...
Just want to say:
1. Thanks for your questions, they gave me something to think about.
2. Thanks for posting your answers, they confirmed and confused me, which is fucking awesome.
3. Keep at...
Ahhh, I just read your last post and noticed you were passing the window handle not the process handle, sense made.
Regarding ReadString, you'll basically want to return a pointer to a char array,...
FindWindow("ARKAMECZEK ", NULL)
Is the clients class name ARKAMECZEK?
Ooooooops.
Nope. 0x simply says that the following number is hexidecimal. The leading 0 is typically added for situations where you have addresses of varying lengths, to make code look pretty, e.g:
...
Look at it like this:
Windows creates a process:
[----------------------------------------------------]
Tibia.exe (======) is loaded into memory and begins execution, ASLR determines where...
Working with addresses sometimes you need to subtract 0x400000 from the value, depending on who submitted them. CIP implemented ASLR some time ago and prior to that the "base address" was always...
Right, cause that looks safe.........
You appear to be of the impression that to "create a bot" requires a single skill. Well, get that straight out of your head. It requires a wide variety of skills including everything from reverse...
I think a lot are the same as 10.50, can't remember, but someone asked for them so here's what I've got:
public static int CID = 0x5A7034;
public static int HP = 0x5A7000;
...
Pffffft. Idea thief!
http://tpforums.org/forum/threads/6003-C-Map-Reader
Jokes :P Nice work!
Gotta love how they call it "original tibia" when it's an OT.
If you can't get it by the same method you would from a regular client, you probably won't find many willing to download and reverse...
The way I would do it personally:
Read the map files to begin with, and get them into memory. As you move around the map and it gets explored check that the map files that should currently be...
An early version, use the subversion history to look at what will best suit your needs. If the client is customised it may not work with TibiaAPI, depends entirely on just how customised it is.