For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Replication and RemoteRole - enemies or friends...

The section related to UnrealScript and modding. This board is for coders to discuss and exchange experiences or ask questions.
User avatar
Shadow
OldUnreal Member
Posts: 6
Joined: Fri Jun 20, 2008 8:12 am

Replication and RemoteRole - enemies or friends...

Post by Shadow »

Told me please somebody, how to use replication and remote roles correctly.Or give links to resources that explain that.
Few my last mods were crashed in cause of wrong use of remote roles.
The problem is I don't know when actor must have remote role Simulated Proxy and when - ROLE_DumbProxy, or something like that. :(
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Replication and RemoteRole - enemies or friends...

Post by Chaos13 »

RemoteRole is specified in DefaultProperties of class of the Actor, when on Server it is that property, when on client it is always ROLE_Authority, if the object is shared between client and server (if obj is client-side or server-side only, it will be ROLE_Authority or ROLE_None)

And when writing replication statments use ROLE comparsions instead of REMOTEROLE ones.
Last edited by Chaos13 on Thu Jul 03, 2008 10:54 pm, edited 1 time in total.
Skydev = Chaos13 = Dimension4
User avatar
TCP_Wolf
Administrator
Posts: 1078
Joined: Sun Mar 03, 2002 12:04 pm

Re: Replication and RemoteRole - enemies or friends...

Post by TCP_Wolf »

You're basically asking for someone to explain to you a topic that requires an entire BOOK. I'd recommend you start off the unreal wiki for the basic concepts, try a few simple mods/tuts and ask specific questions later.
-=]HONESTY PAYS[=-
User avatar
Shadow
OldUnreal Member
Posts: 6
Joined: Fri Jun 20, 2008 8:12 am

Re: Replication and RemoteRole - enemies or friends...

Post by Shadow »

Tnx guys.
But again just one (maybe stupid :p) question...
Am I wright if I think that things like effects mainly must have ROLE_SimulatedProxy or ROLE_None, and projectiles - ROLE_SimulatedProxy?
Besides, I think that effects often takes ROLE_None if they being spawned by other effects.
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Replication and RemoteRole - enemies or friends...

Post by Chaos13 »

RemoteRole is ROLE_None if effect is being spawned client-side. Role may NEVER be ROLE_None otherwise it wont be controlative (like wont tick, get destroyed, but WILL eat memory). Projectiles have Dumb Proxy (Inherited from Actor), although they are replicated only once when spawned (bNetTemporary=True).
Last edited by Chaos13 on Sat Jul 05, 2008 7:14 pm, edited 1 time in total.
Skydev = Chaos13 = Dimension4
Pravin

Re: Replication and RemoteRole - enemies or friends...

Post by Pravin »

You're basically asking for someone to explain to you a topic that requires an entire BOOK. I'd recommend you start off the unreal wiki for the basic concepts, try a few simple mods/tuts and ask specific questions later.
Yep, simple truth. Networking in UE is one of the most cryptic topics (and most interesting in my opinion)

http://udn.epicgames.com/Two/ReplicationDeObfuscation.html

Return to “UScript Board”