Packets

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Alwir
New User
Posts: 27
Joined: Sat Aug 26, 2017 2:50 am

Packets

Post 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?
guialtran
Grandmaster Poster
Posts: 120
Joined: Wed Jul 30, 2008 12:42 pm

Re: Packets

Post by guialtran »

Do you have access to the client's source code?
User avatar
CWO
POL Expert
Posts: 1158
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Re: Packets

Post 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.
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Packets

Post 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
Post Reply