+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: server closing connections

  1. #11
    Senior Member
    Join Date
    May 2011
    Posts
    146
    Thanks
    2
    Thanked 0 Times in 0 Posts
    not sure what/where SOSMax logs are?

  2. #12
    Former Administrator tcarr's Avatar
    Join Date
    Dec 2007
    Posts
    7,663
    Thanks
    83
    Thanked 1,162 Times in 1,150 Posts
    SOSMax

    You download it, and start it running before you open your AS3 client. You should see logging lines like this:
    Code:
    [Loading settings file from {}]
    [Settings file loaded]
    [Attempting BinaryTCP connection. Host: 127.0.0.1, Port: 9899]
    [Connection established. Type: BinaryTCP]
    [Receiving (0) <-- ConnectionResponse]
    [Sending (0) --> LoginRequest]
    [Receiving (0) <-- LoginResponse]
    [Sending (0) --> CreateRoomRequest]
    [Receiving (0) <-- JoinZoneEvent]
    [Receiving (0) <-- JoinRoomEvent]
    I assume that you are already using a debug version of Flash player. If you don't see these lines with your debug Flash player, then add this line to your client in whatever class creates the instance of ElectroServer.
    Code:
    	//Logger imports
    	import com.electrotank.electroserver5.util.ES5TraceAdapter;
    	import com.electrotank.logging.adapter.Log;
    	import com.electrotank.logging.adapter.ILogger;
    
    Log.setLogAdapter(new ES5TraceAdapter());
    The imports go at the top of course. The other line goes inside the class before you declare any of the class variables.
    Teresa Carrigan
    Senior Software Developer
    Janus Research Group, Inc.
    previously
    Senior Engineer
    Electrotank, Inc.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts