Does anyone at least remember the name of the attachment ?
Can't find it in the old attachments list (link posted by DarkstaR).
I didn't check all files 1 by 1 tho - not enough free time to do so...
Does anyone at least remember the name of the attachment ?
Can't find it in the old attachments list (link posted by DarkstaR).
I didn't check all files 1 by 1 tho - not enough free time to do so...
One amazing thing about using this for CAM like software (what I already have achieved like few minutes ago :P) is that you don't have to make client connect anywhere in order to playback a cam file.
You simply send the first map packet and it loads up like you just logged in ^^
My question though:
How to get back to the main menu (with "Enter Game" button ect) ???
Setting connection state does not help (writing 0 to the connection state address that is).
I've found packet type 0x14 in OT sources that's meant to be logout but Tibia just excepts and stays "logged in".
Any ideas ?
Assuming you need this for playing back recordings, just close the server socket.Originally Posted by ufo
The fun part (what I was saying above) is I don't use sockets.
Unless they open automatically in Tibia client after sending first map packet.
Step by step - what I do - to better show my prob:
1. Start Tibia client.
2. Start cam player.
3. Open cam file.
4. Send first packet from the file to client (PacketToClient).
5. get next packet and so on and so forth...
Notice there's no part about making any connection with client.
So... how do I close socket that I didn't open before ?
Unless, like I already said, I didn't get your response :/
You don't need to hook the socket for playing recordings.Originally Posted by ufo
- Overwrite login servers
- Set up a TCP listener
- Log in automatically using Send/PostMessage
- Start sending packets to the client
I am sending packets to client.
Client shows what was recorded.
Yet I DO NOT touch any sockets or any connection with client AT ALL.
I just inject the packets with PacketToClient (which is adapted from source posted here by Stepler).
But I've just stumbled upon a post by Snowak saying about closing Tibia client socket (force logout - link: Force logout?).
Might be the socket opens up in client autmatically on packet arrival.
I'll be looking into this and will let ya'll know
[edit]
Thanks for your input though - I DO appreciate it
[edit2]
The socket structure does not get initiated :/
Dunno how to get around this...
Sorry to revive the topic, but does anyone have attachments the post?
Excellent tutorial! I am also looking for the hook source in this tutorial if anyone could please upload it would be much appreciated.
EDIT: Might have found it in the attachments (could be wrong but I think this is it).
This attachment is wrong, it isn't it. It is Stiju's "Print Text hooking". Also if you want the source code, find for "TugBOT" of DarkstaR on googlecode. There you'll find it.
Regards, Czepek!
Ah ok, thanks!Originally Posted by Czepek