#1470 This is a huge update. It contains all changes we made to the system on the
official ryzom servers. I removed non open source content though. So this version is running on live servers and works! --HG-- branch : gsoc2012-achievementshg/feature/gsoc2013-dfighter
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
class Stats {
|
||||
#private $user;
|
||||
|
||||
function Stats() {
|
||||
#$this->user = $user;
|
||||
}
|
||||
|
||||
function register() { // register the stats code
|
||||
|
||||
include_once("script/statsdb.php");
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function registerValue($name,$func) { // register to listen for a value
|
||||
global $_DISPATCHER;
|
||||
|
||||
$tmp = new Callback($this,$func);
|
||||
$_DISPATCHER->registerValue($name,$tmp);
|
||||
}
|
||||
|
||||
function unregisterValue($name,$callback) { // unregister listening
|
||||
global $_DISPATCHER;
|
||||
|
||||
$_DISPATCHER->unregisterValue($name,$callback);
|
||||
}
|
||||
|
||||
function registerEntity($name,$func) { // register to listen for an entity
|
||||
global $_DISPATCHER;
|
||||
|
||||
$tmp = new Callback($this,$func);
|
||||
$_DISPATCHER->registerEntity($name,$tmp);
|
||||
}
|
||||
|
||||
function unregisterEntity($name,$callback) { // unregister
|
||||
global $_DISPATCHER;
|
||||
|
||||
$_DISPATCHER->unregisterEntity($name,$callback);
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
class XMLfile {
|
||||
private $ident;
|
||||
private $xml;
|
||||
|
||||
private $curr;
|
||||
|
||||
function XMLfile($i) {
|
||||
$this->ident = $i;
|
||||
$this->xml = new XMLNode($this->ident);
|
||||
$this->curr = $this->xml;
|
||||
}
|
||||
|
||||
function getIdent() {
|
||||
return $this->ident;
|
||||
}
|
||||
|
||||
function addXML($name,$attrs,$open) {
|
||||
if($open == true) {
|
||||
if($name == "__KEY__") {
|
||||
$x = explode(".",$attrs["VALUE"]);
|
||||
if(sizeof($x) > 1) {
|
||||
$v = $x[1];
|
||||
$a = array("sheetid"=>$attrs["VALUE"]);
|
||||
}
|
||||
else {
|
||||
$v = $attrs["VALUE"];
|
||||
$a = array();
|
||||
}
|
||||
$this->curr = new XMLNode($v,null,$this->curr);
|
||||
foreach($a as $key=>$elem) {
|
||||
$this->curr->addArg($key,$elem);
|
||||
}
|
||||
$tmp = $this->curr->getParent();
|
||||
$tmp->addChild($this->curr);
|
||||
}
|
||||
elseif($name == "__VAL__") {
|
||||
$this->curr->setValue($attrs["VALUE"]);
|
||||
}
|
||||
else {
|
||||
$this->curr = new XMLNode($name,null,$this->curr);
|
||||
if(isset($attrs["VALUE"])) {
|
||||
$this->curr->addArg("value",$attrs["VALUE"]);
|
||||
}
|
||||
$tmp = $this->curr->getParent();
|
||||
$tmp->addChild($this->curr);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if($name == "__KEY__") {
|
||||
// do nothing
|
||||
}
|
||||
elseif($name == "__VAL__") {
|
||||
$this->curr = $this->curr->getParent();
|
||||
}
|
||||
elseif($name == $this->curr->getName()) {
|
||||
if($this->curr->getArg("value") !== null) {
|
||||
$this->curr->setValue($this->curr->getArg("value"));
|
||||
$this->curr->clearArg("value");
|
||||
}
|
||||
$this->curr = $this->curr->getParent();
|
||||
}
|
||||
else {
|
||||
$this->curr = $this->curr->getParent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function generate($i) {
|
||||
return $this->xml->generate($i);
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
class XMLgenerator {
|
||||
private $def = array();
|
||||
private $files = array();
|
||||
private $wildcard = array();
|
||||
|
||||
function XMLgenerator() {
|
||||
//load xml def & filegen
|
||||
|
||||
#$this->def['xml/CLEAR'] = array("stats");
|
||||
require_once("xmldef/public.php");
|
||||
$this->files["public"] = new XMLfile("public");
|
||||
|
||||
require_once("xmldef/logs.php");
|
||||
$this->files["logs"] = new XMLfile("logs");
|
||||
|
||||
require_once("xmldef/stats.php");
|
||||
$this->files["stats"] = new XMLfile("stats");
|
||||
|
||||
require_once("xmldef/faction.php");
|
||||
$this->files["faction"] = new XMLfile("faction");
|
||||
|
||||
require_once("xmldef/inventory.php");
|
||||
$this->files["inventory"] = new XMLfile("inventory");
|
||||
|
||||
require_once("xmldef/shop.php");
|
||||
$this->files["shop"] = new XMLfile("shop");
|
||||
|
||||
require_once("xmldef/fame.php");
|
||||
$this->files["fame"] = new XMLfile("fame");
|
||||
|
||||
require_once("xmldef/knowledge.php");
|
||||
$this->files["knowledge"] = new XMLfile("knowledge");
|
||||
|
||||
require_once("xmldef/social.php");
|
||||
$this->files["social"] = new XMLfile("social");
|
||||
|
||||
require_once("xmldef/skills.php");
|
||||
$this->files["skills"] = new XMLfile("skills");
|
||||
|
||||
require_once("xmldef/missions.php");
|
||||
$this->files["missions"] = new XMLfile("missions");
|
||||
|
||||
require_once("xmldef/debug.php");
|
||||
$this->files["debug"] = new XMLfile("debug");
|
||||
}
|
||||
|
||||
function addWildcard($w,$ident) {
|
||||
$this->wildcard[] = array($ident,$w);
|
||||
}
|
||||
|
||||
function xml_split($pathid,$name,$attrs,$open) {
|
||||
global $tmp_log_xmlgen_time;
|
||||
$microstart = explode(' ',microtime());
|
||||
$start_time = $microstart[0] + $microstart[1];
|
||||
|
||||
#echo $pathid." => ".$name."<br>";
|
||||
if(is_array($this->def[$pathid])) {
|
||||
foreach($this->def[$pathid] as $elem) {
|
||||
#echo $elem."<br>";
|
||||
$this->files[$elem]->addXML($name,$attrs,$open);
|
||||
}
|
||||
}
|
||||
|
||||
foreach($this->wildcard as $elem) {
|
||||
if($elem[1] == substr($pathid,0,strlen($elem[1]))) {
|
||||
$this->files[$elem[0]]->addXML($name,$attrs,$open);
|
||||
}
|
||||
}
|
||||
|
||||
$microstop = explode(' ',microtime());
|
||||
$stop_time = $microstop[0] + $microstop[1];
|
||||
|
||||
$tmp_log_xmlgen_time += ($stop_time - $start_time);
|
||||
}
|
||||
|
||||
function generate() {
|
||||
global $cdata,$CONF;
|
||||
|
||||
foreach($this->files as $elem) {
|
||||
$xml = '<?xml version="1.0" encoding="UTF-8" ?>'."\n";
|
||||
$xml .= "<xml>\n";
|
||||
$xml .= " <cached>".time()."</cached>\n";
|
||||
$xml .= " <uniqueid>".$cdata['cid']."</uniqueid>\n";
|
||||
$xml .= " <accountid>".$cdata['aid']."</accountid>\n";
|
||||
$xml .= " <charslotid>".$cdata['sid']."</charslotid>\n";
|
||||
|
||||
$xml .= $elem->generate(' ');
|
||||
|
||||
$xml .= "</xml>";
|
||||
|
||||
|
||||
//store
|
||||
$pth = $CONF['export_xml_path'].$elem->getIdent()."/".($cdata['cid']%10);
|
||||
|
||||
if(!is_dir($pth)) {
|
||||
mkdir($pth,0777,true);
|
||||
}
|
||||
|
||||
$f = fopen($pth."/".$cdata['cid'].".xml","w");
|
||||
fwrite($f,$xml);
|
||||
fclose($f);
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
class XMLNode {
|
||||
private $name;
|
||||
private $value = null;
|
||||
private $args = array();
|
||||
private $children = array();
|
||||
private $parent = null;
|
||||
|
||||
function XMLNode($n = null,$v = null,$p = null) {
|
||||
$this->name = $n;
|
||||
$this->value = $v;
|
||||
$this->parent = $p;
|
||||
}
|
||||
|
||||
function getParent() {
|
||||
return $this->parent;
|
||||
}
|
||||
|
||||
function getName() {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
function setName($n) {
|
||||
$this->name = $n;
|
||||
}
|
||||
|
||||
function setValue($v) {
|
||||
$this->value = $v;
|
||||
}
|
||||
|
||||
function addArg($k,$v) {
|
||||
$this->args[$k] = $v;
|
||||
}
|
||||
|
||||
function getArg($k) {
|
||||
return $this->args[$k];
|
||||
}
|
||||
|
||||
function clearArg($k) {
|
||||
unset($this->args[$k]);
|
||||
}
|
||||
|
||||
function addChild($c) {
|
||||
$this->children[] = $c;
|
||||
}
|
||||
|
||||
function generate($indent) {
|
||||
$xml = "";
|
||||
#for($i=0;$i<$indent;$i++) {
|
||||
$xml .= $indent;
|
||||
#}
|
||||
$xml .= "<".strtolower($this->name);
|
||||
foreach($this->args as $key=>$elem) {
|
||||
$xml .= ' '.strtolower($key).'="'.$elem.'"';
|
||||
}
|
||||
|
||||
if(sizeof($this->children) > 0) {
|
||||
$xml .= ">\n";
|
||||
foreach($this->children as $elem) {
|
||||
$xml .= $elem->generate($indent.' ');
|
||||
}
|
||||
#for($i=0;$i<$indet;$i++) {
|
||||
$xml .= $indent;
|
||||
#}
|
||||
$xml .= "</".strtolower($this->name).">\n";
|
||||
}
|
||||
elseif($this->value !== null) {
|
||||
$xml .= ">".$this->value."</".strtolower($this->name).">\n";
|
||||
}
|
||||
else {
|
||||
$xml .= " />\n";
|
||||
}
|
||||
|
||||
return $xml;
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/*
|
||||
* Code from:
|
||||
* http://www.assemblysys.com/dataServices/php_pointinpolygon.php
|
||||
*
|
||||
* Probably not free to use!!!
|
||||
*/
|
||||
|
||||
class pointLocation {
|
||||
var $pointOnVertex = true; // Check if the point sits exactly on one of the vertices
|
||||
|
||||
function pointLocation() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
function pointInPolygon($point, $polygon, $pointOnVertex = true) {
|
||||
$this->pointOnVertex = $pointOnVertex;
|
||||
|
||||
// Transform string coordinates into arrays with x and y values
|
||||
$point = $this->pointStringToCoordinates($point);
|
||||
$vertices = array();
|
||||
foreach($polygon as $vertex) {
|
||||
$vertices[] = $this->pointStringToCoordinates($vertex);
|
||||
}
|
||||
|
||||
// Check if the point sits exactly on a vertex
|
||||
if($this->pointOnVertex == true and $this->pointOnVertex($point, $vertices) == true) {
|
||||
return "vertex";
|
||||
}
|
||||
|
||||
// Check if the point is inside the polygon or on the boundary
|
||||
$intersections = 0;
|
||||
$vertices_count = count($vertices);
|
||||
|
||||
for($i=1; $i < $vertices_count; $i++) {
|
||||
$vertex1 = $vertices[$i-1];
|
||||
$vertex2 = $vertices[$i];
|
||||
if($vertex1['y'] == $vertex2['y'] and $vertex1['y'] == $point['y'] and $point['x'] > min($vertex1['x'], $vertex2['x']) and $point['x'] < max($vertex1['x'], $vertex2['x'])) { // Check if point is on an horizontal polygon boundary
|
||||
return "boundary";
|
||||
}
|
||||
if($point['y'] > min($vertex1['y'], $vertex2['y']) and $point['y'] <= max($vertex1['y'], $vertex2['y']) and $point['x'] <= max($vertex1['x'], $vertex2['x']) and $vertex1['y'] != $vertex2['y']) {
|
||||
$xinters = ($point['y'] - $vertex1['y']) * ($vertex2['x'] - $vertex1['x']) / ($vertex2['y'] - $vertex1['y']) + $vertex1['x'];
|
||||
if($xinters == $point['x']) { // Check if point is on the polygon boundary (other than horizontal)
|
||||
return "boundary";
|
||||
}
|
||||
if($vertex1['x'] == $vertex2['x'] || $point['x'] <= $xinters) {
|
||||
$intersections++;
|
||||
}
|
||||
}
|
||||
}
|
||||
// If the number of edges we passed through is even, then it's in the polygon.
|
||||
if ($intersections % 2 != 0) {
|
||||
return "inside";
|
||||
}
|
||||
else {
|
||||
return "outside";
|
||||
}
|
||||
}
|
||||
|
||||
function pointOnVertex($point, $vertices) {
|
||||
foreach($vertices as $vertex) {
|
||||
if ($point == $vertex) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
function pointStringToCoordinates($pointString) {
|
||||
$coordinates = explode(" ", $pointString);
|
||||
return array("x" => $coordinates[0], "y" => $coordinates[1]);
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
function item_grade($item) {
|
||||
global $DBc;
|
||||
|
||||
#echo $item;
|
||||
|
||||
$res = $DBc->sendSQL("SELECT grade FROM ryzom_nimetu_item_data WHERE sheetid='".str_replace(".sitem","",$item)."'","ARRAY");
|
||||
|
||||
#echo $res[0]['grade'];
|
||||
|
||||
return $res[0]['grade'];
|
||||
}
|
||||
?>
|
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$region = array();
|
||||
|
||||
|
||||
|
||||
?>
|
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
$region = array();
|
||||
|
||||
$region['place_silan'] = array("8182 -12294","11346 -12300","11346 -10252","8172 -10250","8182 -12294");
|
||||
?>
|
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
$region = array();
|
||||
|
||||
$region['place_starting_zone_arena'] = array("10056 -11594 ","10144 -11726 ","10280 -11670 ","10308 -11558 ","10132 -11498 ","10056 -11594");
|
||||
|
||||
$region['region_newbieland_blight_zone'] = array("9376 -10940","9120 -11148","9048 -11780","9624 -11988","9792 -11732","9960 -11388","9376 -10940");
|
||||
|
||||
$region['region_newbieland_hunting_grounds'] = array("10296 -10812","10232 -11164","10080 -11484","10320 -11540","10824 -11540","11112 -11268","11080 -10804","10640 -10644","10296 -10812");
|
||||
|
||||
$region['kami_enclave'] = array("10416 -11654","10352 -11718","10416 -11770","10488 -11710","10416 -11654");
|
||||
|
||||
$region['karavan embassy'] = array("10388 -11818","10320 -11874","10404 -11922","10456 -11858","10388 -11818");
|
||||
|
||||
$region['region_newbieland_kitins_jungle'] = array("8184 -11076","8680 -11036","8704 -10244","8160 -10252","8184 -11076");
|
||||
|
||||
$region['region_newbieland_starting_zone'] = array("9968 -11346","10384 -11582","10788 -11574","10760 -11962","9892 -12014","9812 -11682","9968 -11346");
|
||||
|
||||
$region['place_shattered_ruins_trone'] = array("9678 -10692","9574 -10778","9668 -10846","9784 -10748","9678 -10692");
|
||||
|
||||
$region['place_shattered_ruins_silan'] = array("9558 -10764 ","9700 -10910 ","9616 -11008 ","9864 -11238 ","10158 -11224 ","10280 -11070 ","10166 -10982 ","9986 -10880 ","9878 -10808 ","9684 -10660 ","9558 -10764");
|
||||
|
||||
$region['region_newbieland_the_shattered_ruins'] = array("9472 -10562 ","9336 -10974 ","9824 -11266 ","10252 -11354 ","10328 -11182 ","10272 -11126 ","10288 -11074 ","10356 -11070 ","10308 -10746 ","9804 -10458 ","9472 -10562");
|
||||
|
||||
$region['region_newbieland_shining_lake'] = array("8608 -11244","8840 -11356","9288 -11044","9488 -10644","9360 -10340","8776 -10380","8624 -10676","8608 -11244");
|
||||
|
||||
?>
|
@ -0,0 +1,82 @@
|
||||
<?php
|
||||
$this->registerValue("_money","_statsdb_money");
|
||||
function _statsdb_money($money,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "_money";
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_money) VALUES ('".$cdata['cid']."','".$money."') ON DUPLICATE KEY UPDATE sp_money='".$money."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("_race","_statsdb_race");
|
||||
function _statsdb_race($race,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "_race";
|
||||
|
||||
$race = "r_".strtolower($race);
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_race) VALUES ('".$cdata['cid']."','".$race."') ON DUPLICATE KEY UPDATE sp_race='".$race."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("yubopoints","_statsdb_yubototal");
|
||||
function _statsdb_yubototal($yubo,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "yubopoints";
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_yubototal) VALUES ('".$cdata['cid']."','".$yubo."') ON DUPLICATE KEY UPDATE sp_yubototal='".$yubo."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("petcount","_statsdb_mekcount");
|
||||
function _statsdb_mekcount($count,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "petcount";
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_mekcount) VALUES ('".$cdata['cid']."','".$count."') ON DUPLICATE KEY UPDATE sp_mekcount='".$count."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("skilllist","_statsdb_maxlevel");
|
||||
function _statsdb_maxlevel($skills,$_P,$_CB) {
|
||||
global $cdata,$DBc,$log;
|
||||
$_IDENT = "skilllist";
|
||||
|
||||
$log->logf("rcv skilllist: ".var_export($skills,true));
|
||||
|
||||
$lvl = 0;
|
||||
foreach($skills->skills as $elem) {
|
||||
if($elem->current > $lvl) {
|
||||
$lvl = $elem->current;
|
||||
}
|
||||
}
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_maxlevel) VALUES ('".$cdata['cid']."','".$lvl."') ON DUPLICATE KEY UPDATE sp_maxlevel='".$lvl."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("_guildid","_statsdb_guildid");
|
||||
function _statsdb_guildid($id,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "_guildid";
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_guildid) VALUES ('".$cdata['cid']."','".$id."') ON DUPLICATE KEY UPDATE sp_guildid='".$id."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
|
||||
$this->registerValue("itemcount","_statsdb_itemcount");
|
||||
function _statsdb_itemcount($count,$_P,$_CB) {
|
||||
global $cdata,$DBc;
|
||||
$_IDENT = "itemcount";
|
||||
|
||||
$DBc->sendSQL("INSERT INTO stat_players (sp_char,sp_itemcount) VALUES ('".$cdata['cid']."','".$count."') ON DUPLICATE KEY UPDATE sp_itemcount='".$count."'","NONE");
|
||||
|
||||
$_P->unregisterValue($_IDENT,$_CB);
|
||||
}
|
||||
?>
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class FriendOf extends Entity {
|
||||
public $id = null;
|
||||
|
||||
function FriendOf() {
|
||||
$this->setName("friendof");
|
||||
}
|
||||
|
||||
function getRealID() {
|
||||
$tmp = explode(":",$this->id);
|
||||
|
||||
return $tmp[0];
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class Friend extends Entity {
|
||||
public $id = null;
|
||||
|
||||
function Friend() {
|
||||
$this->setName("friend");
|
||||
}
|
||||
|
||||
function getRealID() {
|
||||
$tmp = explode(":",$this->id);
|
||||
|
||||
return $tmp[0];
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
class Friendlist extends Entity {
|
||||
public $friends = array();
|
||||
public $friendof = array();
|
||||
public $confirmed = false;
|
||||
|
||||
function Friendlist() {
|
||||
$this->setName("friendlist");
|
||||
}
|
||||
|
||||
function countConfirmed() {
|
||||
if($this->confirmed == false) {
|
||||
$count = 0;
|
||||
foreach($this->friends as $elem) {
|
||||
$id = $elem->getRealID();
|
||||
foreach($this->friendof as $elem2) {
|
||||
if($elem2->getRealID() == $id) {
|
||||
$count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$this->confirmed = $count;
|
||||
}
|
||||
|
||||
return $this->confirmed;
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,80 @@
|
||||
<?php
|
||||
class RespawnPoints extends Entity {
|
||||
public $spawns;
|
||||
private $region_map;
|
||||
|
||||
function RespawnPoints() {
|
||||
$this->setName("respawn_points");
|
||||
|
||||
$this->spawns = array();
|
||||
|
||||
$this->region_map = array();
|
||||
$this->region_map['spawn_global_bagne_matis'] = "roots";
|
||||
$this->region_map['spawn_global_bagne_nexus'] = "roots";
|
||||
$this->region_map['spawn_global_route_gouffre_fyros'] = "roots";
|
||||
$this->region_map['spawn_global_route_gouffre_nexus'] = "roots";
|
||||
$this->region_map['spawn_global_route_gouffre_tryker'] = "roots";
|
||||
$this->region_map['spawn_global_route_gouffre_zorai'] = "roots";
|
||||
$this->region_map['spawn_global_sources_fyros'] = "roots";
|
||||
$this->region_map['spawn_global_sources_zorai'] = "roots";
|
||||
$this->region_map['spawn_global_terre_nexus'] = "roots";
|
||||
$this->region_map['spawn_global_terre_zorai'] = "roots";
|
||||
$this->region_map['spawn_global_nexus_bagne'] = "roots";
|
||||
$this->region_map['spawn_global_nexus_route_gouffre'] = "roots";
|
||||
$this->region_map['spawn_global_nexus_terre'] = "roots";
|
||||
// 13/13
|
||||
|
||||
$this->region_map['spawn_global_fyros_matis'] = "desert";
|
||||
$this->region_map['spawn_global_fyros_route_gouffre'] = "desert";
|
||||
$this->region_map['spawn_global_fyros_sources'] = "desert";
|
||||
$this->region_map['spawn_global_fyros_to_zorai'] = "desert";
|
||||
$this->region_map['spawn_kami_place_pyr'] = "desert";
|
||||
$this->region_map['spawn_kami_place_thesos'] = "desert";
|
||||
$this->region_map['spawn_karavan_place_pyr'] = "desert";
|
||||
// 7/7
|
||||
|
||||
$this->region_map['spawn_global_matis_bagne'] = "forest";
|
||||
$this->region_map['spawn_global_matis_fyros'] = "forest";
|
||||
$this->region_map['spawn_global_matis_tryker'] = "forest";
|
||||
$this->region_map['spawn_kami_place_dyron'] = "forest";
|
||||
$this->region_map['spawn_kami_place_yrkanis'] = "forest";
|
||||
$this->region_map['spawn_karavan_place_avalae'] = "forest";
|
||||
$this->region_map['spawn_karavan_place_davae'] = "forest";
|
||||
#$this->region_map['spawn_karavan_place_yrkanis'] = "forest";
|
||||
// 8/7
|
||||
|
||||
$this->region_map['spawn_global_tryker_matis'] = "lakes";
|
||||
$this->region_map['spawn_global_tryker_route_gouffre'] = "lakes";
|
||||
#$this->region_map['spawn_kami_place_fairhaven'] = "lakes";
|
||||
$this->region_map['spawn_karavan_place_avendale'] = "lakes";
|
||||
$this->region_map['spawn_karavan_place_crystabell'] = "lakes";
|
||||
$this->region_map['spawn_karavan_place_fairhaven'] = "lakes";
|
||||
$this->region_map['spawn_karavan_place_windermeer'] = "lakes";
|
||||
// 7/6
|
||||
|
||||
$this->region_map['spawn_kami_place_hoi_cho'] = "jungle";
|
||||
$this->region_map['spawn_kami_place_jen_lai'] = "jungle";
|
||||
$this->region_map['spawn_kami_place_min_cho'] = "jungle";
|
||||
$this->region_map['spawn_global_zorai_route_gouffre'] = "jungle";
|
||||
$this->region_map['spawn_global_zorai_sources'] = "jungle";
|
||||
$this->region_map['spawn_global_zorai_terre'] = "jungle";
|
||||
$this->region_map['spawn_global_zorai_to_fyros'] = "jungle";
|
||||
$this->region_map['spawn_kami_place_zora'] = "jungle";
|
||||
#$this->region_map['spawn_karavan_place_zora'] = "jungle";
|
||||
// 9/8
|
||||
|
||||
}
|
||||
|
||||
function countRegion($r) {
|
||||
$c = 0;
|
||||
|
||||
foreach($this->spawns as $elem) {
|
||||
if($this->region_map[$elem] == $r) {
|
||||
$c++;
|
||||
}
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
class Title extends Entity {
|
||||
public $title_id;
|
||||
public $title;
|
||||
|
||||
function Title() {
|
||||
$this->setName("title");
|
||||
$this->title_id = "";
|
||||
$this->title = null;
|
||||
}
|
||||
|
||||
function loadID() {
|
||||
global $DBc;
|
||||
|
||||
$res = $DBc->sendSQL("SELECT t_id FROM ryzom_title WHERE t_male='".$DBc->mre($this->title)."' OR t_female='".$DBc->mre($this->title)."'","ARRAY");
|
||||
|
||||
$this->title_id = $res[0]['t_id'];
|
||||
}
|
||||
}
|
||||
?>
|
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/UTC__PVPFLAGLASTTIMECHANGE'] = array("debug");
|
||||
$this->def['XML/UTC__PVPRECENTACTIONTIME'] = array("debug");
|
||||
$this->def['XML/UTC__PVPFLAGTIMESETTEDON'] = array("debug");
|
||||
$this->def['XML/_REGIONKILLEDINPVP'] = array("debug");
|
||||
$this->def['XML/_CREATIONPOINTSREPARTITION'] = array("debug");
|
||||
$this->def['XML/UTC__FORBIDAURAUSESTARTDATE'] = array("debug");
|
||||
$this->def['XML/UTC__FORBIDAURAUSEENDDATE'] = array("debug");
|
||||
array_push($this->def['XML/_TITLE'],"debug");
|
||||
$this->def['XML/NAMESTRINGID'] = array("debug");
|
||||
$this->def['XML/_HAIRCUTEDISCOUNT'] = array("debug");
|
||||
$this->addWildcard("XML/_FORBIDPOWERDATES","debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS'] = array("debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS/_AURAACTIVATIONDATES'] = array("debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS/_AURAACTIVATIONDATES/DEACTIVATIONDATE'] = array("debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS/_AURAACTIVATIONDATES/ACTIVATIONDATE'] = array("debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS/_AURAACTIVATIONDATES/CONSUMABLEFAMILYID'] = array("debug");
|
||||
$this->def['XML/_INEFFECTIVEAURAS/_AURAACTIVATIONDATES/POWERTYPE'] = array("debug");
|
||||
$this->def['XML/_MODIFIERSINDB'] = array("debug");
|
||||
$this->addWildcard("XML/_MODIFIERSINDB/BONUS","debug");
|
||||
$this->addWildcard("XML/_MODIFIERSINDB/MALUS","debug");
|
||||
$this->def['XML/ENTITYBASE'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/_SHEETID'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEATTACKMODIFIERONENEMY'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEATTACKMODIFIERONSELF'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MAGICCASTINGMODIFIERONSELF'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MAGICCASTINGMODIFIERONENEMY'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/RANGEATTACKMODIFIERONENEMY'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/RANGEATTACKMODIFIERONSELF'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/ATTACKMODIFIERONSELF'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CHANCETOFAILSTRATEGY'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CHANCETOFAILSPELL'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CHANCETOFAILFABER'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CHANCETOFAILHARVEST'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CHANCETOFAILTRACKING'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEATTACKSLOW'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEESLASHINGDAMAGEARMOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEBLUNTDAMAGEARMOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEPIERCINGDAMAGEARMOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MELEEDAMAGEMODIFIERFACTOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/RANGEDAMAGEMODIFIERFACTOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CREATUREMELEETAKENDAMAGEFACTOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/CREATURERANGETAKENDAMAGEFACTOR'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/COMBATBRICKLATENCYMULTIPLIER'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/MAGICBRICKLATENCYMULTIPLIER'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/ARMORQUALITYMODIFIER'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/WEAPONQUALITYMODIFIER'] = array("debug");
|
||||
$this->def['XML/ENTITYBASE/ARMORABSORBTIONMULTIPLIER'] = array("debug");
|
||||
$this->def['XML/RINGREWARDPOINTS'] = array("debug");
|
||||
$this->def['XML/RINGREWARDPOINTS/RINGREWARDPOINTS/__KEY__'] = array("debug");
|
||||
$this->def['XML/RINGREWARDPOINTS/RINGREWARDPOINTS/__VAL__'] = array("debug");
|
||||
$this->addWildcard("XML/_PERSISTENTEFFECTS","debug");
|
||||
$this->def['XML/_PACT'] = array("debug");
|
||||
$this->def['XML/_PACT/PACTNATURE'] = array("debug");
|
||||
$this->def['XML/_PACT/PACTTYPE'] = array("debug");
|
||||
array_push($this->def['XML/_PLAYERPETS'],"debug");
|
||||
array_push($this->def['XML/_PLAYERPETS/__KEY__'],"debug");
|
||||
array_push($this->def['XML/_PLAYERPETS/__VAL__'],"debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/TICKETPETSHEETID'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/PRICE'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/OWNERID'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/STABLEALIAS'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/SLOT'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/ISTPALLOWED'] = array("debug");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/CUSTOMNAME'] = array("debug");
|
||||
$this->def['XML/STARTINGCHARACTERISTICVALUES'] = array("debug");
|
||||
$this->def['XML/STARTINGCHARACTERISTICVALUES/__KEY__'] = array("debug");
|
||||
$this->def['XML/STARTINGCHARACTERISTICVALUES/__VAL__'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR/_ENCYCHARALBUMS'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR/_ENCYCHARALBUMS/ALBUMSTATE'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR/_ENCYCHARALBUMS/THEMAS'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR/_ENCYCHARALBUMS/THEMAS/THEMASTATE'] = array("debug");
|
||||
$this->def['XML/_ENCYCLOCHAR/_ENCYCHARALBUMS/THEMAS/RITETASKSTATEPACKED'] = array("debug");
|
||||
$this->def['XML/_GAMEEVENT'] = array("debug");
|
||||
$this->def['XML/_GAMEEVENT/UTC__DATE'] = array("debug");
|
||||
$this->addWildcard("XML/ENTITYBASE/_ENTITYPOSITION","debug");
|
||||
$this->addWildcard("XML/_ENTITYPOSITION","debug");
|
||||
$this->def['XML/INVISIBLE'] = array("debug");
|
||||
$this->def['XML/AGGROABLE'] = array("debug");
|
||||
$this->def['XML/GODMODE'] = array("debug");
|
||||
|
||||
?>
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/FACTIONPOINTS'] = array("faction");
|
||||
$this->def['XML/FACTIONPOINTS/__KEY__'] = array("faction");
|
||||
$this->def['XML/FACTIONPOINTS/__VAL__'] = array("faction");
|
||||
$this->def['XML/_ORGANIZATION'] = array("faction");
|
||||
$this->def['XML/_ORGANIZATIONSTATUS'] = array("faction");
|
||||
$this->def['XML/_ORGANIZATIONPOINTS'] = array("faction");
|
||||
$this->def['XML/DECLAREDCULT'] = array("faction");
|
||||
$this->def['XML/DECLAREDCIV'] = array("faction");
|
||||
|
||||
?>
|
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
#$this->def['XML/_FAMES/_FAME'] = array("fame");
|
||||
$this->def['XML/_FAMES/_FAME/__KEY__'] = array("fame");
|
||||
$this->def['XML/_FAMES/_FAME/__VAL__'] = array("fame");
|
||||
$this->def['XML/_FAMES/_FAME/__VAL__/FAME'] = array("fame");
|
||||
$this->def['XML/_FAMES/_FAME/__VAL__/FAMEMEMORY'] = array("fame");
|
||||
$this->def['XML/_FAMES/_FAME/__VAL__/LASTFAMECHANGETREND'] = array("fame");
|
||||
|
||||
?>
|
@ -0,0 +1,131 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_MONEY'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/BUILDING'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_ITEMID'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_SHEETID'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_LOCSLOT'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_HP'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_RECOMMENDED'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CREATORID'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_PHRASEID'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_USENEWSYSTEMREQUIREMENT'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_REQUIREDSKILLLEVEL'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CUSTOMTEXT'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_LOCKEDBYOWNER'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/STACKSIZE'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DURABILITY'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/WEIGHT'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/STATENERGY'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DODGEMODIFIER'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PARRYMODIFIER'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTIONFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/MAXSLASHINGPROTECTION'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/MAXBLUNTPROTECTION'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/MAXPIERCINGPROTECTION'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/COLOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/FOCUSBUFF'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/HPBUFF'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/SAPBUFF'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/STABUFF'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION1'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION2'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION3'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/SAPLOAD'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DMG'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/SPEED'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/RANGE'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/ADVERSARYDODGEMODIFIER'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/ADVERSARYPARRYMODIFIER'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION1FACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION2FACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PROTECTION3FACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DESERTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/FORESTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/LACUSTRERESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/JUNGLERESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/PRIMARYROOTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/ELEMENTALCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/ELEMENTALPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/HEALCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/HEALPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERROOM/ROOMINVENTORY/_ITEMS/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__KEY__'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/PETSHEETID'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/LANDSCAPE_X'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/LANDSCAPE_Y'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/LANDSCAPE_Z'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/UTC_DEATHTICK'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/PETSTATUS'] = array("inventory");
|
||||
$this->def['XML/_PLAYERPETS/__VAL__/SATIETY'] = array("inventory");
|
||||
$this->def['XML/INVENTORY'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__KEY__'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_ITEMID'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_SHEETID'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_LOCSLOT'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_HP'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_RECOMMENDED'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CREATORID'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_PHRASEID'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_USENEWSYSTEMREQUIREMENT'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_REQUIREDSKILLLEVEL'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CUSTOMTEXT'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_LOCKEDBYOWNER'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/STACKSIZE'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DURABILITY'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/WEIGHT'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/STATENERGY'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DODGEMODIFIER'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PARRYMODIFIER'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTIONFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/MAXSLASHINGPROTECTION'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/MAXBLUNTPROTECTION'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/MAXPIERCINGPROTECTION'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/COLOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/FOCUSBUFF'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/HPBUFF'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/SAPBUFF'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/STABUFF'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION1'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION2'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION3'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/SAPLOAD'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DMG'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/SPEED'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/RANGE'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/ADVERSARYDODGEMODIFIER'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/ADVERSARYPARRYMODIFIER'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION1FACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION2FACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PROTECTION3FACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DESERTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/FORESTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/LACUSTRERESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/JUNGLERESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/PRIMARYROOTRESISTANCEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/ELEMENTALCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/ELEMENTALPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/HEALCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/HEALPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONPOWERFACTOR'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/_REFINVENTORYSLOT'] = array("inventory");
|
||||
$this->def['XML/INVENTORY/__VAL__/_ITEM/REFINVENTORYID'] = array("inventory");
|
||||
|
||||
?>
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_BOUGHTPHRASES'] = array("knowledge");
|
||||
$this->def['XML/_KNOWNBRICKS'] = array("knowledge");
|
||||
$this->def['XML/_KNOWNPHRASES'] = array("knowledge");
|
||||
$this->def['XML/_MEMORIZEDPHRASES'] = array("knowledge");
|
||||
$this->def['XML/_MEMORIZEDPHRASES/PHRASEDESC/NAME'] = array("knowledge");
|
||||
$this->def['XML/_MEMORIZEDPHRASES/PHRASEDESC/BRICKS'] = array("knowledge");
|
||||
$this->def['XML/RESPAWNPOINTS/RESPAWNPOINTS'] = array("knowledge");
|
||||
|
||||
?>
|
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_FIRSTCONNECTEDTIME'] = array("logs");
|
||||
$this->def['XML/_LASTCONNECTEDTIME'] = array("logs");
|
||||
$this->def['XML/_PLAYEDTIME'] = array("logs");
|
||||
$this->def['XML/_LASTLOGSTATS'] = array("logs");
|
||||
$this->def['XML/_LASTLOGSTATS/LOGINTIME'] = array("logs");
|
||||
$this->def['XML/_LASTLOGSTATS/DURATION'] = array("logs");
|
||||
$this->def['XML/_LASTLOGSTATS/LOGOFFTIME'] = array("logs");
|
||||
|
||||
?>
|
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$this->addWildcard("XML/_MISSIONS","missions");
|
||||
?>
|
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_HAIRTYPE'] = array("public");
|
||||
$this->def['XML/HAIRTYPE'] = array("public");
|
||||
$this->def['XML/_HAIRCOLOR'] = array("public");
|
||||
$this->def['XML/HAIRCOLOR'] = array("public");
|
||||
$this->def['XML/_HATCOLOR'] = array("public");
|
||||
$this->def['XML/_JACKETCOLOR'] = array("public");
|
||||
$this->def['XML/_ARMSCOLOR'] = array("public");
|
||||
$this->def['XML/_TROUSERSCOLOR'] = array("public");
|
||||
$this->def['XML/_FEETCOLOR'] = array("public");
|
||||
$this->def['XML/_HANDSCOLOR'] = array("public");
|
||||
$this->def['XML/_PVPFLAG'] = array("public");
|
||||
$this->def['XML/_GUILDID'] = array("public");
|
||||
$this->def['XML/_TITLE'] = array("public");
|
||||
$this->def['XML/GABARITHEIGHT'] = array("public");
|
||||
$this->def['XML/GABARITTORSOWIDTH'] = array("public");
|
||||
$this->def['XML/GABARITARMSWIDTH'] = array("public");
|
||||
$this->def['XML/GABARITLEGSWIDTH'] = array("public");
|
||||
$this->def['XML/GABARITBREASTSIZE'] = array("public");
|
||||
$this->def['XML/MORPHTARGET1'] = array("public");
|
||||
$this->def['XML/MORPHTARGET2'] = array("public");
|
||||
$this->def['XML/MORPHTARGET3'] = array("public");
|
||||
$this->def['XML/MORPHTARGET4'] = array("public");
|
||||
$this->def['XML/MORPHTARGET5'] = array("public");
|
||||
$this->def['XML/MORPHTARGET6'] = array("public");
|
||||
$this->def['XML/MORPHTARGET7'] = array("public");
|
||||
$this->def['XML/MORPHTARGET8'] = array("public");
|
||||
$this->def['XML/EYESCOLOR'] = array("public");
|
||||
$this->def['XML/TATTOO'] = array("public");
|
||||
$this->def['XML/NORMALPOSITIONS/VEC/POSSTATE'] = array("public");
|
||||
$this->def['XML/NORMALPOSITIONS/VEC/POSSTATE/X'] = array("public");
|
||||
$this->def['XML/NORMALPOSITIONS/VEC/POSSTATE/Y'] = array("public");
|
||||
$this->def['XML/NORMALPOSITIONS/VEC/POSSTATE/Z'] = array("public");
|
||||
$this->def['XML/NORMALPOSITIONS/VEC/POSSTATE/HEADING'] = array("public");
|
||||
$this->def['XML/ENTITYBASE/_NAME'] = array("public");
|
||||
$this->def['XML/ENTITYBASE/_GENDER'] = array("public");
|
||||
$this->def['XML/ENTITYBASE/_SIZE'] = array("public");
|
||||
|
||||
?>
|
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_ITEMSINSHOPSTORE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_PRICE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_RETIREPRICE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/UTC__STARTSALECYCLE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_OWNER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_CONTINENT'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_QUANTITY'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_IDENTIFIER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_ITEMID'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_SHEETID'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_LOCSLOT'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_HP'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_RECOMMENDED'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CREATORID'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_PHRASEID'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/STACKSIZE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_USENEWSYSTEMREQUIREMENT'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CUSTOMTEXT'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_LOCKEDBYOWNER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DURABILITY'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/WEIGHT'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/STATENERGY'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DODGEMODIFIER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PARRYMODIFIER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTIONFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/MAXSLASHINGPROTECTION'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/MAXBLUNTPROTECTION'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/MAXPIERCINGPROTECTION'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/COLOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/FOCUSBUFF'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/HPBUFF'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/SAPBUFF'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/STABUFF'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION1'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION2'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION3'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/SAPLOAD'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DMG'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/SPEED'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/RANGE'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/ADVERSARYDODGEMODIFIER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/ADVERSARYPARRYMODIFIER'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION1FACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION2FACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PROTECTION3FACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DESERTRESISTANCEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/FORESTRESISTANCEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/LACUSTRERESISTANCEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/JUNGLERESISTANCEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/PRIMARYROOTRESISTANCEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/ELEMENTALCASTINGTIMEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/ELEMENTALPOWERFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/OFFENSIVEAFFLICTIONPOWERFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/HEALCASTINGTIMEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/HEALPOWERFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONCASTINGTIMEFACTOR'] = array("shop");
|
||||
$this->def['XML/_ITEMSINSHOPSTORE/_ITEMSFORSALE/_ITEMPTR/_CRAFTPARAMETERS/DEFENSIVEAFFLICTIONPOWERFACTOR'] = array("shop");
|
||||
|
||||
?>
|
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__KEY__'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__/BASE'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__/CURRENT'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__/MAXLVLREACHED'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__/XP'] = array("skills");
|
||||
$this->def['XML/ENTITYBASE/_SKILLS/SKILLS/__VAL__/XPNEXTLVL'] = array("skills");
|
||||
$this->def['XML/SKILLPOINTS'] = array("skills");
|
||||
$this->def['XML/SKILLPOINTS/__KEY__'] = array("skills");
|
||||
$this->def['XML/SKILLPOINTS/__VAL__'] = array("skills");
|
||||
$this->def['XML/SPENTSKILLPOINTS'] = array("skills");
|
||||
$this->def['XML/SPENTSKILLPOINTS/__KEY__'] = array("skills");
|
||||
$this->def['XML/SPENTSKILLPOINTS/__VAL__'] = array("skills");
|
||||
$this->def['XML/SCOREPERMANENTMODIFIERS'] = array("skills");
|
||||
$this->def['XML/SCOREPERMANENTMODIFIERS/__KEY__'] = array("skills");
|
||||
$this->def['XML/SCOREPERMANENTMODIFIERS/__VAL__'] = array("skills");
|
||||
|
||||
?>
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_FRIENDSLIST'] = array("social");
|
||||
$this->def['XML/_ISFRIENDOF'] = array("social");
|
||||
$this->def['XML/FRIENDVISIBILITy'] = array("social");
|
||||
|
||||
?>
|
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
$this->def['XML/_HPB'] = array("stats");
|
||||
$this->def['XML/_PVPPOINT'] = array("stats");
|
||||
$this->def['XML/_DEATHPENALTIES'] = array("stats");
|
||||
$this->def['XML/_DEATHPENALTIES/_NBDEATH'] = array("stats");
|
||||
$this->def['XML/_DEATHPENALTIES/_CURRENTDEATHXP'] = array("stats");
|
||||
$this->def['XML/_DEATHPENALTIES/_DEATHXPTOGAIN'] = array("stats");
|
||||
$this->def['XML/_DEATHPENALTIES/_BONUSUPDATETIME'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_DODGEASDEFENSE'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSCHARACS/_PHYSICALCHARACTERISTICS'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSCHARACS/_PHYSICALCHARACTERISTICS/__KEY__'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSCHARACS/_PHYSICALCHARACTERISTICS/__VAL__'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/BASEWALKSPEED'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/BASERUNSPEED'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/CURRENTWALKSPEED'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/CURRENTRUNSPEED'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__KEY__'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/CURRENT'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/BASE'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/MAX'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/BASEREGENERATEREPOS'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/BASEREGENERATEACTION'] = array("stats");
|
||||
$this->def['XML/ENTITYBASE/_PHYSSCORES/__VAL__/CURRENTREGENERATE'] = array("stats");
|
||||
|
||||
?>
|
@ -1,235 +0,0 @@
|
||||
-- phpMyAdmin SQL Dump
|
||||
-- version 3.5.1
|
||||
-- http://www.phpmyadmin.net
|
||||
--
|
||||
-- Host: localhost
|
||||
-- Generation Time: Aug 20, 2012 at 01:48 PM
|
||||
-- Server version: 5.5.24-log
|
||||
-- PHP Version: 5.4.3
|
||||
|
||||
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
|
||||
SET time_zone = "+00:00";
|
||||
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
|
||||
--
|
||||
-- Database: `app_achievements_test`
|
||||
--
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_achievement`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_achievement` (
|
||||
`aa_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`aa_category` bigint(20) unsigned NOT NULL,
|
||||
`aa_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`aa_tie_race` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_tie_cult` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_tie_civ` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_image` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`aa_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`aa_sticky` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`aa_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=346 ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_achievement_lang`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_achievement_lang` (
|
||||
`aal_achievement` bigint(20) unsigned NOT NULL,
|
||||
`aal_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`aal_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`aal_template` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`aal_achievement`,`aal_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_atom`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_atom` (
|
||||
`atom_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`atom_objective` bigint(20) unsigned NOT NULL,
|
||||
`atom_mandatory` tinyint(1) unsigned NOT NULL,
|
||||
`atom_ruleset` blob NOT NULL,
|
||||
`atom_ruleset_parsed` blob NOT NULL,
|
||||
PRIMARY KEY (`atom_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=25 ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_category`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_category` (
|
||||
`ac_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ac_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`ac_order` smallint(5) unsigned NOT NULL,
|
||||
`ac_image` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`ac_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`ac_heroic` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`ac_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=50 ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_category_lang`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_category_lang` (
|
||||
`acl_category` bigint(20) unsigned NOT NULL,
|
||||
`acl_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`acl_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
PRIMARY KEY (`acl_category`,`acl_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_fb_token`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_fb_token` (
|
||||
`aft_player` bigint(20) unsigned NOT NULL,
|
||||
`aft_token` varchar(255) NOT NULL,
|
||||
`aft_date` bigint(20) unsigned NOT NULL,
|
||||
`aft_allow` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`aft_player`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_objective`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_objective` (
|
||||
`ao_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ao_task` bigint(20) unsigned NOT NULL,
|
||||
`ao_condition` enum('all','any','value') COLLATE utf8_bin NOT NULL,
|
||||
`ao_value` bigint(20) unsigned DEFAULT NULL,
|
||||
`ao_display` enum('simple','meta','value','hidden') COLLATE utf8_bin NOT NULL DEFAULT 'hidden',
|
||||
`ao_metalink` bigint(20) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`ao_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=2026 ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_objective_lang`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_objective_lang` (
|
||||
`aol_objective` bigint(20) unsigned NOT NULL,
|
||||
`aol_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`aol_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`aol_objective`,`aol_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_player_atom`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_atom` (
|
||||
`apa_atom` bigint(20) unsigned NOT NULL,
|
||||
`apa_player` bigint(20) unsigned NOT NULL,
|
||||
`apa_date` bigint(20) unsigned NOT NULL,
|
||||
`apa_expire` blob,
|
||||
`apa_state` enum('GRANT','DENY') COLLATE utf8_bin NOT NULL,
|
||||
`apa_value` bigint(20) unsigned NOT NULL,
|
||||
KEY `apa_atom` (`apa_atom`,`apa_player`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_player_objective`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_objective` (
|
||||
`apo_objective` bigint(20) unsigned NOT NULL,
|
||||
`apo_player` bigint(20) unsigned NOT NULL,
|
||||
`apo_date` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apo_objective`,`apo_player`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_player_task`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_task` (
|
||||
`apt_task` bigint(20) unsigned NOT NULL,
|
||||
`apt_player` bigint(20) unsigned NOT NULL,
|
||||
`apt_date` bigint(20) unsigned NOT NULL,
|
||||
`apt_fb` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apt_task`,`apt_player`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_player_valuecache`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_valuecache` (
|
||||
`apv_name` bigint(20) unsigned NOT NULL,
|
||||
`apv_player` bigint(20) unsigned NOT NULL,
|
||||
`apv_value` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`apv_date` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apv_name`,`apv_player`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_task`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_task` (
|
||||
`at_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`at_achievement` bigint(20) unsigned NOT NULL,
|
||||
`at_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`at_value` int(10) unsigned NOT NULL,
|
||||
`at_condition` enum('all','any','value') COLLATE utf8_bin NOT NULL DEFAULT 'all',
|
||||
`at_condition_value` int(10) unsigned DEFAULT NULL,
|
||||
`at_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`at_torder` smallint(5) unsigned NOT NULL,
|
||||
PRIMARY KEY (`at_id`),
|
||||
UNIQUE KEY `ap_parent` (`at_parent`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=635 ;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `ach_task_lang`
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ach_task_lang` (
|
||||
`atl_task` bigint(20) unsigned NOT NULL,
|
||||
`atl_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`atl_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`atl_template` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`atl_task`,`atl_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
@ -0,0 +1,278 @@
|
||||
-- --------------------------------------------------------
|
||||
-- Host: 178.33.225.92
|
||||
-- Server version: 5.5.28-0ubuntu0.12.04.2-log - (Ubuntu)
|
||||
-- Server OS: debian-linux-gnu
|
||||
-- HeidiSQL version: 7.0.0.4053
|
||||
-- Date/time: 2012-12-10 14:52:03
|
||||
-- --------------------------------------------------------
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=0 */;
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_achievement
|
||||
CREATE TABLE IF NOT EXISTS `ach_achievement` (
|
||||
`aa_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`aa_category` bigint(20) unsigned NOT NULL,
|
||||
`aa_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`aa_tie_race` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_tie_cult` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_tie_civ` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`aa_image` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`aa_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`aa_sticky` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`aa_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_achievement_lang
|
||||
CREATE TABLE IF NOT EXISTS `ach_achievement_lang` (
|
||||
`aal_achievement` bigint(20) unsigned NOT NULL,
|
||||
`aal_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`aal_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`aal_template` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`aal_achievement`,`aal_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_atom
|
||||
CREATE TABLE IF NOT EXISTS `ach_atom` (
|
||||
`atom_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`atom_objective` bigint(20) unsigned NOT NULL,
|
||||
`atom_mandatory` tinyint(1) unsigned NOT NULL,
|
||||
`atom_ruleset` blob NOT NULL,
|
||||
`atom_ruleset_parsed` blob NOT NULL,
|
||||
PRIMARY KEY (`atom_id`),
|
||||
KEY `atom_objective` (`atom_objective`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_category
|
||||
CREATE TABLE IF NOT EXISTS `ach_category` (
|
||||
`ac_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ac_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`ac_order` smallint(5) unsigned NOT NULL,
|
||||
`ac_image` varchar(64) COLLATE utf8_bin DEFAULT NULL,
|
||||
`ac_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`ac_heroic` tinyint(1) unsigned NOT NULL,
|
||||
`ac_contest` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`ac_id`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_category_lang
|
||||
CREATE TABLE IF NOT EXISTS `ach_category_lang` (
|
||||
`acl_category` bigint(20) unsigned NOT NULL,
|
||||
`acl_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`acl_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
PRIMARY KEY (`acl_category`,`acl_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_fb_token
|
||||
CREATE TABLE IF NOT EXISTS `ach_fb_token` (
|
||||
`aft_player` bigint(20) unsigned NOT NULL,
|
||||
`aft_token` varchar(255) NOT NULL,
|
||||
`aft_date` bigint(20) unsigned NOT NULL,
|
||||
`aft_allow` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`aft_player`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_objective
|
||||
CREATE TABLE IF NOT EXISTS `ach_objective` (
|
||||
`ao_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ao_task` bigint(20) unsigned NOT NULL,
|
||||
`ao_condition` enum('all','any','value') COLLATE utf8_bin NOT NULL,
|
||||
`ao_value` bigint(20) unsigned DEFAULT NULL,
|
||||
`ao_display` enum('simple','meta','value','hidden') COLLATE utf8_bin NOT NULL DEFAULT 'hidden',
|
||||
`ao_metalink` bigint(20) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`ao_id`),
|
||||
KEY `ao_task` (`ao_task`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_objective_lang
|
||||
CREATE TABLE IF NOT EXISTS `ach_objective_lang` (
|
||||
`aol_objective` bigint(20) unsigned NOT NULL,
|
||||
`aol_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`aol_name` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`aol_objective`,`aol_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_player_atom
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_atom` (
|
||||
`apa_atom` bigint(20) unsigned NOT NULL,
|
||||
`apa_player` bigint(20) unsigned NOT NULL,
|
||||
`apa_date` bigint(20) unsigned NOT NULL,
|
||||
`apa_expire` blob,
|
||||
`apa_state` enum('GRANT','DENY') COLLATE utf8_bin NOT NULL,
|
||||
`apa_value` bigint(20) unsigned NOT NULL,
|
||||
KEY `apa_atom` (`apa_atom`,`apa_player`),
|
||||
KEY `apa_state` (`apa_state`),
|
||||
KEY `apa_atom_2` (`apa_atom`,`apa_player`,`apa_state`),
|
||||
KEY `apa_player` (`apa_player`),
|
||||
KEY `apa_atom_3` (`apa_atom`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_player_objective
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_objective` (
|
||||
`apo_objective` bigint(20) unsigned NOT NULL,
|
||||
`apo_player` bigint(20) unsigned NOT NULL,
|
||||
`apo_date` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apo_objective`,`apo_player`),
|
||||
KEY `apo_player` (`apo_player`),
|
||||
KEY `apo_objective` (`apo_objective`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_player_task
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_task` (
|
||||
`apt_task` bigint(20) unsigned NOT NULL,
|
||||
`apt_player` bigint(20) unsigned NOT NULL,
|
||||
`apt_date` bigint(20) unsigned NOT NULL,
|
||||
`apt_fb` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apt_task`,`apt_player`),
|
||||
KEY `apt_player` (`apt_player`),
|
||||
KEY `apt_task` (`apt_task`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_player_valuecache
|
||||
CREATE TABLE IF NOT EXISTS `ach_player_valuecache` (
|
||||
`apv_name` varchar(64) COLLATE utf8_bin NOT NULL,
|
||||
`apv_player` bigint(20) unsigned NOT NULL,
|
||||
`apv_value` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`apv_date` bigint(20) unsigned NOT NULL,
|
||||
PRIMARY KEY (`apv_name`,`apv_player`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_task
|
||||
CREATE TABLE IF NOT EXISTS `ach_task` (
|
||||
`at_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`at_achievement` bigint(20) unsigned NOT NULL,
|
||||
`at_parent` bigint(20) unsigned DEFAULT NULL,
|
||||
`at_value` int(10) unsigned NOT NULL,
|
||||
`at_condition` enum('all','any','value') COLLATE utf8_bin NOT NULL DEFAULT 'all',
|
||||
`at_condition_value` int(10) unsigned DEFAULT NULL,
|
||||
`at_dev` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`at_torder` smallint(5) unsigned NOT NULL,
|
||||
`at_inherit` tinyint(1) unsigned NOT NULL,
|
||||
PRIMARY KEY (`at_id`),
|
||||
UNIQUE KEY `ap_parent` (`at_parent`),
|
||||
KEY `at_achievement` (`at_achievement`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_task_lang
|
||||
CREATE TABLE IF NOT EXISTS `ach_task_lang` (
|
||||
`atl_task` bigint(20) unsigned NOT NULL,
|
||||
`atl_lang` varchar(2) COLLATE utf8_bin NOT NULL,
|
||||
`atl_name` varchar(255) COLLATE utf8_bin NOT NULL,
|
||||
`atl_template` varchar(255) COLLATE utf8_bin DEFAULT NULL,
|
||||
PRIMARY KEY (`atl_task`,`atl_lang`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_task_tie_civ
|
||||
CREATE TABLE IF NOT EXISTS `ach_task_tie_civ` (
|
||||
`attciv_task` bigint(20) unsigned NOT NULL,
|
||||
`attciv_civ` varchar(64) NOT NULL,
|
||||
PRIMARY KEY (`attciv_task`,`attciv_civ`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_task_tie_cult
|
||||
CREATE TABLE IF NOT EXISTS `ach_task_tie_cult` (
|
||||
`attcult_task` bigint(20) unsigned NOT NULL,
|
||||
`attcult_cult` varchar(64) NOT NULL,
|
||||
PRIMARY KEY (`attcult_task`,`attcult_cult`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.ach_task_tie_race
|
||||
CREATE TABLE IF NOT EXISTS `ach_task_tie_race` (
|
||||
`attr_task` bigint(20) unsigned NOT NULL,
|
||||
`attr_race` varchar(64) NOT NULL,
|
||||
PRIMARY KEY (`attr_task`,`attr_race`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.stat_daily
|
||||
CREATE TABLE IF NOT EXISTS `stat_daily` (
|
||||
`sd_day` date NOT NULL DEFAULT '0000-00-00',
|
||||
`sd_players` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_money_total` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_money_avg` int(10) unsigned DEFAULT NULL,
|
||||
`sd_money_mean` int(10) unsigned DEFAULT NULL,
|
||||
`sd_mek_total` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_mek_avg` smallint(5) unsigned DEFAULT NULL,
|
||||
`sd_mek_mean` smallint(5) unsigned DEFAULT NULL,
|
||||
`sd_lvl_total` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_lvl_avg` int(10) unsigned DEFAULT NULL,
|
||||
`sd_lvl_mean` int(10) unsigned DEFAULT NULL,
|
||||
`sd_item_total` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_item_avg` int(10) unsigned DEFAULT NULL,
|
||||
`sd_item_mean` int(10) unsigned DEFAULT NULL,
|
||||
`sd_yubo_total` bigint(20) unsigned DEFAULT NULL,
|
||||
`sd_yubo_avg` int(10) unsigned DEFAULT NULL,
|
||||
`sd_yubo_mean` int(10) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`sd_day`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
|
||||
|
||||
-- Dumping structure for table app_achievements.stat_players
|
||||
CREATE TABLE IF NOT EXISTS `stat_players` (
|
||||
`sp_char` bigint(20) unsigned NOT NULL DEFAULT '0',
|
||||
`sp_money` bigint(20) unsigned DEFAULT NULL,
|
||||
`sp_race` enum('r_matis','r_tryker','r_fyros','r_zorai') DEFAULT NULL,
|
||||
`sp_yubototal` int(10) unsigned DEFAULT NULL,
|
||||
`sp_mekcount` int(10) unsigned DEFAULT NULL,
|
||||
`sp_maxlevel` smallint(5) unsigned DEFAULT NULL,
|
||||
`sp_guildid` int(10) unsigned DEFAULT NULL,
|
||||
`sp_itemcount` int(10) unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`sp_char`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
-- Data exporting was unselected.
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=1 */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
After Width: | Height: | Size: 2.1 KiB |
@ -1,88 +1,91 @@
|
||||
<?php
|
||||
|
||||
<?php // %2012-10-03T19:19:10+02:00
|
||||
$__texts = array (
|
||||
'ach_summary' =>
|
||||
array (
|
||||
'en' => 'Summary',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
'fr' => 'Résumé',
|
||||
'de' => 'Übersicht',
|
||||
'ru' => 'Резюме',
|
||||
),
|
||||
'ach_summary_header' =>
|
||||
array (
|
||||
'en' => 'Recent Achievements',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
'fr' => 'Derniers Accomplissements',
|
||||
'de' => 'Aktuelle Erfolge',
|
||||
'ru' => 'недавние достижения',
|
||||
),
|
||||
'ach_summary_stats' =>
|
||||
array (
|
||||
'en' => 'Statistics',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => 'Statistiques',
|
||||
'de' => 'Statistik',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_summary_stats_total' =>
|
||||
array (
|
||||
'en' => 'Total',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => 'Total',
|
||||
'de' => 'Gesamt',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_c_neutral' =>
|
||||
array (
|
||||
'en' => 'neutral',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'en' => 'Neutral',
|
||||
'fr' => 'Neutre',
|
||||
'de' => 'Neutral',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral_cult' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance with the higher powers',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de renommée avec les puissances',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral_civ' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance with the homin civilizations',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de renommée avec les nations homines',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de renommée',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_start' =>
|
||||
array (
|
||||
'en' => 'While being aligned with the ',
|
||||
'fr' => '',
|
||||
'fr' => 'En appartenant à',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_and' =>
|
||||
array (
|
||||
'en' => ' and the ',
|
||||
'fr' => '',
|
||||
'fr' => ' et le',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_end' =>
|
||||
array (
|
||||
'en' => ', accomplish the following achievements:',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => ', effectuez les accomplissements suivants : ',
|
||||
'de' => ', erfüllen die folgenden Leistungen: ',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_no_heroic_deeds' =>
|
||||
array (
|
||||
'en' => 'You haven\'t earned any Heroic Deeds so far.',
|
||||
'fr' => 'Vous n\'avez gagné aucun acte héroïque jusqu\'à présent.',
|
||||
'de' => 'Du hast noch keine Heldentaten vollbracht.',
|
||||
'ru' => '',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
if(isset($ryzom_texts))
|
||||
$ryzom_texts = array_merge ($__texts, $ryzom_texts);
|
||||
else
|
||||
$ryzom_texts = $__texts;
|
||||
?>
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 3.5 KiB |
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
function stats_render() {
|
||||
global $DBc;
|
||||
|
||||
$html = "";
|
||||
|
||||
$res = $DBc->sqlQuery("SELECT SUM(sp_money) as all_money, AVG(sp_money) as avg_money, COUNT(*) as playercount FROM app_achievements.stat_players as s, webig.players as p, ring_live.characters as c, nel.user as n WHERE s.sp_char = p.id AND p.cid = c.char_id AND c.user_id = n.uid AND n.privilege=''");
|
||||
|
||||
$html .= "<b>Total characters</b>: ".nf($res[0]['playercount'])."<p>";
|
||||
|
||||
#$res = $DBc->sqlQuery("SELECT SUM(sp_money) as anz FROM stat_players");
|
||||
$html .= "<b>Total money</b>: ".nf($res[0]['all_money'])."<p>";
|
||||
|
||||
#$res = $DBc->sqlQuery("SELECT AVG(sp_money) as anz FROM stat_players");
|
||||
$html .= "<b>Average money</b>: ".nf($res[0]['avg_money'])."<p>";
|
||||
|
||||
$res = $DBc->sqlQuery("SELECT sp_money FROM app_achievements.stat_players as s, webig.players as p, ring_live.characters as c, nel.user as n WHERE s.sp_char = p.id AND p.cid = c.char_id AND c.user_id = n.uid AND n.privilege='' ORDER by sp_money ASC LIMIT ".floor($res[0]['playercount']/2).",1");
|
||||
$html .= "<b>Mean money</b>: ".nf($res[0]['sp_money'])."<p>";
|
||||
|
||||
|
||||
|
||||
return $html;
|
||||
}
|
||||
?>
|
@ -1,88 +1,84 @@
|
||||
<?php
|
||||
|
||||
<?php // %2012-10-03T19:04:52+02:00
|
||||
$__texts = array (
|
||||
'ach_summary' =>
|
||||
array (
|
||||
'en' => 'Summary',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
'fr' => 'Résumé ',
|
||||
'de' => 'Übersicht',
|
||||
'ru' => 'Резюме',
|
||||
),
|
||||
'ach_summary_header' =>
|
||||
array (
|
||||
'en' => 'Recent Achievements',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
'fr' => 'Derniers Accomplissements',
|
||||
'de' => 'Aktuelle Erfolge',
|
||||
'ru' => 'недавние достижения',
|
||||
),
|
||||
'ach_summary_stats' =>
|
||||
array (
|
||||
'en' => 'Statistics',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => 'Statistiques',
|
||||
'de' => 'Statistiken',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_summary_stats_total' =>
|
||||
array (
|
||||
'en' => 'Total',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => 'Total',
|
||||
'de' => 'Gesamt',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_c_neutral' =>
|
||||
array (
|
||||
'en' => 'neutral',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'en' => 'Neutral',
|
||||
'fr' => 'Neutre',
|
||||
'de' => 'Neutral',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral_cult' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance with the higher powers',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de renommée envers les Puissances',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral_civ' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance with the homin civilizations',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de renommée envers les nations homines',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_neutral' =>
|
||||
array (
|
||||
'en' => 'While being of %s allegiance',
|
||||
'fr' => '',
|
||||
'fr' => 'En ayant %s de réputation',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_start' =>
|
||||
array (
|
||||
'en' => 'While being aligned with the ',
|
||||
'fr' => '',
|
||||
'fr' => 'En appartenant à',
|
||||
'de' => '',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_and' =>
|
||||
array (
|
||||
'en' => ' and the ',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => ' et le',
|
||||
'de' => 'und',
|
||||
'ru' => '',
|
||||
),
|
||||
'ach_allegiance_end' =>
|
||||
array (
|
||||
'en' => ', accomplish the following achievements:',
|
||||
'fr' => '',
|
||||
'de' => '',
|
||||
'fr' => ', effectuez les accomplissements suivants : ',
|
||||
'de' => ', erfüllen die folgenden Leistungen:',
|
||||
'ru' => '',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
if(isset($ryzom_texts))
|
||||
$ryzom_texts = array_merge ($__texts, $ryzom_texts);
|
||||
else
|
||||
$ryzom_texts = $__texts;
|
||||
?>
|