Project Zomboid

Project Zomboid

指路石传送 Waystone Teleport
16 Comments
Whi-iceberg 15 Aug @ 8:14am 
@胜天半子古尔丹 G.B.F. 还没更新好吗:steamhappy:
秋婵落水 13 Jun @ 7:28pm 
@胜天半子古尔丹 G.B.F. 快端上来吧,单机模式不用平衡,玩得爽才是关键
最近心态爆炸,也没想好上传工坊之后怎么做平衡(毕竟直接传送太强了),拖延症犯了:lunar2019crylaughingpig:,把我搞明白的几个问题先分享一下吧:
- timedaction是有问题的,传送太远会导致传送失败,直接传送会比较好
- 菜单不自动关闭,改成这样就可以了:
======
--local reset = submenu:addOption(getText("IGUI_WAYSTONE_MasterReset"), submenu, nil)
local reset = submenu:addOption(getText("IGUI_WAYSTONE_MasterReset"))
--local resetSub = self.invMenu.context:getNew(self.invMenu.context)
local resetSub = self.invMenu.context:getNew(submenu)
--resetSub:addOption(getText("IGUI_WAYSTONE_MasterResetConfirm"), reset, self.BindMaster, getPlayer())
resetSub:addOption(getText("IGUI_WAYSTONE_MasterResetConfirm"), getPlayer(), self.BindMaster)
--self.invMenu.context:addSubMenu(reset, resetSub)
submenu:addSubMenu(reset, resetSub)
======
CPDSSS  [author] 31 Dec, 2024 @ 6:11pm 
@胜天半子古尔丹
好,交给你了
胜天半子古尔丹 G.B.F. 25 Dec, 2024 @ 10:28am 
大佬,请问还更新吗?我挺喜欢这个mod的功能,如果你暂时没有精力更新的话,我可以传个新版本到工坊吗?
shangjiaxuan 8 Aug, 2023 @ 10:31pm 
看起来最新版本游戏不知道为什么主传送点之外的点如果太远会传送失败。根据调试的猜想是主传送点一般有玩家建筑所以一直在内存,而出去的情况一般不在。TimedAction可能有超时或者加载区块的特殊处理。代码改成直接SetX而不是timedaction就能传送,TimedAction太远并且没怎么去过似乎就传送不了。测试和中间等待的时长无关,类型和输入都是对的。
Dragontamer997 22 Feb, 2023 @ 7:41pm 
I keep getting the same bug as Tranquil. It would teleport me to my main waypoint for a few minutes after I start, but then would only teleport me to a couple spaces up from where I was standing.
Killergoonie 11 Jan, 2023 @ 11:13pm 
I'm also getting the same bug where it teleports me either to the same spot or a little further up. I'm also playing solo. It seems to be able to teleport me back to the main waypoint but only for a few mins before it stops and starts not teleporting me at all.
CPDSSS  [author] 12 Dec, 2022 @ 8:08am 
@NiMSiM If you're playing multiplayer, check your server's Anti-cheat option (I said #3 before but after some document searching it says #2 instead).
CPDSSS  [author] 12 Dec, 2022 @ 8:06am 
@秋水林月 我在单机档测试了一下,传送还是可以用的。在多人档/服务器用需要取消反作弊选项。
你需要找到你的服务器设置文件 ini ,拉到最底下,找到 AntiCheatProtectionType 那一坨,把 Type2 置为 false (我一开始记成 3 了,不过后来查了一下大概是 2,你可以试试)。
这游戏服务器有速度检测,移动太快(TP当然算)会把你扔回原来的位置
cookie_1314 11 Dec, 2022 @ 4:22am 
我的世界表示很赞
秋婵落水 9 Dec, 2022 @ 12:13am 
请求更新,mod用不了
Pedro 2 Dec, 2022 @ 7:59am 
Mod doesn't work. Teleports to the players same position.
NayTec 24 Sep, 2022 @ 2:26pm 
Thank for the tips, it work well !
CPDSSS  [author] 24 Sep, 2022 @ 3:33am 
@NayTec It work on server, but you need to disable an Anticheat option (#3 if my memory works correctly). The game register player location on client side, yet the server's Anticheat mechanism will cancel player' movement if it's too fast. Another thing is you cannot teleport in a vehicle, at least i didn't find out how.
Is is possible to link waypoint information to the stone item itself, which will need some more coding, which i'm too lazy to put my hands on.
NayTec 22 Sep, 2022 @ 3:35pm 
Thank you i was looking for a mod like this ! But dont work on my server, i can set main waypoint and other waypoints. But it want Warp / Teleport ... client and admin both... any fix ? And it this possible to link information to the stone ?