We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cf1563 commit 1a2e522Copy full SHA for 1a2e522
constants.go
@@ -28,3 +28,6 @@ const (
28
stNameUserInfo = "userinfo"
29
stNameModelPreCache = "modelprecache"
30
)
31
+
32
+// We're all better off not asking questions
33
+const valveMagicNumber = 76561197960265728
packet_handlers.go
@@ -512,8 +512,8 @@ func getCommunityID(guid string) int64 {
512
panic(errID.Error())
513
}
514
515
- // FIXME: WTF are we doing here???
516
- return 76561197960265728 + authID*2 + authSrv
+ // WTF are we doing here?
+ return valveMagicNumber + authID*2 + authSrv
517
518
519
func (p *Parser) handleUpdateStringTable(tab *msg.CSVCMsg_UpdateStringTable) {
0 commit comments