I'm feeling a bit helpful today, so here's something to get you started. The script is quick and dirty, lacks readability and extensibility but should demonstrate how you can assemble packets with...
Type: Posts; User: volf ram
I'm feeling a bit helpful today, so here's something to get you started. The script is quick and dirty, lacks readability and extensibility but should demonstrate how you can assemble packets with...
Concerning ASLR (I can't test it myself because I'm still running XP): what prevents us from calling GetModuleHandle("tibia.exe") with a remote thread to find the current image base and then adding...
In the packet the client receives from the login server there is a list of character names, world names, game server ips and ports. The player will choose one character and the client will connect to...
This is immensely useful, but I suspect it won't run correctly if you try to recompile it. For example because of:
static const DELTA:uint = 2.65444e+009;in XTEA.as
So many people are suggesting C++, it surprises me. I would say it's far too complicated, why not go for simpler alternatives?
C# seems to be an all-around good answer, with useful features and...
Blaster_89 gave you a link to TibiaApi constants and addresses. You fixed BattlelistBegin, but you should verify if the other constants you're using (PlayerIdAddress, MaxCreatures, CreatureData, 36)...
I recommend using the search function.
http://tpforums.org/forum/thread-4967.html
Pass NULL then?
It's called JNI: http://stackoverflow.com/questions/1555316/for-jni-experts-how-would-i-use-jni-to-call-readprocessmemory-read-memory-from
My personal opinion is that Java simply sucks too much...
My eyes hurt...
1. The code is atrocious, please reindent it. As it is now, nobody has any idea if it's even syntactically correct.
2. Wtf do you need labels and gotos for? Almost all uses of...
Yup, the client is afaik single-threaded, so no synchronization concerns.
How?? :(
I program in delphi
Just tell me what are the parameters of SendPacket function :O
[/quote]
Check the packet.asm file. You'll find a line like this:
SendPacket PROC...
Anyone noticed that Justin Owen's posts are pretty worthless and seem to be there just to promote a link to his website?
Yes. A 0Ah response is sent, with the reason "Invalid Account Name" or "Account name or password is not correct".
@below:
???
Before and after RSA encryption your data should be 128 bytes...
How about launching your application with Olly? If you set up a breakpoint at RegisterClassA (or something similar like RegisterClassExW etc), you can see what actually gets passed as the class name....
Then you should spend some time with Delphi debugger (stepping through code F4, F7, F8, watches Ctrl+F5, breakpoints) to see what your code is really doing. It's possible that FindWindow,...
Would you care to explain what happens? It should work fine with Blaster's correction.
You're calling FindWindow the wrong way.
http://msdn.microsoft.com/en-us/library/ms633499%28VS.85%29.aspx
Pure speculation, as I don't have Delphi 2010. But I heard it uses unicode by default, co PChar is actually an alias to PWideChar, not PAnsiChar anymore. Try changing the datatype from PChar to...
1. You're sending the message to a wrong window. Sketchy explained that. The "Enter game" button does not exist from the Windows' point of view. You should send your message to the main Tibia window....
You can start with logging in to the game :-p There is a tutorial here: http://www.tpforums.org/forum/thread-7722.html. The protocol is somewhat documented here on the forums and also in tibiaapi...
Sorry for the wait. Ok, on with it. First, it'd be good if you knew what RSA is, and the math behind it. Then you may also want to read up on why and how Chinese Remainder Theorem is used to speed up...
I expect they have, the method is not working anymore. The fixed code was server-side.
I'll prepare an explanation of what this was about, soon. Although it's quite mathy, so perhaps people won't...
I can't read this book, too much Java makes my eyes hurt :-( I'll have to go outside for a while.
Although the author has many good points, I really disagree with some of his proposals (in...
It's possible to factor the modulus, from this you get the private key.
Also, I think we can expect a client update some time next week: