Jump to content
DAKA

ESSV2 Help

Recommended Posts

I want to install ESSV2, how ever, looks like Opendayz is still down and not sure if it is coming back. Does anyone have the install instructions. I have the files, from the last time i attempted to install it, but no instructions. Please let me know, thanks.

Share this post


Link to post
Share on other sites
ESSV2 - Enhanced Spawn Selection V2
Epoch 1.0.5.1, DayZ 1.8.5 and Overwatch 0.2.5


What it does: Provides dialogs to select spawn point, class and spawn type (air or ground) on respawn. These scripts are fully modular. Each selector is optional. Note: This is not compatible with the old ESS. If you have it installed please reverse the steps from here to remove it before attempting to install this.

Class Features:

  • Preview bot shows currently selected skin and primary weapon
  • Configurable random and preset loadouts
  • Restrict by VIP level and humanity level
  • Restrict by individual UID for custom loadouts
  • Specify male and female skins for each class

Spawn Features:

  • All maps supported
  • Animated in-game map control shows preview of currently selected spawn
  • Block all spawns within a set distance of a player's bodies (optional)
  • Easy to add or remove spawns
  • Restrict by VIP level and humanity level
  • Restrict by individual UID for custom bases
  • Optional spawn near my group (requires DZGM)
  • Optional spawn near my plot pole (requires Plot4Life)

Halo Features:

  • Optional jump from back seat of plane (type configurable)
  • Altimeter titletext
  • Auto open chute at set height

 

Install Steps:
1.
In init.sqf find this:
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

Add right below:
execVM "spawn\start.sqf";

2. Near the top of init.sqf if you have these lines make sure they are set as shown:
dayz_spawnselection = 0; (if using ESS spawn selector)
dayz_paraSpawn = false;
Note: If using a separate file for Epoch config variables make sure they are set as shown in that too!

3. At the very bottom of description.ext add this:
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"


4. Place the \spawn\ folder in your mission root.

5. If using ESS spawn selector:

Spoiler

In dayz_server\compile\server_playerSetup.sqf find this block:
Epoch: http://pastebin.com/LiJ3HXvg
vanilla dayz: http://pastebin.com/aCMQ9tD1

Replace the whole block with this:

if (_randomSpot) then {
   if (!isDedicated) then {endLoadingScreen;};
   _debug = getMarkerpos "respawn_west";
   _worldspace = [0,[_debug select 0,_debug select 1,0.3]];
};

6. In dayz_server\compile\server_playerSetup.sqf:

Epoch:

Spoiler

Find this line: dayzPlayerLogin2 = [_worldspace,_state];
Replace with: dayzPlayerLogin2 = [_worldspace,_state,_randomSpot];

Vanilla DayZ:

Spoiler

Find this line: PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements];
Replace with: PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements,_randomSpot];

Overwatch:

Spoiler

Find this line: PVCDZ_plr_Login2 = [_worldspace,_state];
Replace with: PVCDZ_plr_Login2 = [_worldspace,_state,_randomSpot];


7. If using body check:

Spoiler
In dayz_server\compile\server_playerDied.sqf find:
_newObject setVariable ["bodyName", _victimName, true];

Add below:
_newObject setVariable ["bodyUID", _playerID, true];

8. If using infistar:

If using ESS spawn selector:

Spoiler

In AHConfig.sqf add 88890 to allowed dialogs:
_ALLOWED_Dialogs = [-1,106, ... ,88890];

If using class or spawn selection:

Spoiler

Delete this from AH.sqf:
lbsetpicture='no';
Also delete lbsetpicture from the functions restored check (_FRC):
'lbsetpicture',

If using plane spawn:

Delete this from AH.sqf:

Spoiler
_aidriver = true;
player setVectorUp [0,0,1];
player setVelocity [0,0,0];
player setPosATL _lastPos;

Set _CKD = false; in AHconfig.sqf (this check is currently broken)

9. Edit the spawn\config files with the settings you want

10. If using Sauerland and ESS spawn selector:

Spoiler

In mission.sqm find this:
position[]={12547.509,213.96613,-5865.772};
name="respawn_west";


