• What are you working on? V3
    2,001 replies, posted
[QUOTE=Dossy;17754330]Add ?xml=1 to a Steam Community page, gives you all the xml... [editline]11:31PM[/editline] Hmm, Ninja'd.[/QUOTE] Thanks to the three posts above me :v: I'm bored and need something to do so i'm going to try to create a small widget for my website for steam. I can't seem to retrieve the data with SimpleXmlElement.. [php] $content = file_get_contents("http://steamcommunity.com/id/BlynxSR?xml=1"); $x = new SimpleXmlElement($content); echo $x->profile->location; [/php] That should work shouldn't it?
[QUOTE=Dossy;17754330]Add ?xml=1 to a Steam Community page, gives you all the xml... [editline]11:31PM[/editline] Hmm, Ninja'd. And while GD is on topic: [img]http://dev.josh-m.com/sig/deluxe/Vexeon.png[/img] Something I've been working on, it just needs more designs.[/QUOTE] Woah, thats nice!
[QUOTE=Not_Yet;17741624]hey this might not be the right thread but has anybody got any experience coding for HL2 mods?[/QUOTE] I think that garry guy does. Also, garry if GWEN has a good programming interface that could easily become the best game GUI library around. I have honestly never seen one that good.
[QUOTE=ddrl46;17754376]Woah, thats nice![/QUOTE] Agreed.
[QUOTE=ddrl46;17754376]Woah, thats nice![/QUOTE] Thanks, it's just a problem I don't have access to the XCDP. I'll be making an API with the data I have for other people soon... Feel free to generate and use your own :p
[QUOTE=Jallen;17754387]I think that garry guy does. Also, garry if GWEN has a good programming interface that could easily become the best game GUI library around. I have honestly never seen one that good.[/QUOTE] You have not seen UIblocks then hehe
Fuck me, I figured out what was wrong..I was putting one too many pointers in. [php] $x->profile->location; // Should be. $x->location; [/php]
[QUOTE=Blynx6;17754438]Fuck me, I figured out what was wrong..I was putting one too many pointers in. [php] $x->profile->location; // Should be. $x->location; [/php][/QUOTE] Yeah, I had that problem. Your best bet is to just echo var_dump($x) then keep adding pointers as you go.
[QUOTE=qurl;17754048]Is docking really needed in a in-game UI? Or is that just a tool to make custom windows?[/QUOTE] Maybe, maybe not.. depends on the game. I could see it being useful in a game like rollercoaster tycoon etc. But mainly for debug tools, editors etc This isn't exclusively for games.
[url]http://anztf2mug.net/a2h/bugspray/[/url] Updated to 0.0.3. And pretty close to being ready for placing on GitHub. Registering should work. As with before I'm still using an external MySQL host. *inhales*
Added search to my user list, and i changed the ranks to icons. [url]http://www.kweb.xz.lt/user_list.php?search=ddrl46[/url] [img]http://i37.tinypic.com/34q940o.png[/img]
[QUOTE=ddrl46;17754537]Added search to my user list, and i changed the ranks to icons. [url]http://www.kweb.xz.lt/user_list.php?search=ddrl46[/url] [img]http://i37.tinypic.com/34q940o.png[/img][/QUOTE] Looks good.
Added joindate.
[QUOTE=ddrl46;17754684]Added joindate.[/QUOTE] The 'New' image is a nice touch :D I probably wouldn't have done mem=(username). I'd have done mem=(userid) personally, but hey.
[QUOTE=Dossy;17754747]The 'New' image is a nice touch :D I probably wouldn't have done mem=(username). I'd have done mem=(userid) personally, but hey.[/QUOTE] The problem is, i don't store the userid in the database, completely forgot it :(. [editline]11:40AM[/editline] Also every user has a textbox with some javascript code in it: [code] <script type="text/javascript" src="http://kweb.xz.lt/user/index.php?user=ddrl46"></script> [/code] This will print out the user it's username, post count and thread count :3:.
Finally, a stream! [url]http://welovebrew.kerplunc.com/[/url] Styling required, of course, but yeah will do ;D
[QUOTE='-[ Fizzadar ]-;17755014']Finally, a stream! [url]http://welovebrew.kerplunc.com/[/url] Styling required, of course, but yeah will do ;D[/QUOTE] Looks nice, but a little too much front page spam? :D.
[img]http://blynx.org/projects/steam/steam.php?id=BlynxSR[/img] What do you guys think? To use: [noparse][img]http://blynx.org/projects/steam/steam.php?id=YOURID[/img][/noparse]
Just started working on that API. It should be ready in a few days. I'm making it so that you choose the filetype, ie: /deluxe/Vexeon.json gives you variables in json format. /deluxe/Vexeon.xml in xml etc. I'm also making other formats like html which will generate the 'image' with CSS. I need to do a complete rewrite though. \: [editline]13:26[/editline] [QUOTE=Blynx6;17755177][img]http://blynx.org/projects/steam/steam.php?id=BlynxSR[/img] What do you guys think? To use: [noparse][img]http://blynx.org/projects/steam/steam.php?id=YOURID[/img][/noparse][/QUOTE] Yeah, nice. I had a Steam Card generator a while back and might still have the card designs if you want them?
Really nice!, but: [img]http://blynx.org/projects/steam/steam.php?id=killerman4ever[/img] The text is cut off.
[QUOTE=ddrl46;17755067]Looks nice, but a little too much front page spam? :D.[/QUOTE] Way to much right now :) I expect I'll have the latest 10-15 items, depending on styling sizes. Good thing is the whole site is slowly pulling together :)
[QUOTE=ddrl46;17755208]The text is cut off.[/QUOTE] Hmm, yeah. Use [url]http://php.net/manual/en/function.imagettftext.php[/url] and get some ttf fonts.
[img]http://blynx.org/projects/steam/steam.php?id=BlynxSR[/img] Better?
[QUOTE=Blynx6;17755402][img]http://blynx.org/projects/steam/steam.php?id=BlynxSR[/img] Better?[/QUOTE] Yeah, nice.
Really nice.
Yay! Finished the base of caching. Just need to check if a cache is outdated or not now and secure my sql vars properly. You can attempt "sql injecting" my scripts. Just don't fuck up anything. :( (Yay I can finally hotlink!) [img]http://www.marlamin.nl/sig/index.php?raw_name=Marlamin&raw_realm=Steamwheedle+Cartel&region=eu[/img] [img]http://www.marlamin.nl/sig/index.php?raw_name=Chaud&raw_realm=Gurubashi&region=www[/img] [img]http://www.marlamin.nl/sig/index.php?raw_name=Happycat&raw_realm=Eonar&region=eu[/img] This is the debug version of the signature creator. Don't use it for real yet. It's quite ugly as well.
I had a problem that querying every comment took over 1000ms although I only have like 100-200. So I just save it in a LinkedList the first time and now it's only taking ~30ms
[QUOTE=Marlamin;17756498]Yay! Finished the base of caching. Just need to check if a cache is outdated or not now and secure my sql vars properly. You can attempt "sql injecting" my scripts. Just don't fuck up anything. :( (Yay I can finally hotlink!) [img]http://www.marlamin.nl/sig/index.php?raw_name=Marlamin&raw_realm=Steamwheedle+Cartel&region=eu[/img] [img]http://www.marlamin.nl/sig/index.php?raw_name=Chaud&raw_realm=Gurubashi&region=www[/img] [img]http://www.marlamin.nl/sig/index.php?raw_name=Happycat&raw_realm=Eonar&region=eu[/img] This is the debug version of the signature creator. Don't use it for real yet. It's quite ugly as well.[/QUOTE] I'm doing a 6 hour cache, one update if it's more than 6 hours old. Seems ok to me :)
[QUOTE=Druchii;17756665]I'm doing a 6 hour cache, one update if it's more than 6 hours old. Seems ok to me :)[/QUOTE] Yeah 6 hours seems about right.
[QUOTE=Marlamin;17756687]Yeah 6 hours seems about right.[/QUOTE] I use 12 for my Gamercard generator, but that's because it tends to take a while to generate them first time. 6 hours is fine though, I used 6 for a Steam Card generator.
Sorry, you need to Log In to post a reply to this thread.