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 - voncarp

Pages: 1 [2] 3 4 ... 7
16
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 29, 2016, 11:54:27 AM »
I start up a new TNServer.exe with default port -tcp 5127



I have the port open



Find my IPv6 with on the server with http://ipv6.icanhazip.com



And then type in the IPv6 address without the port number



And still nothing  :(

17
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 28, 2016, 12:28:13 PM »
I added it above. Its not hitting that Debug.LogWarning  :'(

Tnet3 is structured a bit differently than the original.  For the most part, everything seems to work the same.

Edit:

Placed

Debug.Log (tcpEndPoint);

right after if (tcpEndPoint != null)
 
Results in
0.0.7.210:0

18
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 27, 2016, 10:07:59 PM »
Again cmifwdll,

Thanks for the continued support!




19
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 27, 2016, 04:11:28 PM »
Thanks again cmifwdll,

My low skill level in networking and connections is very evident in my questions and issues.

Well, first step would be replacing that ipv4 address with an ipv6 one :P

You probably just forgot, but you typed the server's ipv4 address here: https://dl.dropboxusercontent.com/u/78828827/Screen%20Shot%202016-07-27%20at%207.40.15%20AM.png and that's likely why you're unable to connect ;)
I don't know exactly how Aren implemented it, but here's how I instantiate the client socket:
File TNTcpProtocol.cs, function ConnectToTcpEndPoint():
mSocket = new Socket(tcpEndPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);

In this case, tcpEndPoint is the parsed IPEndPoint from the box you type in. So its address family would be ipv4, and the socket would be ipv4.

I didn't forget, sadly; I just never knew and bothered to research further since TNet made it so easy. Thanks for taking it easy on me  ;)

But, once I can connect; I can bounce RFC's around to create some wonderful things in my projects. And because of that, I have had some very good success on iOS and Steam, so your assistance is very much appreciated.

So what I need to do is type in an ipv6 address to connect to the server as such: 2002:a1ca:90f2:a1ca:90f2:7000 in lieu of 161.202.144.242:7000? Because I typed that in the example menu to no avail.



Just to add on to this conversation, on a IPv6 NAT64 network created from Apple's guidance:

https://developer.apple.com/library/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1

Half of the apps on my phone no longer connect.  Clash of Clans and Pokemon Go connect on this network non surprisingly, however agar.io

https://www.quora.com/How-much-did-the-Agar-io-creator-earn-for-his-game

the top selling free app on the US Appstore apparently is not compatible. So, like me he will be unable to update his project until he remedies that.








20
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 27, 2016, 03:27:11 PM »
Thanks cmifwdll.

You have been a big help to me before.

Make sure the client socket is IPv6.

I have to admit I don't what that means or what I need to do. Would you be able to push me in the right direction?

21
TNet 3 Support / Re: Testing IPv6 on iOS
« on: July 27, 2016, 01:43:54 PM »
Thanks for compiling the server for me.  And the previous one.

But I am still struggling making a connection.

I run a few different TNServer.exe to test on this external test server.  Port 7000 is set up for IPv6.



Connecting to port 7001 ipv4  works brilliantly easy.





But any attempt to connect to port 7000 never works. I set IPv6 to true in the example scene.



Here are the two TNserver.exe on the server:



Perhaps I am missing something very fundamental, but are you able to tell me what steps I am missing or what I did wrong?

This test has the latest TNet on the Asset Store and uses the TNServer.exe that you provided. I just used a Mac for testing.




22
TNet 3 Support / Testing IPv6 on iOS
« on: July 26, 2016, 12:09:18 AM »
Starting with the example scene basics of TNet3 I am able to connect to an external server with the TNServer.exe by typing in the address plus port number on an iOS build. It connects and works fine on my router with my IP address.

When connecting on a IPv6 NAT64 network using the exact same method. No dice.



I followed the Apple guide in setting up IPv6 NAT64 network.

https://developer.apple.com/library/mac/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW1

What steps did I miss in regards to getting a connection from an IPv6 network?  How are you connecting from an IPv6 network?

Apologies, but I am not quite getting how this works.  Does TNet3 not automatically do this for you or am I not using it properly?

23
This is an issue I am having too.  Where none of my target.All are working while using TNet3.

You might have a similar problem as in this thread:

http://www.tasharen.com/forum/index.php?topic=14171.0

Try checking your channel number on your TNobject and see if its 0 and your not actually in channel 0 anymore.


24
TNet 3 Support / Re: Compile new TNServer.exe
« on: July 23, 2016, 01:21:08 PM »
Thanks Devomage

When I try that it tells me it cannot find any files associated with the TNServer.exe.

Perhaps I am doing this all wrong. I unzip the TNetServer.zip. Modify ServerMain.cs and then hit rebuild solution.

Am I supposed to compile something else or add files? 

25
TNet 3 Support / Compile new TNServer.exe
« on: July 21, 2016, 04:12:08 PM »
I am upgrading all aspects of my previous projects to TNet3 and am having some difficulties.

At one point I was able to compile this solution for TNServer.exe with the ability to change the "Server.dat"

http://www.tasharen.com/forum/index.php?topic=13812.0

I am using a Mac; and perhaps I lucked into compiling it previously, now I cannot seem to recompile any changes with with TNServer.exe from ServerMain.cs. Would you be willing to share how you compiled that .exe?

Is it possible, as a feature request; to have the ability to alter "Server.dat" file name while starting the TNServer.exe?

I have several games made with TNet that connect on the same server. I believe this feature will be useful for your users as well if they find success with their projects and continue to make games with TNet.

Thanks.

26
TNet 3 Support / App store rejection IPv6
« on: July 19, 2016, 10:43:34 PM »
I just had an App update rejected from Apple:

"Performance - 2.1

We discovered one or more bugs in your app when reviewed on iPad and iPhone running iOS 9.3.2 on Wi-Fi connected to an IPv6 network.

Specifically, we were unable to connect to either of the North American servers after a short period of time.

We've attached screenshots for your reference.

Next Steps

Please run your app on a device while connected to an IPv6 network (all apps must support IPv6) to identify the issue(s), then revise and resubmit your app for review.

If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.

For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue(s). For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue(s).

Resources

For information about supporting IPv6 Networks, please refer to Supporting IPv6 DNS64/NAT64 Networks and About Networking

If you have difficulty reproducing a reported issue, please try testing the workflow described in Technical Q&A QA1764: How to reproduce bugs reported against App Store submissions.

If you have code-level questions after utilizing the above resources, you may wish to consult with Apple Developer Technical Support. When the DTS engineer follows up with you, please be ready to provide:
- complete details of your rejection issue(s)
- screenshots
- steps to reproduce the issue(s)
- symbolicated crash logs - if your issue results in a crash log"




Looking at my TNet files in the readme.txt my version is :
-----------------------------------------------------
        TNet: Tasharen Networking Framework
    Copyright © 2012-2015 Tasharen Entertainment
                  Version 2.1.1
       http://www.tasharen.com/?page_id=4518
-----------------------------------------------------

At one point this was the #2 overall selling paid app on the Japanese App store



I am using TNet2.  I've browsed around the forums looking at IPv6 issues, but I am not sure which things I need to change.

http://www.tasharen.com/forum/index.php?topic=14264.0
http://www.tasharen.com/forum/index.php?topic=14179.0

If I upgrade to the latest version of TNet2 will it resolve IPv6 issues? 


27
TNet 3 Support / Re: Load balancing concept.
« on: April 15, 2016, 03:40:31 PM »


I am glad to still be using TNET.  On the bright side, you can buy Bolt again for $80 to use with photon.

28
TNet 3 Support / Re: TNServer.exe "Server.dat"
« on: November 28, 2015, 02:14:35 PM »
 :D Works like a charm.

Thanks!

29
TNet 3 Support / Re: TNServer.exe "Server.dat"
« on: November 27, 2015, 03:37:55 AM »
Hi,

Thanks for that.  So, I changed the only value I saw in ServerMain.cs

   public void Start (string serverName, int tcpPort, int udpPort, string lobbyAddress, int lobbyPort, bool useTcp, bool service, string fn = "server2.dat")

but it still runs everything through server.dat. 

I suspect I am missing something else.  Do you have any suggestions?

Do I need to compile this into an .exe after these changes?  Suggestions or starting point how?

I have two separate games running Tnet on the same remote server.  Using the same server.dat is causing quite some conflict.

30
TNet 3 Support / TNServer.exe "Server.dat"
« on: November 25, 2015, 07:17:15 PM »
When I run TNServer.ext it saves information to "Server.dat"  How would I go about saving and loading it to "Server2.dat" or any other name?

Pages: 1 [2] 3 4 ... 7