This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include "stdlib.h" | |
| #include "PathfinderTest.h" | |
| #include <limits.h> | |
| #include <windows.h> | |
| typedef struct coord_s { | |
| int x; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def decode_b64(value): | |
| result = 0 | |
| for i in range(0, len(value)): | |
| result += ((ord(value[i]) - 0x40) << 6 * (len(value) - 1 - i)); | |
| return result | |
| def encode_b64(value, length=2): | |
| result = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Plus.Communication.Packets.Incoming | |
| { | |
| public static class ClientPacketHeader | |
| { | |
| // Handshake | |
| public const int InitCryptoMessageEvent = 384;//1773 | |
| public const int GenerateSecretKeyMessageEvent = 2408;//575 | |
| public const int UniqueIDMessageEvent = 1865;//544 | |
| public const int SSOTicketMessageEvent = 1266;//2093 | |
| public const int InfoRetrieveMessageEvent = 3627;//413 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Plus.Communication.Packets.Outgoing | |
| { | |
| public static class ServerPacketHeader | |
| { | |
| // Handshake | |
| public const int InitCryptoMessageComposer = 1233;//3531 | |
| public const int SecretKeyMessageComposer = 1631;//696 | |
| public const int AuthenticationOKMessageComposer = 1294;//1079 | |
| public const int UserObjectMessageComposer = 3231;//845 | |
| public const int UserPerksMessageComposer = 3877;//1790 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace Plus.Communication.Packets.Incoming | |
| { | |
| public static class ClientPacketHeader | |
| { | |
| // Handshake | |
| public const int InitCryptoMessageEvent = 2374;//3392; | |
| public const int GenerateSecretKeyMessageEvent = 3823;//3622 | |
| public const int UniqueIDMessageEvent = 2701;//3521 | |
| public const int SSOTicketMessageEvent = 1029;//1989 | |
| public const int InfoRetrieveMessageEvent = 2078;//2629 |
NewerOlder