tModLoader

tModLoader

IPv6 Multiplayer Support
71 Comments
Zynthera Apr 20 @ 1:01am 
发现了一个星露谷的ipv6模组,作者还提供了dll文件用于原版ipv6联机,你能做一个类似的dll吗
https://www.nexusmods.com/stardewvalley/mods/25045
Glyde Mar 1 @ 6:37am 
ipv6 just makes game hosting impossible, very few games seem to support it. would rather have a bit of latency.
月森風雅 Dec 31, 2024 @ 4:04am 
Still work. But it sometimes causes client crashing while joining server.
ZaKami Dec 7, 2024 @ 10:14pm 
Does this mod work still or nah?
Zoar_yalz Nov 1, 2024 @ 8:24pm 
作者你好,我在尝试用你的模组进行联机。我的网络使用了路由器natv6给电脑提供ipv6访问,所以需要在路由器上设置端口转发才能开服。请问我该怎么设置转发的端口?
marble Oct 19, 2024 @ 4:52am 
Exception #2:

[12:08:44.351] [Main Thread/WARN] [tML]: Silently Caught Exception:.
System.PlatformNotSupportedException: The information requested is unavailable on the current platform.
at System.Net.NetworkInformation.UnixUnicastIPAddressInformation.get_IsDnsEligible()
at IPv6Mapper.IPv6Mapper.GetIPv6Address()
at IPv6Mapper.IPv6Mapper.<Load>b__9_2(orig_StartServer orig)
at Hook<System.Void IPv6Mapper.IPv6Mapper::<Load>b__9_2(Terraria.On_Netplay+orig_StartServer)>()
at SyncProxy<System.Void Terraria.Netplay:StartServer()>()

The underlying API has not been implemented for Linux Mono.
-> Unimplemented Mono source code [github.com]
=> Recommended to avoid using "IsDnsEligible()"
marble Oct 19, 2024 @ 4:51am 
Exception #1:

System.ArgumentOutOfRangeException: Index was out of range. (Parameter 'startIndex')
at System.Globalization.CompareInfo.LastIndexOf(...)
at System.Net.NetworkInformation.StringParsingHelpers.ParseWinsServerAddressesFromSmbConfFile(...)
at System.Net.NetworkInformation.LinuxIPInterfaceProperties.GetWinsServerAddresses()
at System.Net.NetworkInformation.LinuxIPInterfaceProperties..ctor(...)
at System.Net.NetworkInformation.LinuxNetworkInterface.GetLinuxNetworkInterfaces()
at IPv6Mapper.IPv6Mapper.GetIPv6Address()

This is due to a very bad implementation in Linux Mono.
Mono tries to parse "smb.conf" in a very sloppy/fragile way.
-> Buggy Mono source code [github.com]
=> Recommended to avoid using "GetLinuxNetworkInterfaces()"
marble Oct 19, 2024 @ 4:48am 
This does not work with a dedicated Linux server.
The mod throws two exceptions on server startup and does not create the port redirection on the server-side.

Reason is that this mod uses DotNet/Mono network APIs that do not work on Linux.
Gear`O`Derm Sep 11, 2024 @ 8:52pm 
我的运营商拒绝为我提供IPV6 :steamsad:
Aliko173 Jul 31, 2024 @ 1:04pm 
Stuck on "Found server" when trying to host, am I stupid?
阿涛仔Tiu Jul 13, 2024 @ 8:27am 
没和国外连明白
lolitacachaceira Jul 5, 2024 @ 12:40pm 
Stuck on "Found server"
宇宙公主 May 12, 2024 @ 5:08am 
Does this work with CGNAT? I use Starlink, which has ipv6 support. You can't port forward with Starlink but as far as i know you don't need to port forward with ipv6.
CupieCake ^^ Apr 20, 2024 @ 12:01am 
currently having issues with it as a whole. I cannot ping to my partner, but my partner can ping to me. I'd love any help, really wanting to play with the mod, just not a lot to search and diag with
ennard.tm Mar 26, 2024 @ 1:04pm 
what can i do if i need to write the port of the server but we dk?
japa4551 Feb 28, 2024 @ 9:20am 
Currently it does not work on Linux out of the box. However if you manually set the IPv6 in-game/through the config file (~/.local/share/Terraria/tModLoader/ModConfigs/IPv6Mapper_Config.json) it works flawlessly.
n0proxy Feb 10, 2024 @ 8:35pm 
I seem to fail the cmd ping test, I get all time outs when I ping my host's IPv6 address that way. Is that a problem with my connection, or the host's connection? Does that mean he has to do some port forwarding or what?
Cyrilly  [author] Jan 25, 2024 @ 7:15pm 
@One
Yes
One Jan 23, 2024 @ 5:12pm 
Is this now compatible with dedicated servers? :lunar2019deadpanpig:
Cyrilly  [author] Jan 20, 2024 @ 4:10pm 
As of the v2.0 update, the use of tinyMapper.exe is completely gone and now the mod uses a native port mapper written in C# to forward IPv6. This may fix some of the issues you are experiencing
PieMaster17 Jan 18, 2024 @ 4:03pm 
ty @Phreel
shank and wank Jan 18, 2024 @ 7:07am 
it still works, you all just need to port forward the ipv6 addresses too
just port forwarding the ipv4 doesnt work, need both port forwarded
@PieMaster17 @benis55 @LazerDickMcCheese
PieMaster17 Dec 26, 2023 @ 5:49pm 
stuck on found server
DTrain55 Dec 18, 2023 @ 9:15pm 
I'm hosting the world and when my friends try to join it just says "found server" and never progresses past that. Is there a way to fix this?
Bean Dec 18, 2023 @ 7:27am 
can I still use ipv4 with this mod? Say I dont have ipv6 yet, and my server does, can I still connect?
Saint Sigma X Dec 17, 2023 @ 2:25pm 
or does it work passively? do I have to unpack it somewhere specific? I can't find any understandable instructions.
Saint Sigma X Dec 17, 2023 @ 2:24pm 
I can't figure out how to even start TinyPortMapper. networking stuff is very confusing for me. Do I have to start it via cmd line?
LazerDickMcCheese Dec 13, 2023 @ 2:09am 
Stuck on "reload joining, complete" with a dedicated server
Theresa Nov 30, 2023 @ 9:24pm 
1.4.4.9只能发现服务器,双向ping 6都可以链接。双方都关了防火墙
Alcazzar Nov 12, 2023 @ 7:33pm 
Hey, the mod works great, and I notice the performance improvements, but I host my server on my personal computer and my ipv6 address changes every time I restart the PC, leading me to have to re-distribute my new ipv6 to my friends. This leads me to ask the question am I missing something? Because the performance improvements don't seem worth the hassle of re-distributing the IP. Is there something else that should be done server-side to ensure the ipv6 is static? Do the users of the mod simply re-distribute every time? What do you all recommend? I'd like to make this work. Thanks!
BlueCrashMatress Oct 28, 2023 @ 9:31pm 
Can i use this mod with the server.exe or does it have to be done through host & play
Seppy Beppy Oct 1, 2023 @ 8:41pm 
wierd, i can only host servers if i use this mod for IPV6, i cant use IPV4 at all for terrara unless people join via invites
Cyenia :D Sep 20, 2023 @ 3:53am 
It doesn't work on dedicated servers under Linux
Velctor Sep 10, 2023 @ 2:56am 
泰拉瑞亚1.4.4.9支持吗?
打不开啊
CupieCake ^^ Sep 7, 2023 @ 10:47pm 
was trying to use this mod between my friend and I. Started going through the process of setting everything up, and getting all the connections sorted out until we found out I cant ping his ipv6 at all. He can ping mine fine, was trying a few fixes, but got father into trying things, not we cannot host tml servers what so ever. With or without the mod loaded. Couldn't connect to one another with the mod loaded either. Any help would be great.
Setnour6 Aug 14, 2023 @ 12:07pm 
Can localhost be used instead of ipv6, or just strictly ipv6?
ropz Aug 11, 2023 @ 11:41am 
1.4.3 support?
Mdnghtcwby Aug 10, 2023 @ 3:03pm 
Just want to let you know in the states I'm also getting a report of a worm being a part of the mod file. I understand it might not exactly be the case, but it makes me too nervous to use, especially with minimal improvements that I do see.
Cyrilly  [author] Aug 6, 2023 @ 10:21pm 
这个bug我也知道,但是我不太懂C++,所以不知道怎么修(
Chen Aug 6, 2023 @ 10:14pm 
还有就是tinyMapper.exe不会在退出后自动关闭
Chen Aug 6, 2023 @ 10:13pm 
ok现在没报毒了,感谢
Cyrilly  [author] Aug 6, 2023 @ 8:23pm 
不知道为啥,我直接从github下载tinyMapper.exe放到我mod的文件里面,过一会他会从2075kb变成一个2876kb的文件,可能报毒就是这个2876kb文件的问题,你要实在不相信我可以给你录个视频。现在我重新更新了,应该没问题了
Cyrilly  [author] Aug 6, 2023 @ 8:15pm 
?我记得之前有人告诉我报毒了,我就去更新了一下,后来他说没问题不报毒了。这现在我更新了1.1版本他又开始报毒了?那我再更新一下
Chen Aug 6, 2023 @ 6:03pm 
哥们,这tinyMapper.exe是从你本地拉的还是直接从github拉取的。包括我从github的下载的tinyMapper.exe任何杀软没有报错。你这个mod生成的软件被认为是蠕虫感染,并不是木马所以我觉得不是类似易语言的误报。并且我确定发现了蠕虫的痕迹例如C:\ProgramData\Synaptics\的生成,这是一个隐藏文件夹你可以直接输入路径打开看到,以及其实 ._cache_开头也是蠕虫感染的一个标志。此外,我认识到tinyPortMapper 是 Github 上的一个开源项目本身不可能存在病毒。所以我觉得很有可能是你本地感染的。哥们我打这么多字也不是凭空找茬,也是希望你能查一下,现在这社会,电脑不至于关闭所有杀毒吧
PieMaster17 Aug 6, 2023 @ 9:48am 
ily
Cyrilly  [author] Aug 6, 2023 @ 4:47am 
fixed
NeuTraLZero Aug 6, 2023 @ 2:55am 
The server starts but couldn't find ._cache_tinymapper.exe in the tmodloader folder so it crashes. can be temporarily fixed by renaming tinymapper.exe to that
PieMaster17 Aug 5, 2023 @ 9:47pm 
Crashes after it says "starting server" :steamthumbsup:
#Thomas Aug 3, 2023 @ 7:41pm 
crashes game engine every time you load up a multiplayer world btw :steamsad:
Chen Aug 1, 2023 @ 9:09pm 
指向需要._cache_tinymapper.exe,但实际应该是tinymapper.exe,在手动重命名后可以解决,希望可以改一下