I'm a doctor, not a mechanic

Difference between revisions of "Talk:Types"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Created page with '===Strings and replication=== I have just done some testing in UT2004 (ie Unreal Engine 2.5) concerning Strings and replication. My test included a server to client replicated st…')
 
Line 9: Line 9:
  
 
--[[User:Pd|Pd]] 06:36, 5 May 2011 (UTC)
 
--[[User:Pd|Pd]] 06:36, 5 May 2011 (UTC)
 +
:Strings with a length greater than 255 can not be replicated. --[[User:Eliot|Eliot]] 10:19, 5 May 2011 (UTC)

Revision as of 04:19, 5 May 2011

Strings and replication

I have just done some testing in UT2004 (ie Unreal Engine 2.5) concerning Strings and replication. My test included a server to client replicated string variable I filled on the server in PostBeginPlay and replicated (reliably) if bNetInitial. I output its length client-side in PostNetBeginPlay and each Tick.

Strings longer than 390 characters took one Tick before they were replicated completely, ie at PostNetBeginPlay, the client-side length was still zero, in the first Tick it had the correct length.

Strings longer than 496 characters did not get replicated at all, not even truncated. The client-side length remained zero.

If anybody can confirm or clarify this, this might be useful information in the String section.

--Pd 06:36, 5 May 2011 (UTC)

Strings with a length greater than 255 can not be replicated. --Eliot 10:19, 5 May 2011 (UTC)