Terrorista90 1 Posted June 27, 2019 Hello, in the previous version of dayz I add this comand on my init.c GetTesting().ExportProxyData("7500 0 7500", 10000); but in 1.04 it does not work? Any solution? Share this post Link to post Share on other sites
Lt.Master 78 Posted June 27, 2019 On 6/26/2019 at 12:45 PM, ImpulZ said: Tweaked: Renamed method GetTesting() to GetCEApi() BEFORE : GetTesting().ExportProxyData("7500 0 7500", 10000); AFTER : GetCEApi().ExportProxyData("7500 0 7500", 10000); Should be working now 🙂 Share this post Link to post Share on other sites
Terrorista90 1 Posted June 27, 2019 Ok good, Thank you a lot. Share this post Link to post Share on other sites
bogusfree 2 Posted January 6, 2020 (edited) Guys any suggestions? Now on livonia server need to export custom loot maps with GetCEApi().ExportProxyData( "6500 0 6500", 6000 ); Seems not working, may be the function have changed again? Gives me that when it's trying to initiate on livonia it says is logs (#2638 is a position of that function) NULL pointer to instance Function: 'main' Stack trace: $CurrentDir:mpmissions\dayzOffline.enoch\init.c:2638 definitely something has changed on new map... may the function is different now... But it's working just fine on Chernorus servers that's where I have it ....... //INIT ECONOMY-------------------------------------- Hive ce = CreateHive(); if ( ce ) ce.InitOffline(); GetCEApi().ExportProxyData( "6500 0 6500", 7000 ); Edited January 6, 2020 by bogusfree Share this post Link to post Share on other sites
Sid Debian 131 Posted January 7, 2020 (edited) On 1/6/2020 at 1:04 PM, bogusfree said: Guys any suggestions? Now on livonia server need to export custom loot maps with GetCEApi().ExportProxyData( "6500 0 6500", 6000 ); Seems not working, may be the function have changed again? Gives me that when it's trying to initiate on livonia it says is logs (#2638 is a position of that function) NULL pointer to instance Function: 'main' Stack trace: $CurrentDir:mpmissions\dayzOffline.enoch\init.c:2638 definitely something has changed on new map... may the function is different now... But it's working just fine on Chernorus servers that's where I have it ....... //INIT ECONOMY-------------------------------------- Hive ce = CreateHive(); if ( ce ) ce.InitOffline(); GetCEApi().ExportProxyData( "6500 0 6500", 7000 ); GetCEApi().ExportProxyData( "7500 0 7500", -> coords of "center" of map 10000 -> Radius of trigger. ); So use this function inside main() before "}": GetCEApi().ExportProxyData("7500 0 7500", 10000); Example: Spoiler void main() { //INIT WEATHER BEFORE ECONOMY INIT------------------------ Weather weather = g_Game.GetWeather(); weather.MissionWeather(false); // false = use weather controller from Weather.c weather.GetOvercast().Set( Math.RandomFloatInclusive(0.01, 0.2), 1, 0); weather.GetRain().Set( 0, 0, 0.05); 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------------------------- int year, month, day, hour, minute; int reset_month = 9, reset_day = 20; GetGame().GetWorld().GetDate(year, month, day, hour, minute); if ((month == reset_month) && (day < reset_day)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } else { if ((month == reset_month + 1) && (day > reset_day)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } else { if ((month < reset_month) || (month > reset_month + 1)) { GetGame().GetWorld().SetDate(year, reset_month, reset_day, hour, minute); } } } GetCEApi().ExportProxyData("7500 0 7500", 10000); // <- ONLY HERE! } Edited January 7, 2020 by Sid Debian Share this post Link to post Share on other sites