Page Index Toggle Pages: 1 2 3 [4] 5 6 7
Topic Tools
Very Hot Topic (More than 25 Replies) PHP Warcraft III Replay Parser (Read 111959 times)
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: PHP Warcraft III Replay Parser
Reply #45 - Jun 20th, 2005 at 9:40pm
Post Tools
Quote:
you're right and I'm wrong sorry to have offended you, obviously this is a great contribution out of your own time. I have a quick question though, do you get upset if you see this script on a random website with no copyright or mention of you? I know I would ><


It doesn't upset me that much. But it's simply stupid to not tell others about a thing that you find useful, isn't it?
  
Back to top
WWWICQ  
IP Logged
 
Gamer_man
Peon
*
Offline


http://nwco.fre e.fr

Posts: 2
Joined: Jun 20th, 2005
Re: PHP Warcraft III Replay Parser
Reply #46 - Jun 20th, 2005 at 11:10pm
Post Tools
Ho, thx, i didn't knew this function (error_reporting()).
Next to a try, i saw that we can use it several times.

Thx you again, and nice job for your class, it will be very usefull to me Smiley
  
Back to top
WWW  
IP Logged
 
w3g_parser_rox
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jun 12th, 2005
Re: PHP Warcraft III Replay Parser
Reply #47 - Jul 5th, 2005 at 5:43pm
Post Tools
Hi again I have a quick question,
While I was stumbling across the net looking for another script I came across this page

http://warcraft.kliegman.com/

Is this also you?
  
Back to top
 
IP Logged
 
Nagger
Grunt
**
Offline



Posts: 50
Joined: Jun 10th, 2003
Re: PHP Warcraft III Replay Parser
Reply #48 - Jul 5th, 2005 at 7:25pm
Post Tools
warcraft.kliegman.com is the mother of all war3 replay analysis  Cheesy

kliegs was the first one who starts with analysing and documenting the replay format. His work was the base for blue's and my further format descriptions and also for all the replay tools - like julas' script - out there.
  
Back to top
 
IP Logged
 
w3g_parser_rox
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Jun 12th, 2005
Re: PHP Warcraft III Replay Parser
Reply #49 - Jul 8th, 2005 at 3:36am
Post Tools
oooooo k then ^^
  
Back to top
 
IP Logged
 
_seym.
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 4th, 2004
Re: PHP Warcraft III Replay Parser
Reply #50 - Sep 6th, 2005 at 3:11pm
Post Tools
hi all!
ive got some problems running the replay parser on my webserver. does php safe mode have to be turned off?

mfg,
_seym.
  
Back to top
 
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: PHP Warcraft III Replay Parser
Reply #51 - Sep 6th, 2005 at 6:41pm
Post Tools
No, it should work fine even with Safe mode on.
  
Back to top
WWWICQ  
IP Logged
 
_seym.
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 4th, 2004
Re: PHP Warcraft III Replay Parser
Reply #52 - Sep 6th, 2005 at 11:10pm
Post Tools
bloed. then i dunno what to do ^^
running the script locally it works but trying to run it on the webserver it doesnt. well it does but it does not create the database files because (i think ^^) as the parseheader()-function read the first 48bytes it gets some really weird data. 
e.g. ["header_v"]=> int(16777216)
... 
can this be caused by a php misconfiguration?

mfg,
_seym.
  
Back to top
 
IP Logged
 
tiagojco
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 7th, 2005
Re: PHP Warcraft III Replay Parser
Reply #53 - Sep 7th, 2005 at 9:54am
Post Tools
hi.
i tried to acces http://toya.net.pl/~julas/w3g/, but it show an error message when i try, something like 'page not found'. am i the only who get this message when trying to browse such page ?! (probally a problem with my ISP ?)

Furthermore, i took a look ( Roll Eyes) in w3g_format.txt that lies in warcraft.kliegman.com CVS repository, and got a question. How do i decompress in ZLIB inflate using PHP5 ? i tried a lot today with gzinflate($str), where $str is a substr of a usual replay (CG GAME @ BNET) turned into a string, from position 0x4C (the start of the compressed data block) with a lenght value equal to the word @ 0x44 (e.g. substr($replay,0x4C,0x**), but i always get a null returned value.

sorry my bad english.

i hope i let myself clear  Undecided

p.s.: U did a nice thing with this parser. gj.  8)
p.s.2: Really need to take a look at ur source code. Can u mail me them ?
  
Back to top
 
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: PHP Warcraft III Replay Parser
Reply #54 - Sep 7th, 2005 at 1:36pm
Post Tools
The page works fine, it must be your ISP.
A replay file is divided into more than a single compressed block and you have to uncompress them separately, one by one.
  
Back to top
WWWICQ  
IP Logged
 
_seym.
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 4th, 2004
Re: PHP Warcraft III Replay Parser
Reply #55 - Sep 7th, 2005 at 2:24pm
Post Tools
ok. ty, then.
if anyone encounteres the same problem and knows how to solve it or even did already solve it, please notify me! i'd really like to run this great script on my website.
btw.: i do know that the replay is split into compressed and uncompressed data. to problem is the header['header_size'] field which contains the complete filesize and makes the file position indicator go --> eof. so theres no data left to gzinflate();

as mentioned above, it would be great if anyone was able to help me ^^

mfg,
_seym.
  
Back to top
 
IP Logged
 
Julas.wtfwrongpass
Grunt
**
Offline



Posts: 84
Joined: May 11th, 2004
Re: PHP Warcraft III Replay Parser
Reply #56 - Sep 7th, 2005 at 4:26pm
Post Tools
Erm... my last answer was for tiagojco Wink I don't know why you get different values on different servers and unforunately I don't have time now to investigate.
  
Back to top
WWWICQ  
IP Logged
 
_seym.
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Dec 4th, 2004
Re: PHP Warcraft III Replay Parser
Reply #57 - Sep 7th, 2005 at 4:43pm
Post Tools
Embarrassed 
omg... sry...
...
whatever. okay. i'll try to solve it on my own. i'll tell u if i find a fix or something else.
ty anyway.

_seym.
  
Back to top
 
IP Logged
 
tiagojco
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Sep 7th, 2005
Re: PHP Warcraft III Replay Parser
Reply #58 - Sep 7th, 2005 at 6:17pm
Post Tools
since i cant browse ur page, can u mail me the files i would have access to ?! it would be of great help.

thnx
  
Back to top
 
IP Logged
 
Hesiode
Peon
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jun 15th, 2004
Re: PHP Warcraft III Replay Parser
Reply #59 - Sep 7th, 2005 at 11:49pm
Post Tools
Hi,

How add some word to chat ?

I know it's impossible with your script, but have you a idea for make that ?

Many thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 6 7
Topic Tools