Change to:
position[]={25594.2,0,5.18089};
name="respawn_west";

11. Extra steps for vanilla dayz or Overwatch (NOT Overpoch) only:

If you already have a custom variables.sqf:

Spoiler

Copy the code inside the Non-Epoch Configs\variables.sqf file. Paste at the very bottom of your variables.sqf

If you do not have a custom variables.sqf:

Spoiler

In init.sqf find this line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";

Add this line directly below it:

call compile preprocessFileLineNumbers "custom\variables.sqf";

 

***Now put the Non-Epoch\variables.sqf file in your mission\custom folder.

If using halo:

For vanilla dayz:

Spoiler

In dayz_server\system\scheduler\sched_safetyVehicle.sqf find this line:

if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && (typeOf vehicle _x) != "ParachuteWest") then {

Replace with:


if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && (typeOf vehicle _x) != "ParachuteWest" && (typeOf vehicle _x) != "ParachuteC") then {

For Overwatch:

Spoiler

In dayz_server\system\server_cleanup.fsm find this line:

"    if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

Replace with:

"  if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (typeOf vehicle _x) != ""ParachuteC"") then {" \n

If using official vanilla dayz BE filters:

Spoiler

Add this to the end of line 1 (not line 0!) in createvehicle.txt:

!=(Citizen3|CZ_Soldier_DES_EP1|Rocket_DZ|TK_INS_Soldier_EP1|US_Soldier_EP1|Villager1|Worker1|ParachuteC)

Credits:
TAWTonic - For the scrolling map idea from Altis Life
@Player2 - For the method of detecting fresh spawns
@Halvhjearne - For the better altimeter text
@Zupa - For some of the dialog styling
Everyone who contributed ideas and reported issues in previous versions

 

>> Download Link <<

@ebaydayz jan 24,2015
 
 

Share this post


Link to post
Share on other sites

the other thing is that i haave the old ess installed, so can you please post that as well, so i can uninstall it. Thank you so much by the way, you have been awesome to help me out.

Share this post


Link to post
Share on other sites
11 minutes ago, DAKA said:

the other thing is that i haave the old ess installed, so can you please post that as well, so i can uninstall it. Thank you so much by the way, you have been awesome to help me out.

i cant find the old essv... do you have the broken link?

Share this post


Link to post
Share on other sites
!OLD ESSV!
 
Update 1/24/15: This version is outdated. This thread is for reference only. Please see the updated version here:
http://opendayz.net/threads/release-essv2-enhanced-spawn-selection-v2.21547/

ESS - Enhanced Spawn Selection
Epoch 1.0.5.1, DayZ 1.8.3 and Overwatch 0.2.5


What it does: Provides dialogs to select spawn point, class (optional) and spawn type (halo or ground) 0n respawn. Players are spawned in debug with god mode while they select. Dialogs stay up by force until a selection is made.

Requirements:
Moderate = Orange >10 <30
mission
server pbo
 


Features:

  • Compatible with antiTP and antihack. No changes needed
  • Easy configuration in server pbo
  • Classes can be restricted by VIP level and humanity level
  • Unique classes by UID for custom loadouts
  • Unique spawn points by UID for player bases
  • Spawn points within 4000m of a player's body are blocked. Distance can be changed in config.
  • Adds default loadout first, then the class loadout on top. Default binocs, pistols, pistol mags and backpacks are replaced if they are specified in the selected class
  • Player zombies skip class and halo selection on Epoch
  • Compatible with default gender selection screen
  • All classes compatible with female characters:
  1. Selecting bandit gives you female bandit skin
  2. Selecting a preset class that uses a male skin will give you a random selection of available female skins (epoch) or female survivor skin (1.8.3)
  3. Selecting a unique VIP class by UID overrides #2 and uses the skin in that class instead

Install Steps:
1. At the very bottom of init.sqf add this:

Epoch:

Spoiler
waitUntil {!isNil "PVDZE_plr_LoginRecord"};
if (!isDedicated && {dayzPlayerLogin2 select 2}) then {execVM "spawn\spawn.sqf";};

 

DayZ 1.8.3:

Spoiler
waitUntil {!isNil "PVDZ_plr_LoginRecord"};
if (!isDedicated && {PVCDZ_plr_Login2 select 3}) then {execVM "spawn\spawn.sqf";};

Overwatch:

Spoiler
waitUntil {!isNil "PVDZ_plr_LoginRecord"};
if (!isDedicated && {PVCDZ_plr_Login2 select 2}) then {execVM "spawn\spawn.sqf";};


2. Near the top of init.sqf if you have these lines make sure they are set as shown:
dayz_spawnselection = 0;
dayz_paraSpawn = false;


If you have these lines remove them. We will put them in server_functions.sqf instead:
DefaultMagazines = [];
DefaultWeapons = [];
DefaultBackpack = "";


3. If running 1.8.3 or Overwatch:

If you already have a custom variables.sqf:

Spoiler

Copy the code inside the custom\variables.sqf file. Paste at the very bottom of your variables.sqf

If you do not have a custom variables.sqf:

Spoiler

In init.sqf find this line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";

 

Add this line directly below it:

call compile preprocessFileLineNumbers "custom\variables.sqf";

 

Now place the \custom\ folder in your mission root.

4. At the bottom of description.ext add this:
#include "spawn\defines.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"


5. Place the \spawn\ folder in your mission root.

6. In dayz_server\init\server_functions.sqf find this:

Spoiler
dayz_recordLogin = {
   private["_key"];
   _key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
   _key call server_hiveWrite;
};

Add right below:
#include "ESSconfig.sqf"

6b. At the bottom of server_functions.sqf add this line:
execVM "\z\addons\dayz_server\init\ESSfloor.sqf";

Now put ESSconfig.sqf and ESSfloor.sqf in the dayz_server\init\ folder.

7. In dayz_server\compile\server_playerSetup.sqf find this block:
Epoch: http://pastebin.com/LiJ3HXvg
DayZ 1.8.3: http://pastebin.com/aCMQ9tD1

Replace the whole block with this:

Spoiler
if (_randomSpot) then {
   if (!isDedicated) then {endLoadingScreen;};
   _debug = getMarkerpos "respawn_west";
   _worldspace = [0,[_debug select 0,_debug select 1,0.3]];
};

8. In dayz_server\compile\server_playerSetup.sqf:

Epoch:

 

Spoiler

Find this line: dayzPlayerLogin2 = [_worldspace,_state];
Replace with: dayzPlayerLogin2 = [_worldspace,_state,_randomSpot];

DayZ 1.8.3:

Spoiler

Find this line: PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements];
Replace with: PVCDZ_plr_Login2 = [_worldspace,_state,_Achievements,_randomSpot];

