alongubkin / alongubkin/timer

Store Account IDs instead of Steam IDs

Aperta
#3 0 commenti 0 reazioni 1 assegnatario Rivendicata da @alongubkin Vedi su GitHub
enhancement
Lingua principale
Lasso
Stelle
4
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Steam IDs are different in the Source 2009 engine and the new P2/CSGO engine. We must store account ids instead of steam ids to offer Counter-Strike: Global Offensive support.

```
GetAccountIDFromAuthString(String:authString[])
{
decl String:toks[3][16];

ExplodeString(authString, ":", toks, sizeof(toks), sizeof(toks[]));

new odd = StringToInt(toks[1]);
new halfAID = StringToInt(toks[2]);

return (halfAID*2) + odd;
}
```

(source: [itemlogger](http://hg.limetech.org/droplog/raw-file/13f677e0998d/item_logger.sp))

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.