Server and Client splits?

Discussion in 'Plugin Development' started by blah900, Jun 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    blah900

    So I have this problem. I made an item in game (text based) that when you swing a feather creates a "missile" of dirt that flies at the target and damages the target entity. I made this by using syncedrepeatingtask using the scheduler to work every 2 ticks for movement updates and damage. While this works fine if I'm the host and use localhost to log on, it doesn't appear nor carry out its effect at all when its some other person doing it form a remote computer.

    Is there a way that this could be worked around so they could see the block of dirt being fired from remote client as well?
     
  2. Offline

    Randy Schouten

    If you are using "sendBlockChange", that's client side.
    You'll want to get the coordinates and keep removing and placing to make it seem like it flies.
     
  3. Offline

    blah900

    Ah I see, does the SetBlock not work because the server doesn't update its block as frequently as the actual ticks itself? Thanks!
     
Thread Status:
Not open for further replies.

Share This Page