Forum
CS2D General loading USGN data offline?loading USGN data offline?
5 replies 1
Hajt has written
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
-- wget -O /home/cs2d/users.txt 'http://www.unrealsoftware.de/users.php?raw&s=0&c=4294967295' users = {} local file = io.open("/home/cs2d/users.txt", "r") for line in file:lines() do local userid, name = line:match("([^,]+),([^,]+)") table.insert(users, tonumber(userid), name) end file:close()
1