Tylor

Safezone gone after about 20 seconds

28 posts in this topic

All the players on my server can enter a safezone and it works (god mode, no bullets shoot etc) but after about 20 seconds there is a message saying "leaving safezone" and they are no longer protected.

Any ideas?

 

If you want me to post any files I can. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
17 minutes ago, hogansheroes said:

look at page one we start from here

 

Thank you for the response. I have already added 

//SafeZone Fix
call ExileClient_system_map_initialize

to the top of my init.sqf

Share this post


Link to post
Share on other sites
1 hour ago, hogansheroes said:

add it to the bottom man

tried it at the bottom, same thing :(

Share this post


Link to post
Share on other sites

not sure if this may help i on my server created a blank .sqf

ExileClient_system_map_initialize.sqf and placed this inside your mission pbo along with init, config,description and so on and then added

call ExileClient_system_map_initialize to the bottom of init 

so here is my init file 

Spoiler


[] execVM "effect.sqf";
        execVM "R3F_LOG\init.sqf";
[] ExecVM "scarCODE\ServerInfoMenu\sqf\initLocal.sqf"; // scarCODE ServerInfoMenu
    [] ExecVM "VEMFr_client\sqf\initClient.sqf"; // Client-side part of VEMFr    
    
call ExileClient_system_map_initialize

no harm in trying

Share this post


Link to post
Share on other sites
12 hours ago, hogansheroes said:

not sure if this may help i on my server created a blank .sqf

ExileClient_system_map_initialize.sqf and placed this inside your mission pbo along with init, config,description and so on and then added

call ExileClient_system_map_initialize to the bottom of init 

so here is my init file 

  Reveal hidden contents


[] execVM "effect.sqf";
        execVM "R3F_LOG\init.sqf";
[] ExecVM "scarCODE\ServerInfoMenu\sqf\initLocal.sqf"; // scarCODE ServerInfoMenu
    [] ExecVM "VEMFr_client\sqf\initClient.sqf"; // Client-side part of VEMFr    
    
call ExileClient_system_map_initialize

no harm in trying

Thanks again for your time. I tried copying the @exile ExileClient_system_map_initialize in my folder and added call ExileClient_system_map_initialize to the bottom of init and it still doesn't work. After about 20 seconds I am removed from the safezone

This is my init

Spoiler

 


//Service Points
[] execVM "addons\service_point\service_point.sqf";

//ZCP Missions
execVM "custom\zcp.sqf";

//Building Replacement
#include "custom\buildingReplacement.sqf";

//Delete Animals
[] execVM "custom\deleteanimals.sqf";

//SafeZone Fix
call ExileClient_system_map_initialize;

 

 

ExileClient_system_map_initialize looks like this

Spoiler

/**
 * ExileClient_system_map_initialize
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
ExileSpawnZoneMarkerPositions = [];
ExileSpawnZoneMarkerPositionsAndSize = [];
ExileTraderZoneMarkerPositions = [];
ExileTraderZoneMarkerPositionsAndSize = [];
{
	switch (getMarkerType _x) do 
	{
		case "ExileSpawnZone":
		{
			ExileSpawnZoneMarkerPositions pushBack (getMarkerPos _x);
			ExileSpawnZoneMarkerPositionsAndSize pushBack [getMarkerPos _x, (getMarkerSize _x) select 0];
		};
		case "ExileTraderZone": 
		{
			ExileTraderZoneMarkerPositions pushBack (getMarkerPos _x);
			ExileTraderZoneMarkerPositionsAndSize pushBack [getMarkerPos _x, (getMarkerSize _x) select 0];
		};
	};
}
forEach allMapMarkers;

 

Edited by Tylor

Share this post


Link to post
Share on other sites

 

ive got the map bornholm and all i have is is my normal stuff as in the pic and in the spoiler is my init 

Spoiler


[] execVM "effect.sqf";
        execVM "R3F_LOG\init.sqf";
[] ExecVM "scarCODE\ServerInfoMenu\sqf\initLocal.sqf"; // scarCODE ServerInfoMenu
    [] ExecVM "VEMFr_client\sqf\initClient.sqf"; // Client-side part of VEMFr    
    
call ExileClient_system_map_initialize

 

bornholm.png

Edited by hogansheroes

Share this post


Link to post
Share on other sites
5 hours ago, hogansheroes said:

 

ive got the map bornholm and all i have is is my normal stuff as in the pic and in the spoiler is my init 

  Hide contents


[] execVM "effect.sqf";
        execVM "R3F_LOG\init.sqf";
[] ExecVM "scarCODE\ServerInfoMenu\sqf\initLocal.sqf"; // scarCODE ServerInfoMenu
    [] ExecVM "VEMFr_client\sqf\initClient.sqf"; // Client-side part of VEMFr    
    
call ExileClient_system_map_initialize

 

bornholm.png

You forgot to include the ";" after the call ExileClient_system_map_initialize

Needs to be...  call ExileClient_system_map_initialize;

Share this post


Link to post
Share on other sites
9 hours ago, Metalman10 said:

I had the same issue with this, im not home currently and ill take a look at what i did to fix it.

yes, if you could please get back. thanks!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.