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






DESKTOP-H71K420, 21.03 2024 18:33:22
Can't compile "Mission" script module!
GT1/RealWeather/Scripts/5_Mission/curlcallbacks\curlgetweathercb.c(1): Unknown type 'CURLCallback'
I send the friend request, because I have a question abouth your mod.
Thank you.
Привет. Я являюсь твоим фанатом этого мода. Я исправил ошибку с CURLCallBack и хотел бы выложить его в открытый доступ в Steam и GitHub. Можно ли это сделать (даёшь разрешение)?
PS: Остальным прошу не писать мне, что бы я вам передал исходники. Без разрешения автора на мои действия я не буду кому-либо передавать.
------------------
ENG:
Hey. I am your fan of this mod. I fixed the error with CURLCallBack and would like to put it in the public domain on Steam and GitHub. Can this be done (give permission)?
PS: I ask the rest not to write to me that I would give you the source code. Without the author’s permission for my actions, I will not pass it on to anyone.
Please, can the project be updated? I got an error when launching server: "Can't compile mission script module! -- GT1/RealWeather/Scripts/5_Mission/curlcallbacks\curlgetweathercb.c(1): Unknown type 'CURLCallBack' -- Abort/Retry/Ignore"
(yes it's a backslash in "curlcallbacks\curlgetweathercb.c")
Thanks
//INIT WEATHER BEFORE ECONOMY INIT------------------------
Weather weather = g_Game.GetWeather();
weather.MissionWeather(true); // false = use weather controller from Weather.c
weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0);
weather.GetRain().Set(0.90, 1.0, 30);
weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0);
Something wrong ?
https://ibb.co/bND45xd
Tu me confirmes que le query, par exemple peut aussi bien être: "Lorient" que "Lorient, FR", ça change rien ?
void main()
{
//INIT WEATHER BEFORE ECONOMY INIT------------------------
Weather weather = g_Game.GetWeather();
weather.MissionWeather(true); // false = use weather controller from Weather.c
//weather.GetOvercast().Set( Math.RandomFloatInclusive(0.4, 0.6), 1, 0);
//weather.GetRain().Set( 0, 0, 1);
//weather.GetFog().Set( Math.RandomFloatInclusive(0.05, 0.1), 1, 0);
//INIT ECONOMY--------------------------------------
Hive ce = CreateHive();
if ( ce )
ce.InitOffline();
//DATE RESET AFTER ECONOMY INIT-------------------------
???????????????????????????????????????????????????????????????????????
an in the RealWeather.json
{
"app_id": "a51e9138eabcc7.................my APID.........................",
"query": "Bahia",
"requestInterval": 15,
"weatherChangeTime": 60
}
??????????????
I did several tests and it works really well, but, for me it just works with client side enebled...
How do you make it work server side only?
https://github.com/Capps0611/Custom-DayZ-Standalone-Time