Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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