Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update files for queen #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 38 additions & 7 deletions LootLogger/EventCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public enum EventCodes
evNewSimpleItem,
evNewFurnitureItem,
evNewJournalItem,
evNewLaborerItem,
evNewSimpleHarvestableObject,
evNewSimpleHarvestableObjectList,
evNewHarvestableObject,
Expand Down Expand Up @@ -96,7 +97,6 @@ public enum EventCodes
evNewLoot,
evAttachItemContainer,
evDetachItemContainer,
evGuildVaultInfo,
evGuildUpdate,
evGuildPlayerUpdated,
evInvitedToGuild,
Expand All @@ -123,6 +123,7 @@ public enum EventCodes
evDebugVariablesInfo,
evDebugReputationInfo,
evDebugDiminishingReturnInfo,
evDebugSmartClusterQueueInfo,
evClaimOrbStart,
evClaimOrbFinished,
evClaimOrbCancel,
Expand Down Expand Up @@ -183,13 +184,11 @@ public enum EventCodes
evRealEstateListUpdate,
evGuildLogoUpdate,
evGuildLogoChanged,
evPlaceableItemPlace,
evPlaceableItemPlaceCancel,
evPlaceableObjectPlace,
evPlaceableObjectPlaceCancel,
evFurnitureObjectBuffProviderInfo,
evFurnitureObjectCheatProviderInfo,
evFarmableObjectInfo,
evLaborerObjectPlace,
evLaborerObjectPlaceCancel,
evNewUnreadMails,
evGuildLogoObjectUpdate,
evStartLogout,
Expand All @@ -199,6 +198,7 @@ public enum EventCodes
evRemovedChatChannel,
evAccessStatus,
evMounted,
evMountStart,
evMountCancel,
evNewTravelpoint,
evNewIslandAccessPoint,
Expand All @@ -212,7 +212,6 @@ public enum EventCodes
evUpdateUnlockedAvatars,
evUpdateUnlockedAvatarRings,
evUpdateUnlockedBuildings,
evDailyLoginBonus,
evNewIslandManagement,
evNewTeleportStone,
evCloak,
Expand Down Expand Up @@ -357,6 +356,7 @@ public enum EventCodes
evCrystalRealmFeedback,
evNewLocationMarker,
evNewTutorialBlocker,
evNewTileSwitch,
evNewInformationProvider,
evNewDynamicGuildLogo,
evTutorialUpdate,
Expand All @@ -373,6 +373,37 @@ public enum EventCodes
evEasyAntiCheatKick,
evUnlockVanityUnlock,
evCustomizationChanged,
evBankVaultInfo
evBaseVaultInfo,
evGuildVaultInfo,
evBankVaultInfo,
evRecoveryVaultPlayerInfo,
evRecoveryVaultGuildInfo,
evUpdateWardrobe,
evCastlePhaseChanged,
evGuildAccountLogEvent,
evNewHideoutObject,
evNewHideoutManagement,
evNewHideoutExit,
evInitHideoutAttackStart,
evInitHideoutAttackCancel,
evInitHideoutAttackFinished,
evHideoutManagementUpdate,
evIpChanged,
evSmartClusterQueueUpdateInfo,
evSmartClusterQueueActiveInfo,
evSmartClusterQueueKickWarning,
evSmartClusterQueueInvite,
evReceivedGvgSeasonPoints,
evTerritoryBonusLevelUpdate,
evOpenWorldAttackScheduleStart,
evOpenWorldAttackScheduleFinished,
evOpenWorldAttackScheduleCancel,
evOpenWorldAttackConquerStart,
evOpenWorldAttackConquerFinished,
evOpenWorldAttackConquerCancel,
evOpenWorldAttackConquerStatus,
evOpenWorldAttackStart,
evOpenWorldAttackEnd,
evNewRandomResourceBlocker
}
}
39 changes: 29 additions & 10 deletions LootLogger/OperationCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public enum OperationCodes
CreateAccount,
Login,
SendCrashLog,
SendTraceRoute,
SendGamePingInfo,
CreateCharacter,
DeleteCharacter,
SelectCharacter,
Expand All @@ -35,7 +37,10 @@ public enum OperationCodes
AttackBuildingStart,
InventoryDestroyItem,
InventoryMoveItem,
InventoryRecoverItem,
InventoryRecoverAllItems,
InventorySplitStack,
InventorySplitStackInto,
GetClusterData,
ChangeCluster,
ConsoleCommand,
Expand Down Expand Up @@ -67,17 +72,15 @@ public enum OperationCodes
BuildingNutritionSilverStorageWithdraw,
BuildingNutritionSilverRewardSet,
ConstructionSiteCreate,
PlaceableItemPlace,
PlaceableItemPlaceCancel,
PlaceableObjectPlace,
PlaceableObjectPlaceCancel,
PlaceableObjectPickup,
FurnitureObjectUse,
FarmableHarvest,
FarmableFinishGrownItem,
FarmableDestroy,
FarmableGetProduct,
FarmableFill,
LaborerObjectPlace,
LaborerObjectPlaceCancel,
TearDownConstructionSite,
CastleGateUse,
AuctionCreateOffer,
Expand Down Expand Up @@ -160,6 +163,7 @@ public enum OperationCodes
GetChestLogs,
GetAccessRightLogs,
GetGuildAccountLogs,
GetGuildAccountLogsLargeAmount,
InviteToPlayerTrade,
PlayerTradeCancel,
PlayerTradeInvitationAccept,
Expand All @@ -184,7 +188,6 @@ public enum OperationCodes
GetLfgDescriptionText,
LfgApplyToGuild,
AnswerLfgGuildApplication,
GetClusterInfo,
RegisterChatPeer,
SendChatMessage,
JoinChatChannel,
Expand Down Expand Up @@ -309,6 +312,7 @@ public enum OperationCodes
RequestAppStoreProducts,
VerifyProductPurchase,
QueryGuildPlayerStats,
QueryAllianceGuildStats,
TrackAchievements,
SetAchievementsAutoLearn,
DepositItemToGuildCurrency,
Expand Down Expand Up @@ -360,18 +364,33 @@ public enum OperationCodes
UseConsumableFromInventory,
ClaimPersonalSeasonReward,
EasyAntiCheatMessageToServer,
RetaliationAttackClaimTerritory,
SetNextTutorialState,
AddPlayerToMuteList,
RemovePlayerFromMuteList,
MakeTerritoryHome,
LeaveTerritoryHome,
ProductShopUserEvent,
GetVanityUnlocks,
BuyVanityUnlock,
BuyVanityUnlocks,
GetMountSkins,
SetMountSkin,
SetWardrobe,
ChangeCustomization,
SetFavoriteIsland
SetFavoriteIsland,
GetGuildChallengePoints,
TravelToHideout,
SmartQueueJoin,
SmartQueueLeave,
SmartQueueSelectSpawnCluster,
UpgradeHideout,
InitHideoutAttackStart,
InitHideoutAttackCancel,
HideoutFillNutrition,
HideoutGetInfo,
HideoutSetTribute,
OpenWorldAttackScheduleStart,
OpenWorldAttackScheduleCancel,
OpenWorldAttackConquerStart,
OpenWorldAttackConquerCancel,
GetOpenWorldAttackDetails,
GetNextOpenWorldAttackScheduleTime
}
}
2 changes: 1 addition & 1 deletion LootLogger/PacketHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class PacketHandler
{
private ILootService lootService;
private HttpClient client;
private const string itemsMappingUrl = "http://albion.netoone.fr/items/items.txt";
private const string itemsMappingUrl = "http://albion-items.s3.eu-central-1.amazonaws.com/items.txt";
private bool isInitialized = false;
private Dictionary<int, string> itemDictionary = new Dictionary<int, string>();
SemaphoreSlim semaphore = new SemaphoreSlim(1, 1);
Expand Down