Replication problem with Deco-class
Posted: Mon Dec 26, 2016 11:34 pm
Hi there
wasn't sure where to put this, but I think this is the nearest topic for it.
This is specially adressed to Masterkent and I hope he can find some time to look into it if possible.
Recently I stumbled over a problem with the Moon2 actor. There seems to be a replication problem with the deco class. I made a little testmap for it and it can be found on the testserver.
The mapfilename is: _Moon-04
When you enter the map you are in a single room with 4 moons in front of you. Each moon has it's own number shown with a panel.
Here are the descriptions of each moon:
Moon number 1
This moon was added with its default settings, nothing was changed.
Moon number 2
This moon is similiar to the first, but has RemoteRole == ROLE_SimulatedProxy
Moon number 3
This moon was again added with the default values except the RotationRate was altered a bit. It's set to
RotationRate (Pitch=300,Yaw=-800,Roll=0) which makes it turning a bit slower.
Moon number 4
Now take a look at this crazy thing. The RotationRate was altered like in Moon number 3. And also it has RemoteRole == ROLE_SimulatedProxy.
I've no idea what is going on here, but my guess is a replication problem. As long as nothing was changed except the RemoteRole all works fine, but a little adjustment of the RotationRate and the Moon goes totally crazy.
Unfortunately not only the moon actors are effected. Currently I'm working on an old idea with which I started about 3 years ago. I thought I could finish it finally, but I also have a problem with an actor I want to use. I need to make a bunch of custom actors which are based on books. The new actors should have the the same abilities as books. That's why I simply subclassed the books for my own actors. They work pretty well, but when I try to set their RemoteRole to ROLE_SimulatedProxy they don't work online.
ROLE_DumbProxy works not good online for these actors, that's why I want them to move smooth like pawns.
This is not related to any Unreal version as far as I could see. It happens on a 225 server and same way on a 227 server.
Anyone have an idea why this is not working and more important, is there a way to make it work somehow?
Edit: Added an Endteleporter which goes to Nyleve
wasn't sure where to put this, but I think this is the nearest topic for it.
This is specially adressed to Masterkent and I hope he can find some time to look into it if possible.
Recently I stumbled over a problem with the Moon2 actor. There seems to be a replication problem with the deco class. I made a little testmap for it and it can be found on the testserver.
The mapfilename is: _Moon-04
When you enter the map you are in a single room with 4 moons in front of you. Each moon has it's own number shown with a panel.
Here are the descriptions of each moon:
Moon number 1
This moon was added with its default settings, nothing was changed.
Moon number 2
This moon is similiar to the first, but has RemoteRole == ROLE_SimulatedProxy
Moon number 3
This moon was again added with the default values except the RotationRate was altered a bit. It's set to
RotationRate (Pitch=300,Yaw=-800,Roll=0) which makes it turning a bit slower.
Moon number 4
Now take a look at this crazy thing. The RotationRate was altered like in Moon number 3. And also it has RemoteRole == ROLE_SimulatedProxy.
I've no idea what is going on here, but my guess is a replication problem. As long as nothing was changed except the RemoteRole all works fine, but a little adjustment of the RotationRate and the Moon goes totally crazy.
Unfortunately not only the moon actors are effected. Currently I'm working on an old idea with which I started about 3 years ago. I thought I could finish it finally, but I also have a problem with an actor I want to use. I need to make a bunch of custom actors which are based on books. The new actors should have the the same abilities as books. That's why I simply subclassed the books for my own actors. They work pretty well, but when I try to set their RemoteRole to ROLE_SimulatedProxy they don't work online.
ROLE_DumbProxy works not good online for these actors, that's why I want them to move smooth like pawns.
This is not related to any Unreal version as far as I could see. It happens on a 225 server and same way on a 227 server.
Anyone have an idea why this is not working and more important, is there a way to make it work somehow?
Edit: Added an Endteleporter which goes to Nyleve