[-]
Shout:
Click Refresh to load shouts.

Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C++ and Delphi, recv hook] Send packets to the client!!!!
02-22-2009, 09:44 AM
Post: #11
[C++ and Delphi, recv hook] Send packets to the client!!!!
aerostixy Wrote:[...] it's incorrect way! Azura knows this but all he made to explain that was his comment: //Problem[...]
this is not an incorrect way, ofc there is other ways to do it but that dont make this incorrect.

the comment about problem is no big deal (therefor the smiley), in this code if you receive a packet at the same time you are gonna make the client receive one of your one, the first packet is just delayed until next packet arrives. its not even difficult to fix it


aerostixy Wrote:[...]The same is about "Credits". This method is used by too many people already (the correct one). I wouldn't blow bubbles about credits.[...]
this part really offends me.
if someone deserves credits I always give it, I do never ever steal anyone elses work.

is this method used by too many people already? please show me somewhere its made public and I will give credits to those that deserve it. or atleast show some work where it has been used before, as you claim

I posted code that made a user inject a packet to the client a really long time ago, even long before NG and BlackD even existed publicly
Find all posts by this user
Quote this message in a reply
02-22-2009, 12:38 PM
Post: #12
[C++ and Delphi, recv hook] Send packets to the client!!!!
OsQu, I would like to share but won't do this in public forum. As soon as I have title to enter private forum I will post sources. I will never give such type of code to copy/pasters, because from my opition they destroy this place.

