#   ! [ l o g o ] ( h t t p : / / w w w 1 1 . p i c - u p l o a d . d e / 2 7 . 0 6 . 1 5 / u 7 8 8 6 x 4 h i 9 y h . p n g )   A o W o W 
 
 
 
 
 
 # #   B u i l d   S t a t u s 
 
 ! [ f u c k   i t   s h i p   i t ] ( h t t p : / / f o r t h e b a d g e . c o m / i m a g e s / b a d g e s / f u c k - i t - s h i p - i t . s v g ) 
 
 
 
 
 
 # #   I n t r o d u c t i o n 
 
 
 
 A o W o W   i s   a   D a t a b a s e   t o o l   f o r   W o r l d   o f   W a r c r a f t   v 3 . 3 . 5   ( b u i l d   1 2 3 4 0 )     
 
 I t   i s   b a s e d   u p o n   t h e   o t h e r   f a m o u s   D a t a b a s e   t o o l   f o r   W o W ,   f e a t u r i n g   t h e   r e d   s m i l i n g   r o c k e t .     
 
 W h i l e   t h e   f i r s t   r e l e a s e s   c a n   b e   f o u n d   a s   e a r l y   a s   2 0 0 8 ,   t o d a y   i t   i s   i m p o s s i b l e   t o   s a y   w h o   c r e a t e d   t h i s   p r o j e c t .     
 
 T h i s   i s   a   c o m p l e t e   r e w r i t e   o f   t h e   s e r v e r s i d e   p h p   c o d e   a n d   u p d a t e   t o   t h e   c l i e n t s i d e   j a v a s c r i p t s   f r o m   2 0 0 8   t o   s o m e t h i n g   2 0 1 3 i s h . 
 
 
 
 I   m y s e l f   t a k e   n o   c r e d i t   f o r   t h e   c l i e n t s i d e   s c r i p t i n g ,   d e s i g n   a n d   l a y o u t   t h a t   t h e s e   p h p - s c r i p t s   c a t e r   t o .     
 
 A l s o ,   t h i s   p r o j e c t   i s   n o t   m e a n t   t o   b e   u s e d   f o r   c o m m e r c i a l   p u p o s e s   o f   a n y   k i n d ! 
 
 
 
 
 
 # #   R e q u i r e m e n t s 
 
 
 
 +   W e b s e r v e r   r u n n i n g   P H P   e"  5 . 5 . 0   i n c l u d i n g   e x t e n s i o n s : 
 
   +   S i m p l e X M L 
 
   +   G D 
 
   +   M y s q l i 
 
   +   m b S t r i n g 
 
 +   M y S Q L   e"  5 . 5 . 3 0 
 
 
 
 +   s u b m o d u l e s   r e q u i r e   c m a k e :   P l e a s e   r e f e r   t o   t h e   i n d i v i d u a l   r e p o s i t o r i e s   f o r   d e t a i l e d   i n f o r m a t i o n 
 
   +   [ M P Q E x t r a c t o r ] ( h t t p s : / / g i t h u b . c o m / i a m c a l / M P Q E x t r a c t o r ) 
 
   +   [ B L P C o n v e r t e r ] ( h t t p s : / / g i t h u b . c o m / K a n m a / B L P C o n v e r t e r ) 
 
 
 
 
 
 # #   I n s t a l l 
 
 
 
 1 .   *   A c q u i r e   t h i s   r e p o s i t o r y   ` g i t   c l o n e   g i t @ g i t h u b . c o m : S a r j u u k / a o w o w . g i t   a o w o w ` 
 
 2 .   *   A c q u i r e   t h e   r e q u i r e d   s u b m o d u l e s :   ` g i t   s u b m o d u l e   u p d a t e   - - i n i t   i n c l u d e s / t o o l s / M P Q E x t r a c t o r / `   f r o m   i n s i d e   t h e   p r o j e c t   d i r e c t o r y 
 
 3 .   *   P r e p a r e   t h e   D B ,   c h e c k   t h a t   t h e   a c c o u n t   y o u   a r e   g o i n g   t o   u s e   h a s   * * f u l l * *   a c c e s s   o n   t h e   d a t a b a s e   A o W o W   i s   g o i n g   t o   o c c u p y   a n d   i d e a l l y   o n l y   * * r e a d * *   a c c e s s   o n   t h e   w o r l d   d a t a b a s e   y o u   a r e   g o i n g   t o   r e f e r e n c e . 
 
   *   u n p a c k   ` s e t u p / d b _ s t r u c t u r e . 7 z ` a n d   i m p o r t   i t   i n t o   t h e   A o W o W - D B   ` m y s q l   - p   { y o u r - d b - h e r e }   <   p a t h / t o / s t r u c t u r e . s q l ` 
 
 4 .   *   s e e   t o   i t ,   t h a t   t h e   w e b   s e r v e r   i s   a b l e   t o   w r i t e   t h e   f o l l o w i n g   d i r e c t o r i e s :   ` c a c h e / ` ,   ` s t a t i c / `   a n d   ` c o n f i g / ` 
 
 5 .   *   c o m p i l e   t h e   M P Q E x t r a c t o r 
 
   *   e x t r a c t   t h e   f o l l o w i n g   d i r e c t o r i e s   f r o m   t h e   c l i e n t   a r c h i v e s   i n t o   ` s e t u p / m p q d a t a / ` ,   w h i l e   m a i n t a i n i n g   p a t c h   o r d e r   ( s u f f i x :   1   - >   9   - >   A   - >   Z ) 
 
   *   . .   f o r   e v e r y   l o c a l e   y o u   a r e   g o i n g   t o   u s e : 
 
 ` ` ` 
 
 < l o c a l e C o d e > / D B F i l e s C l i e n t / 
 
 < l o c a l e C o d e > / I n t e r f a c e / W o r l d M a p / 
 
 ` ` ` 
 
   *   . .   o n c e   i s   e n o u g h   ( s t i l l   a p p l y   t h e   l o c a l e C o d e   t h o u g h ) : 
 
 ` ` ` 
 
 < l o c a l e C o d e > / I n t e r f a c e / T a l e n t F r a m e / 
 
 < l o c a l e C o d e > / I n t e r f a c e / G l u e s / C r e d i t s / 
 
 < l o c a l e C o d e > / I n t e r f a c e / I c o n s / 
 
 < l o c a l e C o d e > / I n t e r f a c e / S p e l l b o o k / 
 
 < l o c a l e C o d e > / I n t e r f a c e / P a p e r D o l l / 
 
 < l o c a l e C o d e > / I n t e r f a c e / G L U E S / C H A R A C T E R C R E A T E / 
 
 < l o c a l e C o d e > / I n t e r f a c e / P i c t u r e s 
 
 < l o c a l e C o d e > / I n t e r f a c e / P v P R a n k B a d g e s 
 
 < l o c a l e C o d e > / I n t e r f a c e / F l a v o r I m a g e s 
 
 < l o c a l e C o d e > / I n t e r f a c e / C a l e n d a r / H o l i d a y s / 
 
 ` ` ` 
 
   *   . .   o p t i o n a l y   ( f o r   o t h e r   u s e s ) : 
 
 ` ` ` 
 
 < l o c a l e C o d e > / I n t e r f a c e / G L U E S / L O A D I N G S C R E E N S / 
 
 ` ` ` 
 
 6 .   *   r u n   t h e   i n i t i a l   s e t u p   f r o m   t h e   C L I   ` p h p   a o w o w   - - f i r s t r u n ` .   I t   s h o u l d   g u i d e   y o u   t h r o u g h   w i t h   m i n i m a l   i n p u t   r e q u i r e d   f r o m   y o u r   e n d . 
 
     T h i s   w i l l   t a k e   s o m e   t i m e   t h o u g h ,   e s p e c i a l l y   c o m p i l i n g   t h e   z o n e - i m a g e s .   U s e   i t   t o   f a m i l i a r i z e   y o u r s e l f   w i t h   t h e   o t h e r   f u n c t i o n s   t h i s   s e t u p   h a s .   Y e s ,   I ' m   d e a d   s e r i o u s :   * G o   r e a d   t h e   c o d e ! *   I t   w i l l   h e l p   y o u   u n d e r s t a n d   h o w   t o   c o n f i g u r e   A o W o W   a n d   k e e p   i t   i n   s y n c   w i t h   y o u r   w o r l d   d a t a b a s e . 
 
 
 
 
 
 # #   T r o u b l e s h o o t i n g 
 
 
 
 Q :   T h e   P a g e   a p p e a r s   w h i t e ,   w i t h o u t   a n y   s t y l e s .     
 
 A :   T h e   s t a t i c   c o n t e n t   i s   n o t   b e i n g   d i s p l a y e d .   Y o u   a r e   e i t h e r   u s i n g   S S L   a n d   A o W o W   i s   u n a b l e   t o   d e t e c t   i t   o r   S T A T I C _ H O S T   i s   n o t   d e f i n e d   p o p e r l y .   E i t h e r   w a y   t h i s   c a n   b e   f i x e d   v i a   c o n f i g   ` p h p   a o w o w   - - s i t e c o n f i g ` 
 
 
 
 Q :   S o m e   g e n e r a t e d   i m a g e s   a p p e a r   d i s t o r t e d   o r   h a v e   a l p h a - c h a n n e l   i s s u e s .     
 
 A :   I m a g e   c o m p r e s s i o n   i s   b e y o n d   m y   u n d e r s t a n d i n g ,   s o   i   a m   u n a b l e   t o   f i x   t h e s e   i s s u e s   w i t h i n   t h e   b l p R e a d e r . 
 
   B U T   y o u   c a n   c o n v e r t   t h e   a f f e c t e d   b l p   f i l e   i n t o   a   p n g   f i l e   i n   t h e   s a m e   d i r e c t o r y ,   u s i n g   t h e   p r o v i d e d   B L P C o n v e r t e r . 
 
   A o W o W   w i l l   p r i o r i z e   p n g   f i l e s   o v e r   b l p   f i l e s . 
 
 
 
 
 
 # #   T h a n k s 
 
 
 
 @ m i x :   f o r   p r o v i d i n g   t h e   p h p - s c r i p t   t o   p a r s e   . b l p   a n d   . d b c   i n t o   u s a b l e   i m a g e s   a n d   t a b l e s     
 
 @ L o r d J Z :   t h e   w r a p p e r - c l a s s   f o r   D B S i m p l e ;   t h e   b a s i c   i d e a   f o r   t h e   u s e r - c l a s s     
 
 @ k l i v e r :   b a s i c   i m p l e m e n t a t i o n   o f   s c r e e n s h o t   u p l o a d s     
 
 
 
 
 
 # #   S p e c i a l   T h a n k s 
 
 S a i d   w e b s i t e   w i t h   t h e   r e d   s m i l i n g   r o c k e t ,   f o r   p r o v i d i n g   t h i s   b e a u t i f u l l   w e b s i t e !     
 
 P l e a s e   d o   n o t   r e a g a r d   t h i s   p r o j e c t   a s   b l a t a n t   r i p - o f f ,   r a t h e r   a s   " W e   d o   r e a l l y   l i k e d   y o u r   p r e s e n t a t i o n ,   b u t   s i n c e   t i m e   a n d   c o n t e n t   p r o g r e s s e s ,   y o u   a r e   s a d l y   n o   l o n g e r   s u p p l y i n g   t h e   d a t a   w e   n e e d " . 
 
 
 
 ! [ u s e s   b a d g e s ] ( h t t p : / / f o r t h e b a d g e . c o m / i m a g e s / b a d g e s / u s e s - b a d g e s . s v g ) 