Page 1 of 1

Packets

Posted: Sun Sep 03, 2017 2:45 pm
by Alwir
Hi there

We have Packet, and we can send packet from server to client. For example: packet.sendPacket(who) or SendPacket(who,packet).

How can we emulate to send packet FROM client TO server?

Re: Packets

Posted: Sat Sep 09, 2017 9:04 am
by guialtran
Do you have access to the client's source code?

Re: Packets

Posted: Sat Sep 09, 2017 9:47 am
by CWO
What are you trying to accomplish here? Typically the only thing that happens when the client sends a packet to the server is that the server responds in a certain way or does something based on that packet. Why not cut out the packet and just do what you wanted to do.

The only thing I can think of is you want to send a response packet to the client but the client crashes or freezes because the client never expected it. Emulating the client sending the packet will still crash the client though because the client will still never expect the response.

Re: Packets

Posted: Sat Sep 09, 2017 9:54 am
by RusseL
guialtran wrote: Sat Sep 09, 2017 9:04 am Do you have access to the client's source code?
noone has it. but we have a packet guide