alongubkin / alongubkin/timer

Store Account IDs instead of Steam IDs

Đang mở
#3 0 bình luận 0 reaction 1 người được giao Được @alongubkin nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Lasso
Star
4
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.