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

Pages: [1] 2
1
TNet 3 Support / Re: MathD does not exist
« on: November 06, 2017, 02:55:18 PM »
Ah I see, thanks for the help!

2
TNet 3 Support / MathD does not exist
« on: October 29, 2017, 06:04:14 PM »
Ever since the commit on September 25th, I have gotten the error 'The name `MathD' does not exist in the current context' for the new Vector2D / 3D files.

What is MathD and how do I get it?

3
Apologies for the triple post, but I can't seem to find a way to edit them.

Altering the AND (&&) to OR (||) also fixes the issue, which may be what was intended in the first place?

4
The change from

  1. if (!mJoining.Remove(channelID))

to

  1. if (!mJoining.Remove(channelID) && channelID < 0)

in commit 2bf7e72 is the problem. Removing '&& channelID < 0' fixes the issue.

5
You're right about Unity version not making any difference (tried it in 5.6.3f1).

Those results I posted are from an empty project, with only TNet imported, your provided code and a little more to connect to a server.

The mJoining list in TNGameClient shows a list Count of 1, with the value being -1.

I forgot to mention that I'm using v3.0.9 from the repository, not the Asset Store. When i reverted back to the 3.0.9 commit it works correctly, so something changed in the 5 commits after 3.0.9 was pushed. I'll test it for each commit and share my results.

6
Sorry about the error in console, but still the same result with the added scene:

7
Using your code I am still getting the same result. Maybe it's the Unity version? I'm using Unity v5.6.1f1 currently.


8
Hello, I'm using TNet v3.0.9.

When I create a new channel using TNManager.CreateChannel, the value for TNManager.isJoiningChannel seems to always return True and never goes back to False after successfully joining the channel.

Is this a bug or am I doing something wrong? Let me know if you need more information.

9
NGUI 3 Support / Re: Creating Atlas crashes Unity
« on: December 10, 2016, 04:13:23 PM »
I also tried updating to Unity 5.5.0p1, but the issue persists.

It works after setting Compression on the texture to None.

10
NGUI 3 Support / Re: Creating Atlas crashes Unity
« on: December 10, 2016, 03:36:50 PM »
Updated to NGUI 3.11.1, still having the same problem.

Using one image, 64x64 resolution and about 14kb. Here's a video showing it if that helps at all: https://youtu.be/1QDwgLVcHp0

11
NGUI 3 Support / Creating Atlas crashes Unity
« on: December 09, 2016, 03:44:57 PM »
Hello,

I'm using Unity 5.5.0f3 with NGUI 3.11.0c.

When creating a new atlas, Unity freezes, my memory maxes out (16gb) after a minute or so and Unity eventually closes itself (if I don't force it to close) without any errors. The atlas prefab is created but the texture is not.

At first I thought it was the project since it's large, but it also happens in a new project.

Any help would be appreciated, let me know if you need more info.

12
Ah ok, that makes sense. Thanks!

13
Hello,

I have a chat manager object for handling all chat related things. Players can send multiple chat message types (channel, server (broadcast), group and whisper). The chat manager has DontDestroyOnLoad so it persists through scenes. My players can change scenes, which also changes what channel they are in (so they do not see the other players on other maps). Channel chat stops working because I can't seem to change the chat manager's channel ID correctly.

I've tried calling TNObject.TransferToChannel(channelID), but it doesn't seem to do anything. The Channel value on the object never changes. If I try to set the channelID directly, the Channel value does change, but then I get a warning about RFCs not being sent because the object wasn't created correctly ([TNet] Trying to execute RFC #1 on TNObject #1 before it has been created.)

I could just stick the chat manager into every scene instead of having it persist through loading, but that just seems silly when theres a TransferToChannel method. I must just be doing something wrong.

I hope that makes sense, any help would be appreciated!

14
TNet 3 Support / Re: TNet Crashing
« on: June 13, 2016, 05:49:38 AM »
I'm using Windows 10 x64 as well as Raspbian Jesse and had the exception on both, but your update fixed the issue with TNServer.exe for me. Thanks!

15
TNet 3 Support / Re: TNet Crashing
« on: June 12, 2016, 06:59:07 PM »
This may be unrelated to the OP, but TNServer.exe is crashing for me as well when entering q to exit.

Using TNet version 3.0.2

Line #568 in TNGameServer.cs:
An unhandled exception of type 'System.Threading.ThreadInterruptedException' occurred in TNServer.exe
Additional information: Thread was interrupted from a waiting state.


Another very small note: Line #490 in TNUPnP.cs needs to be commented out to build the server without the UnityEngine namespace.

Pages: [1] 2