安装 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(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													

 0
 0								 
					 
													




 举报此帖
 举报此帖


Did a makeshift fix by editing the last line of CyberneticsFlankVents.cs to be like this:
gameObjectList[gasIndex].DirectMoveTo(targetCell)
It can even be done with notepad.
You can also keep the force behaviour like this:
"gameObjectList[gasIndex].DirectMoveTo(targetCell, forced: true);"
into
"gameObjectList[gasIndex].DirectMoveTo(targetCell, Forced: true);"
(Literally just capitalize the 'F')
\steamapps\workshop\content\333640\3028242334\CS\CyberneticsFlankVents.cs
C:/Program Files (x86)/Steam/steamapps/workshop/content/333640 (the ID for Caves of Qud)/3028242334 (the ID for Sundry Cybernetics)/CS (the folder within the mod)
Everyone else: how did you know what to change here? A lot of mods have been breaking in ways like this lately and I'd like to get in on the fun of providing fixes. The relevant part of the error log was "The best overload for 'DirectMoveTo' does not have a parameter named 'forced'", but I'm having trouble seeing how that points to needing to capitalize or remove 'forced'. Apologies for the denseness!
After that, it's digging through them, finding any relevant functions and looking for differences.
Really helpful when making your own mods as well.
Here's the wiki page: https://wiki.cavesofqud.com/wiki/Modding:C_Sharp_Scripting