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.


Topics - lynohd

Pages: [1]
1
TNet 3 Support / Admin folder & server file problem
« on: October 07, 2017, 12:16:54 AM »
Hi, for some reason the admin.txt file does not get created automaticly and i have to go into X directory to make it manually.

it was only after i added the "-app" parameter in my TNServer that it generated a folder in my documents (which i think is not a appropiate place for it to be generated, and idk how to change it).

i also tried the "-localpath" parameter but that did nothing.

also the "server.dat" file that the  TNServer generates when ran is completely empty aswell?

2
TNet 3 Support / onJoinChannel fired more than once?
« on: May 26, 2017, 09:41:17 PM »
Hi,
for some reason when i use onJoinChannel it gets fired more than once
  1.  void OnNetworkJoinChannel (int channelID,bool succes,string message)
  2.     {
  3.         if (succes)
  4.         {
  5.             Debug.Log("Connected to Lobby: " + channelID);
  6.         }
  7.     }
  8.     private void OnEnable ()
  9.     {
  10.         TNManager.onConnect += OnNetworkConnect;
  11.         TNManager.onJoinChannel += OnNetworkJoinChannel;
  12.     }



3
TNet 3 Support / Connect to a server
« on: February 10, 2017, 10:59:01 AM »
Hello, I was going to play-test a game ive been working on for a few days but ran into some issues.
other people werent able to connect to a lobby / gameserver, I probadly have setup everythijng wrong (I followed and did the exact same as in the Demo files)
what is the correct way to set up a server and let everyone connect to it?

sorry for bad english, couldnt word myself writing this post.


Appreciate all help

4
TNet 3 Support / List<> problem
« on: August 20, 2016, 12:43:54 PM »
Hi, for some reason when i wanna use a list it gives me an error message saying:
Error   CS0104   'List<>' is an ambiguous reference between 'TNet.List<T>' and 'System.Collections.Generic.List<T>'   

is there any ways to use a list with TNET imported without having to put TNet.List infront of everything?

thanks in advance

5
TNet 3 Support / Sync player states and animations
« on: May 25, 2016, 02:34:27 PM »
Hello, back at it again with another problem ::)

I want to tell other players whether im running or walking or standing still and make other players see the appropiate animation for this,
but I dont fully understand how I would go about doing it. I have tried like 5 different methods

Destroying the Animation GO on the local client and still having it on other players client and assigning the players speed too the animator but that doesnt seem to work,
Im really confsed and just dont understand how I would og about doing this


does scripts and gameobjects that doesnt belong too other players be disabled or destroyed?
or simply just put a if(!tno.isMine) return; on them so that the code wont run on them?


6
TNet 3 Support / Seperate Players?
« on: May 23, 2016, 04:49:30 PM »
Hi, Im new to TNet and Ive just got my server up.
Before TNet I used Photon and there to seperate local player to a online player all i had to do was photonview.ismine? Disable or enable components accordingly

how would go about getting the same results here? or is there any better ways? I dont fully understand how to do it on TNET
im using the standalone server

7
TNet 3 Support / Portforwarding and running the standalone server
« on: May 23, 2016, 12:10:02 PM »
Hello, can someone please help me and guide me to setting up the standalone server correctly?
I have literally tried everything but It just wont work for some reason.  I have opened 5127-5129 (TCP/UDP) ports and it just wont work

8
TNet 3 Support / Unable to open port
« on: May 22, 2016, 02:44:14 PM »
Hi guys, I just got TNet and I've been trying to get a server up and running (standalone) but when i run it this is what i get

(IM A NOOB TO NETWORKING)
  1. [2016.05.22 21.42.11] Checking UPnP status on 192.168.0.14...
  2. [2016.05.22 21.42.11] UPnP Gateway: 192.168.0.10
  3. [2016/05/22 21:42:11] External IP: ----
  4. [2016/05/22 21:42:11] UDP Lobby Server started on port 5129 using interface 0.0.0.0
  5. [2016/05/22 21:42:11] Admins: 0
  6. [2016/05/22 21:42:11] Bans: 0
  7. [2016/05/22 21:42:11] Game server started on port 5127 using protocol version 20160207
  8. [2016/05/22 21:42:11] Loaded server.dat
  9. [2016.05.22 21.42.12] UPnP: Unable to open UDP port 5129
  10. [2016.05.22 21.42.13] UPnP: Unable to open TCP port 5127
  11. [2016.05.22 21.42.13] UPnP: Unable to open UDP port 5128
  12. [2016/05/22 21:42:13] Press 'q' followed by ENTER when you want to quit.
  13.  

I have opened the UDP/TCP ports 5127-5130 in my router settings but that didnt change naything at all

Pages: [1]