Jump to content

Recommended Posts

Posted

Hello!

 

When porting my crossbow mod to SMP, I've been relatively successful except for one problem. The problem is shown in the video below, but I'll explain it anyway. Seems to be a problem with RotationYaw, although I have tried sending my own packets from the server to update it client-side with no success.

 

[embed=650,480]

[/embed]

 

Any help would be greatly appreciated. Thanks for your time.

Posted

Are you ussing default arrows?

Default arrows dont have many ticks.

Make custom arrows and put higher tick rate than default arrows.

 

Well in the video I have the EntityTracker set to update it every 0.05s. I've also tried lower, higher, same as the default arrow, etc with no success.

 

The vanilla EntityArrow Tracker Entry:

this.trackEntity(par1Entity, 64, 20, false);

 

Mine (currently):

MinecraftForge.registerEntity(net.minecraft.src.EntityWoodBolt.class, this, 0, 64, 5, true);

Posted

Yeah, but for an arrow it does not matter much as long as it 'looks' decent, the server will handle where it actually hits and such.  Just use interpolation to try to be as accurate as possible while lacking priority data.

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.