alongubkin / alongubkin/timer

Store Account IDs instead of Steam IDs

オープン
#3 コメント 0 件 リアクション 0 件 担当者 1 名 @alongubkin が担当を希望しています GitHub で見る
enhancement
主要言語
Lasso
スター
4
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

説明

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))

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。