giants-stupid-server/giants/__init__.py
2019-02-19 01:01:31 +01:00

80 lines
1.7 KiB
Python

APPLICATION_GUID = b"\x10\x5e\x62\xa7\x96\x1a\xd2\x11\x9a\xfc\x00\x60\x08\x45\xe5\x71"
class Teams:
# 00: MvM
# 01: MvMvM
# 02: RvR
# 03: MvR
# 04: MvRvK
# 05: MvK
# 06: RvK
# 07: ? Team B
# 08: ? Team B
# feel free to try other values...
# 10: ? Team B
# 0c: ? Team B
# 5a: crash to desktop
MvM = 0x00
MvMvM = 0x01
RvR = 0x02
MvR = 0x03
MvRvK = 0x04
MvK = 0x05
RvK = 0x06
TeamB = 0x07
Crash = 0x5a
class GameTypes:
# 00: Team Deathmatch
# 01: Team Deathmatch with full base
# 02: Capture Smartie
# 03: Capture Smartie with full base
# 04: Base Build Deathmatch
# 05: Base Build and Capture the Smartie
# 06: Defend Base
# 07: Defend Base and Capture the Smartie
# 08: GTypeStone
# 09: GTypeWood
# 0a: crash to desktop
# 0b: crash to desktop
# 0c: GType(null)
# 0d: crash to desktop
# 0e: crash to desktop
# 0f: crash to desktop
# 10: crash to desktop
# feel free to try other values...
# aa: crash to desktop
# ff: crash to desktop
TeamDeathmatch = 0x00
TeamDeathmatchWithFullBase = 0x01
CaptureSmartie = 0x02
CaptureSmartieWithFullBase = 0x03
BaseBuildDeathmatch = 0x04
BaseBuildCaptureSmartie = 0x05
DefendBase = 0x06
DefendBaseCaptureSmartie = 0x07
GTypeStone = 0x08
GTypeWood = 0x09
Crash = 0x0a
GTypeNull = 0x0c
class ChatColor:
Black = 0x00
Cyan = 0x01 # or 0x06
Yellow = 0x02
LightBlue = 0x03
Orange = 0x04
DarkBlue = 0x05
White = 0x07
Blue = 0x0c
class ChatType:
All = 0x00
AllFromPlayer = 0xc0
TeamFromPlayer = 0xf0