Jump to content

Recommended Posts

Posted

Hey everyone, I'm trying to figure out how to intercept custom packets sent from the client to the server, while still in the client, and how to send a packet from the client to the same client making it look like it came from the server.

I have no idea how to this and any help would be greatly appriciated!

Posted
48 minutes ago, Jay Avery said:

What is the context for this? What are you actually trying to achieve (in gameplay terms, not code terms)?

Make the MorePlayerModels mod  be usable on servers that don't have the plugin installed by intercepting and spoofing the packets the mod sends and receives.

Posted
1 minute ago, diesieben07 said:

That is the worst possible way to go about it. You should talk to the mod author to implement it properly instead of hacking around with packet spoofing.

I actually found a way to set the models for other players without packets already, I just need to find a way to get the player's current model, and I figured that would be the easiest if I intercepted the packet it sends to the server which includes it.

Posted
2 minutes ago, diesieben07 said:

No, that is not a good way to do it. If the mod has an API: Use it. If it doesn't, bug the author to make one.

Fair enough, thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.