Gromillla Posted August 28, 2017 Report Share Posted August 28, 2017 In custom rpt dumps error when you click pay button: Error in expression <(typeName _this == "ARRAY") then {_this select 3} else {_this}; switch _option > Error position: <select 3} else {_this}; switch _option > Error Zero divisor File z\addons\dayz_code\actions\maintain_area.sqf, line 135 plotManagement is standard. Help to solve the problem. Link to comment Share on other sites More sharing options...
0 salival Posted August 28, 2017 Report Share Posted August 28, 2017 24 minutes ago, Gromillla said: In custom rpt dumps error when you click pay button: Error in expression <(typeName _this == "ARRAY") then {_this select 3} else {_this}; switch _option > Error position: <select 3} else {_this}; switch _option > Error Zero divisor File z\addons\dayz_code\actions\maintain_area.sqf, line 135 plotManagement is standard. Help to solve the problem. Hello, This should not happen at all, is the maintain_area script getting called from a custom script or similar? The only thing that could influence this is if you are using a custom fn_selfActions and you have messed with the maintain part. Link to comment Share on other sites More sharing options...
0 Gromillla Posted August 31, 2017 Author Report Share Posted August 31, 2017 On 28.08.2017 at 10:55 AM, salival said: Hello, This should not happen at all, is the maintain_area script getting called from a custom script or similar? The only thing that could influence this is if you are using a custom fn_selfActions and you have messed with the maintain part. maintain_area is called from the standard script, and fn_selfActions is a custom. if ((_cursorTarget isKindOf "Plastic_Pole_EP1_DZ") && {speed player <= 1}) then { _hasAccess = [player, _cursorTarget] call FNC_check_access; _allowed = ((_hasAccess select 0) or (_hasAccess select 2) or (_hasAccess select 3) or (_hasAccess select 4)); if (DZE_permanentPlot) then { if (s_player_plotManagement < 0 && _allowed) then { s_player_plotManagement = player addAction [format["<t color='#0059FF'>%1</t>",localize "STR_EPOCH_ACTIONS_MANAGEPLOT"], "\z\addons\dayz_code\actions\plotManagement\initPlotManagement.sqf", [], 5, false]; }; } else { if (s_player_maintain_area < 0) then { s_player_maintain_area = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "maintain", 5, false]; s_player_maintain_area_force = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_FORCE_MAINTAREA"], "\z\addons\dayz_code\actions\maintain_area.sqf", "force", 5, false]; s_player_maintain_area_preview = player addAction [format["<t color='#ff0000'>%1</t>",localize "STR_EPOCH_ACTIONS_MAINTPREV"], "\z\addons\dayz_code\actions\maintain_area.sqf", "preview", 5, false]; }; }; if (s_player_plot_boundary < 0 && (_allowed or (_hasAccess select 1))) then { s_player_plot_boundary = player addAction [localize "STR_EPOCH_PLOTMANAGEMENT_SHOW_BOUNDARY", "\z\addons\dayz_code\actions\plotManagement\plotToggleMarkers.sqf", "", 1, false]; }; } else { player removeAction s_player_plotManagement; s_player_plotManagement = -1; player removeAction s_player_maintain_area; s_player_maintain_area = -1; player removeAction s_player_maintain_area_force; s_player_maintain_area_force = -1; player removeAction s_player_maintain_area_preview; s_player_maintain_area_preview = -1; player removeAction s_player_plot_boundary; s_player_plot_boundary = -1; }; Link to comment Share on other sites More sharing options...
0 Gromillla Posted September 2, 2017 Author Report Share Posted September 2, 2017 issue is resolved, old hpp files with version 1.0.5.1 of Plotemanagare were used Link to comment Share on other sites More sharing options...
Question
Gromillla
In custom rpt dumps error when you click pay button:
plotManagement is standard. Help to solve the problem.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now