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 » Sun Sep 03, 2017 2:45 pm

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
Journeyman Poster
Posts: 69
Joined: Wed Jul 30, 2008 12:42 pm

Re: Packets

Post by guialtran » Sat Sep 09, 2017 9:04 am

Do you have access to the client's source code?

User avatar
CWO
POL Expert
Posts: 1126
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA
Contact:

Re: Packets

Post by CWO » Sat Sep 09, 2017 9:47 am

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: 333
Joined: Fri Feb 20, 2009 8:30 pm

Re: Packets

Post by RusseL » Sat Sep 09, 2017 9:54 am

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

Who is online

Users browsing this forum: No registered users and 2 guests