Overwatch:

Spoiler

Find this line: PVCDZ_plr_Login2 = [_worldspace,_state];
Replace with: PVCDZ_plr_Login2 = [_worldspace,_state,_randomSpot];

9. For 1.8.3:

In dayz_server\system\scheduler\sched_safetyVehicle.sqf find this line:

Spoiler
if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && (typeOf vehicle _x) != "ParachuteWest") then {

Replace with:

if (vehicle _x != _x && !(vehicle _x in dayz_serverObjectMonitor) && (typeOf vehicle _x) != "ParachuteWest" && (typeOf vehicle _x) != "ParachuteC") then {

For Overwatch:

In dayz_server\system\server_cleanup.fsm find this line:

Spoiler
"    if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

 

Replace with:

 

"  if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (typeOf vehicle _x) != ""ParachuteC"") then {" \n

10. If using official 1.8.3 BE filters:

Add this to the end of line 1 (not line 0!) in createvehicle.txt:

Spoiler
!=(Citizen3|CZ_Soldier_DES_EP1|Rocket_DZ|TK_INS_Soldier_EP1|US_Soldier_EP1|Villager1|Worker1|ParachuteC)
Credits:
@adg - spawn selector map dialog for Chernarus (used with permission)
@Gezzunder - original creator of spawn selector map dialog for Taviana and Panthera (used with permission)
@Iceman77 - for his helpful dialog tutorial
@Player2 - for init.sqf login code
@W4lly - for Napf and Sauerland map dialogs (used with permission)
 
 
 

@ebaydayz Jun 4,2014

 

Configuration:
bodyCheckDistance - If a player has a body within this distance of a spawn that spawn will be blocked. Set to -1 to disable this check

vipClassLvl1 - Players with UIDs in this list can select presetClasses with a VIP level of 1
vipClassLvl2 - Players with UIDs in this list can select presetClasses with a VIP level of 2
vipClassLvl3 - Players with UIDs in this list can select presetClasses with a VIP level of 3

vipListBase - List of UIDs that own bases
vipListBases - List of coords of player bases in ATL format. These must match the order of the first list. The first UID in vipListBase corresponds with the first set of coords in vipListBases and so on. If multiple UIDs share the same base then add the same base coords multiple times to maintain order

vipListClass - List of UIDs with custom loadouts
vipListClasses - List of custom loadouts. These must match the order of the first list. The first UID in vipListClass corresponds with the first loadout in vipListClasses and so on. These will only show in the class dialog for the player who owns them. If multiple UIDs share the same loadout then add the same loadout multiple times to maintain order (or consider making it a VIP class in presetClasses instead info on how to do that here)

presetClasses - List of classes shown to everyone. Uses the same loadout format as vipListClasses shown below.

Loadouts are in the following format:
["Bandit","Bandit2_DZ",["10x_303","10x_303"],["LeeEnfield"],"DZ_ALICE_Pack_EP1",[],[],0,-2000]
[Name, Skin, Magazines, Weapons, Backpack, Backpack Magazines, Backpack Weapons, VIPLvl, HLvl]

  • Name - Each class must have a unique name
  • Skin - Must be a skin compatible with your mod
  • Magazines - Magazines to add in addition to default magazines
  • Weapons - Weapons and tools to add in addition to default weapons. The first weapon in the list should be the primary, because it will be selected and reloaded while spawning in
  • Backpack - Leave as "" for default backpack
  • Bpck Mags - Same format as magazines. Leave as [] for none
  • Bpck Weps - Same format as weapons. Leave as [] for none
  • VIP Level -
0 - Anyone can pick this class
1 - Only players with UIDs in vipClassLvl1 can pick this class
2 - Only players with UIDs in vipClassLvl2 can pick this class
3 - Only players with UIDs in vipClassLvl3 can pick this class
  • Humanity Level -
0 - Anyone can pick this class
Negative # - Only players with humanity less than this number can pick this class
Positive # - Only players with humanity greater than this number can pick this class
 

Share this post


Link to post
Share on other sites

Anyone tested this on 1.0.6 yet? - In my inital test I setup only spawn selection and after login it skipped the spawn point selection menu and spawned me in the northwest radioactive wilderness 25k out from stary - I'm re-testing this tonight on my test server and will report back if I can get it going.

EDIT: Reinstalled the spawn select option only - Same result on different test server, no go. Will need to be updated by someone who knows what they're doing :D

Share this post


Link to post
Share on other sites

Ive been trying to install ESSV2 all day.  The instructions dont seem very clear to me. I have no idea what I missed. i dont get any errors that im aware of, and server plays fine, just nothing changed.

I completed steps 1, 2, 3, 4, 5 and 6.

I dont know what step 6 means, does it mean if I already had the old ess installed? or ? i dunno... I did that step too and no change.

Share this post


Link to post
Share on other sites

Step 6..

in dayz_server\init\server_functions.sqf

Below this


dayz_recordLogin = {
   private["_key"];
   _key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
   _key call server_hiveWrite;
};

put this

#include "ESSconfig.sqf"

 

At the very bottom of server_functions put

execVM "\z\addons\dayz_server\init\ESSfloor.sqf";

 

Share this post


Link to post
Share on other sites
7 hours ago, lwbuk said:

Step 6..

in dayz_server\init\server_functions.sqf

Below this


dayz_recordLogin = {
   private["_key"];
   _key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
   _key call server_hiveWrite;
};

put this

#include "ESSconfig.sqf"

 

At the very bottom of server_functions put

execVM "\z\addons\dayz_server\init\ESSfloor.sqf";

 

This is all for ESSV2 yeah?

Share this post


Link to post
Share on other sites

In step 8. It says:

If using class or spawn selection:

Delete this from AH.sqf:
lbsetpicture='no';
Also delete lbsetpicture from the functions restored check (_FRC):
'lbsetpicture',
 
But I cannot find lbsetpicture='no'  or 
'lbsetpicture',

in the AH.sqf 

thats the only thing I couldnt do now. ESSV2 is working on my server, but now my infistar wont work..

Also I tried entering that bit for step 6 like you said, but when joining the server it errors saying cannot find essconfig.sqf

 

Spoiler

 

 

Share this post


Link to post
Share on other sites

So step six of v2 says 

Find this line: dayzPlayerLogin2 = [_worldspace,_state];
Replace with: dayzPlayerLogin2 = [_worldspace,_state,_randomSpot];

Is that what you were getting stuck on originally? I was looking at v1 instructions Juan posted after so ignore what I said before. 

Share this post


Link to post
Share on other sites

I have that in there.

ESSV2 is workign for me. but now my infistar isnt working. not sure why. 

Here is a few lines from my rpt.

Spoiler

16:51:04 Error in expression < = nil;
};

server_checkHackers = {
if (DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN>
16:51:04   Error position: <DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN>
16:51:04   Error Undefined variable in expression: dze_dyn_antistuck2nd
16:51:04 File z\addons\dayz_server\init\server_functions.sqf, line 800
16:51:04 Error in expression <y]);
};
};
server_cleanupGroups = {
if (DZE_DYN_AntiStuck3rd > 3) then { DZE_DYN>
16:51:04   Error position: <DZE_DYN_AntiStuck3rd > 3) then { DZE_DYN>
16:51:04   Error Undefined variable in expression: dze_dyn_antistuck3rd
16:51:04 File z\addons\dayz_server\init\server_functions.sqf, line 787

16:51:04 Error in expression <(( (count needUpdate_objects) > 0) && (diag_tickTi>
16:51:04   Error position: <needUpdate_objects) > 0) && (diag_tickTi>
16:51:04   Error Undefined variable in expression: needupdate_objects
16:51:04 Error in expression <(( (count needUpdate_objects) > 0) && (diag_tickTi>
16:51:04   Error position: <needUpdate_objects) > 0) && (diag_tickTi>
16:51:04   Error Undefined variable in expression: needupdate_objects

 

Share this post


Link to post
Share on other sites

In step 8, the last thing he says is:  Set _CKD = false; in AHconfig.sqf (this check is currently broken)

I dont know what he means by this, but I cant find anything like it in my AHconfig.sqf

Share this post


Link to post
Share on other sites

I'm guessing you've setup a 1.0.6 server and are trying to install essv2. There's essv3 now, you can find it here ->  https://epochmod.com/forum/topic/43012-release-essv3-enhanced-spawn-selection/  - And if you're not running a 1.0.6 server, it's past time to update - No point staying on an old build, the only advantage 1.0.5.1 has is outdated dupe-able coin support.

It also sounds like you're running an outdated version of infistar, if you must use it, update to the latest version so you get 1.0.6 support.

Share this post


Link to post
Share on other sites

nope. i have a 1.0.5.1 epoch server set up.  and I just bought the latest infistar 10 hours ago. been chatting with Chris aka infistar as well.  but i cant keep biggin him to help get his admin/antihack to work with essv2

Share this post


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

nope. i have a 1.0.5.1 epoch server set up.  and I just bought the latest infistar 10 hours ago. been chatting with Chris aka infistar as well.  but i cant keep biggin him to help get his admin/antihack to work with essv2

In AHConfig.sqf add 88890 to allowed dialogs:
_ALLOWED_Dialogs = [-1,106, ... ,88890];

Share this post


Link to post
Share on other sites

Yep I did that one. just added the 88890 like it said to

Spoiler

_ALLOWED_Dialogs = [
    -1,4,63,129,106,666,667,2200,6900,6901,6902,6903,6999,
    41144,61144,76761,80000,88890,420420,
    711194,711195,711197,690000,4099999

 

Share this post


Link to post
Share on other sites

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

  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×