Changeset 195


Ignore:
Timestamp:
Jan 8, 2008, 10:25:16 AM (17 years ago)
Author:
maron
Message:

Oprava projektu online hráči

Location:
projectonlineplayes
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • projectonlineplayes/create_xml.php

    r194 r195  
    22$Hostname = 'localhost';
    33$Username = 'root';
    4 $Password = '';
    5 $Database = 'mangos'; // must contains characters table
     4$Password = 'gurubashi';
     5$Database = 'characters'; // must contains characters table
    66$RealmHostname = $Hostname;
    77$RealmUsername = $Username;
     
    99$RealmDatabase = 'realmd';  // must contains zone_coordinates and accounts table
    1010$EmuVersion = '4500';
    11 $Owner = 'Admin';
    12 $ServerName = 'Free WoW server';
    13 $ServerAddress = 'realmlist';
     11$Owner = 'Chronos';
     12$ServerName = 'Heroes of Fantasy';
     13$ServerAddress = 'wow.zdechov.net';
    1414$Patch = '2.3';
    1515$Registration = 'Open';
    1616$MaxPlayers = '200';
    17 $XP = 'blizzlike';
     17$XP = '2XP';
    1818$DatabaseEncoding = 'utf8';
    1919
     
    3131  $Result =
    3232'<?xml version="1.0" encoding="UTF-8"'."?>\r\n".
     33'<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"'.">\r\n".
    3334"  <server>\r\n".
    3435"    <servername>".$ServerName."</servername>\r\n".
  • projectonlineplayes/source/PHP - load info about server/xml.php

    r194 r195  
    5858  } // END function GetServerInfo
    5959
    60   $info = GetServerInfo('onlineplayers.xml');
     60  $info = GetServerInfo('http://wow.zdechov.net/projectonlineplayes/create_xml.php');
    6161 
    6262  echo '<table>';
  • projectonlineplayes/source/PHP - create xml mangos/create_xml.php

    r194 r195  
    33$Username = 'root';
    44$Password = '';
    5 $Database = 'mangos'; // must contains characters table
     5$Database = 'characters'; // must contains characters table
    66$RealmHostname = $Hostname;
    77$RealmUsername = $Username;
     
    3131  $Result =
    3232'<?xml version="1.0" encoding="UTF-8"'."?>\r\n".
     33'<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"'.">\r\n".
    3334"  <server>\r\n".
    3435"    <servername>".$ServerName."</servername>\r\n".
  • projectonlineplayes/source/xml - example/onlineplayers.xml

    r194 r195  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!DOCTYPE server SYSTEM "onlineplayers.dtd">
     2<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd">
    33<server>
    44  <servername>Heroes Of Fantasy</servername>
Note: See TracChangeset for help on using the changeset viewer.