Compare commits

...

22 Commits

Author SHA1 Message Date
8f89283ceb Added Black Hornet Restricted Item 2024-06-12 00:13:04 -05:00
af7600ac16 Merge pull request 'develop' (#46) from develop into main
Reviewed-on: #46
2024-04-25 21:41:04 -05:00
hizumi
fac86f18f0 Update CHANGELOG.md
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 42s
version 4.1.2 release notes
2024-04-25 21:36:48 -05:00
hizumi
87b6f359c1 Update fn_addEmptyGroupCleanupPFH.sqf
fix logic order and update logging output
2024-04-25 21:34:34 -05:00
hizumi
cbd8b5963e Update fn_addEmptyGroupCleanupPFH.sqf
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 37s
add more logging as to where the empty group is owned to track down deletion issues
2024-04-21 19:44:19 -05:00
hizumi
09ee014912 Merge branch 'develop' of https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate into develop
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 32s
2024-04-21 18:43:09 -05:00
hizumi
5b482b022f Update SupplyCrates.hpp
swap Tier1 5.56 mags to rhs 5.56 mags for mod compatability
2024-04-21 18:42:47 -05:00
hizumi
8afe420527 versioning update
4.1.2
2024-04-21 18:42:25 -05:00
ff98546907 Merge pull request 'main' (#45) from main into develop
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 37s
Reviewed-on: #45
2024-04-21 18:34:12 -05:00
5a1e6dd1a1 Merge pull request '4.1.1 release' (#43) from develop into main
Reviewed-on: #43
2024-04-19 00:31:43 -05:00
hizumi
0524af05b9 Update CHANGELOG.md
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 33s
4.1.1 release
2024-04-19 00:28:31 -05:00
hizumi
023550743d Update BattalionInfo.hpp
alpha callsign change
2024-04-19 00:23:01 -05:00
hizumi
ab28ed4e50 Update fn_bindVehicleActions.sqf
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 38s
remove now unneeded custom tire patching ace interaction
2024-04-19 00:01:14 -05:00
hizumi
8794dc226d Update fn_calculateServerStats.sqf
remove unneeded publicVariable declaration to reduce network traffic
2024-04-18 23:59:27 -05:00
hizumi
2bfaaacfc6 Update fn_initServer.sqf
disable zeus lightning bolt functionality first pass
2024-04-18 23:58:42 -05:00
8a4f161df9 Merge pull request 'authorized_gear_april_update' (#42) from authorized_gear_april_update into develop
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 6m1s
Reviewed-on: #42
2024-04-14 00:07:48 -05:00
cc5b8bbf45 Update defines/DisallowedEquipment.hpp
Updated Defines / Allowed Items for Tabbed Weapons to align with new announcement 

https://www.guilded.gg/Iceberg-gaming/groups/v3j2vAP3/channels/06d0c762-6a54-4657-9ed0-9d73763fcd1e/announcements/16nPOKxR
2024-04-14 00:07:48 -05:00
eb4959a2ba Merge branch 'develop' of https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate into develop
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 40s
2024-03-16 20:22:38 -07:00
643a7f212b log client performance to server RPT 2024-03-16 20:22:27 -07:00
hizumi
32dda56f69 Update on-release.yaml
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 36s
2024-03-02 01:06:28 -06:00
hizumi
90f3caf1f9 Merge branch 'develop' of https://gitea.iceberg-gaming.com/17th-Ranger-Battalion-ORG/MissionTemplate into develop 2024-03-02 01:06:17 -06:00
hizumi
e7af2f115e Update on-release.yaml
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 31s
2024-03-02 00:48:47 -06:00
10 changed files with 158 additions and 62 deletions

View File

@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project badly attempts [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [4.1.2] - 2024-04-25
### Changed
- Fix internal versioning
- Swap resupply box 5.56 magazines due to mod conflict
- Group deletion handler now properly processes empty groups and logs errors
## [4.1.1] - 2024-04-19
### Added
- Function to remove lightning bolt from zeus
### Changed
- Alpha Callsign
- Allowed Equipment Definitions
### Removed
- Custom tire patch code
- Extraneous server performance calculation broadcast to all clients
## [4.1.0] - 2024-03-01 ## [4.1.0] - 2024-03-01
### Added ### Added

View File

@@ -7,7 +7,7 @@
#define COMMAND_CALLSIGN SPARTAN #define COMMAND_CALLSIGN SPARTAN
#define RRC_CALLSIGN TIGER #define RRC_CALLSIGN TIGER
#define MEDIC_CALLSIGN LIFELINE #define MEDIC_CALLSIGN LIFELINE
#define ALPHA_CALLSIGN BLACKJACK #define ALPHA_CALLSIGN ROGUE
#define ECHO_CALLSIGN FIREBRAND #define ECHO_CALLSIGN FIREBRAND
#define WPN_CALLSIGN BLACKFOOT #define WPN_CALLSIGN BLACKFOOT

View File

@@ -13,7 +13,7 @@ class DisallowedEquipment {
items[] = { items[] = {
"17BN_ANPVS14", // NVG AN/PVS-14 "17BN_ANPVS14", // NVG AN/PVS-14
"ej_PVS15D", // NVG AN/PVS-15 "ej_PVS15D", // NVG AN/PVS-15
"ej_VPS15", // NVG AN/PVS-15 "ej_PVS15", // NVG AN/PVS-15
"LMG_Mk200_black_F", //Mk200 Series "LMG_Mk200_black_F", //Mk200 Series
"LMG_Mk200_F", //Mk200 Series "LMG_Mk200_F", //Mk200 Series
"rhs_weap_g36c", // G36 Series "rhs_weap_g36c", // G36 Series
@@ -34,11 +34,6 @@ class DisallowedEquipment {
"rhs_weap_m14_wd", // M14 Series "rhs_weap_m14_wd", // M14 Series
"rhs_weap_m14_weap_m14ebrri", // M14 Series "rhs_weap_m14_weap_m14ebrri", // M14 Series
"rhs_weap_m14", // M14 Series "rhs_weap_m14", // M14 Series
"rhs_weap_m16a4_carryhandle_M203", // M16 Series
"rhs_weap_m16a4_carryhandle", // M16 Series
"rhs_weap_m16a4_imod_M203", // M16 Series
"rhs_weap_m16a4_imod", // M16 Series
"rhs_weap_m16a4", // M16 Series
"rhs_weap_m27iar_grip", // M27 Series "rhs_weap_m27iar_grip", // M27 Series
"rhs_weap_m27iar", // M27 Series "rhs_weap_m27iar", // M27 Series
"rhsusf_ANPVS_14", // NVG AN/PVS-14 "rhsusf_ANPVS_14", // NVG AN/PVS-14
@@ -100,12 +95,6 @@ class DisallowedEquipment {
"UK3CB_M14DMR_Railed_BLK", // M14 Series "UK3CB_M14DMR_Railed_BLK", // M14 Series
"UK3CB_M14DMR_Railed", // M14 Series "UK3CB_M14DMR_Railed", // M14 Series
"UK3CB_M14DMR", // M14 Series "UK3CB_M14DMR", // M14 Series
"UK3CB_M16_Carbine", // M16 Series
"UK3CB_M16A1_LSW", // M16 Series
"UK3CB_M16A1", // M16 Series
"UK3CB_M16A2_UGL", // M16 Series
"UK3CB_M16A2", // M16 Series
"UK3CB_M16A3", // M16 Series
"USP_PVS_14", // NVG AN/PVS-14 "USP_PVS_14", // NVG AN/PVS-14
"USP_PVS_15" // NVG AN/PVS-15 "USP_PVS_15" // NVG AN/PVS-15
}; };
@@ -132,10 +121,9 @@ class DisallowedEquipment {
"optic_lrps_tna_F", //Nightforce Series Optic "optic_lrps_tna_F", //Nightforce Series Optic
"optic_lrps", //Nightforce Series Optic "optic_lrps", //Nightforce Series Optic
"optic_Nightstalker", // Thermal Optic "optic_Nightstalker", // Thermal Optic
"optic_tws_mg", // Thermal Optic
"optic_tws", // Thermal Optic
"rhsusf_acc_anpas13gv1", // Thermal Optic "rhsusf_acc_anpas13gv1", // Thermal Optic
"rhsusf_acc_anpvs27", // Thermal Optic "rhsusf_acc_anpvs27", // Thermal Optic
"optic_tws_mg", // Thermal Optic
"Tier1_ANPVS10_Tan", // Thermal Optic "Tier1_ANPVS10_Tan", // Thermal Optic
"Tier1_ATACR18_ADM_Black_Vanilla", //Nightforce Series Optic "Tier1_ATACR18_ADM_Black_Vanilla", //Nightforce Series Optic
"Tier1_ATACR18_ADM_Black", //Nightforce Series Optic "Tier1_ATACR18_ADM_Black", //Nightforce Series Optic
@@ -152,7 +140,8 @@ class DisallowedEquipment {
"Tier1_ATACR18_Geissele_Docter_Black_Vanilla", //Nightforce Series Optic "Tier1_ATACR18_Geissele_Docter_Black_Vanilla", //Nightforce Series Optic
"Tier1_ATACR18_Geissele_Docter_Black", //Nightforce Series Optic "Tier1_ATACR18_Geissele_Docter_Black", //Nightforce Series Optic
"Tier1_ATACR18_Geissele_Docter_Desert_Vanilla", //Nightforce Series Optic "Tier1_ATACR18_Geissele_Docter_Desert_Vanilla", //Nightforce Series Optic
"Tier1_ATACR18_Geissele_Docter_Desert" //Nightforce Series Optic "Tier1_ATACR18_Geissele_Docter_Desert", //Nightforce Series Optic
"sps_black_hornet_01_F" // Black Hornet Drone Mod
}; };
}; };
@@ -160,6 +149,7 @@ class DisallowedEquipment {
label = "TABBED WEAPON"; label = "TABBED WEAPON";
description = "Items that are allowed for individuals with Ranger Tab."; description = "Items that are allowed for individuals with Ranger Tab.";
items[] = { items[] = {
"optic_tws", // Thermal Optic
"arifle_MX_black_F", // MX Series "arifle_MX_black_F", // MX Series
"arifle_MX_F", // MX Series "arifle_MX_F", // MX Series
"arifle_MX_GL_black_F", // MX 3GL Series "arifle_MX_GL_black_F", // MX 3GL Series
@@ -208,7 +198,90 @@ class DisallowedEquipment {
"Tier1_SR25_ec_tan", // SR-25 Series "Tier1_SR25_ec_tan", // SR-25 Series
"Tier1_SR25_ec", // SR-25 Series "Tier1_SR25_ec", // SR-25 Series
"Tier1_SR25_tan", // SR-25 Series "Tier1_SR25_tan", // SR-25 Series
"Tier1_SR25" // SR-25 Series "Tier1_SR25", // SR-25 Series
"rhsusf_weap_MP7A2", //MP7 Series
"rhsusf_weap_MP7A2_aor1", //MP7 Series
"rhsusf_weap_MP7A2_desert", //MP7 Series
"rhsusf_weap_MP7A2_folded", //MP7 Series
"rhsusf_weap_MP7A2_folded_aor1", //MP7 Series
"rhsusf_weap_MP7A2_folded_winter", //MP7 Series
"rhsusf_weap_MP7A2_folded_desert", //MP7 Series
"rhsusf_weap_MP7A2_winter", //MP7 Series
"UK3CB_MP510", //MP5 Series
"UK3CB_MP5A2", //MP5 Series
"UK3CB_MP5A3", //MP5 Series
"UK3CB_MP5A4", //MP5 Series
"UK3CB_MP5K", //MP5 Series
"UK3CB_MP5K_PDW", //MP5 Series
"UK3CB_MP5N", //MP5 Series
"UK3CB_MP5N_UGL", //MP5 Series
"UK3CB_MP5SD5", //MP5 Series
"UK3CB_MP5SD6", //MP5 Series
"SMG_03C_black", //P90 Series
"SMG_03C_camo", //P90 Series
"SMG_03C_hex", //P90 Series
"SMG_03C_khaki", //P90 Series
"SMG_03C_TR_black", //P90 Series
"SMG_03C_TR_camo", //P90 Series
"SMG_03C_TR_hex", //P90 Series
"SMG_03C_TR_khaki", //P90 Series
"UK3CB_P90C_black", //P90 Series
"UK3CB_P90C_camo", //P90 Series
"UK3CB_P90C_hex", //P90 Series
"UK3CB_P90C_khaki", //P90 Series
"UK3CB_P90C_TR_black", //P90 Series
"UK3CB_P90C_TR_camo", //P90 Series
"UK3CB_P90C_TR_hex", //P90 Series
"UK3CB_P90C_TR_khaki", //P90 Series
"UK3CB_P90_black", //P90 Series
"UK3CB_P90_camo", //P90 Series
"UK3CB_P90_hex", //P90 Series
"UK3CB_P90_khaki", //P90 Series
"UK3CB_P90_TR_black", //P90 Series
"UK3CB_P90_TR_camo", //P90 Series
"UK3CB_P90_TR_hex", //P90 Series
"UK3CB_P90_TR_khaki", //P90 Series
"UK3CB_M16_Carbine", //M16 Series
"UK3CB_M16_Carbine_eotech_552", //M16 Series
"UK3CB_M16_Carbine_sup", //M16 Series
"UK3CB_M16A1", //M16 Series
"UK3CB_M16A1_LSW", //M16 Series
"UK3CB_M16A2", //M16 Series
"UK3CB_M16A2_sup", //M16 Series
"UK3CB_M16A2_UGL", //M16 Series
"UK3CB_M16A2_UGL_eotech_552", //M16 Series
"UK3CB_M16A2_UGL_sup", //M16 Series
"UK3CB_M16A3", //M16 Series
"UK3CB_M16A3_eotech_552", //M16 Series
"UK3CB_M16A3_eotech_552_sup", //M16 Series
"UK3CB_M16A3_sup", //M16 Series
"UK3CB_M16A3_UGL", //M16 Series
"rhs_weap_m16a4", //M16 Series
"rhs_weap_m16a4_grip", //M16 Series
"rhs_weap_m16a4_grip_acog", //M16 Series
"rhs_weap_m16a4_grip2", //M16 Series
"rhs_weap_m16a4_grip3", //M16 Series
"rhs_weap_m16a4_bipod", //M16 Series
"rhs_weap_m16a4_acog_usmc", //M16 Series
"rhs_weap_m16a4_carryhandle", //M16 Series
"rhs_weap_m16a4_carryhandle_bipod", //M16 Series
"rhs_weap_m16a4_carryhandle_grip", //M16 Series
"rhs_weap_m16a4_carryhandle_M203", //M16 Series
"rhs_weap_m16a4_carryhandle_M203_grip", //M16 Series
"rhs_weap_m16a4_m203_acog_usmc", //M16 Series
"uk3cb_weap_m16a4_m203s_eotech_552_anpeq15_sup", //M16 Series
"rhs_weap_m16a4_imod", //M16 Series
"rhs_weap_m16a4_imod_grip", //M16 Series
"rhs_weap_m16a4_imod_grip2", //M16 Series
"rhs_weap_m16a4_imod_grip3", //M16 Series
"rhs_weap_m16a4_imod_M203", //M16 Series
"rhs_weap_m16a4_imod_M203_grip", //M16 Series
"rhs_weap_m16a4_carryhandle_grip2", //M16 Series
"rhs_weap_m16a4_carryhandle_grip3", //M16 Series
"rhs_weap_m16a4_grip_acog_usmc", //M16 Series
"rhs_weap_m16a4_grip_acog2_usmc", //M16 Series
"rhs_weap_m32", //M32/MGL Series
"rhs_weap_m32_usmc" //M32/MGL Series
}; };
}; };

View File

@@ -26,7 +26,7 @@ class SupplyCrates {
{"1Rnd_SmokeRed_Grenade_shell",24}, {"1Rnd_SmokeRed_Grenade_shell",24},
{"1Rnd_SmokeGreen_Grenade_shell",24}, {"1Rnd_SmokeGreen_Grenade_shell",24},
{"1Rnd_SmokeYellow_Grenade_shell",12}, {"1Rnd_SmokeYellow_Grenade_shell",12},
{"Tier1_30Rnd_556x45_M856A1_EMag",25}, {"rhs_mag_30Rnd_556x45_M855A1_Stanag",25},
{"ACE_30Rnd_556x45_Stanag_M995_AP_mag",75}, {"ACE_30Rnd_556x45_Stanag_M995_AP_mag",75},
{"SMA_30Rnd_762x35_BLK_EPR",25}, {"SMA_30Rnd_762x35_BLK_EPR",25},
{"SMA_20Rnd_762x51mm_M80A1_EPR",25}, {"SMA_20Rnd_762x51mm_M80A1_EPR",25},
@@ -57,7 +57,7 @@ class SupplyCrates {
{"MRAWS_HEAT_F",35}, {"MRAWS_HEAT_F",35},
{"MRAWS_HE_F",15}, {"MRAWS_HE_F",15},
{"Tier1_250Rnd_762x51_Belt_M993_AP",50}, {"Tier1_250Rnd_762x51_Belt_M993_AP",50},
{"Tier1_30Rnd_556x45_M856A1_EMag",25}, {"rhs_mag_30Rnd_556x45_M855A1_Stanag",25},
{"ACE_30Rnd_556x45_Stanag_M995_AP_mag",50}, {"ACE_30Rnd_556x45_Stanag_M995_AP_mag",50},
{"Titan_AA",10}, {"Titan_AA",10},
{"Titan_AT",10}, {"Titan_AT",10},

View File

@@ -29,39 +29,6 @@ _unflip =
["LandVehicle", 0, ["ACE_MainActions"], _unflip, true] call ace_interact_menu_fnc_addActionToClass; ["LandVehicle", 0, ["ACE_MainActions"], _unflip, true] call ace_interact_menu_fnc_addActionToClass;
_patchTire =
[
"patchTire",
"Patch Tire",
"\a3\ui_f\data\IGUI\Cfg\Actions\repair_ca.paa",
{
[_player, "AinvPknlMstpSnonWnonDr_medic5", 0] call ace_common_fnc_doAnimation;
[
30,
[_player, _target],
{
params ["_args"];
_args params ["_player", "_target"];
hint "Tire Patched";
_target setDamage 0.2;
_target setVariable["milsim_ace_repair_wheel_canPatch", false];
},
{
params ["_args"];
_args params ["_player", "_target"];
hint "Stopped repair";
[_player, "", 0] call ace_common_fnc_doAnimation;
},
"Patching"
] call ace_common_fnc_progressBar
},
{ ( alive _target ) && ( [_player, "ToolKit"] call ace_common_fnc_hasItem ) && ( damage _target > 0.2 ) && ( _target getVariable["milsim_ace_repair_wheel_canPatch", true] ) }
] call ace_interact_menu_fnc_createAction;
["ACE_Wheel", 0, ["ACE_MainActions"], _patchTire, true] call ace_interact_menu_fnc_addActionToClass;
diag_log text "[MILSIM] (client) vehicle actions bound"; diag_log text "[MILSIM] (client) vehicle actions bound";
nil; nil;

View File

@@ -14,6 +14,13 @@ call EFUNC(common,logMissionInfo);
call EFUNC(fbcb2_assets,initServer); call EFUNC(fbcb2_assets,initServer);
call EFUNC(reinsert,initServer); call EFUNC(reinsert,initServer);
// globally disable zeus lightning bolt functionality
_curators = allMissionObjects "ModuleCurator_F";
{
_x removeCuratorAddons ["CuratorOnly_Modules_F_Curator_Lightning"];
_x removeCuratorAddons ["A3_Modules_F_Curator_Lightning"];
} foreach _curators;
// declare init complete to other modules // declare init complete to other modules
missionNamespace setVariable [QGVARMAIN(complete), true, true]; missionNamespace setVariable [QGVARMAIN(complete), true, true];

View File

@@ -10,9 +10,39 @@
GVAR(emptyGroupCleanupPFH) = [ GVAR(emptyGroupCleanupPFH) = [
{ {
{ {
if (local _x) then { if ((count units _x) == 0) then {
if ((count units _x) == 0) then { if (local _x) then {
[
LEVEL_INFO,
QUOTE(COMPONENT),
"DELETING EMPTY GROUP",
[
["groupId", groupId _x],
["netId", netId _x]
]
] call EFUNC(common,log);
deleteGroup _x; deleteGroup _x;
} else {
if (isServer) then {
[
LEVEL_INFO,
QUOTE(COMPONENT),
"NON LOCAL EMPTY GROUP",
[
["groupId", groupId _x],
["groupOwner", groupOwner _x]
]
] call EFUNC(common,log);
} else {
[
LEVEL_INFO,
QUOTE(COMPONENT),
"EMPTY REMOTE GROUP",
[
["groupId", groupId _x]
]
] call EFUNC(common,log);
};
}; };
}; };
} forEach allGroups; } forEach allGroups;
@@ -39,6 +69,3 @@ GVAR(emptyGroupCleanupPFH) = [
{ not (missionNamespace getVariable [QGVAR(emptyGroupCleanup_enable), false]) }, { not (missionNamespace getVariable [QGVAR(emptyGroupCleanup_enable), false]) },
[] []
] call CBA_fnc_createPerFrameHandlerObject; ] call CBA_fnc_createPerFrameHandlerObject;

View File

@@ -29,7 +29,7 @@
// log to RPT // log to RPT
[ [
{_this call EFUNC(common,log);}, {_this remoteExec [QEFUNC(common,log), 2]},
[ [
LEVEL_INFO, LEVEL_INFO,
QUOTE(COMPONENT), QUOTE(COMPONENT),

View File

@@ -12,7 +12,6 @@
private _rawCPS = _counter / (diag_frameNo - _frameNo); private _rawCPS = _counter / (diag_frameNo - _frameNo);
missionNamespace setVariable [QGVAR(server_raw_cps), _rawCPS]; missionNamespace setVariable [QGVAR(server_raw_cps), _rawCPS];
publicVariable QGVAR(server_raw_cps);
// with suspension // with suspension
private _counter = 0; private _counter = 0;
@@ -26,7 +25,6 @@
private _serverCPS = _counter / (diag_frameNo - _frameNo); private _serverCPS = _counter / (diag_frameNo - _frameNo);
missionNamespace setVariable [QGVAR(server_cps), _counter / (diag_frameNo - _frameNo)]; missionNamespace setVariable [QGVAR(server_cps), _counter / (diag_frameNo - _frameNo)];
publicVariable QGVAR(server_cps);
// log to RPT // log to RPT
[ [

View File

@@ -1,4 +1,4 @@
#define MAJOR 4 #define MAJOR 4
#define MINOR 0 #define MINOR 1
#define PATCHLVL 0 #define PATCHLVL 2
#define BUILD 0 #define BUILD 0