• What are you working on? January 2012
    3,401 replies, posted
[QUOTE=dajoh;34410390]Or you could just update [url=https://developer.valvesoftware.com/wiki/Steam_Web_API]this page[/url].[/QUOTE] The code will explain how to use the interfaces. If we get around to pushing stuff to the VDC, we'll do it. Otherwise it's a secondary task. The VDC isn't known for it's quality anyway.
[img]http://puu.sh/eICC[/img] Gotta deal with SteamGuard properly, but.. I'm logged in! :> [editline]woop[/editline] [lua] try { System.Net.ServicePointManager.Expect100Continue = false; Uri uri = new Uri("https://api.steampowered.com/ISteamOAuth2/GetTokenWithCredentials/v0001/"); HttpWebRequest http = (HttpWebRequest)HttpWebRequest.Create(uri); http.UserAgent = "Steam App / Android / 1.0 / 1297579"; http.Method = "POST"; http.KeepAlive = true; http.ContentType = "application/x-www-form-urlencoded"; http.ProtocolVersion = HttpVersion.Version11; Console.Write("Username: "); string user = Console.ReadLine(); Console.Write("Password: "); string password = Console.ReadLine(); Console.Write("SteamGuardAuth ( if any ): "); string steamguard = Console.ReadLine(); Console.Write("\n"); string postdata = "client_id=DE45CD61&grant_type=password&username=" + Uri.EscapeDataString(user) + "&password=" + Uri.EscapeDataString(password) + "&scope=read_profile%20write_profile%20read_client%20write_client"; if (steamguard.Length != 0) postdata = postdata + "&x_emailauthcode=" + Uri.EscapeDataString(steamguard); http.ContentLength = postdata.Length; StreamWriter stOut = new StreamWriter(http.GetRequestStream(), System.Text.Encoding.ASCII); stOut.Write(postdata); stOut.Close(); HttpWebResponse response = (HttpWebResponse)http.GetResponse(); Stream stream = response.GetResponseStream(); Console.WriteLine(new StreamReader(response.GetResponseStream()).ReadToEnd()); Console.WriteLine(response.StatusCode); } catch (UriFormatException e) { Console.WriteLine("Invalid URL"); } catch (IOException e) { Console.WriteLine("Could not connect to URL"); } catch (Exception e) { Console.WriteLine(e.Message); } [/lua] Done.
[code]{ "pollid": 0, "messages": [ { "type": "saytext", "timestamp": 34368668, "steamid_from": "76561197996859119", "text": "The fun can really start with an access_token. :>" } ] , "messagelast": 6454, "timestamp": 34369598, "messagebase": 6453, "sectimeout": 1, "error": "OK" } [/code] lole i hake u
Currently working on a C# library to use the API. [cpp]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace SteamWebAPI { class Program { static void Main( string[] args ) { SteamAPISession session = new SteamAPISession(); SteamAPISession.LoginStatus status = session.Authenticate( "****", "****", "****" ); Console.WriteLine( status ); } } }[/cpp] [t]http://puu.sh/eIKr[/t] The e-mail code parameter is optional. If you don't specify it, it will most likely return the SteamGuard login result and send the e-mail.
Progress on this will follow up at [url]https://github.com/andrewmcwatters/steamweb-lua-sdk[/url] If anyone has any better names for the project, tell me. I just came up with it in 5 seconds. [editline]26th January 2012[/editline] We'll most likely be using paradigms from the [url=http://code.google.com/p/facepunch-lua-sdk/]FPSDK project[/url] such as no dependency on any one connector (LuaSocket, LuaCURL, etc.) [editline]26th January 2012[/editline] I'll be working on the Lua API for this, while Overv will work on a C# (?) one.
[QUOTE=amcfaggot;34410902]I'll be working on the Lua API for this, while Overv will work on a C# (?) one.[/QUOTE] I'll chuck a C++ one in, whilst we're at it. :>
I've added a new level theme to my endless running and shooting game where you are making your way across rooftops in a city It doesn't yet but soon it will have unique features and abilities for each theme [IMG]http://i42.tinypic.com/o8wcnt.png[/IMG] as compared to the forest mode [img]http://media.indiedb.com/images/games/1/17/16578/screenshot.4.png[/img] You can find the latest version on its Indiedb page (won't include the city theme until a future update) [url]http://www.indiedb.com/games/angry-cub[/url]
3 different people working on3 diffrent apis. Can somone release the apk? I cant access the market
[QUOTE=Map in a box;34411066]3 different people working on3 diffrent apis. Can somone release the apk? I cant access the market[/QUOTE] [url]http://puu.sh/eIPR[/url]
[QUOTE=Overv;34410895]Currently working on a C# library to use the API. [cpp]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace SteamWebAPI { class Program { static void Main( string[] args ) { SteamAPISession session = new SteamAPISession(); SteamAPISession.LoginStatus status = session.Authenticate( "****", "****", "****" ); Console.WriteLine( status ); } } }[/cpp] [t]http://puu.sh/eIKr[/t] The e-mail code parameter is optional. If you don't specify it, it will most likely return the SteamGuard login result and send the e-mail.[/QUOTE] I love you.
[QUOTE=Map in a box;34411066]3 different people working on3 diffrent apis. Can somone release the apk? I cant access the market[/QUOTE] I think it's great! Having three separate APIs on different languages should really provide flexibility for people wanting to toy around with these, technically still publicly unexposed, web interfaces.
Ill work on a Java one once the documentation is more laid out then!
I'll make a PHP library wait fuck
i'll make a rubygem
Whilst doing a little connection monitoring here with the Steam Mobile craze we're all so head over heels about, I've also opened up [url=http://textie.me/]Textie's API[/url] which is also rather exciting. It utilizes XML responses and plain authentication. Seems pretty plain to me, but nice to know if I'd like to text from my desktop, I can do that without using something like Google Talk/Voice which was offered to American and Canadian citizens a while back (not sure if it's still open for usage). Plus I'm not a big fan of opening up my browser just to text.
Send moar invites, valve!
The new bandwagon is Steam API. I will not be jumping on this one :(
hEY MY AUTO MERGE [code]POST /api/messages HTTP/1.1 Host: textie.me User-Agent: Textie/1.2.5 CFNetwork/548.0.4 Darwin/11.0.0 Content-Length: 355 Accept: application/xml Authorization: Basic REMOVED Device: iPhone/5.0.1 Accept-Language: en Accept-Encoding: gzip, deflate Content-Type: application/x-www-form-urlencoded Connection: keep-alive Proxy-Connection: keep-alive <b:borange date="2012-01-27T05:30:40Z" xmlns:b="http://www.borange.com/schema/2008" version=".30"> <b:outbox> <b:message urgency="0.0" guid="REMOVED" id="REMOVED"> <b:text> Don't mind me, just looking over Textie's networking whilst I'm monitoring Steam's</b:text> <b:from firstName="Andrew" middleName="" lastName="McWatters" name="Andrew McWatters"> <b:email handle="mcwattersandrew@gmail.com" /> </b:from> <b:to> <b:phone name="REMOVED" handle="REMOVED" /> </b:to> </b:message> </b:outbox> </b:borange> [/code]
YOU MUST!!! Think about the animals, maan! Find that spot in your heart! I know its there somewhere! The animals maaaaan!
[code]<b:inbox since="2012-01-27T05:29:30Z" till="2012-01-27T05:33:58Z"> <b:message urgency="0.0" read="false" id="REMOVED" created="2012-01-27T05:31:58Z"> <b:text> Suck its butthole andrew</b:text> <b:from lastName="" firstName="REMOVED" name="REMOVED" middleName=""> <b:phone handle="REMOVED" /> </b:from> <b:to> <b:email handle="mcwattersandrew@gmail.com" /> </b:to> </b:message> </b:inbox> [/code] receiving works great
[QUOTE=amcfaggot;34411447]receiving works great[/QUOTE] :quagmire:
My library is also on [url=https://github.com/Overv/SteamWebAPI]GitHub[/url] now. It currently has the following functionality: [cpp]LoginStatus Authenticate( String username, String password, String emailauthcode = "" ) LoginStatus Authenticate( String accessToken ) List<Friend> GetFriends( String steamId = null ) ServerInfo GetServerInfo() public enum LoginStatus { LoginFailed, LoginSuccessful, SteamGuard } public class Friend { public String steamid; public bool blocked; public DateTime friendSince; } public class ServerInfo { public DateTime serverTime; public String serverTimeString; }[/cpp] Note that the list of friend SteamIDs and actual info are separate requests. So there will be a separate function to receive info about a single SteamID or a group of friends.
I can't code to save my life, but PC repair is a part of my daily life, and I'm only as good as the tools I possess. While my project is nothing too extravagant, I've been putting together an "All-in-one" multiboot USB stick for general PC repair. Most modern PCs can boot from USB, and it is alot more convenient than carrying a cakebox of CDs and DVDs, which are easily damaged, and rely on mechanical hardware. Discs also take significantly longer to boot from. This multiboot USB stick was created with YUMI, which you can download here: [b][url=http://www.pendrivelinux.com/yumi-multiboot-usb-creator/]Y.U.M.I. Multiboot USB Creator[/url][/b] I have extensively edited the menu systems to my liking, essentially re-writing most of them. All the artwork was made by me in Photoshop CS5. The modified Nyan Cat is copyright PRguitarman: [b][url]http://www.prguitarman.com/index.php?id=348[/url][/b] My current on-going project of the past month: [release][b]M[/b]ediCat [b]E[/b]mergency [b]D[/b]isk[b] S[/b]ystem Boot into Various Linux distros (I currently use Ubuntu, Xubuntu, Lubuntu, and Mint). Can boot into the Windows 7 installer Various anti-virus scanners Disc partitioning and cloning tools Hiren's Boot CD + Mini XP Ultimate Boot CD Pentesting tools for cracking and monitoring network traffic Reset and/or recover Windows user account passwords (NT/XP/Vista/7/8DP) GRUB and GRUB 2 repair PC backup and recovery Offline registry editor[/release] I have personally tested and successfully booted everything on this drive. When I am satisfied with the progress of this project, I will release this as opensource, without the distros and ISOs. It will contain only the modified menus (text files) and artwork (.PSD file). [release][b]Screenshots of Menu actions:[/b] [img]http://img215.imageshack.us/img215/527/maynmenu.jpg[/img] [img]http://img259.imageshack.us/img259/7200/antiviruse.png[/img] [img]http://img163.imageshack.us/img163/4830/systemf.png[/img] [img]http://img838.imageshack.us/img838/5914/linuxo.png[/img] [img]http://img641.imageshack.us/img641/559/grubisoboot.jpg[/img][/release]
Worked on my API some more. I can now do this: [cpp]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; using System.Drawing; using SteamWebAPI; namespace SteamWebAPI { class Program { static void Main( string[] args ) { SteamAPISession session = new SteamAPISession(); session.Authenticate( "xxxx" ); List<SteamAPISession.Friend> myFriends = session.GetFriends(); List<SteamAPISession.User> myFriendsInfo = session.GetUserInfo( myFriends ); foreach ( SteamAPISession.User user in myFriendsInfo ) { session.SendMessage( user, "I love you." ); } } } }[/cpp]
[QUOTE=amcfaggot;34410902]Progress on this will follow up at [url]https://github.com/andrewmcwatters/steamweb-lua-sdk[/url] If anyone has any better names for the project, tell me. I just came up with it in 5 seconds. [editline]26th January 2012[/editline] We'll most likely be using paradigms from the [url=http://code.google.com/p/facepunch-lua-sdk/]FPSDK project[/url] such as no dependency on any one connector (LuaSocket, LuaCURL, etc.) [editline]26th January 2012[/editline] I'll be working on the Lua API for this, while Overv will work on a C# (?) one.[/QUOTE] You should totally add me to the project.
[QUOTE=DrLuke;34385936]USB tanning bed: [img]http://i.imgur.com/gB2Zt.jpg[/img][/QUOTE] I'm thinking about getting the Arduino uno, seems quite a lot of fun making stuff with it. [editline]27th January 2012[/editline] sadly enough I'm not allowed to get it yet because exams.
[QUOTE=Overv;34412868]Worked on my API some more. I can now do this: [cpp]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; using System.Drawing; using SteamWebAPI; namespace SteamWebAPI { class Program { static void Main( string[] args ) { SteamAPISession session = new SteamAPISession(); session.Authenticate( "xxxx" ); List<SteamAPISession.Friend> myFriends = session.GetFriends(); List<SteamAPISession.User> myFriendsInfo = session.GetUserInfo( myFriends ); foreach ( SteamAPISession.User user in myFriendsInfo ) { session.SendMessage( user, "I love you." ); } } } }[/cpp][/QUOTE] my god man, use [b]var[/b]
Further work on Lego Racers; I had a hunch as to which files the collision meshes would be, so I took a closer look... how did I do? [t]http://i.imgur.com/t3dDo.png[/t][t]http://i.imgur.com/UaNgs.png[/t]
[QUOTE=Sebixxx;34406110]Added a simple light engine and a wreck (it's a part of the story) [URL=http://imageshack.us/photo/my-images/69/60755802.png/][IMG]http://img69.imageshack.us/img69/9550/60755802.png[/IMG][/URL][/QUOTE] Capsized 8-bit
All these Facepunch scraping apps are cool, but there's still the problem that you're downloading way more data than needed. Would a third-party server that scraped for you and which Facepunch server trusted as a third party (passing the real IP address through) not be the best solution?
Sorry, you need to Log In to post a reply to this thread.