Changeset 195
- Timestamp:
- Jan 8, 2008, 10:25:16 AM (17 years ago)
- Location:
- projectonlineplayes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
projectonlineplayes/create_xml.php
r194 r195 2 2 $Hostname = 'localhost'; 3 3 $Username = 'root'; 4 $Password = ' ';5 $Database = ' mangos'; // must contains characters table4 $Password = 'gurubashi'; 5 $Database = 'characters'; // must contains characters table 6 6 $RealmHostname = $Hostname; 7 7 $RealmUsername = $Username; … … 9 9 $RealmDatabase = 'realmd'; // must contains zone_coordinates and accounts table 10 10 $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'; 14 14 $Patch = '2.3'; 15 15 $Registration = 'Open'; 16 16 $MaxPlayers = '200'; 17 $XP = ' blizzlike';17 $XP = '2XP'; 18 18 $DatabaseEncoding = 'utf8'; 19 19 … … 31 31 $Result = 32 32 '<?xml version="1.0" encoding="UTF-8"'."?>\r\n". 33 '<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"'.">\r\n". 33 34 " <server>\r\n". 34 35 " <servername>".$ServerName."</servername>\r\n". -
projectonlineplayes/source/PHP - load info about server/xml.php
r194 r195 58 58 } // END function GetServerInfo 59 59 60 $info = GetServerInfo(' onlineplayers.xml');60 $info = GetServerInfo('http://wow.zdechov.net/projectonlineplayes/create_xml.php'); 61 61 62 62 echo '<table>'; -
projectonlineplayes/source/PHP - create xml mangos/create_xml.php
r194 r195 3 3 $Username = 'root'; 4 4 $Password = ''; 5 $Database = ' mangos'; // must contains characters table5 $Database = 'characters'; // must contains characters table 6 6 $RealmHostname = $Hostname; 7 7 $RealmUsername = $Username; … … 31 31 $Result = 32 32 '<?xml version="1.0" encoding="UTF-8"'."?>\r\n". 33 '<!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"'.">\r\n". 33 34 " <server>\r\n". 34 35 " <servername>".$ServerName."</servername>\r\n". -
projectonlineplayes/source/xml - example/onlineplayers.xml
r194 r195 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE server SYSTEM " onlineplayers.dtd">2 <!DOCTYPE server SYSTEM "http://wow.zdechov.net/projectonlineplayes/onlineplayers.dtd"> 3 3 <server> 4 4 <servername>Heroes Of Fantasy</servername>
Note:
See TracChangeset
for help on using the changeset viewer.