Jump to content

Terrorista90

Add llot to custom Bulding

Recommended Posts

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
  On 6/26/2019 at 10:45 AM, 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

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 by bogusfree

Share this post


Link to post
Share on other sites
  On 1/6/2020 at 10:04 AM, 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:
 

  Reveal hidden contents

 

Edited by Sid Debian

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×