Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - blueskined

Pages: [1] 2
1
I got the similar issue, but couldn't figure out why, I got some help from Michael, but it didn't work out, I am paused for now, just wait for the update, and check again - like the early stage of ngui :) . (anyway, the game we planning will be using standalone server, I am not rushing on this. I hope it can be fixed in future release of tnet.)

2
TNet 3 Support / Re: How To Generate dynamic Channel?
« on: February 27, 2013, 08:37:18 PM »
so, if I understand correctly, I can use different IDs with the same scene, that will divide people into different channels, event the environment looks same?

if I have 100 rooms(channels),  in each room, 2 players play chess against each other, so I can just make 1 room scene, but when player create(or join), just use different id, but all point to the same scene?

3
although I saw the post about get list of the channel, but should such function be supported officially? it is quite a standard function.
otherwise we have to manually add them in on each TNet's update.

4
TNet 3 Support / How To Generate dynamic Channel?
« on: February 26, 2013, 08:42:21 PM »
If I understand correctly so far, it seems player create or join the channel all by specific ID and channel name? (TNManager.JoinChannel(ID, SceneName))
is that possible when player create channel, the id and scene name is dynamically allocated? Player can change the channel name to customer name later? other players can quire the channel list and join them?

like the chess game, when player log in, they can either join other player's created channel, or start his own, when start their own channel, they can set the name of the channel, or password, the meantime, other players can do the same, without any conflict in the channel ID.

5
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 23, 2013, 03:32:58 AM »
That's true, I am not very experienced, Thank for helping me out, I will keep my question minimal, all more general questions I wouldn't ask here. I just friended you on skype, plz check.

6
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 23, 2013, 01:58:43 AM »
y~I couldn't find the TcpClient.Connect, so I tried to put a debug to ExampleMenu.

but I couldn't find TcpProtocol.Connect either(search whole solution)
I found a instance of TcpProtocal in TNGameClient, I am not sure if this is what you mean?

  1.         // TCP connection is the primary method of communication with the server.
  2.         TcpProtocol mTcp = new TcpProtocol();
  3.  


  1.         public void Connect (IPEndPoint externalIP, IPEndPoint internalIP)
  2.         {
  3.                 Disconnect();
  4.                         try
  5.                         {
  6.                                 mTcp.Connect(externalIP, internalIP);
  7.                         }
  8.                         catch(Exception e)
  9.                         {
  10.                                 throw(e);
  11.                         }
  12.                
  13.         }
  14.  

but nothing be throwed out when I click the button with my external ip.

I am a bit lost in your scripts, is that possible you can add a debug info and send me that file, that will be a lot more efficient for both of us! Thank you very much.

7
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 21, 2013, 11:29:36 AM »
invalid arguments
UnityEngine.Debug:Log(Object)
ExampleMenu:OnNetworkConnect(Boolean, String) (at Assets/TNet/Examples/Scripts/ExampleMenu.cs:179)
System.Reflection.MethodBase:Invoke(Object, Object[])
TNet.UnityTools:Broadcast(String, Object[]) (at Assets/TNet/Client/TNUnityTools.cs:41)
TNManager:OnConnect(Boolean, String) (at Assets/TNet/Client/TNManager.cs:702)
TNet.GameClient:ProcessPacket(Buffer, IPEndPoint) (at Assets/TNet/Client/TNGameClient.cs:718)
TNet.GameClient:ProcessPackets() (at Assets/TNet/Client/TNGameClient.cs:535)
TNManager:Update() (at Assets/TNet/Client/TNManager.cs:687)

8
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 21, 2013, 10:56:36 AM »
does this mean anything to you!?

TypeInitializationException: An exception was thrown by the type initializer for System.Collections.Generic.EqualityComparer`1
TNet.List`1[TNet.TcpPlayer].Remove (TNet.TcpPlayer item) (at Assets/TNet/Common/TNList.cs:142)
TNet.TcpChannel.RemovePlayer (TNet.TcpPlayer p) (at Assets/TNet/Server/TNTcpChannel.cs:82)
TNet.GameServer.SendLeaveChannel (TNet.TcpPlayer player, Boolean notify) (at Assets/TNet/Server/TNGameServer.cs:823)
TNet.GameServer.RemovePlayer (TNet.TcpPlayer p) (at Assets/TNet/Server/TNGameServer.cs:382)
TNet.GameServer.Stop () (at Assets/TNet/Server/TNGameServer.cs:232)
TNServerInstance.Disconnect () (at Assets/TNet/Client/TNServerInstance.cs:258)
TNServerInstance.OnDestroy () (at Assets/TNet/Client/TNServerInstance.cs:274)

9
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 21, 2013, 08:13:59 AM »
I can't find TcpClient.Connect

10
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 20, 2013, 08:38:35 PM »
if it's the router's problem....
1.3 does run properly!!!!!!

11
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 20, 2013, 08:37:19 PM »
the internal ip is 192.168.1.6.
I am not sure what router that is, the server supplier installed it when they setup the service. I never touch it after that. however, I just tried this again in my company- with my mac laptop which is brand new download from assetstore (the previous try were on my PC and MAC desktop at home yesterday)
and still I only got the company's external ip.
(mac powerbook retina with wifi) :o
I will try more later at home with debug info, have to back to work for now...

12
TNet 3 Support / Re: How to get a channel list
« on: February 20, 2013, 10:22:45 AM »
can you make a more detailed tutorial on this? I think it's important to also know how to do work on the server side! that's the point for the server's source code isn't it!

13
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 20, 2013, 09:33:01 AM »
I am not sure what is that mean :o

what I am experience is, when I click "Start a Local Server", it keeps me wait quite long, about 3 seconds.
then the list page popup, with the wrong IP.

but everything is from assetstore, I didn't touch anything! why it can be some callback issue?
anyone else got the same problem? or just me!?
how lucky i am...

14
TNet 3 Support / Re: ExampleMenu couldn't find my local machine's ip?
« on: February 20, 2013, 08:47:24 AM »
I think it might be something to do with TNUdp Lobby Client script on TNManager. I am turning it on and off, the list working for 1 time!!!!!! displayed the correct ip, and shortly not working again...

15
TNet 3 Support / Re: 1.5.0 issue with TNDiscoveryServer - or is it just me?
« on: February 20, 2013, 07:27:34 AM »
We BADLY need more tutorials... ;D

Pages: [1] 2