Welcome, Guest. Please Login
Back to main page
  News:
Welcome to the ShadowFlare's Realm Forums.  New registrations are by request only.  To be considered for a new forum account, send an e-mail with the user name and display name you want and the reason you want to register.
  Home SFRealm HelpSearchLogin  
 
Pages: 1 ... 5 6 7 
Send Topic Print
PHP Warcraft III Replay Parser (Read 104618 times)
paulon
Peon
*
Offline



Posts: 15

Re: PHP Warcraft III Replay Parser
Reply #90 - Mar 12th, 2010, 3:14pm
 
sorry for being eager to know how replay class work... Tongue

can i start here
Quote:
$this->header = @unpack('a28intro/Vheader_size/Vc_size/Vheader_v/Vu_size/Vblocks', $data);


is the a28intro/Vheader_size/Vc_size/Vheader_v/Vu_size/Vblocks is a part of the array in w3g replay file?

is there a documentation that will assist me where does this array will use?
Back to top
 
 
  IP Logged
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84

Re: PHP Warcraft III Replay Parser
Reply #91 - Mar 15th, 2010, 6:36pm
 
No idea. Seems that the author of the DOTA mod forgot to include his contact info.

The docs are included in the official release (available on http://w3rep.sf.net/). There's no array in a replay file. It's binary data and unpack() is a function for reading binary values from files in PHP. Please refer to the PHP manual.
Back to top
 
 
WWW 64994211   IP Logged
paulon
Peon
*
Offline



Posts: 15

Re: PHP Warcraft III Replay Parser
Reply #92 - Mar 16th, 2010, 2:41pm
 
yes i have reviewed how to read a binary file,. but even though, i still don't know how does the w3g file structure are made.
Back to top
 
 
  IP Logged
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84

Re: PHP Warcraft III Replay Parser
Reply #93 - Mar 17th, 2010, 6:48pm
 
Sorry, I don't have enough time to help you with that. There's plenty of information in the Internet.
Back to top
 
 
WWW 64994211   IP Logged
paulon
Peon
*
Offline



Posts: 15

Re: PHP Warcraft III Replay Parser
Reply #94 - Mar 17th, 2010, 7:13pm
 
oh... should i consider this forum as closed?
Back to top
 
 
  IP Logged
paulon
Peon
*
Offline



Posts: 15

Re: PHP Warcraft III Replay Parser
Reply #95 - Mar 22nd, 2010, 2:25pm
 
anyway tnx for the replies. some of this might help me start a new one.
Back to top
 
 
  IP Logged
zloba
Peon
*
Offline



Posts: 1

Re: PHP Warcraft III Replay Parser
Reply #96 - Jun 5th, 2011, 12:52am
 
I want know still have someone in this forum ??? I need help i want to integrate replay parser in php fusion system 7.01. Can someone give me a ideas. Thx.
Back to top
 
 
  IP Logged
Pages: 1 ... 5 6 7 
Send Topic Print