diff --git a/MskGs/Classes/KFGameInfoHelper.uc b/MskGs/Classes/KFGameInfoHelper.uc index 7bc8da9..e5ee0e9 100644 --- a/MskGs/Classes/KFGameInfoHelper.uc +++ b/MskGs/Classes/KFGameInfoHelper.uc @@ -90,12 +90,7 @@ public static function UpdateGameSettings(KFGameInfo_Survival KFGI, bool bUsesSt public static function class PickProxyZed(class MonsterClass, Controller Killer, MskGsMut Mut) { - `log("[MSK-GS] DBG: Length:"@Mut.MskGsMemberList.Length); - if (Mut.MskGsMemberList.Find(Killer) == INDEX_NONE) - { - `log("[MSK-GS] DBG:"@MonsterClass); - return MonsterClass; - } + if (Mut.MskGsMemberList.Find(Killer) == INDEX_NONE) return MonsterClass; switch (MonsterClass) { @@ -127,7 +122,6 @@ public static function class PickProxyZed(class case class'KFPawn_ZedStalker': MonsterClass = class'KFPawnProxy_ZedStalker'; break; } - `log("[MSK-GS] DBG:"@MonsterClass); return MonsterClass; } diff --git a/MskGs/Classes/KFPawnProxy_ZedBloat.uc b/MskGs/Classes/KFPawnProxy_ZedBloat.uc index 0901605..e40cc9f 100644 --- a/MskGs/Classes/KFPawnProxy_ZedBloat.uc +++ b/MskGs/Classes/KFPawnProxy_ZedBloat.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedBloat extends KFPawn_ZedBloat; DefaultProperties { - XPValues(0)=17 * 1.1f - XPValues(1)=22 * 1.1f - XPValues(2)=30 * 1.1f - XPValues(3)=34 * 1.1f + XPValues(0)=19 // 17 + XPValues(1)=24 // 22 + XPValues(2)=33 // 30 + XPValues(3)=37 // 34 } diff --git a/MskGs/Classes/KFPawnProxy_ZedBloatKing.uc b/MskGs/Classes/KFPawnProxy_ZedBloatKing.uc index 53773bb..9526445 100644 --- a/MskGs/Classes/KFPawnProxy_ZedBloatKing.uc +++ b/MskGs/Classes/KFPawnProxy_ZedBloatKing.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedBloatKing extends KFPawn_ZedBloatKing; defaultproperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1420 // 1291 + XPValues(1)=1863 // 1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedBloatKingSubspawn.uc b/MskGs/Classes/KFPawnProxy_ZedBloatKingSubspawn.uc index 2c79865..1c07ecb 100644 --- a/MskGs/Classes/KFPawnProxy_ZedBloatKingSubspawn.uc +++ b/MskGs/Classes/KFPawnProxy_ZedBloatKingSubspawn.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedBloatKingSubspawn extends KFPawn_ZedBloatKingSubspawn; defaultproperties { - XPValues(0)=8 * 1.1f - XPValues(1)=10 * 1.1f - XPValues(2)=10 * 1.1f - XPValues(3)=10 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=11 // 10 + XPValues(2)=11 // 10 + XPValues(3)=11 // 10 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedBloatKing_SantasWorkshop.uc b/MskGs/Classes/KFPawnProxy_ZedBloatKing_SantasWorkshop.uc index 3f7401e..3e19f25 100644 --- a/MskGs/Classes/KFPawnProxy_ZedBloatKing_SantasWorkshop.uc +++ b/MskGs/Classes/KFPawnProxy_ZedBloatKing_SantasWorkshop.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedBloatKing_SantasWorkshop extends KFPawn_ZedBloatKing_Santas defaultproperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1291 + XPValues(1)=1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedClot_Alpha.uc b/MskGs/Classes/KFPawnProxy_ZedClot_Alpha.uc index c7e88f4..7d5b480 100644 --- a/MskGs/Classes/KFPawnProxy_ZedClot_Alpha.uc +++ b/MskGs/Classes/KFPawnProxy_ZedClot_Alpha.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedClot_Alpha extends KFPawn_ZedClot; DefaultProperties { - XPValues(0)=8 * 1.1f - XPValues(1)=11 * 1.1f - XPValues(2)=11 * 1.1f - XPValues(3)=11 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=12 // 11 + XPValues(2)=12 // 11 + XPValues(3)=12 // 11 } diff --git a/MskGs/Classes/KFPawnProxy_ZedClot_AlphaKing.uc b/MskGs/Classes/KFPawnProxy_ZedClot_AlphaKing.uc index 13e47ad..5038b81 100644 --- a/MskGs/Classes/KFPawnProxy_ZedClot_AlphaKing.uc +++ b/MskGs/Classes/KFPawnProxy_ZedClot_AlphaKing.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedClot_AlphaKing extends KFPawn_ZedClot_AlphaKing; defaultproperties { - XPValues(0)=8 * 1.1f - XPValues(1)=11 * 1.1f - XPValues(2)=11 * 1.1f - XPValues(3)=11 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=12 // 11 + XPValues(2)=12 // 11 + XPValues(3)=12 // 11 } diff --git a/MskGs/Classes/KFPawnProxy_ZedClot_Cyst.uc b/MskGs/Classes/KFPawnProxy_ZedClot_Cyst.uc index b67094a..75dfd71 100644 --- a/MskGs/Classes/KFPawnProxy_ZedClot_Cyst.uc +++ b/MskGs/Classes/KFPawnProxy_ZedClot_Cyst.uc @@ -2,10 +2,10 @@ class KFPawnProxy_ZedClot_Cyst extends KFPawn_ZedClot_Cyst; defaultproperties { - XPValues(0)=8 * 1.1f - XPValues(1)=11 * 1.1f - XPValues(2)=11 * 1.1f - XPValues(3)=11 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=12 // 11 + XPValues(2)=12 // 11 + XPValues(3)=12 // 11 } diff --git a/MskGs/Classes/KFPawnProxy_ZedClot_Slasher.uc b/MskGs/Classes/KFPawnProxy_ZedClot_Slasher.uc index 5862db3..00a0f48 100644 --- a/MskGs/Classes/KFPawnProxy_ZedClot_Slasher.uc +++ b/MskGs/Classes/KFPawnProxy_ZedClot_Slasher.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedClot_Slasher extends KFPawn_ZedClot_Slasher; DefaultProperties { - XPValues(0)=8 * 1.1f - XPValues(1)=11 * 1.1f - XPValues(2)=11 * 1.1f - XPValues(3)=11 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=12 // 11 + XPValues(2)=12 // 11 + XPValues(3)=12 // 11 } diff --git a/MskGs/Classes/KFPawnProxy_ZedCrawler.uc b/MskGs/Classes/KFPawnProxy_ZedCrawler.uc index f2ccdad..6ef21cb 100644 --- a/MskGs/Classes/KFPawnProxy_ZedCrawler.uc +++ b/MskGs/Classes/KFPawnProxy_ZedCrawler.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedCrawler extends KFPawn_ZedCrawler; defaultproperties { - XPValues(0)=8 * 1.1f - XPValues(1)=10 * 1.1f - XPValues(2)=10 * 1.1f - XPValues(3)=10 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=11 // 10 + XPValues(2)=11 // 10 + XPValues(3)=11 // 10 } diff --git a/MskGs/Classes/KFPawnProxy_ZedCrawlerKing.uc b/MskGs/Classes/KFPawnProxy_ZedCrawlerKing.uc index c23cd3b..dc8d3b6 100644 --- a/MskGs/Classes/KFPawnProxy_ZedCrawlerKing.uc +++ b/MskGs/Classes/KFPawnProxy_ZedCrawlerKing.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedCrawlerKing extends KFPawn_ZedCrawlerKing; defaultproperties { - XPValues(0)=8 * 1.1f - XPValues(1)=10 * 1.1f - XPValues(2)=10 * 1.1f - XPValues(3)=10 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=11 // 10 + XPValues(2)=11 // 10 + XPValues(3)=11 // 10 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedDAR.uc b/MskGs/Classes/KFPawnProxy_ZedDAR.uc index 2423307..a0dd2b4 100644 --- a/MskGs/Classes/KFPawnProxy_ZedDAR.uc +++ b/MskGs/Classes/KFPawnProxy_ZedDAR.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedDAR extends KFPawn_ZedDAR; defaultproperties { - XPValues(0)=15 * 1.1f - XPValues(1)=20 * 1.1f - XPValues(2)=27 * 1.1f - XPValues(3)=31 * 1.1f + XPValues(0)=17 // 15 + XPValues(1)=22 // 20 + XPValues(2)=30 // 27 + XPValues(3)=34 // 31 } diff --git a/MskGs/Classes/KFPawnProxy_ZedDAR_EMP.uc b/MskGs/Classes/KFPawnProxy_ZedDAR_EMP.uc index 4231de4..cf31cfa 100644 --- a/MskGs/Classes/KFPawnProxy_ZedDAR_EMP.uc +++ b/MskGs/Classes/KFPawnProxy_ZedDAR_EMP.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedDAR_EMP extends KFPawn_ZedDAR_EMP; defaultproperties { - XPValues(0)=15 * 1.1f - XPValues(1)=20 * 1.1f - XPValues(2)=27 * 1.1f - XPValues(3)=31 * 1.1f + XPValues(0)=17 // 15 + XPValues(1)=22 // 20 + XPValues(2)=30 // 27 + XPValues(3)=34 // 31 } diff --git a/MskGs/Classes/KFPawnProxy_ZedDAR_Laser.uc b/MskGs/Classes/KFPawnProxy_ZedDAR_Laser.uc index 1b93819..5335982 100644 --- a/MskGs/Classes/KFPawnProxy_ZedDAR_Laser.uc +++ b/MskGs/Classes/KFPawnProxy_ZedDAR_Laser.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedDAR_Laser extends KFPawn_ZedDAR_Laser; defaultproperties { - XPValues(0)=15 * 1.1f - XPValues(1)=20 * 1.1f - XPValues(2)=27 * 1.1f - XPValues(3)=31 * 1.1f + XPValues(0)=17 // 15 + XPValues(1)=22 // 20 + XPValues(2)=30 // 27 + XPValues(3)=34 // 31 } diff --git a/MskGs/Classes/KFPawnProxy_ZedDAR_Rocket.uc b/MskGs/Classes/KFPawnProxy_ZedDAR_Rocket.uc index 167c546..75a904f 100644 --- a/MskGs/Classes/KFPawnProxy_ZedDAR_Rocket.uc +++ b/MskGs/Classes/KFPawnProxy_ZedDAR_Rocket.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedDAR_Rocket extends KFPawn_ZedDAR_Rocket; defaultproperties { - XPValues(0)=15 * 1.1f - XPValues(1)=20 * 1.1f - XPValues(2)=27 * 1.1f - XPValues(3)=31 * 1.1f + XPValues(0)=17 // 15 + XPValues(1)=22 // 20 + XPValues(2)=30 // 27 + XPValues(3)=34 // 31 } diff --git a/MskGs/Classes/KFPawnProxy_ZedFleshpound.uc b/MskGs/Classes/KFPawnProxy_ZedFleshpound.uc index a4ce9e6..580d4c9 100644 --- a/MskGs/Classes/KFPawnProxy_ZedFleshpound.uc +++ b/MskGs/Classes/KFPawnProxy_ZedFleshpound.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedFleshpound extends KFPawn_ZedFleshpound; DefaultProperties { - XPValues(0)=35 * 1.1f - XPValues(1)=47 * 1.1f - XPValues(2)=63 * 1.1f - XPValues(3)=72 * 1.1f + XPValues(0)=39 // 35 + XPValues(1)=52 // 47 + XPValues(2)=69 // 63 + XPValues(3)=79 // 72 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedFleshpoundKing.uc b/MskGs/Classes/KFPawnProxy_ZedFleshpoundKing.uc index e01a18b..afda04f 100644 --- a/MskGs/Classes/KFPawnProxy_ZedFleshpoundKing.uc +++ b/MskGs/Classes/KFPawnProxy_ZedFleshpoundKing.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedFleshpoundKing extends KFPawn_ZedFleshpoundKing; DefaultProperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1291 + XPValues(1)=1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedFleshpoundMini.uc b/MskGs/Classes/KFPawnProxy_ZedFleshpoundMini.uc index 1abb3b3..fc9065b 100644 --- a/MskGs/Classes/KFPawnProxy_ZedFleshpoundMini.uc +++ b/MskGs/Classes/KFPawnProxy_ZedFleshpoundMini.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedFleshpoundMini extends KFPawn_ZedFleshpoundMini; defaultproperties { - XPValues(0)=17 * 1.1f - XPValues(1)=22 * 1.1f - XPValues(2)=30 * 1.1f - XPValues(3)=34 * 1.1f + XPValues(0)=19 // 17 + XPValues(1)=24 // 22 + XPValues(2)=33 // 30 + XPValues(3)=37 // 34 } diff --git a/MskGs/Classes/KFPawnProxy_ZedGorefast.uc b/MskGs/Classes/KFPawnProxy_ZedGorefast.uc index 68990a1..5b2ed6b 100644 --- a/MskGs/Classes/KFPawnProxy_ZedGorefast.uc +++ b/MskGs/Classes/KFPawnProxy_ZedGorefast.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedGorefast extends KFPawn_ZedGorefast; DefaultProperties { - XPValues(0)=11 * 1.1f - XPValues(1)=14 * 1.1f - XPValues(2)=14 * 1.1f - XPValues(3)=14 * 1.1f + XPValues(0)=12 // 11 + XPValues(1)=15 // 14 + XPValues(2)=15 // 14 + XPValues(3)=15 // 14 } diff --git a/MskGs/Classes/KFPawnProxy_ZedGorefastDualBlade.uc b/MskGs/Classes/KFPawnProxy_ZedGorefastDualBlade.uc index 0e3e8ac..3d1d256 100644 --- a/MskGs/Classes/KFPawnProxy_ZedGorefastDualBlade.uc +++ b/MskGs/Classes/KFPawnProxy_ZedGorefastDualBlade.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedGorefastDualBlade extends KFPawn_ZedGorefastDualBlade; defaultproperties { - XPValues(0)=11 * 1.1f - XPValues(1)=14 * 1.1f - XPValues(2)=14 * 1.1f - XPValues(3)=14 * 1.1f + XPValues(0)=12 // 11 + XPValues(1)=15 // 14 + XPValues(2)=15 // 14 + XPValues(3)=15 // 14 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedHans.uc b/MskGs/Classes/KFPawnProxy_ZedHans.uc index 51df547..14c96ea 100644 --- a/MskGs/Classes/KFPawnProxy_ZedHans.uc +++ b/MskGs/Classes/KFPawnProxy_ZedHans.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedHans extends KFPawn_ZedHans; DefaultProperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1291 + XPValues(1)=1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } diff --git a/MskGs/Classes/KFPawnProxy_ZedHusk.uc b/MskGs/Classes/KFPawnProxy_ZedHusk.uc index 7e1cac9..5424a40 100644 --- a/MskGs/Classes/KFPawnProxy_ZedHusk.uc +++ b/MskGs/Classes/KFPawnProxy_ZedHusk.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedHusk extends KFPawn_ZedHusk; DefaultProperties { - XPValues(0)=15 * 1.1f - XPValues(1)=20 * 1.1f - XPValues(2)=27 * 1.1f - XPValues(3)=31 * 1.1f + XPValues(0)=17 // 15 + XPValues(1)=22 // 20 + XPValues(2)=30 // 27 + XPValues(3)=34 // 31 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedMatriarch.uc b/MskGs/Classes/KFPawnProxy_ZedMatriarch.uc index e7bfb51..7f975c4 100644 --- a/MskGs/Classes/KFPawnProxy_ZedMatriarch.uc +++ b/MskGs/Classes/KFPawnProxy_ZedMatriarch.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedMatriarch extends KFPawn_ZedMatriarch; defaultproperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1291 + XPValues(1)=1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedPatriarch.uc b/MskGs/Classes/KFPawnProxy_ZedPatriarch.uc index 783d205..250fd48 100644 --- a/MskGs/Classes/KFPawnProxy_ZedPatriarch.uc +++ b/MskGs/Classes/KFPawnProxy_ZedPatriarch.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedPatriarch extends KFPawn_ZedPatriarch; defaultproperties { - XPValues(0)=1291 * 1.1f - XPValues(1)=1694 * 1.1f - XPValues(2)=1790 * 1.1f - XPValues(3)=1843 * 1.1f + XPValues(0)=1291 + XPValues(1)=1694 + XPValues(2)=1969 // 1790 + XPValues(3)=2027 // 1843 } \ No newline at end of file diff --git a/MskGs/Classes/KFPawnProxy_ZedScrake.uc b/MskGs/Classes/KFPawnProxy_ZedScrake.uc index 8c59973..2cb839d 100644 --- a/MskGs/Classes/KFPawnProxy_ZedScrake.uc +++ b/MskGs/Classes/KFPawnProxy_ZedScrake.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedScrake extends KFPawn_ZedScrake; defaultproperties { - XPValues(0)=34 * 1.1f - XPValues(1)=45 * 1.1f - XPValues(2)=60 * 1.1f - XPValues(3)=69 * 1.1f + XPValues(0)=37 // 34 + XPValues(1)=50 // 45 + XPValues(2)=66 // 60 + XPValues(3)=76 // 69 } diff --git a/MskGs/Classes/KFPawnProxy_ZedSiren.uc b/MskGs/Classes/KFPawnProxy_ZedSiren.uc index b1a74e7..471f245 100644 --- a/MskGs/Classes/KFPawnProxy_ZedSiren.uc +++ b/MskGs/Classes/KFPawnProxy_ZedSiren.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedSiren extends KFPawn_ZedSiren; defaultproperties { - XPValues(0)=11 * 1.1f - XPValues(1)=15 * 1.1f - XPValues(2)=15 * 1.1f - XPValues(3)=15 * 1.1f + XPValues(0)=12 // 11 + XPValues(1)=17 // 15 + XPValues(2)=17 // 15 + XPValues(3)=17 // 15 } diff --git a/MskGs/Classes/KFPawnProxy_ZedStalker.uc b/MskGs/Classes/KFPawnProxy_ZedStalker.uc index 02d2566..82b1377 100644 --- a/MskGs/Classes/KFPawnProxy_ZedStalker.uc +++ b/MskGs/Classes/KFPawnProxy_ZedStalker.uc @@ -2,8 +2,8 @@ class KFPawnProxy_ZedStalker extends KFPawn_ZedStalker; DefaultProperties { - XPValues(0)=8 * 1.1f - XPValues(1)=10 * 1.1f - XPValues(2)=10 * 1.1f - XPValues(3)=10 * 1.1f + XPValues(0)=9 // 8 + XPValues(1)=11 // 10 + XPValues(2)=11 // 10 + XPValues(3)=11 // 10 } diff --git a/MskGs/Classes/MskGsMut.uc b/MskGs/Classes/MskGsMut.uc index 6db62cc..b33c162 100644 --- a/MskGs/Classes/MskGsMut.uc +++ b/MskGs/Classes/MskGsMut.uc @@ -235,13 +235,9 @@ function NotifyLogin(Controller C) if (C == None) return; - `log("[MSK-GS] DBG1: NotifyLogin()"@RepInfo@RepInfo.Mut@RepInfo.C); RepInfo = Spawn(class'MskGsRepInfo', KFPlayerController(C)); - `log("[MSK-GS] DBG2: NotifyLogin()"@RepInfo@RepInfo.Mut@RepInfo.C); RepInfo.C = C; RepInfo.Mut = Self; - `log("[MSK-GS] DBG3: NotifyLogin()"@RepInfo@RepInfo.Mut@RepInfo.C); - RepClients.AddItem(RepInfo); super.NotifyLogin(C); @@ -263,7 +259,6 @@ function NotifyLogout(Controller C) { if (RepInfo.C == C) { - `log("[MSK-GS] DBG: Destroy()"); RepInfo.Destroy(); RepClients.RemoveItem(RepInfo); return; diff --git a/MskGs/Classes/MskGsRepInfo.uc b/MskGs/Classes/MskGsRepInfo.uc index 45ef994..6a65111 100644 --- a/MskGs/Classes/MskGsRepInfo.uc +++ b/MskGs/Classes/MskGsRepInfo.uc @@ -9,37 +9,29 @@ var private OnlineSubsystemSteamworks SW; simulated event PostBeginPlay() { - `log("[MSK-GS] DBG: PostBeginPlay()"); - super.PostBeginPlay(); if (bDeleteMe) return; if (Role < ROLE_Authority || WorldInfo.NetMode == NM_StandAlone) { - `log("[MSK-GS] DBG: if (Role < ROLE_Authority || WorldInfo.NetMode == NM_StandAlone)"); ClientGetOnlineSubsystem(); } } private reliable client function ClientGetOnlineSubsystem() { - `log("[MSK-GS] DBG: ClientGetOnlineSubsystem()"); - if (SW == None) { - `log("[MSK-GS] DBG: 1"); SW = OnlineSubsystemSteamworks(class'GameEngine'.static.GetOnlineSubsystem()); } if (SW == None) { - `log("[MSK-GS] DBG: 2"); SetTimer(0.1f, false, nameof(ClientGetOnlineSubsystem)); } else { - `log("[MSK-GS] DBG: 3"); ClearTimer(nameof(ClientGetOnlineSubsystem)); ClientGetMembership(); } @@ -48,27 +40,18 @@ private reliable client function ClientGetOnlineSubsystem() private reliable client function ClientGetMembership() { local UniqueNetId GroupID; - `log("[MSK-GS] DBG: ClientGetMembership()"); class'OnlineSubsystem'.Static.StringToUniqueNetId("0x017000000223386E", GroupID); - if (SW.CheckPlayerGroup(GroupID)) - { - `log("[MSK-GS] DBG: ClientGetMembership() ServerApplyMembership()"); - ServerApplyMembership(); - } + if (SW.CheckPlayerGroup(GroupID)) ServerApplyMembership(); } private simulated reliable server function ServerApplyMembership() { - `log("[MSK-GS] DBG: ServerApplyMembership() start"); - if (Mut == None || C == None) { - `log("[MSK-GS] DBG: ServerApplyMembership() timer"); SetTimer(1.0f, false, nameof(ServerApplyMembership)); return; } - `log("[MSK-GS] DBG: ServerApplyMembership()"@Self@Mut@C); ClearTimer(nameof(ServerApplyMembership)); Mut.MskGsMemberList.AddItem(C); } @@ -79,5 +62,5 @@ DefaultProperties bOnlyRelevantToOwner = true; Role = ROLE_Authority; RemoteRole = ROLE_SimulatedProxy; - bSkipActorPropertyReplication = false; // This is needed, otherwise the client-to-server RPC fails + bSkipActorPropertyReplication = false; } \ No newline at end of file