@@ -132,7 +132,8 @@ public class LoadServerProfile
132
132
Yuweyawata
133
133
} ;
134
134
135
- private static readonly string [ ] Greetings = {
135
+ private static readonly string [ ] Greetings =
136
+ {
136
137
"Hola" ,
137
138
"Bonjour" ,
138
139
"Hallo" ,
@@ -427,7 +428,6 @@ internal static bool TryLoad(string profile)
427
428
428
429
internal static async Task RunDutyTask ( DutyType dutyType , string profileUrl , int dungeonDutyId , int dungeonZoneId , int QueueType , int UnlockQuest , bool GoToBarracks , bool sayHello , bool sayHelloCustom , string SayHelloMessages , int trustId )
429
430
{
430
-
431
431
while ( DutyManager . QueueState != QueueState . InDungeon )
432
432
{
433
433
await GeneralFunctions . StopBusy ( false ) ;
@@ -524,6 +524,10 @@ internal static async Task RunDutyTask(DutyType dutyType, string profileUrl, int
524
524
else if ( DutyManager . QueueState == QueueState . None )
525
525
{
526
526
Log . Error ( "Something went wrong attempting to queue for Trust, queueing again..." ) ;
527
+ Log . Error ( $ "Duty { DataManager . InstanceContentResults [ ( uint ) dungeonDutyId ] . CurrentLocaleName } unlocked: { LlamaLibrary . Helpers . GeneralFunctions . IsDutyUnlocked ( ( uint ) dungeonDutyId ) } ") ;
528
+ Log . Error ( $ "Job: { Core . Me . CurrentJob } Level: { Core . Me . ClassLevel } ") ;
529
+ Log . Error ( $ "Queue status: { DutyManager . QueueState } ") ;
530
+ ;
527
531
}
528
532
}
529
533
@@ -552,6 +556,9 @@ internal static async Task RunDutyTask(DutyType dutyType, string profileUrl, int
552
556
else if ( DutyManager . QueueState == QueueState . None )
553
557
{
554
558
Log . Error ( "Something went wrong attempting to queue for Duty Support, queueing again..." ) ;
559
+ Log . Error ( $ "Duty { DataManager . InstanceContentResults [ ( uint ) dungeonDutyId ] . CurrentLocaleName } unlocked: { LlamaLibrary . Helpers . GeneralFunctions . IsDutyUnlocked ( ( uint ) dungeonDutyId ) } ") ;
560
+ Log . Error ( $ "Job: { Core . Me . CurrentJob } Level: { Core . Me . ClassLevel } ") ;
561
+ Log . Error ( $ "Queue status: { DutyManager . QueueState } ") ;
555
562
}
556
563
}
557
564
@@ -581,6 +588,9 @@ internal static async Task RunDutyTask(DutyType dutyType, string profileUrl, int
581
588
else if ( DutyManager . QueueState == QueueState . None )
582
589
{
583
590
Log . Error ( "Something went wrong attempting to queue regular dungeon, queuing again..." ) ;
591
+ Log . Error ( $ "Duty { DataManager . InstanceContentResults [ ( uint ) dungeonDutyId ] . CurrentLocaleName } unlocked: { LlamaLibrary . Helpers . GeneralFunctions . IsDutyUnlocked ( ( uint ) dungeonDutyId ) } ") ;
592
+ Log . Error ( $ "Job: { Core . Me . CurrentJob } Level: { Core . Me . ClassLevel } ") ;
593
+ Log . Error ( $ "Queue status: { DutyManager . QueueState } ") ;
584
594
}
585
595
}
586
596
else
@@ -722,7 +732,8 @@ await Coroutine.Wait(-1,
722
732
}
723
733
else
724
734
{
725
- Log . Error ( "Something went wrong, we're in a duty but the Zone Id isn't the expected ID." ) ;
735
+ Log . Error ( $ "Something went wrong, we're in a duty but the Zone Id isn't the expected ID.") ;
736
+ Log . Error ( $ "Expected Zone: { DataManager . InstanceContentResults [ ( uint ) dungeonDutyId ] . CurrentLocaleName } { dungeonZoneId } . Current Zone: { CurrentLocalizedZoneNameById ( WorldManager . ZoneId ) } { WorldManager . ZoneId } ") ;
726
737
TreeRoot . Stop ( "Something went wrong, we're in a duty but the Zone Id isn't the expected ID" ) ;
727
738
}
728
739
}
0 commit comments