[QUOTE=Darkwater124;39301870]I'd use [url=http://gb-domains.com/do_dump-pretty-var_dump]do_dump[/url], change echo to $str .= and then echo htmentities(do_dump($obj));[/QUOTE]
Or...just use xdebug, which comes with some more useful features and doesn't clutter your code-base with shitty code.
Getting stoked about work right now. Nothing's solid yet but there's a lot of frustration with Magento and a new business direction that everyone seems to be really excited about (that I was the one to introduce hehe) that will entail me being able to stop writing PHP and get back to using ruby if we follow through with it. Needless to say I am going to do everything in my power to make the new direction seem as appealing as possible :)
[url]http://elup.me/p/XIrB-qCK.jpg[/url]
Still working on the background. Very rough right now :)
I love heroku's theme in the sense that they were able to keep everything together while still providing a service
makes me want to try something like it
[url]http://elup.me/p/9zqH-ohl.jpg[/url]
Attempting to do a uni project, got all the important stuff done for the assignment but I'm totally failing on the page CSS, could any of you lovely web design gods help me in return for payment?
[QUOTE=Jimmylaw;39309505]Attempting to do a uni project, got all the important stuff done for the assignment but I'm totally failing on the page CSS, could any of you lovely web design gods help me in return for payment?[/QUOTE]
the point of uni is to learn, you're not really learning if someone does it for you.
Got bored of waiting for Valve to release their Dota 2 API so I made my own that mirror's the functionality detailed at [url]http://www.dota2wiki.com/wiki/API[/url]. Backend is a daemon running on an Ubuntu using C#/Mono and SteamRE. Actual API front-end is made with PHP and MySQL.
GetMatchDetails
[quote]
URL - [url]http://5.135.192.61/dota/GetMatchDetails[/url]
Parameters -
key=email [email]aarong11@gmail.com[/email] for an API key, or for testing use f8abe25ecf67de4673a0833445d7b95a
format=xml/json
debug=false/true
match_id=101395847
Example - [url]http://5.135.192.61/dota/GetMatchDetails?key=f8abe25ecf67de4673a0833445d7b95a&match_id=101395847&format=json&debug=true[/url]
[/QUOTE]
Example output (JSON) -
[QUOTE]
{"debug":{"cached":"false","querytime":1},"match":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"111","dire_name":"","radiant_name":"","duration":"642","first_blood_time":"126","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"101395847","radiant_team_complete":"0","replay_salt":"294633945","startTime":"1358406159","players":{"0":{"account_id":"117473411","assists":"0","deaths":"1","denies":"0","gold":"2","gold_per_min":"195","gold_spent":"1990","hero_damage":"466","hero_healing":"0","hero_id":"73","item_0":"11","item_1":"182","item_2":"56","item_3":"29","item_4":"0","item_5":"0","kills":"0","last_hits":"25","level":"4","misses":"0","player_name":"DONE FARMING LOL","tower_damage":"0","match_id":"101395847","XP_per_min":"127"},"1":{"account_id":"113301609","assists":"0","deaths":"2","denies":"2","gold":"389","gold_per_min":"100","gold_spent":"1110","hero_damage":"303","hero_healing":"0","hero_id":"30","item_0":"44","item_1":"38","item_2":"13","item_3":"39","item_4":"42","item_5":"0","kills":"0","last_hits":"3","level":"4","misses":"0","player_name":".Guzzler","tower_damage":"0","match_id":"101395847","XP_per_min":"123"},"2":{"account_id":"115511934","assists":"0","deaths":"1","denies":"1","gold":"348","gold_per_min":"225","gold_spent":"2493","hero_damage":"1939","hero_healing":"0","hero_id":"23","item_0":"50","item_1":"41","item_2":"16","item_3":"13","item_4":"13","item_5":"0","kills":"0","last_hits":"33","level":"7","misses":"0","player_name":"R e s p e c t","tower_damage":"0","match_id":"101395847","XP_per_min":"266"},"3":{"account_id":"102226541","assists":"0","deaths":"0","denies":"3","gold":"1051","gold_per_min":"244","gold_spent":"2196","hero_damage":"1813","hero_healing":"0","hero_id":"35","item_0":"0","item_1":"16","item_2":"0","item_3":"0","item_4":"71","item_5":"50","kills":"1","last_hits":"32","level":"6","misses":"0","player_name":"TossCuac","tower_damage":"0","match_id":"101395847","XP_per_min":"236"},"4":{"account_id":"113909264","assists":"1","deaths":"2","denies":"3","gold":"436","gold_per_min":"164","gold_spent":"1534","hero_damage":"1165","hero_healing":"0","hero_id":"49","item_0":"73","item_1":"36","item_2":"0","item_3":"0","item_4":"0","item_5":"0","kills":"1","last_hits":"12","level":"7","misses":"0","player_name":"flawlessfortress","tower_damage":"0","match_id":"101395847","XP_per_min":"275"},"5":{"account_id":"7671996","assists":"0","deaths":"1","denies":"1","gold":"285","gold_per_min":"181","gold_spent":"2181","hero_damage":"715","hero_healing":"0","hero_id":"98","item_0":"182","item_1":"38","item_2":"180","item_3":"0","item_4":"16","item_5":"0","kills":"0","last_hits":"19","level":"6","misses":"0","player_name":"PenguicoRn","tower_damage":"0","match_id":"101395847","XP_per_min":"205"},"6":{"account_id":"115957470","assists":"0","deaths":"0","denies":"6","gold":"348","gold_per_min":"142","gold_spent":"1775","hero_damage":"1989","hero_healing":"0","hero_id":"26","item_0":"13","item_1":"27","item_2":"44","item_3":"29","item_4":"0","item_5":"0","kills":"0","last_hits":"10","level":"6","misses":"0","player_name":"cackle_","tower_damage":"0","match_id":"101395847","XP_per_min":"219"},"7":{"account_id":"35301614","assists":"0","deaths":"0","denies":"9","gold":"2147","gold_per_min":"366","gold_spent":"2374","hero_damage":"2869","hero_healing":"0","hero_id":"46","item_0":"63","item_1":"0","item_2":"36","item_3":"0","item_4":"0","item_5":"0","kills":"1","last_hits":"56","level":"10","misses":"0","player_name":"Sheepdefiler","tower_damage":"612","match_id":"101395847","XP_per_min":"522"},"8":{"account_id":"116846993","assists":"5","deaths":"1","denies":"2","gold":"144","gold_per_min":"185","gold_spent":"2372","hero_damage":"2038","hero_healing":"0","hero_id":"16","item_0":"46","item_1":"178","item_2":"29","item_3":"16","item_4":"16","item_5":"16","kills":"0","last_hits":"5","level":"6","misses":"0","player_name":"clontvvorry","tower_damage":"21","match_id":"101395847","XP_per_min":"241"},"9":{"account_id":"90253558","assists":"0","deaths":"0","denies":"12","gold":"2481","gold_per_min":"432","gold_spent":"2749","hero_damage":"4830","hero_healing":"0","hero_id":"6","item_0":"0","item_1":"88","item_2":"16","item_3":"16","item_4":"65","item_5":"16","kills":"5","last_hits":"41","level":"10","misses":"0","player_name":"CLS|KEN.Z","tower_damage":"138","match_id":"101395847","XP_per_min":"549"}}}}
[/QUOTE]
GetMatchHistory
[QUOTE]
URL - [url]http://5.135.192.61/dota/GetMatchHistory[/url]
Parameters -
key=email [email]aarong11@gmail.com[/email] for an API key, or for testing use f8abe25ecf67de4673a0833445d7b95a
account_id=109096431 (steam community ID)
start_at_match_id= only matches before this one will be shown
matches_requested= number of matches to display (1-10)
recently_played_only=0 or 1 (1 only returns recently played matches)
format=xml/json
Example - [url]http://5.135.192.61/dota/GetMatchHistory?account_id=109096431&key=f8abe25ecf67de4673a0833445d7b95a&matches_requested=10&recently_played_only=0[/url]
[/quote]
Example output (JSON) -
[quote]
{"matches":{"0":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"131","dire_name":"","radiant_name":"","duration":"2089","first_blood_time":"138","game_balance":"0","game_mode":"DOTA_GAMEMODE_RD","good_guys_win":"False","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"99277659","radiant_team_complete":"0","replay_salt":"1229068297","startTime":"1358112474"},"1":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"122","dire_name":"","radiant_name":"","duration":"3867","first_blood_time":"294","game_balance":"0","game_mode":"DOTA_GAMEMODE_RD","good_guys_win":"False","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"99298084","radiant_team_complete":"0","replay_salt":"399042932","startTime":"1358115110"},"2":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"131","dire_name":"","radiant_name":"","duration":"2727","first_blood_time":"191","game_balance":"0","game_mode":"DOTA_GAMEMODE_RD","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"99328319","radiant_team_complete":"0","replay_salt":"1548011601","startTime":"1358119811"},"3":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"3368","first_blood_time":"202","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"99778546","radiant_team_complete":"0","replay_salt":"1964818184","startTime":"1358183455"},"4":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"3100","first_blood_time":"194","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"99826838","radiant_team_complete":"0","replay_salt":"747208004","startTime":"1358187766"},"5":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"2841","first_blood_time":"161","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"100333058","radiant_team_complete":"0","replay_salt":"271277136","startTime":"1358262042"},"6":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"2750","first_blood_time":"227","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"100443797","radiant_team_complete":"0","replay_salt":"1608298497","startTime":"1358271673"},"7":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"131","dire_name":"","radiant_name":"","duration":"1751","first_blood_time":"267","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"True","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"100482488","radiant_team_complete":"0","replay_salt":"681467823","startTime":"1358275119"},"8":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"2628","first_blood_time":"141","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"False","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"100986373","radiant_team_complete":"0","replay_salt":"1432030186","startTime":"1358348732"},"9":{"new_match":"1","average_skill":"0","dire_team_complete":"0","cluster":"133","dire_name":"","radiant_name":"","duration":"3552","first_blood_time":"240","game_balance":"0","game_mode":"DOTA_GAMEMODE_AP","good_guys_win":"False","human_players":"10","leagueid":"0","lobby_type":"0","match_id":"101187087","radiant_team_complete":"0","replay_salt":"186684070","startTime":"1358367649"}}}
[/quote]
[QUOTE=AaRoNg11;39311572]Got bored of waiting for Valve to release their Dota 2 API so I made my own that mirror's the functionality detailed at [url]http://www.dota2wiki.com/wiki/API[/url]. Backend is a daemon running on an Ubuntu using C#/Mono and SteamRE. Actual API front-end is made with PHP and MySQL.[/quote][code]"match": {
"new_match": "1",
"average_skill": "0",
"dire_team_co mplete": "0",
"cluster": "111",
"dire_name": "",
"radian t_name": "",
"duration": "642",
"first_blood_time": "12 6",
"game_balance": "0",
"game_mode": "DOTA_GAMEMODE_A P",
"good_guys_win": "True",
"human_players": "10",
"le agueid": "0",
"lobby_type": "0",
"match_id": "101395847 ",
"radiant_team_complete": "0",
"replay_salt": "29463 3945",
"startTime": "1358406159",
"players": {
"0": {
"ac count_id": "117473411",
"assists": "0",
"deaths": "1",
" denies": "0",
"gold": "2",
"gold_per_min": "195",
"gold_ spent": "1990",
"hero_damage": "466",
"hero_healing": " 0",
"hero_id": "73",
"item_0": "11",
"item_1": "182",
"it em_2": "56",
"item_3": "29",
"item_4": "0",
"item_5": "0",
"kills": "0",
"last_hits": "25",
"level": "4",
"misses": "0",
"player_name": "DONE FARMING LOL",
"tower_damage": "0",
"match_id": "101395847",
"XP _per_min": "127"
},[/code]
Why are all the integers strings and why are you doing this:
[code]"0": {[/code]
[QUOTE=garry;39304663]Here's a list of what we've got banned
[code]dev-zilla.net kuromeku chrisaster charliesomerville.com seth.im mydougonline.com[/code][/QUOTE]
wat
[QUOTE=Lexic;39313694]wat[/QUOTE]
These are people that created multiple accounts using their own domain
[QUOTE=darksoul69;39309408][url]http://elup.me/p/9zqH-ohl.jpg[/url][/QUOTE]
Too much padding beneath the text in the slideshow
[QUOTE=Killervalon;39315192]Too much padding beneath the text in the slideshow[/QUOTE]
Looks like the text is variable, its better to have leftover space with small texts instead of resizing it all the time.
[editline]22nd January 2013[/editline]
Login screen.
[t]http://ezyimg.info/1g82Ar[/t]
[QUOTE=RusselG;39311525]the point of uni is to learn, you're not really learning if someone does it for you.[/QUOTE]
Its not that I cannot do it, I'm physically not creative enough too design something that looks half decent. I'm only taking web programming for an easy pass, I'd much rather stick to games programming which is what I'm strong at doing.
[QUOTE=Jimmylaw;39316932]Its not that I cannot do it, I'm physically not creative enough too design something that looks half decent. I'm only taking web programming for an easy pass, I'd much rather stick to games programming which is what I'm strong at doing.[/QUOTE]
You take a class you are not creative enough for to get an easy pass? Because yea fuck logic :suicide:
[QUOTE=Miljaker;39317245]You take a class you are not creative enough for to get an easy pass? Because yea fuck logic :suicide:[/QUOTE]
Web design was the only module which didn't have an exam, which I'm terrible at. This is also the only piece of work where the design has even mattered, the rest of the assignments are based on features and methods to do things instead of design based.
Does game programming not require creativity?
[QUOTE=Spero78;39318378]Does game programming not require creativity?[/QUOTE]
It does
[QUOTE=Spero78;39318378]Does game programming not require creativity?[/QUOTE]
But not always the same though. AFAIK Game design covers things like Gameplay/Levels as well.
[QUOTE=101kl;39313276][URL]http://www.studiopaw.com/[/URL]
Decided to update website. Fancy CSS3 updating page woot.
[HR][/HR]
Warning: contains shitty autoplaying music.[/QUOTE]
The autoplaying music's annoying. Aside from that, is coo. I at least like that you didn't use Flash, so there's that.
Never ever automatically play music on a website.
[QUOTE=Darkwater124;39326369]Never ever automatically play music on a website.[/QUOTE]
Spotify does it. I still have nightmares about it.
And if you even do it, MAKE A DISABLE BUTTON
[QUOTE=101kl;39313276][URL]http://www.studiopaw.com/[/URL]
Decided to update website. Fancy CSS3 updating page woot.
[HR][/HR]
Warning: contains shitty autoplaying music.[/QUOTE]
I remember you from pubgamers, you'd shutdown once every two months and then auto play dramatic music from Hans Zimmer along with "sad" quotes.
edit: [url]http://pubgamer.org/END/[/url] - hey, it's still there!
[QUOTE=Killervalon;39327405]And if you even do it, MAKE A DISABLE BUTTON[/QUOTE]
Just don't do it, plain and simple.
I have music on the background, I don't want to listen to your music unless I clicked a "Play" button...
I was considering using "functional" sounds for my cms. Login sound, new message/notification, etc. Doesn't seem like a bad idea...
[QUOTE=Miljaker;39327692]I was considering using "functional" sounds for my cms. Login sound, new message/notification, etc. Doesn't seem like a bad idea...[/QUOTE]
Don't use functional sounds on a website unless it's for kids.
Sorry, you need to Log In to post a reply to this thread.