albibong 1.1.1__py3-none-any.whl → 1.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- albibong/classes/event_handler/__init__.py +3 -3
- albibong/classes/event_handler/handle_event_new_character.py +2 -3
- albibong/classes/event_handler/handle_operation_farmable_harvest.py +1 -1
- albibong/resources/EventCode.py +2 -0
- albibong/resources/event_code.json +2 -1
- {albibong-1.1.1.dist-info → albibong-1.1.2.dist-info}/METADATA +1 -1
- {albibong-1.1.1.dist-info → albibong-1.1.2.dist-info}/RECORD +10 -10
- {albibong-1.1.1.dist-info → albibong-1.1.2.dist-info}/WHEEL +0 -0
- {albibong-1.1.1.dist-info → albibong-1.1.2.dist-info}/entry_points.txt +0 -0
- {albibong-1.1.1.dist-info → albibong-1.1.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -33,7 +33,7 @@ from albibong.classes.event_handler.handle_operation_change_cluster import (
|
|
|
33
33
|
handle_operation_change_cluster,
|
|
34
34
|
)
|
|
35
35
|
from albibong.classes.event_handler.handle_operation_farmable_harvest import (
|
|
36
|
-
|
|
36
|
+
handle_operation_farmable_get_product,
|
|
37
37
|
handle_operation_farmable_harvest,
|
|
38
38
|
)
|
|
39
39
|
from albibong.classes.event_handler.handle_operation_join import handle_operation_join
|
|
@@ -94,8 +94,8 @@ class EventHandler:
|
|
|
94
94
|
self.response_handler[OperationCode.CHANGE_CLUSTER.value] = (
|
|
95
95
|
handle_operation_change_cluster
|
|
96
96
|
)
|
|
97
|
-
self.response_handler[OperationCode.
|
|
98
|
-
|
|
97
|
+
self.response_handler[OperationCode.FARMABLE_GET_PRODUCT.value] = (
|
|
98
|
+
handle_operation_farmable_get_product
|
|
99
99
|
)
|
|
100
100
|
self.response_handler[OperationCode.FARMABLE_HARVEST.value] = (
|
|
101
101
|
handle_operation_farmable_harvest
|
|
@@ -6,18 +6,17 @@ from albibong.classes.world_data import WorldData
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
def handle_event_new_character(world_data: WorldData, parameters):
|
|
9
|
-
|
|
10
9
|
id = parameters[0]
|
|
11
10
|
uuid = parameters[7]
|
|
12
11
|
username = parameters[1]
|
|
13
12
|
guild = parameters[8] if 8 in parameters else ""
|
|
14
|
-
alliance = parameters[
|
|
13
|
+
alliance = parameters[51] if 51 in parameters else ""
|
|
15
14
|
coords = (
|
|
16
15
|
Coords(parameters[15][0], parameters[15][1])
|
|
17
16
|
if 15 in parameters
|
|
18
17
|
else Coords(0, 0)
|
|
19
18
|
)
|
|
20
|
-
equipments = parameters[
|
|
19
|
+
equipments = parameters[40] if 40 in parameters else []
|
|
21
20
|
|
|
22
21
|
# initiate character
|
|
23
22
|
if username not in world_data.characters:
|
|
@@ -9,7 +9,7 @@ def handle_operation_farmable_harvest(world_data: WorldData, parameters):
|
|
|
9
9
|
)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
def
|
|
12
|
+
def handle_operation_farmable_get_product(world_data: WorldData, parameters):
|
|
13
13
|
if type(world_data.current_map).__name__ == "Island":
|
|
14
14
|
for i in range(len(parameters[0])):
|
|
15
15
|
world_data.current_map.add_animal(
|
albibong/resources/EventCode.py
CHANGED
|
@@ -2,6 +2,7 @@ from enum import Enum
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
class EventCode(Enum):
|
|
5
|
+
|
|
5
6
|
LEAVE = 1
|
|
6
7
|
JOIN_FINISHED = 2
|
|
7
8
|
MOVE = 3
|
|
@@ -591,3 +592,4 @@ class EventCode(Enum):
|
|
|
591
592
|
BOT_COMMAND = 587
|
|
592
593
|
JOURNAL_ACHIEVEMENT_PROGRESS_UPDATE = 588
|
|
593
594
|
JOURNAL_CLAIMABLE_REWARD_UPDATE = 589
|
|
595
|
+
KEY_SYNC = 590
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: albibong
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: A cross-platform Albion Online damage, fame, and dungeon tracker
|
|
5
5
|
Project-URL: Homepage, https://github.com/imjangkar/albibong
|
|
6
6
|
Project-URL: Issues, https://github.com/imjangkar/albibong/issues
|
|
@@ -12,18 +12,18 @@ albibong/classes/logger.py,sha256=5DQoUqrvA2wf28XdRm2xwC4RBhIpP4d70PqRohRKNwM,44
|
|
|
12
12
|
albibong/classes/packet_handler.py,sha256=1DpAZf5sMWO06qnjP62zxn3e9mU50_c5o1y6EUnxW68,1792
|
|
13
13
|
albibong/classes/utils.py,sha256=mZ4xSASSVGAIJcj8LfIWOMlMvSHyjqI7o8Pmd4oYoPE,987
|
|
14
14
|
albibong/classes/world_data.py,sha256=mUhgXNzS0GjNGSxIDzhw55KDB8rKt661zeAotE4WBds,3466
|
|
15
|
-
albibong/classes/event_handler/__init__.py,sha256=
|
|
15
|
+
albibong/classes/event_handler/__init__.py,sha256=ctQQtUDqLbAZE02fzIhkMdd1LwLbXRLQcATbxlDrVUs,5186
|
|
16
16
|
albibong/classes/event_handler/handle_event_character_equipment_changed.py,sha256=QT6SfYfRLUipWWgyd1uOYXPnrA4jR-T9mkLzKbqCdwE,783
|
|
17
17
|
albibong/classes/event_handler/handle_event_health.py,sha256=0RPvv0C-nklmKsp3UflN9qhpAkcLtd5bmmoN3cf-WM4,1078
|
|
18
18
|
albibong/classes/event_handler/handle_event_in_combat_state_update.py,sha256=sWDu5RdupNAT5ESCY1RJ7rMAKq1b4HwYM272UFHI9h8,517
|
|
19
19
|
albibong/classes/event_handler/handle_event_might_and_favor_received_event.py,sha256=Q3L2Zn5mPXic_8_jAv_9z3y1uOZaADNcBkxKu2NFrJY,628
|
|
20
|
-
albibong/classes/event_handler/handle_event_new_character.py,sha256
|
|
20
|
+
albibong/classes/event_handler/handle_event_new_character.py,sha256=-gsZkmeBKuCkvh4b0u9U7JKH3_P2nddOaSK6tc6v4UU,1506
|
|
21
21
|
albibong/classes/event_handler/handle_event_other_grabbed_loot.py,sha256=vm9gylmpg-I34U_PNwAjP4fyYSQ0RV6521oWSWjzM-M,813
|
|
22
22
|
albibong/classes/event_handler/handle_event_party.py,sha256=LNdgsi4hxzESD7gPut88RBTnV1JbEbLIT_amAy9BvXM,1094
|
|
23
23
|
albibong/classes/event_handler/handle_event_update_fame.py,sha256=8FQT75mdU3S4uOGfvtqDXfxRlFSc-N0KwefnhBbc_-0,517
|
|
24
24
|
albibong/classes/event_handler/handle_event_update_re_spec_points.py,sha256=zIdlkoBvJ_IqKMsmDlVFPXmnmE1IPPpWeEpi-M3t_Ds,593
|
|
25
25
|
albibong/classes/event_handler/handle_operation_change_cluster.py,sha256=Pc9E27JL1oJwc3iKgTsFlGWUz6iRVHtySN59jV8gLo0,1644
|
|
26
|
-
albibong/classes/event_handler/handle_operation_farmable_harvest.py,sha256=
|
|
26
|
+
albibong/classes/event_handler/handle_operation_farmable_harvest.py,sha256=H-fS6Kb7bxLMNxuanAuwrtueqLQhXiwV57IObxa50o0,674
|
|
27
27
|
albibong/classes/event_handler/handle_operation_join.py,sha256=RxN5X-Dv4jfIFn3e0zqrJOufgDJlMPqYIM0wlJadcGc,2290
|
|
28
28
|
albibong/classes/event_handler/handle_operation_move.py,sha256=vg_wTPQ4nA4-xyw9axtFmKkVCUoCkUq3RV74wFLbc_4,200
|
|
29
29
|
albibong/classes/event_handler/world_data_utils.py,sha256=9BHsgzA2EBnBC26SJf0T2fiDlwj1MpYTb2EFLcmzmlU,5109
|
|
@@ -54,9 +54,9 @@ albibong/photon_packet_parser/photon_packet_parser.py,sha256=ayPObVh3LQLWsvJxSMp
|
|
|
54
54
|
albibong/photon_packet_parser/protocol16_deserializer.py,sha256=apZZUI0_c5yF9BN-E3DihenClCYCxlGifnNSe_uj3p8,11646
|
|
55
55
|
albibong/photon_packet_parser/protocol16_type.py,sha256=r1DLNl_mmaEvb9v7W_OOlp5hikp5UeEgrzpQgl7efBw,451
|
|
56
56
|
albibong/photon_packet_parser/segmented_packet.py,sha256=pftqyVO0D7ZX8m1ZL2w2Xt_g1Nc_mClXvQ99FOBn41E,235
|
|
57
|
-
albibong/resources/EventCode.py,sha256=
|
|
57
|
+
albibong/resources/EventCode.py,sha256=3JowIq2xtY9qIsl_TkSKKEF00iIcoxpWVQ6b6XhPsaY,19369
|
|
58
58
|
albibong/resources/OperationCode.py,sha256=9l5xdNhVCs4i-zaAPYC9BXPDBavX1D7VdpESmFQtKyE,16509
|
|
59
|
-
albibong/resources/event_code.json,sha256=
|
|
59
|
+
albibong/resources/event_code.json,sha256=SqyLYYaUfMz7hIapxRc74LjP_fuQozaJ6IUYEwvPPdo,20504
|
|
60
60
|
albibong/resources/items_by_id.json,sha256=UoU4OSbB09DyxOpia2Ye1Hm4HR_4QlYqvhL_DKn6eQ8,1400109
|
|
61
61
|
albibong/resources/items_by_unique_name.json,sha256=VLixfNoc6RbMjfdBna2IdtG2PAwBbaYzsHSC8b96qp8,1635865
|
|
62
62
|
albibong/resources/maps.json,sha256=jEXIhIlPYO8fXk9xHOVpFKxw4_KUb72TBICvJy4-gBE,129753
|
|
@@ -66,8 +66,8 @@ albibong/threads/http_server.py,sha256=qg87iVD7AaKg32eJ5qeqL3RUo-B7sVywC4_qTxEhH
|
|
|
66
66
|
albibong/threads/packet_handler_thread.py,sha256=bqgYQUeCaTtnWgx4bGoqw-cWQcXRJohIse2hwCbVLmo,949
|
|
67
67
|
albibong/threads/sniffer_thread.py,sha256=m7y0dlv8SPxGganodjxMrGKN40Ma2Dg1pFHAiRzgFWo,2024
|
|
68
68
|
albibong/threads/websocket_server.py,sha256=6Mi7ylFIC3FE5zSNXUNrOuPvdwMNhLdPuiMu-BCptFY,9709
|
|
69
|
-
albibong-1.1.
|
|
70
|
-
albibong-1.1.
|
|
71
|
-
albibong-1.1.
|
|
72
|
-
albibong-1.1.
|
|
73
|
-
albibong-1.1.
|
|
69
|
+
albibong-1.1.2.dist-info/METADATA,sha256=NbRiOHeUDzN2pfwYXXK4bz8A6610dbEIOKsLNepd_bI,649
|
|
70
|
+
albibong-1.1.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
71
|
+
albibong-1.1.2.dist-info/entry_points.txt,sha256=pLvUeo6eUwvsDQXsxdP9mRdSPufUlrz_9mFxsov0nm0,43
|
|
72
|
+
albibong-1.1.2.dist-info/licenses/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
73
|
+
albibong-1.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|