Files

> > CS2D > Lua Scripts > Get USGN Name
Files overviewCS2D overviewLua Scripts overview

English Get USGN Name >

28 comments1.40 mb, 826 Downloads

old Get USGN Name

Banaan
User Off Offline

GetUSGNName is a script which extracts a player's USGN name from their profile on Unreal Software. I doubt it's the simplest way to get a USGN name, but it's the only one I could think of.

Because Lua does not support HTTP, this upload also contains an executable (for Windows) and its Python source (for Linux). If you don't trust the executable, you can compile a new one from the source by using the included Py2Exe setup script.


Usage is very simple:
1
player(id, "usgnname")


Just extract the files from the right folder (there are separate folders for Windows and Linux) into your CS2D directory, then add the following line to your script:
1
dofile("sys/lua/usgnname/GetUSGNName.lua")

There's a more detailed readme included if you want more information.



Just to be sure, I ran this file through an online virus checker (I wouldn't want to be responsible for the spread of viruses), it came out clean: http://www.virustotal.com/file-scan/report.html?id=74fa9c4f66458119ce583fb6414095eae01648238ba8e7dda018cbc867eed6fb-1308818490.



Screens aren't really useful for this file since it only provides a helper function. I just took one of the included example uses and took a screen of that.
edited 1×, last 23.06.11 10:55:55 am
Approved by GeoB99

Download Download

1.40 mb, 826 Downloads

Comments

28 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

archmage
User Off Offline

Great work this will be very usefull
I like it!

old

RAVENOUS
BANNED Off Offline

Wow, it's awesome. So you cannot only extract the USGN, also other informations are possible if you change/handle this script right? Awesome
I like it!

old

Apache uwu
User Off Offline

Not related to 'website designer' lolol

Good job, still me thinks a usgn table would have been better, waste of memory, but still better than a delay on every join.
I like it!

old

dizziness
User Off Offline

Nice job, Banaan but I think for you it very easy because you are website designer -.-! Can you teach me about lua script, please ~_~ I cannot make a lua script

old

Banaan
User Off Offline

It's not fully written in Lua, it contains a separate executable. I actually wrote this a few months ago, I just ran into it when I was looking through all the unfinished crap in my Lua folder and decided to upload.

old

EnderCrypt
User Off Offline

wow thats creappy i was thinking on EXACLY this YESTERDAY ... omg creappy...

btw great script, only the best on lua can do that, lol
I like it!

old

PeterToman
COMMUNITY BANNED Off Offline

it's perfect for noobs who asks "what's my usgn id??"
I like it!

old

Infinite Rain
Reviewer Off Offline

Nice, but i think its useless
5/5
I like it!
To the start Previous 1 2 Next To the start