Languages Perl & PHP & Python PHP Games  

Battle.net Function

download download  
important code information
author:
Don Cullen
minimum requirements:
Battle.net Function description

Function to obtain and return stats of an user from Battle.net. Over 200 people have viewed this, and not one of you have voted?!? C'mon, vote! Show that it was worth something to you- show you support the open source movement! OR even better- vote AND comment on it- give me some feed back!


This PHP function was coded by Donald Cullen, AKA DM-Kyro for the gaming clan based at www.dementedminds.org.

You are free to use this script as you wish, as long as proper due credit is given. But please do not distribute. This code was uploaded to thank PSC for all of their assistance, not for people to rip off.

NO TECH SUPPORT WILL BE GIVEN. Information on the function, as well as which part does what has already been explained inside the function. What the script basically does is open a php socket, connects to battle.net, logs in (if you're not anonymous), obtains stats info, then disconnects from battle.net. Reason for disconnection is because PHP is once-run based language- everything has to be done in one run- so if you don't close a socket at the end of the script, then any further attempts to connect to bnet will be refused since the first one is still open. Hence why the script disconnects at the end. It's mainly for re-usability.

Comments, criticism, questions (of the non-technical kind), suggestions (of the technical kind), are all welcome. Flames however are not. :-P


File List:
@PSC_ReadMe_1370_8.txt1Kb
ReadMe.txt1Kb
bnetfunction.php4Kb

Similar code
Stock Ticker (Popularity: ) : This is a game based upon a board game called 'Stock Ticker'. Basically, you buy and sell shares in 6 commodities. A roll of the dice at the end of each turn determines which stock's price changes, how much it ...
Quantum Star SE (Popularity: ) : Q-S SE is a browser based space strategy game with Mining, Trading, Clans, Raiding and Space Warfare played in real time. Developed as an easy-to-install web based game, and requiring no user downloads, Q-S will operate on almost any PHP ...
Tic Tac Toe Game (Popularity: ) : This is a simple tic tac toe game for PHP Beginner programmers. 2 Player play for each other. First page is an html page and fist player start the game.
BlaqJack (Popularity: ) : Plays your standard game of BlaqJack. Plays through the browser no plugins required. (It's PHP at its best *grin*)
Simple Vault Game (Popularity: ) : Open Vaults until you quit or find the bomb... simple game that uses sessions and $_GET, also contains a personally developed anti-cheat code so the player cannot use the "Back Button" to go back and win.
Unreal Tournament PHP Server query (Popularity: ) : This code is a configurable server query script *including map images!*. The screenshot is self-explaining. In the configuration file you can turn things like the input box, or playerlists, etc. on and off. Please read the readme, so, for example ...
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 60
version
size in Kb 3
popularity   1053/7913374
user rating 4/10
ad


New Code
Popular Code