Changeset 516
- Timestamp:
- Mar 23, 2009, 10:32:20 PM (16 years ago)
- Location:
- trunk/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pages/online.php
r515 r516 37 37 $db -> select_db($db_characters); 38 38 $sql = $db -> query("SELECT guid,name,race,class,zone,map, 39 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS highest_rank,40 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1) AS UNSIGNED) AS level,41 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`data`, ' ', ".(CHAR_DATA_OFFSET_GUILD_ID+1)."), ' ', -1) AS UNSIGNED) AS arena_points,42 mid(lpad( hex( CAST(substring_index(substring_index(data,' ',".(CHAR_DATA_OFFSET_GENDER+1)."),' ',-1) as unsigned) ),8,'0'),4,1) ASgender39 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`characters`.`data`, ' ', ".(CHAR_DATA_OFFSET_HONOR_POINTS+1)."), ' ', -1) AS UNSIGNED) AS honor , 40 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`characters`.`data`, ' ', ".(CHAR_DATA_OFFSET_LEVEL+1)."), ' ', -1) AS UNSIGNED) AS level, 41 CAST( SUBSTRING_INDEX(SUBSTRING_INDEX(`characters`.`data`, ' ', ".(PLAYER_FIELD_ARENA_CURRENCY +1)."), ' ', -1) AS UNSIGNED) as GNAME, 42 mid(lpad( hex( CAST(substring_index(substring_index(data,' ',".(CHAR_DATA_OFFSET_GENDER+1)."),' ',-1) as unsigned) ),8,'0'),4,1) as gender 43 43 FROM `characters` WHERE `online`= 1 ORDER BY `".$order_by."` $order_dir;"); 44 44 while($row = $sql -> fetch_array()) -
trunk/pages/reg_config.php
r442 r516 1 1 <?php 2 2 $AllowedRegistrationCountPerDay = 1; 3 $YesterdayMaxPlayers = 2 49;3 $YesterdayMaxPlayers = 200; 4 4 $MaximumAccountCount = 15651; 5 5 ?>
Note:
See TracChangeset
for help on using the changeset viewer.