To megano0body:
- many apps here have bugs or bad quality;
- many apps here are left and not updated;
- many apps here are false detected as viruses;
- Azura is not the first one who is sending packets to client without proxy;
- Azura haven't finished the code yet, the code is incorrect (Azura confirmed);
- you are most likely lier; (confirmed by jeremic, when he posted an assemby code that proves you could not see Slimes with player's ID)
- I have explained in advance why I can't release my sources to public;

And this all are just normal things. Bad or good, but normal in general.
Now tell me what is not true here?

I know my previous post want happy to ready, of course, but still that was what I thought.
Find all posts by this user
Quote this message in a reply
02-22-2009, 12:42 PM
Post: #13
[C++ and Delphi, recv hook] Send packets to the client!!!!
Great work asta and Azura!! and thanks for sharing this with us :icon10:, i took a quick look at the sources and the "problem" receiving a real packet at the same time you are trying to send a fake one can be easily solved, by either merging the real packet with the one you are sending or as Azura said by delaying your packet for a while.
Another thing that should be taken care of is incomplete packets, if you send a packet to the client while its still waiting for parts of an incoming one it will crash Tongue.

Keep in mind this is a proof of concept, it needs to be polished a bit but it has potential.

[Image: slackware1userbarcq4.gif]
Find all posts by this user
Quote this message in a reply
02-22-2009, 12:52 PM
Post: #14
[C++ and Delphi, recv hook] Send packets to the client!!!!
hmm.... After I posted I noticed your new post Azura.
Inspite of your confirmation that you need to fix the code to support this problem situation with double-packets, I should say the code is correct? This is stange for me.

Ok, sorry: Azura's code is correct but he said it is unfinished. Now ok?

About credits: I wanted so much to point you, unfortunately I can't find the topic where people find out about Sink windows, Sink message id, one member were giving hints and said that it is possible and he did it already... And Google is full of code to show the sequence of async winsock calls to recreate this using the hints from thsi forum. All my soft is using this way to send packets back within years. And now suddenly Azura is an inventor.
Find all posts by this user
Quote this message in a reply
02-22-2009, 12:57 PM
Post: #15
[C++ and Delphi, recv hook] Send packets to the client!!!!
aerostixy Wrote:NONE of paid bot will use this, because it's incorrect way! Azura knows this but all he made to explain that was his comment: //Problem

The same is about "Credits". This method is used by too many people already (the correct one). I wouldn't blow bubbles about credits.

I advice to remove the code before beginners take it into their software. As I said already tons of buggy apps made this forum unpopular to Tibia users and It doesn't let the forum grow Sad


In programming, there is no "incorrect way"

There efficient way, un-efficient ways, laggy ways, fast ways, hard ways, easy ways. But anything that works, is in fact a correct way.

At least thats how I see it

Find all posts by this user
Quote this message in a reply
02-22-2009, 12:58 PM (This post was last modified: 02-22-2009 01:08 PM by megano0body. Edit Reason: )
Post: #16
[C++ and Delphi, recv hook] Send packets to the client!!!!
aerostixy Wrote:- you are most likely lier; (confirmed by jeremic, when he posted an assemby code that proves you could not see Slimes with player's ID)

The id trick only work to npcs, you are an idiot or what? Wink

aerostixy Wrote:- many apps here are false detected as viruses;

Those apps produced in this forum are tibia-hacking, cheating, they use hacking APIs to read memory, inject.... you should know this already.

aerostixy Wrote:- many apps here have bugs or bad quality;
- many apps here are left and not updated;

Those programmers have real-life, something that you don't have, you stay 24hrs in you pc playing games, yours parents pay everything for you i bet.

aerostixy Wrote:- Azura is not the first one who is sending packets to client without proxy;
- Azura haven't finished the code yet, the code is incorrect (Azura confirmed);

If it work or not, is the first released in this forum, he gave us a chance to explore
that socket's universe, he just give us the first step of many!

aerostixy Wrote:- I have explained in advance why I can't release my sources to public;

Of course! We from tpforums try to help the novices and what you are trying? To get a RANK.


Unlike you, i declare that i am a beginner, i am a noob, im not the most intelligent and at least try not to be arrogant. I try to help the community.
You are just an idiot that thinks to be superior, not more, ends up being lower, superior is who already have higher rank, but this is result of their help to the community.


You will never get any rank here in this forums because of your attitudes!




About sending packets to the client... there is a packet parser function i think, can't we call this function like when we call the printtext function?
Find all posts by this user
Quote this message in a reply
02-22-2009, 01:01 PM
Post: #17
[C++ and Delphi, recv hook] Send packets to the client!!!!
Lets stop the arguing guys and start developing for the wonderful code Azura and Asta provided!
Find all posts by this user
Quote this message in a reply
02-22-2009, 03:20 PM
Post: #18
[C++ and Delphi, recv hook] Send packets to the client!!!!
Next person to post an offensive post will be speaking with me.

The other members of this forum do not deserve to watch your little drama, if you have a problem with each other, PM each other if that's the case. If you wish not to receive anymore abusive messages and the other party refuses to do so, contact me and I will resolve it.
But for goodness sake, stop arguing. Argue less and program more! After all, this is a programming forum...

And related to the method of sending a packet to the client, please do correct me if I'm wrong, but the early "packet.dll" had both functions, SendPacket and RecvPacket. And this was about 4 years ago, give or take. And everyone relied on Azura, god damnit, alot of people still do rely on Azura's invention.

And I'm pretty sure that he was the first to use receive packet function on Tibia.

TPrograming Administration ~

[Image: image.php?img=sigs]

Linux says: Hey Windows, what's up?
Windows says: You suck and I'm superior!
Linux says: Is that why I have to drink alot of WINE to act like you?


Tibia MCV is Open Source now! check it out!
Visit this user's website Find all posts by this user
Quote this message in a reply
02-22-2009, 05:29 PM
Post: #19
[C++ and Delphi, recv hook] Send packets to the client!!!!
I tested the delphi version, and it works very well, thanks Smile
Find all posts by this user
Quote this message in a reply
02-24-2009, 01:14 PM
Post: #20
[C++ and Delphi, recv hook] Send packets to the client!!!!
Azura Wrote:is this method used by too many people already? please show me somewhere its made public and I will give credits to those that deserve it. or atleast show some work where it has been used before, as you claim

Well, I've discovered it in 8.2 but didn't posted it for public. Later, when I stopped bot programming I would to do it, but I don't had time to add the adler thing to it. Anyway, that's great you're sharing it Smile It's cool somebody finally discovered it and honestly I see no reason to post credits, as you managed to do it on your own. Congratulations ;>

btw. There's a thread somewhere around in this forum, where I explained how to do it without posting sources.
Find all posts by this user
Quote this message in a reply
Post Reply 



Contact UsTProgrammingReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication