安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






If you ever find time to fix this, here are the git repositories of all addons involved:
https://github.com/metrostroi-repo/MetrostroiAddon
https://github.com/TeamUlysses/ulib
function Metrostroi.GetTimedT(notsync)
local T0 = GetGlobalFloat("MetrostroiT0",os.time())+GetGlobalFloat("MetrostroiTY")
local T1 = GetGlobalFloat("MetrostroiT1",CurTime())
local dT
if notsync then
dT = (os.time()-T0) - (CurTime()-T1)
else
dT = (os.time()-T0 + (CurTime() % 1.0)) - (CurTime()-T1)
end
return dT
end
function Metrostroi.GetSyncTime(notsync)
return os.time()-Metrostroi.GetTimedT(notsync)
end
This might be a red herring.
But this one is promising:
hook.Add("PlayerButtonUp","metrostroi_button",function(ply, button)
local train,seat = ply:GetTrain()
if IsValid(train) and train.KeyBuffer then
if train.KeyBuffer[button] then
train.KeyBuffer[button] = nil
train:OnKeyEvent(button,false,ply,train.DriverSeat ~= seat)
end
end
end)
I am not familiar with LUA but, maybe ply is not defined somehow?
Metrostroi cannot initialize with this addon enabled, making it unusable. I have tested it only with Metrostroi and your library enabled, disabling this library fixes the issue.
It would be great to fix this, because then I will be able to use the omni man swep on the train.
The error:
[Metrostroi Subway Simulator - Scripts] lua/entities/gmod_track_clock_interval/init.lua:80: attempt to call field 'GetSyncTime' (a nil value)
1. unknown - lua/entities/gmod_track_clock_interval/init.lua:80 (x6)
[Metrostroi Subway Simulator - Scripts] lua/entities/gmod_subway_base/init.lua:1559: attempt to call method 'GetTrain' (a nil value)
1. fn - lua/entities/gmod_subway_base/init.lua:1559
2. unknown - lua/ulib/shared/hook.lua:109
1. Function - gamemodes/sandbox/gamemode/player_extension.lua:93
2. func - lua/includes/extensions/entity.lua:158
3. unknown - lua/includes/modules/hook.lua:267
1. Add - lua/includes/modules/hook.lua:118
2. unknown - lua/autorun/hb_help.lua:16
1. Add - lua/includes/modules/hook.lua:118
2. unknown - lua/autorun/hb_help.lua:16
我最骄傲的信仰
历历在目的五条
眼泪莫名在流淌
依稀记得开领域
还有给力的特效
把其他JJK模组全部给打飞!
Come back, my gjujutsu
My proudest faith
Remember in the purpose of gojo
Tears were flowing inexplicably
I vaguely remember the domian
There are also powerful special effects
Knock all the other JJKmods flying!
https://discord.gg/ghgxt7QT