Results 1 to 2 of 2
  1. #1
    Redeemer
    Join Date
    Mar 2004
    Posts
    1,761
    Gamer IDs

    Gamertag: XBoxSucks

    Default Bug/Issue: Actor has no GetSeamlessTravelActorList for serveractor use

    Ideally there should be a GetSeamlessTravelActorList function within Actor for serveractors that gives server actors the opportunity to do stuff around streaming to next level.

    Where actors spawn other classes (such as filewriters) there are times when these serveractors and associated classes need to persist into streaming to next level, and need to be notified so that they can do graceful closure/shutdown.

    Without this we're forced to write serveractors which need this functionality as mutators.

    In this example we're setting up a chain of broadcast handlers to do chat logging and swear filtering - and need to reserve/gracefully shut down the file handles. It's had to be a mutator though runs entirely on the server and should be a serveractor:


    http://piglet.titaninternet.co.uk/ut...3-v0.8beta.zip

    Code:
    function GetSeamlessTravelActorList(bool bToEntry, out array<Actor> ActorList)
    {
    	// moving to seamless travel
    	if (bToEntry && NewHandler != none)
    	{
    		NewHandler.GetSeamlessTravelActorList(bToEntry, ActorList);
    
    	}
    	else{
    		if (NewHandler != none)
    			NewHandler.CloseLogs();
    		else
    			LogInternal("BroadcastHandler GetSeamlessTravelActorList cannot find broadcast handler:"@Self, 'TitanAdminHax');
    	}
    
    	super.GetSeamlessTravelActorList(bToEntry, ActorList);
    }
    [Epic]Dave: 2 wee....

  2. #2

    Default

    Same problem here!

    I start a little serverside mod as a serveractor, but on servertravel it gets deleted and not started again.

    Is there any way of starting a serveractor on every mapstart without using a Mutator (and adding the actor to the seamless servertravel actorlist)? Can an actor somehow add itself to the seamless servertravel actorlist or prevent itself from beeing deleted on mapchange in any way?
    Last edited by Cratos; 12-28-2007 at 01:47 PM.
    [DFP] Drunken Fun Players: dfp.clanintern.de
    -=([DFP])=-Server#1 [VCTF][Mapvote]: ut3://85.14.219.51:7477
    -=([DFP])=-Server#2 [VCTF][Custom]: ut3://85.14.219.51:7577


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.