From 8c58f45a6d8bd282501e50661253fd7580a9e1fa Mon Sep 17 00:00:00 2001 From: SirCotare Date: Fri, 15 Feb 2013 16:00:01 +0100 Subject: [PATCH] #1470 removed old parser --- .../_AchWebParser/AchWebParser.php | 319 ------- .../_AchWebParser/class/Atom_class.php | 113 --- .../_AchWebParser/class/Callback_class.php | 18 - .../class/DataDispatcher_class.php | 90 -- .../class/DataSourceHandler_class.php | 23 - .../_AchWebParser/class/Entity_abstract.php | 25 - .../_AchWebParser/class/Logfile_class.php | 44 - .../class/SourceDriver_abstract.php | 9 - .../_AchWebParser/class/Stats_class.php | 42 - .../_AchWebParser/class/ValueCache_class.php | 31 - .../_AchWebParser/class/XMLfile_class.php | 74 -- .../class/XMLgenerator_class.php | 106 --- .../_AchWebParser/class/XMLnode_class.php | 77 -- .../_AchWebParser/class/mySQL_class.php | 160 ---- .../app_achievements/_AchWebParser/conf.php | 31 - .../_AchWebParser/include/functions_inc.php | 21 - .../_AchWebParser/log/_logDefaultDir_ | 0 .../_AchWebParser/log/xml_tmp/_xml_tmp_dir | 0 .../_AchWebParser/script/_scriptDir | 0 .../script/include_InPoly_class.php | 77 -- .../script/item_grade_script.php | 13 - .../script/places/continents.php | 6 - .../_AchWebParser/script/places/global.php | 5 - .../_AchWebParser/script/places/silan.php | 26 - .../_AchWebParser/script/statsdb.php | 82 -- .../PDRtoXMLdriver/PDRtoXMLdriver_class.php | 845 ------------------ .../entity/FactionPoints_entity.php | 10 - .../PDRtoXMLdriver/entity/Fame_entity.php | 12 - .../PDRtoXMLdriver/entity/FriendOf_entity.php | 15 - .../PDRtoXMLdriver/entity/Friend_entity.php | 15 - .../entity/Friendlist_entity.php | 29 - .../PDRtoXMLdriver/entity/Gear_entity.php | 9 - .../PDRtoXMLdriver/entity/Item_entity.php | 28 - .../entity/LastLogStats_entity.php | 11 - .../entity/MissionList_entity.php | 9 - .../PDRtoXMLdriver/entity/Mission_entity.php | 11 - .../entity/PermanentMod_entity.php | 10 - .../PDRtoXMLdriver/entity/Pet_entity.php | 24 - .../entity/PhysCharacs_entity.php | 10 - .../entity/PhysScores_entity.php | 15 - .../PDRtoXMLdriver/entity/Position_entity.php | 74 -- .../entity/RespawnPoints_entity.php | 80 -- .../entity/SkillList_entity.php | 10 - .../entity/SkillPoints_entity.php | 10 - .../PDRtoXMLdriver/entity/Skill_entity.php | 14 - .../entity/SpentSkillPoints_entity.php | 10 - .../PDRtoXMLdriver/entity/Title_entity.php | 20 - .../_AchWebParser/xmldef/debug.php | 84 -- .../_AchWebParser/xmldef/faction.php | 12 - .../_AchWebParser/xmldef/fame.php | 10 - .../_AchWebParser/xmldef/inventory.php | 131 --- .../_AchWebParser/xmldef/knowledge.php | 11 - .../_AchWebParser/xmldef/logs.php | 11 - .../_AchWebParser/xmldef/missions.php | 3 - .../_AchWebParser/xmldef/public.php | 40 - .../_AchWebParser/xmldef/shop.php | 66 -- .../_AchWebParser/xmldef/skills.php | 21 - .../_AchWebParser/xmldef/social.php | 7 - .../_AchWebParser/xmldef/stats.php | 27 - 59 files changed, 3086 deletions(-) delete mode 100644 code/web/app/app_achievements/_AchWebParser/AchWebParser.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/Atom_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/Callback_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/DataDispatcher_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/DataSourceHandler_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/Entity_abstract.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/Logfile_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/SourceDriver_abstract.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/Stats_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/ValueCache_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/XMLfile_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/XMLgenerator_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/XMLnode_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/class/mySQL_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/conf.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/include/functions_inc.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/log/_logDefaultDir_ delete mode 100644 code/web/app/app_achievements/_AchWebParser/log/xml_tmp/_xml_tmp_dir delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/_scriptDir delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/include_InPoly_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/item_grade_script.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/places/continents.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/places/global.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/places/silan.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/script/statsdb.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/PDRtoXMLdriver_class.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FactionPoints_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Fame_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FriendOf_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friend_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friendlist_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Gear_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Item_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/LastLogStats_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/MissionList_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Mission_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PermanentMod_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Pet_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysCharacs_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysScores_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Position_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/RespawnPoints_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillList_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillPoints_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Skill_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SpentSkillPoints_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Title_entity.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/debug.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/faction.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/fame.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/inventory.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/knowledge.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/logs.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/missions.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/public.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/shop.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/skills.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/social.php delete mode 100644 code/web/app/app_achievements/_AchWebParser/xmldef/stats.php diff --git a/code/web/app/app_achievements/_AchWebParser/AchWebParser.php b/code/web/app/app_achievements/_AchWebParser/AchWebParser.php deleted file mode 100644 index be43d9011..000000000 --- a/code/web/app/app_achievements/_AchWebParser/AchWebParser.php +++ /dev/null @@ -1,319 +0,0 @@ -logf("File: '".$_REQUEST['file']."'"); - - $log->logf("Starting up... ",false); - - if(!$_REQUEST['file']) { - $log->logf("ERROR: no file given! EXITING!"); - $log->close(); - die(); - } - - //create database connection - $DBc = new mySQL($CONF['mysql_error']); - $DBc->connect($CONF['mysql_server'],$CONF['mysql_user'],$CONF['mysql_pass'],$CONF['mysql_database']); - - - require_once("class/DataDispatcher_class.php"); - require_once("class/DataSourceHandler_class.php"); - require_once("class/SourceDriver_abstract.php"); - require_once("class/Callback_class.php"); - require_once("class/ValueCache_class.php"); - require_once("class/Atom_class.php"); - require_once("class/XMLgenerator_class.php"); - require_once("class/XMLnode_class.php"); - require_once("class/XMLfile_class.php"); - require_once("class/Stats_class.php"); - - $_CACHE = new ValueCache(); - - //new generator for API xml files. - $XMLgenerator = new XMLgenerator(); - - //create datasource handler - $_DISPATCHER = new DataDispatcher(); - $_DATASOURCE = new DataSourceHandler(); - foreach($CONF['data_source'] as $elem) { //populate - require_once("source/".$elem."/".$elem."_class.php"); - eval('$tmp = new '.$elem.'();'); - $_DATASOURCE->addSource($tmp); - } - - #REPLACE WITH REGEX!!! - - $tmp = explode("/",$_REQUEST['file']); - $tmp2 = explode("_",$tmp[(sizeof($tmp)-1)]); - - $DBc->database($CONF['char_mysql_database']); - - $res = $DBc->sendSQL("SELECT id FROM players WHERE cid='".$DBc->mre($tmp2[1]*16+$tmp2[2])."' AND deleted='0'","ARRAY"); - #$res[0]['id'] = 1; - if(($res[0]['id'] > 0) == false) { - $log->logf("ERROR: no character found!"); - $log->close(); - die(); - } - $cdata = array("cid"=>$res[0]['id'],"aid"=>$tmp2[1],"sid"=>$tmp2[2]); - - #$cdata = array("cid"=>1,"aid"=>1,"sid"=>1); - - $DBc->database($CONF['mysql_database']); - -#echo var_export($cdata); - - $log->logf(" done!"); - - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - - #foreach($chars as $cid) { - #STEP 1: load and register atoms - - $log->logf("Processing char '".$cdata['cid']."' ..."); - - $log->logi("Loading and registering Atoms... ",false); - - $atom_list = array(); - - $res = $DBc->sendSQL("SELECT at_id FROM ach_task WHERE NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_player='".$cdata['cid']."' AND apt_task=at_id) AND at_dev='0'","ARRAY"); - foreach($res as $task) { - //get unfinished atoms belonging to unfinished objectives - $res2 = $DBc->sendSQL("SELECT ach_atom.* FROM ach_atom,ach_objective WHERE ao_task='".$task['at_id']."' AND ao_id=atom_objective AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_player='".$cdata['cid']."' AND apo_objective=ao_id)","ARRAY"); - foreach($res2 as $atom) { - $a = new Atom($atom,$cdata); - $atom_list[] = $a; - $atom_list[] = $a; - $a->register(); - } - } - - $statsdb = new Stats(); - $statsdb->register(); - - $log->logf("done!"); - - $log->logf("Memory load: ".memory_get_usage()." bytes"); - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - - $log->logi("Driving data... ",false); - - #STEP 2: drive data - $_CACHE->setChar($cdata); - $res = $DBc->sendSQL("SELECT sum(at_value) as anz FROM ach_task,ach_player_task WHERE at_id=apt_task AND apt_player='".$cdata['cid']."'","ARRAY"); - $_DISPATCHER->dispatchValue("yubopoints",$res[0]['anz']); - - $_DISPATCHER->dispatchValue("aid",$cdata['aid']); - $_DISPATCHER->dispatchValue("cid",$cdata['cid']); - $_DISPATCHER->dispatchValue("sid",$cdata['sid']); - $_DATASOURCE->drive($cdata); - - //save daily stats - $res = $DBc->sendSQL("SELECT COUNT(*) as anz FROM stat_daily WHERE sdm_day='".date("Y-m-d",time())."'","ARRAY"); - if($res[0]['anz'] == 0) { - $res = $DBc->sendSQL("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=''","ARRAY"); - - $res2 = $DBc->sendSQL("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","ARRAY"); - - $res3 = $DBc->sendSQL("SELECT SUM(sp_yubototal) as all_yubo, AVG(sp_yubototal) as avg_yubo 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=''","ARRAY"); - - $res4 = $DBc->sendSQL("SELECT sp_yubototal 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","ARRAY"); - - $res5 = $DBc->sendSQL("SELECT SUM(sp_mekcount) as all_mek, AVG(sp_mekcount) as avg_mek 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=''","ARRAY"); - - $res6 = $DBc->sendSQL("SELECT sp_mekcount 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","ARRAY"); - - $res7 = $DBc->sendSQL("SELECT SUM(sp_maxlevel) as all_lvl, AVG(sp_maxlevel) as avg_lvl 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=''","ARRAY"); - - $res8 = $DBc->sendSQL("SELECT sp_maxlevel 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","ARRAY"); - - $res9 = $DBc->sendSQL("SELECT SUM(sp_itemcount) as all_item, AVG(sp_itemcount) as avg_item 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=''","ARRAY"); - - $res10 = $DBc->sendSQL("SELECT sp_itemcount 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","ARRAY"); - - $DBc->sendSQL("INSERT IGNORE INTO stat_daily (sd_day,sd_players,sd_money_avg,sd_money_total,sd_money_mean,sd_mek_total,sd_mek_avg,sd_mek_mean,sd_yubo_total,sd_yubo_avg,sd_yubo_mean,sd_lvl_total,sd_lvl_avg,sd_lvl_mean,sd_item_total,sd_item_avg,sd_item_mean) VALUES ('".date("Y-m-d",time())."','".$res[0]['playercount']."','".$res[0]['avg_money']."','".$res[0]['all_money']."','".$res2[0]['sp_money']."','".$res5[0]['all_mek']."','".$res5[0]['avg_mek']."','".$res6[0]['sp_mekcount']."','".$res3[0]['all_yubo']."','".$res3[0]['avg_yubo']."','".$res4[0]['sp_yubototal']."','".$res7[0]['all_lvl']."','".$res7[0]['avg_lvl']."','".$res8[0]['sp_maxlevel']."','".$res9[0]['all_item']."','".$res9[0]['avg_item']."','".$res102[0]['sp_itemcounty']."')","NONE"); - } - - $log->logf("done!"); - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - $log->logf("xml-gen took: ".$tmp_log_xmlgen_time); - $log->logf("Memory load: ".memory_get_usage()." bytes"); - - $log->logi("Writing XML export... ",false); - - $XMLgenerator->generate(); - - $log->logf("done!"); - - $log->logf("Memory load: ".memory_get_usage()." bytes"); - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - - #STEP 3: detect obj/task progression - $log->logi("Detecting Objectives... ",false); - - //obj - $res = $DBc->sendSQL("SELECT ao_id FROM ach_objective WHERE ao_condition='all' AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."') AND NOT EXISTS (SELECT * FROM ach_atom WHERE atom_objective=ao_id AND NOT EXISTS (SELECT * FROM ach_player_atom WHERE apa_atom=atom_id AND apa_state='GRANT' AND apa_player='".$cdata['cid']."')) AND EXISTS (SELECT * FROM ach_atom WHERE atom_objective=ao_id)","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_objective (apo_objective,apo_player,apo_date) VALUES ('".$res[$i]['ao_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - - $log->logf("1... ",false); - - $res = $DBc->sendSQL("SELECT ao_id FROM ach_objective WHERE ao_condition='value' AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."') AND ao_value<=(SELECT sum(apa_value) FROM ach_atom,ach_player_atom WHERE atom_objective=ao_id AND apa_atom=atom_id AND apa_state='GRANT' AND apa_player='".$cdata['cid']."') AND EXISTS (SELECT * FROM ach_atom WHERE atom_objective=ao_id)","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_objective (apo_objective,apo_player,apo_date) VALUES ('".$res[$i]['ao_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - - $log->logf("2... ",false); - - $res = $DBc->sendSQL("SELECT ao_id FROM ach_objective WHERE ao_condition='any' AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."') AND EXISTS (SELECT * FROM ach_atom WHERE atom_objective=ao_id AND EXISTS (SELECT * FROM ach_player_atom WHERE apa_atom=atom_id AND apa_state='GRANT' AND apa_player='".$cdata['cid']."')) AND EXISTS (SELECT * FROM ach_atom WHERE atom_objective=ao_id)","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_objective (apo_objective,apo_player,apo_date) VALUES ('".$res[$i]['ao_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - - $log->logf("3... ",false); - - //meta - #$res = $DBc->sendSQL("SELECT ao_id FROM ach_objective,ach_task as t1,ach_achievement WHERE ao_display='meta' AND ao_task=t1.at_id AND t1.at_achievement=aa_id AND NOT EXISTS (SELECT * FROM ach_task as t2 WHERE t2.at_achievement=ao_metalink AND NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_task=t2.at_id AND apt_player='".$cdata['cid']."'))","ARRAY"); - $res = $DBc->sendSQL("SELECT ao_id FROM ach_objective WHERE ao_display='meta' AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."') AND NOT EXISTS (SELECT * FROM ach_task WHERE ao_metalink=at_achievement AND NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_task=at_id AND apt_player='".$cdata['cid']."'))","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_objective (apo_objective,apo_player,apo_date) VALUES ('".$res[$i]['ao_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - - $log->logf("4... ",false); - - $log->logf("done!"); - - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - - $log->logi("Clearing atom data... ",false); - - //clear atom state for completed objectives - #$DBc->sendSQL("DELETE FROM ach_player_atom WHERE EXISTS (SELECT * FROM ach_player_objective,ach_atom WHERE atom_id=apa_atom AND apa_player='".$cdata['cid']."' AND atom_objective=apo_objective)"); - - $DBc->sendSQL("DELETE FROM ach_player_atom WHERE apa_player='".$cdata['cid']."' AND EXISTS (SELECT * FROM ach_player_objective,ach_atom WHERE atom_id=apa_atom AND apo_player='".$cdata['cid']."' AND atom_objective=apo_objective)"); - - $log->logf("done!"); - - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Expired time: ".($stop_time - $start_time)); - - //task - $log->logi("Detecting Tasks... ",false); - $res = $DBc->sendSQL("SELECT at_id FROM ach_task WHERE at_condition='all' AND NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_task=at_id AND apt_player='".$cdata['cid']."') AND NOT EXISTS (SELECT * FROM ach_objective WHERE ao_task=at_id AND NOT EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."')) AND EXISTS (SELECT * FROM ach_objective WHERE ao_task=at_id) AND at_dev='0'","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_task (apt_task,apt_player,apt_date) VALUES ('".$res[$i]['at_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - -$log->logf("1... ",false); - - $res = $DBc->sendSQL("SELECT at_id FROM ach_task WHERE at_condition='value' AND NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_task=at_id AND apt_player='".$cdata['cid']."') AND at_value<=(SELECT count(*) FROM ach_objective WHERE ao_task=at_id AND EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."')) AND EXISTS (SELECT * FROM ach_objective WHERE ao_task=at_id) AND at_dev='0'","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_task (apt_task,apt_player,apt_date) VALUES ('".$res[$i]['at_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - -$log->logf("2... ",false); - - $res = $DBc->sendSQL("SELECT at_id FROM ach_task WHERE at_condition='any' AND NOT EXISTS (SELECT * FROM ach_player_task WHERE apt_task=at_id AND apt_player='".$cdata['cid']."') AND EXISTS (SELECT * FROM ach_objective WHERE ao_task=at_id AND EXISTS (SELECT * FROM ach_player_objective WHERE apo_objective=ao_id AND apo_player='".$cdata['cid']."')) AND EXISTS (SELECT * FROM ach_objective WHERE ao_task=at_id) AND at_dev='0'","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("INSERT INTO ach_player_task (apt_task,apt_player,apt_date) VALUES ('".$res[$i]['at_id']."','".$cdata['cid']."','".time()."')","NONE"); - } - -$log->logf("3... ",false); - - /*if($CONF['facebook'] == true) { - require_once("../fb/facebook.php"); - - $facebook = new Facebook(array(appId=>$CONF['fb_id'], secret=>$CONF['fb_secret'])); - - - $res = $DBc->sendSQL("SELECT * FROM ach_fb_token WHERE aft_player='".$cdata['cid']."'","ARRAY"); - - $access_token = $res[0]['aft_token']; - - if($res[0]['aft_allow'] == 1) { - - $res2 = $DBc->sendSQL("SELECT * FROM ach_player_task WHERE apt_player='".$cdata['cid']."' AND apt_fb='0'","ARRAY"); - $sz = sizeof($res2); - - for($i=0;$i<$sz;$i++) { - - //this has to be adapted! - - #$result = $facebook->api( - # '/me/feed/', - # array('access_token' => $$access_token, 'message' => 'Playing around with FB Graph..') - #); - - } - - $DBc->sendSQL("UPDATE ach_player_task SET apt_fb='1' WHERE apt_player='".$cdata['cid']."'","NONE"); - - - - - } - }*/ - - $log->logf("done!"); - #} - - $microstop = explode(' ',microtime()); - $stop_time = $microstop[0] + $microstop[1]; - - $log->logf("Total time: ".($stop_time - $start_time)); - - $log->logf("Run complete; exiting..."); - $log->close(); - exit(0); -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/Atom_class.php b/code/web/app/app_achievements/_AchWebParser/class/Atom_class.php deleted file mode 100644 index 8ddaed775..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/Atom_class.php +++ /dev/null @@ -1,113 +0,0 @@ -ruleset = $data['atom_ruleset_parsed']; - - $this->id = $data['atom_id']; - $this->objective = $data['atom_objective']; - - $this->user = $user; - } - - function register() { // register the atom's ruleset code - - try { - return eval($this->ruleset); - } - catch(Exception $e) { - echo $e->getMessage(); - } - - 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); - } - - function grant($count = 1) { // grant an atom - global $DBc; - - $DBc->sendSQL("INSERT INTO ach_player_atom (apa_atom,apa_player,apa_date,apa_expire,apa_state,apa_value) VALUES ('".$this->id."','".$this->user['cid']."','".time()."',null,'GRANT','".$count."')","NONE"); - } - - function deny() { // deny an atom - global $DBc; - - $DBc->sendSQL("INSERT INTO ach_player_atom (apa_atom,apa_player,apa_date,apa_expire,apa_state) VALUES ('".$this->id."','".$this->user['cid']."','".time()."',null,'DENY','1')","NONE"); - } - - function reset_() { // reset progress for this atom - global $DBc; - - $DBc->sendSQL("DELETE FROM ach_player_atom WHERE apa_atom='".$this->id."' AND apa_player='".$this->user['cid']."'","NONE"); - } - - function reset_all() { // reset progress for all atoms of the same objective - global $DBc; - - $res = $DBc->sendSQL("SELECT atom_id FROM ach_atom WHERE atom_objective='".$this->objective."'","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("DELETE FROM ach_player_atom WHERE apa_atom='".$res[$i]['atom_id']."' AND apa_player='".$this->user['cid']."'","NONE"); - } - } - - function unlock() { // unlock atom - global $DBc; - - $DBc->sendSQL("DELETE FROM ach_player_atom WHERE apa_atom='".$this->id."' AND apa_player='".$this->user['cid']."' AND apa_state='DENY'","NONE"); - } - - function unlock_all() { // unlock all atoms of the same objective - global $DBc; - - $res = $DBc->sendSQL("SELECT atom_id FROM ach_atom WHERE atom_objective='".$this->objective."'","ARRAY"); - $sz = sizeof($res); - for($i=0;$i<$sz;$i++) { - $DBc->sendSQL("DELETE FROM ach_player_atom WHERE apa_atom='".$res[$i]['atom_id']."' AND apa_player='".$this->user['cid']."' AND apa_state='DENY'","NONE"); - } - } - - function getID() { - return $this->id; - } - - function getObjective() { - return $this->objective; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/Callback_class.php b/code/web/app/app_achievements/_AchWebParser/class/Callback_class.php deleted file mode 100644 index 3449d024f..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/Callback_class.php +++ /dev/null @@ -1,18 +0,0 @@ -who = $who; - $this->func = $func; - } - - function call($what) { // now call it - eval(''.$this->func.'($what,$this->who,$this);'); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/DataDispatcher_class.php b/code/web/app/app_achievements/_AchWebParser/class/DataDispatcher_class.php deleted file mode 100644 index 2e296e715..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/DataDispatcher_class.php +++ /dev/null @@ -1,90 +0,0 @@ -value = array(); - $this->entity = array(); - $this->event = array(); - } - - //registering atoms - - function registerValue($name,$callback) { - if(!is_array($this->value[$name])) { - $this->value[$name] = array(); - } - $this->value[$name][] = $callback; - } - - function registerEntity($name,$callback) { - if(!is_array($this->entity[$name])) { - $this->entity[$name] = array(); - } - $this->entity[$name][] = $callback; - } - - function registerEvent($name,$callback) { - if(!is_array($this->event[$name])) { - $this->event[$name] = array(); - } - $this->event[$name][] = $callback; - } - - //unregistering atoms - - function unregisterValue($name,$callback) { - $res = array_search($callback,$this->value[$name],true); - if($res !== false) { - unset($this->value[$name][$res]); - } - } - - function unregisterEntity($name,$callback) { - $res = array_search($callback,$this->entity[$name],true); - if($res !== false) { - unset($this->entity[$name][$res]); - } - } - - function unregisterEvent($name,$callback) { - $res = array_search($callback,$this->event[$name],true); - if($res !== false) { - unset($this->event[$name][$res]); - } - } - - //dispatching data - - function dispatchValue($key,$val) { - if(is_array($this->value[$key])) { - foreach($this->value[$key] as $callback) { - $callback->call($val); - } - } - } - - function dispatchEntity($key,$val) { - if(is_array($this->entity[$key])) { - foreach($this->entity[$key] as $callback) { - $callback->call($val); - } - } - } - - function dispatchEvent($key,$val) { - if(is_array($this->event[$key])) { - foreach($this->event[$key] as $callback) { - $callback->call($val); - } - } - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/DataSourceHandler_class.php b/code/web/app/app_achievements/_AchWebParser/class/DataSourceHandler_class.php deleted file mode 100644 index 97aa2d8ad..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/DataSourceHandler_class.php +++ /dev/null @@ -1,23 +0,0 @@ -source = array(); - } - - function addSource($src) { - $this->source[] = $src; - } - - function drive($cdata) { // tell the datasources to start reading data - foreach($this->source as $elem) { - $elem->drive($cdata); - } - } - - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/Entity_abstract.php b/code/web/app/app_achievements/_AchWebParser/class/Entity_abstract.php deleted file mode 100644 index a4c33227c..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/Entity_abstract.php +++ /dev/null @@ -1,25 +0,0 @@ -name; - } - - function setName($n) { - $this->name = $n; - } - - function setData($key,$data) { - $this->_dataset[$key] = $data; - } - - function getData($key) { - return $this->_dataset[$key]; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/Logfile_class.php b/code/web/app/app_achievements/_AchWebParser/class/Logfile_class.php deleted file mode 100644 index 5e7843f8f..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/Logfile_class.php +++ /dev/null @@ -1,44 +0,0 @@ -logfile = false; - - if($f != false) { - $this->logfile = fopen($MY_PATH.$CONF['logfile'].'.'.date("Ymd",time()).'.txt','a+'); - #echo "kk"; - } - } - - function logf($t,$nl = true) { - $this->write("[".date("H:i:s")."] ".$t); - if($nl == true) { - $this->write("\n"); - } - } - - function logi($t,$nl = true) { - #echo $t; - $this->write("[".date("H:i:s")."] > ".$t); - if($nl == true) { - $this->write("\n"); - } - } - - function write($txt) { - #echo $txt; - fwrite($this->logfile,$txt); - } - - function close() { - fclose($this->logfile); - #echo "ii"; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/SourceDriver_abstract.php b/code/web/app/app_achievements/_AchWebParser/class/SourceDriver_abstract.php deleted file mode 100644 index 2d872600c..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/SourceDriver_abstract.php +++ /dev/null @@ -1,9 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/Stats_class.php b/code/web/app/app_achievements/_AchWebParser/class/Stats_class.php deleted file mode 100644 index 3ae07c660..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/Stats_class.php +++ /dev/null @@ -1,42 +0,0 @@ -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); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/ValueCache_class.php b/code/web/app/app_achievements/_AchWebParser/class/ValueCache_class.php deleted file mode 100644 index d71ba21f6..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/ValueCache_class.php +++ /dev/null @@ -1,31 +0,0 @@ -char = false; - } - - function setChar($cdata) { // select the character - $this->char = $cdata['cid']; - } - - function writeData($key,$val) { // write to cache - global $DBc; - - $DBc->sendSQL("INSERT INTO ach_player_valuecache (apv_name,apv_player,apv_value,apv_date) VALUES ('".$DBc->mre($key)."','".$this->char."','".$DBc->mre($val)."','".time()."') ON DUPLICATE KEY UPDATE apv_value='".$DBc->mre($val)."', apv_date='".time()."'","NONE"); - } - - function getData($key) { // read from cache - global $DBc; - - $res = $DBc->sendSQL("SELECT apv_value as value, apv_date as date FROM ach_player_valuecache WHERE apv_name='".$DBc->mre($key)."' AND apv_player='".$this->char."'","ARRAY"); - - return $res[0]; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/XMLfile_class.php b/code/web/app/app_achievements/_AchWebParser/class/XMLfile_class.php deleted file mode 100644 index f7208d8a3..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/XMLfile_class.php +++ /dev/null @@ -1,74 +0,0 @@ -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); - } - - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/XMLgenerator_class.php b/code/web/app/app_achievements/_AchWebParser/class/XMLgenerator_class.php deleted file mode 100644 index c913a36d8..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/XMLgenerator_class.php +++ /dev/null @@ -1,106 +0,0 @@ -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."
"; - if(is_array($this->def[$pathid])) { - foreach($this->def[$pathid] as $elem) { - #echo $elem."
"; - $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 = ''."\n"; - $xml .= "\n"; - $xml .= " ".time()."\n"; - $xml .= " ".$cdata['cid']."\n"; - $xml .= " ".$cdata['aid']."\n"; - $xml .= " ".$cdata['sid']."\n"; - - $xml .= $elem->generate(' '); - - $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); - } - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/XMLnode_class.php b/code/web/app/app_achievements/_AchWebParser/class/XMLnode_class.php deleted file mode 100644 index abb211f56..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/XMLnode_class.php +++ /dev/null @@ -1,77 +0,0 @@ -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 .= "name).">\n"; - } - elseif($this->value !== null) { - $xml .= ">".$this->value."name).">\n"; - } - else { - $xml .= " />\n"; - } - - return $xml; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/class/mySQL_class.php b/code/web/app/app_achievements/_AchWebParser/class/mySQL_class.php deleted file mode 100644 index e93194675..000000000 --- a/code/web/app/app_achievements/_AchWebParser/class/mySQL_class.php +++ /dev/null @@ -1,160 +0,0 @@ -$elem) { - $in[$key] = mysql_real_escape_string(stripslashes($elem)); - } - } - else { - $in = mysql_real_escape_string(stripslashes($in)); - } - return $in; - } - - function mySQL($err=false) { // constructor - $this->DBstats = array(); - $this->DBc = false; - //set error handling - if($err === "DIE" || $err === "PRINT" || $err === "ALERT" || $err === "HIDE" || $err === "LOG") { - $this->DBerror = $err; - } - else { - $this->DBerror = "HIDE"; - } - $this->resetStats(); // reset stats counter - $this->cached = false; - } - - function connect($ip,$user,$pass,$db=false) { // connect - $this->DBc = mysql_pconnect($ip,$user,$pass) or $this->error(mysql_error()); - if($this->DBc && $db) { - $this->database($db); - } - $this->resetStats(); - } - - function database($db) { // set database - if(!$this->DBc) { - return false; - } - mysql_select_db($db,$this->DBc) or $this->error(mysql_error()); - } - - function resetStats() { - $this->DBstats['query'] = 0; - $this->DBstats['error'] = 0; - } - - function getStats() { // return stats - return $this->DBstats; - } - - function sendSQL($query,$handling="PLAIN",$buffer=false) { // can be INSERT, DELETE, UPDATE, ARRAY, NONE, PLAIN - if(!$this->DBc) { - return false; - } - - if($buffer === false && $handling !== "PLAIN") { - $res = mysql_unbuffered_query($query,$this->DBc) or $this->error(mysql_error(),$query); - } - else { - $res = mysql_query($query,$this->DBc) or $this->error(mysql_error(),$query); - } - - $this->DBstats['query']++; - - if($res) { - if($handling === "INSERT") { - $tmp = mysql_insert_id($this->DBc) or $this->error(mysql_error());; - $this->unlinkSql($res); - return $tmp; - } - elseif($handling === "DELETE" || $handling === "UPDATE") { - $tmp = mysql_affected_rows($this->DBc) or $this->error(mysql_error()); - $this->unlinkSql($res); - return $tmp; - } - elseif($handling === "ARRAY") { - $tmp = $this->parseSql($res); - $this->unlinkSql($res); - return $tmp; - } - elseif($handling === "NONE") { - $this->unlinkSql($res); - return true; - } - else { - return $res; - } - } - else { - return false; - } - } - - function unlinkSql($res) { - @mysql_free_result($res); - } - - private function parseSql($res) { - $data = array(); - $k = 0; - while($tmp = mysql_fetch_array($res,MYSQL_ASSOC)) { - $data[$k] = $tmp; - $k++; - } - - return $data; - } - - function getNext($res) { - if($res) { - if($tmp = mysql_fetch_array($res,MYSQL_ASSOC)) { - return $tmp; - } - else { - return false; - } - } - else { - return false; - } - } - - private function error($error,$query = false) { // error handler - global $log; - - $this->DBstats['error']++; - - if($query != false) { - $error .= " -->|".$query."|<--"; - } - - switch($this->DBerror) { - case 'DIE': - die($error); - break; - case 'PRINT': - echo "
".$error."
"; - break; - case 'ALERT': - echo ""; - break; - case 'LOG': - $log->logf("MySQL ERROR: ".$error); - break; - default: - flush(); - break; - } - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/conf.php b/code/web/app/app_achievements/_AchWebParser/conf.php deleted file mode 100644 index 0c597e934..000000000 --- a/code/web/app/app_achievements/_AchWebParser/conf.php +++ /dev/null @@ -1,31 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/include/functions_inc.php b/code/web/app/app_achievements/_AchWebParser/include/functions_inc.php deleted file mode 100644 index bc0a1d960..000000000 --- a/code/web/app/app_achievements/_AchWebParser/include/functions_inc.php +++ /dev/null @@ -1,21 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/log/_logDefaultDir_ b/code/web/app/app_achievements/_AchWebParser/log/_logDefaultDir_ deleted file mode 100644 index e69de29bb..000000000 diff --git a/code/web/app/app_achievements/_AchWebParser/log/xml_tmp/_xml_tmp_dir b/code/web/app/app_achievements/_AchWebParser/log/xml_tmp/_xml_tmp_dir deleted file mode 100644 index e69de29bb..000000000 diff --git a/code/web/app/app_achievements/_AchWebParser/script/_scriptDir b/code/web/app/app_achievements/_AchWebParser/script/_scriptDir deleted file mode 100644 index e69de29bb..000000000 diff --git a/code/web/app/app_achievements/_AchWebParser/script/include_InPoly_class.php b/code/web/app/app_achievements/_AchWebParser/script/include_InPoly_class.php deleted file mode 100644 index 476c77b41..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/include_InPoly_class.php +++ /dev/null @@ -1,77 +0,0 @@ -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]); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/script/item_grade_script.php b/code/web/app/app_achievements/_AchWebParser/script/item_grade_script.php deleted file mode 100644 index 4be071adc..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/item_grade_script.php +++ /dev/null @@ -1,13 +0,0 @@ -sendSQL("SELECT grade FROM ryzom_nimetu_item_data WHERE sheetid='".str_replace(".sitem","",$item)."'","ARRAY"); - - #echo $res[0]['grade']; - - return $res[0]['grade']; -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/script/places/continents.php b/code/web/app/app_achievements/_AchWebParser/script/places/continents.php deleted file mode 100644 index e7fb2ccbb..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/places/continents.php +++ /dev/null @@ -1,6 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/script/places/global.php b/code/web/app/app_achievements/_AchWebParser/script/places/global.php deleted file mode 100644 index 1b6609f53..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/places/global.php +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/script/places/silan.php b/code/web/app/app_achievements/_AchWebParser/script/places/silan.php deleted file mode 100644 index a77ea8357..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/places/silan.php +++ /dev/null @@ -1,26 +0,0 @@ - \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/script/statsdb.php b/code/web/app/app_achievements/_AchWebParser/script/statsdb.php deleted file mode 100644 index 85d92fa61..000000000 --- a/code/web/app/app_achievements/_AchWebParser/script/statsdb.php +++ /dev/null @@ -1,82 +0,0 @@ -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); - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/PDRtoXMLdriver_class.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/PDRtoXMLdriver_class.php deleted file mode 100644 index 9639a7714..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/PDRtoXMLdriver_class.php +++ /dev/null @@ -1,845 +0,0 @@ -lock = 0; - $this->open = null; - $this->entity = null; - $this->inv = null; - $this->iblock = false; - - $this->petcount = 0; - $this->itemcount = 0; - - $this->gear = new Gear(); - $this->skills = new SkillList(); - $this->mission = new MissionList(); - $this->friendlist = new Friendlist(); - - //these nodes are ignored, but children are processed - $this->ignore = array(); - $this->ignore[] = "XML"; - $this->ignore[] = "ENTITYBASE"; - $this->ignore[] = "NORMALPOSITIONS"; - $this->ignore[] = "_VEC"; - $this->ignore[] = "SESSIONID"; - #$this->ignore[] = "POSSTATE"; - $this->ignore[] = "_PLAYERROOM"; - $this->ignore[] = "_INVENTORYID"; - $this->ignore[] = "_PHYSCHARACS"; - $this->ignore[] = "_PHYSSCORES"; - $this->ignore[] = "_SKILLS"; - $this->ignore[] = "_FAMES"; - - //these nodes are ignored, as well as their children - $this->ignore_block = array(); - $this->ignore_block[] = "_MEMORIZEDPHRASES"; - $this->ignore_block[] = "_FORBIDPOWERDATES"; - $this->ignore_block[] = "_INEFFECTIVEAURAS"; - $this->ignore_block[] = "_CONSUMABLEOVERDOSEENDDATES"; - $this->ignore_block[] = "_MODIFIERSINDB"; - $this->ignore_block[] = "_MISSIONS"; - $this->ignore_block[] = "_ITEMSINSHOPSTORE"; - $this->ignore_block[] = "RINGREWARDPOINTS"; - $this->ignore_block[] = "_PACT"; - $this->ignore_block[] = "_KNOWNPHRASES"; - $this->ignore_block[] = "STARTINGCHARACTERISTICVALUES"; - $this->ignore_block[] = "_ENCYCLOCHAR"; - $this->ignore_block[] = "_GAMEEVENT"; - $this->ignore_block[] = "_ENTITYPOSITION"; - $this->ignore_block[] = "_MISSIONHISTORIES"; - $this->ignore_block[] = "_KNOWNBRICKS"; - $this->ignore_block[] = "_BOUGHTPHRASES"; - $this->ignore_block[] = "SKILLPOINTS"; - $this->ignore_block[] = "SPENTSKILLPOINTS"; - $this->ignore_block[] = "_LASTLOGSTATS"; - } - - function drive($cdata) { - global $_DISPATCHER,$MY_PATH,$log; - - #$file = $this->conf['xml_dir']."account_".$uid."_".$slot."_pdr.xml"; - $file = $_REQUEST['file']; - - $xml_parser = xml_parser_create(); - xml_set_object($xml_parser,$this); - xml_set_element_handler($xml_parser, "startElement", "endElement"); - - // temporary storage for xml files for debug purpose - $ftmp = fopen($MY_PATH."/log/xml_tmp/char_".$cdata['cid'].".xml","w"); - $fcont = file_get_contents($file); - fwrite($ftmp,$fcont); - fclose($ftmp); - # end of temp xml store - - if(!xml_parse($xml_parser, $fcont)) { - $log->logf("FATAL ERROR (PDRtoXMLdriver): unable to parse given XML!"); - $log->close(); - die(); - } - - xml_parser_free($xml_parser); - - $_DISPATCHER->dispatchEntity($this->gear->getName(),$this->gear); - #echo var_export($this->gear,true); - $_DISPATCHER->dispatchEntity($this->skills->getName(),$this->skills); - $_DISPATCHER->dispatchEntity($this->friendlist->getName(),$this->friendlist); - #$_DISPATCHER->dispatchEntity($this->skills->mission(),$this->mission); - $_DISPATCHER->dispatchValue('petcount',$this->petcount); - $_DISPATCHER->dispatchValue('itemcount',$this->itemcount); - } - - function startElement($parser, $name, $attrs) { - global $_DISPATCHER,$DBc,$XMLgenerator; - - array_push($this->pathid,$name); - - $XMLgenerator->xml_split(implode("/",$this->pathid),$name,$attrs,true); - - if($this->lock == 1) { - return null; - } - - if(in_array($name,$this->ignore)) { - return null; - } - - if(in_array($name,$this->ignore_block)) { - $this->lock = 1; - return null; - } - - /* spawn points */ - if($name == "RESPAWNPOINTS" && !$attrs["VALUE"]) { - $this->open = "RESPAWNPOINTS"; - $this->entity = new RespawnPoints(); - return null; - } - - if($this->open == "RESPAWNPOINTS") { - if($name == "RESPAWNPOINTS") { - $this->respawn_outer = 0; - $this->entity->spawns[] = $attrs["VALUE"]; - } - } - - /* faction points */ - if($name == "FACTIONPOINTS") { - $this->open = "FACTIONPOINTS"; - return null; - } - - if($this->open == "FACTIONPOINTS") { - if($name == "__KEY__") { - $this->entity = new FactionPoints(); - $this->entity->faction = $attrs["VALUE"]; - return null; - } - - if($name == "__VAL__") { - $this->entity->value = $attrs["VALUE"]; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - return null; - } - - /* Fame */ - if($name == "_FAME") { - $this->open = "_FAME"; - return null; - } - - if($this->open == "_FAME") { - if($name == "__KEY__") { - $this->entity = new Fame(); - $this->entity->faction = $attrs["VALUE"]; - return null; - } - - if($name == "FAME") { - $this->entity->fame = $attrs["VALUE"]; - return null; - } - if($name == "FAMEMEMORY") { - $this->entity->famememory = $attrs["VALUE"]; - return null; - } - if($name == "LASTFAMECHANGETREND") { - $this->entity->lastfamechangetrend = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* last log stats */ - if($name == "_LASTLOGSTATS") { - $this->open = "_LASTLOGSTATS"; - $this->entity = new LastLogStats(); - return null; - } - - if($this->open == "_LASTLOGSTATS") { - if($name == "LOGINTIME") { - $this->entity->logintime = $attrs["VALUE"]; - return null; - } - if($name == "DURATION") { - $this->entity->duration = $attrs["VALUE"]; - return null; - } - if($name == "LOGOFFTIME") { - $this->entity->logofftime = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* mission */ - if($name == "_MISSIONHISTORIES") { - $this->open = "_MISSIONHISTORIES"; - return null; - } - - if($this->open == "_MISSIONHISTORIES") { - if($name == "__KEY__") { - $this->entity = new Mission(); - $this->entity->mission = $attrs["VALUE"]; - return null; - } - - if($name == "SUCCESSFULL") { - $this->entity->successfull = $attrs["VALUE"]; - return null; - } - if($name == "UTC_LASTSUCCESSDATE") { - $this->entity->utc_lastsuccessdate = $attrs["VALUE"]; - return null; - } - - return null; - } - - if($name == "_FRIENDSLIST") { - $this->entity = new Friend(); - $this->entity->id = $attrs["VALUE"]; - $this->friendlist->friends[] = $this->entity; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - } - - if($name == "_ISFRIENDOF") { - $this->entity = new FriendOf(); - $this->entity->id = $attrs["VALUE"]; - $this->friendlist->friendof[] = $this->entity; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - } - - /* permanent mod */ - if($name == "SCOREPERMANENTMODIFIERS") { - $this->open = "SCOREPERMANENTMODIFIERS"; - return null; - } - - if($this->open == "SCOREPERMANENTMODIFIERS") { - if($name == "__KEY__") { - $this->entity = new PermanentMod(); - $this->entity->score = $attrs["VALUE"]; - return null; - } - - if($name == "__VAL__") { - $this->entity->value = $attrs["VALUE"]; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - return null; - } - - /* pet */ - if($name == "_PLAYERPETS") { - $this->open = "_PLAYERPETS"; - return null; - } - - if($this->open == "_PLAYERPETS") { - if($name == "__KEY__") { - $this->entity = new Pet(); - $this->entity->pet = $attrs["VALUE"]; - return null; - } - - if($name == "TICKETPETSHEETID") { - $this->entity->ticketpetsheetid = $attrs["VALUE"]; - return null; - } - if($name == "PETSHEETID") { - $this->entity->petsheetid = $attrs["VALUE"]; - $this->petcount++; - return null; - } - if($name == "PRICE") { - $this->entity->price = $attrs["VALUE"]; - return null; - } - if($name == "OWNERID") { - $this->entity->ownerid = $attrs["VALUE"]; - return null; - } - if($name == "STABLEALIAS") { - $this->entity->stablealias = $attrs["VALUE"]; - return null; - } - if($name == "LANDSCAPE_X") { - $this->entity->landscape_x = $attrs["VALUE"]; - return null; - } - if($name == "LANDSCAPE_Y") { - $this->entity->landscape_y = $attrs["VALUE"]; - return null; - } - if($name == "LANDSCAPE_Z") { - $this->entity->landscape_z = $attrs["VALUE"]; - return null; - } - if($name == "UTC_DEATHTICK") { - $this->entity->utc_deathtick = $attrs["VALUE"]; - return null; - } - if($name == "PETSTATUS") { - $this->entity->petstatus = $attrs["VALUE"]; - return null; - } - if($name == "SLOT") { - $this->entity->slot = $attrs["VALUE"]; - return null; - } - if($name == "ISTPALLOWED") { - $this->entity->istpallowed = $attrs["VALUE"]; - return null; - } - if($name == "SATIETY") { - $this->entity->satiety = $attrs["VALUE"]; - return null; - } - if($name == "CUSTOMNAME") { - $this->entity->customname = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* physical characteristics */ - if($name == "_PHYSICALCHARACTERISTICS") { - $this->open = "_PHYSICALCHARACTERISTICS"; - return null; - } - - if($this->open == "_PHYSICALCHARACTERISTICS") { - if($name == "__KEY__") { - $this->entity = new PhysCharacs(); - $this->entity->charac = $attrs["VALUE"]; - return null; - } - - if($name == "__VAL__") { - $this->entity->value = $attrs["VALUE"]; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - return null; - } - - /* physical scores */ - if($name == "PHYSICALSCORES") { - $this->open = "PHYSICALSCORES"; - return null; - } - - if($this->open == "PHYSICALSCORES") { - if($name == "__KEY__") { - $this->entity = new PhysScores(); - $this->entity->score = $attrs["VALUE"]; - return null; - } - - if($name == "CURRENT") { - $this->entity->current = $attrs["VALUE"]; - return null; - } - if($name == "BASE") { - $this->entity->base = $attrs["VALUE"]; - return null; - } - if($name == "MAX") { - $this->entity->max = $attrs["VALUE"]; - return null; - } - if($name == "BASEREGENERATEREPOS") { - $this->entity->baseregeneraterepos = $attrs["VALUE"]; - return null; - } - if($name == "BASEREGENERATEACTION") { - $this->entity->baseregenerateaction = $attrs["VALUE"]; - return null; - } - if($name == "CURRENTREGENERATE") { - $this->entity->currentregenerate = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* skill points */ - if($name == "SKILLPOINTS") { - $this->open = "SKILLPOINTS"; - return null; - } - - if($this->open == "SKILLPOINTS") { - if($name == "__KEY__") { - $this->entity = new SkillPoints(); - $this->entity->skill = $attrs["VALUE"]; - return null; - } - - if($name == "__VAL__") { - $this->entity->value = $attrs["VALUE"]; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - return null; - } - - /* spent skill points */ - if($name == "SPENTSKILLPOINTS") { - $this->open = "SPENTSKILLPOINTS"; - return null; - } - - if($this->open == "SPENTSKILLPOINTS") { - if($name == "__KEY__") { - $this->entity = new SpentSkillPoints(); - $this->entity->skill = $attrs["VALUE"]; - return null; - } - - if($name == "__VAL__") { - $this->entity->value = $attrs["VALUE"]; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - return null; - } - - /* skills */ - if($name == "SKILLS") { - $this->open = "SKILLS"; - return null; - } - - if($this->open == "SKILLS") { - if($name == "__KEY__") { - $this->entity = new Skill(); - $this->entity->skill = $attrs["VALUE"]; - return null; - } - - if($name == "BASE") { - $this->entity->base = $attrs["VALUE"]; - return null; - } - if($name == "CURRENT") { - $this->entity->current = $attrs["VALUE"]; - return null; - } - if($name == "MAXLVLREACHED") { - $this->entity->maxlvlreached = $attrs["VALUE"]; - return null; - } - if($name == "XP") { - $this->entity->xp = $attrs["VALUE"]; - return null; - } - if($name == "XPNEXTLVL") { - $this->entity->xpnextlvl = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* Position */ - if($name == "POSSTATE") { - $this->open = "POSSTATE"; - $this->entity = new Position(); - return null; - } - - if($this->open == "POSSTATE") { - if($name == "X") { - $this->entity->x = $attrs["VALUE"]; - return null; - } - if($name == "Y") { - $this->entity->y = $attrs["VALUE"]; - return null; - } - if($name == "Z") { - $this->entity->z = $attrs["VALUE"]; - return null; - } - if($name == "HEADING") { - $this->entity->heading = $attrs["VALUE"]; - return null; - } - - return null; - } - - /* items */ - - if($name == "ROOMINVENTORY") { - $this->inv = "room"; - return null; - } - - if($name == "INVENTORY") { - $this->iblock = true; - return null; - } - - if($this->iblock == true) { - if($name == "__KEY__") { - $this->inv = $attrs["VALUE"]; - } - if($name == "__VAL__") { - return null; - } - } - - if($name == "_ITEMS" || $name == "_ITEM") { - #echo "i
"; - $this->open = "_ITEM"; - $this->entity = new Item(); - $this->entity->inventory = $this->inv; - $this->itemcount++; - return null; - } - - if($this->open == "_ITEM") { - if($name == "_CRAFTPARAMETERS") { - $this->icraft = true; - return null; - } - - if($this->icraft == true) { - $this->entity->_craftparameters[strtolower($name)] = $attrs["VALUE"]; - return null; - } - - if($name == "_ITEMID") { - $this->entity->_itemid = $attrs["VALUE"]; - return null; - } - if($name == "_SHEETID") { - if($attrs["VALUE"]{0} == "#") { - $tmp = str_replace("#","",$attrs["VALUE"]); - $res = $DBc->sendSQL("SELECT * FROM ryzom_nimetu_sheets WHERE nsh_numid='".$tmp."'","ARRAY"); - $attrs["VALUE"] = $res[0]['nsh_name']."".$res[0]['nsh_suffix']; - } - $this->entity->_sheetid = $attrs["VALUE"]; - return null; - } - if($name == "_LOCSLOT") { - $this->entity->_locslot = $attrs["VALUE"]; - return null; - } - if($name == "_HP") { - $this->entity->_hp = $attrs["VALUE"]; - return null; - } - if($name == "_RECOMMENDED") { - $this->entity->_recommended = $attrs["VALUE"]; - return null; - } - if($name == "_CREATORID") { - $this->entity->_creatorid = $attrs["VALUE"]; - return null; - } - if($name == "_PHRASEID") { - $this->entity->_phraseid = $attrs["VALUE"]; - return null; - } - if($name == "_REFINVENTORYSLOT") { - $this->entity->_refinventoryslot = $attrs["VALUE"]; - #if($this->entity->refinventoryid != null) { - $this->gear->items[] = $this->entity; - #} - return null; - } - if($name == "REFINVENTORYID") { - $this->entity->refinventoryid = $attrs["VALUE"]; - return null; - } - if($name == "_USENEWSYSTEMREQUIREMENT") { - $this->entity->_usenewsystemrequirement = $attrs["VALUE"]; - return null; - } - if($name == "_REQUIREDSKILLLEVEL") { - $this->entity->_requiredskilllevel = $attrs["VALUE"]; - return null; - } - if($name == "_CUSTOMTEXT") { - $this->entity->_customtext = $attrs["VALUE"]; - return null; - } - if($name == "_LOCKEDBYOWNER") { - $this->entity->_lockedbyowner = $attrs["VALUE"]; - return null; - } - if($name == "_DROPABLE") { - $this->entity->_dropable = $attrs["VALUE"]; - return null; - } - if($name == "STACKSIZE") { - $this->entity->stacksize = $attrs["VALUE"]; - return null; - } - } - - - - - - if($attrs["VALUE"] != "") { - $_DISPATCHER->dispatchValue(strtolower($name),$attrs["VALUE"]); - } - } - - function endElement($parser, $name) { - global $_DISPATCHER,$XMLgenerator; - - $XMLgenerator->xml_split(implode("/",$this->pathid),$name,null,false); - array_pop($this->pathid); - - if(in_array($name,$this->ignore_block)) { - $this->lock = 0; - return null; - } - - if($this->lock == 1) { - return null; - } - - /* respawn points */ - if($name == "RESPAWNPOINTS") { - $this->respawn_outer++; // increment to track double close at end of block - } - - if($name == "RESPAWNPOINTS" && $this->respawn_outer > 1) { - $this->open = null; - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - /* faction points */ - if($name == "FACTIONPOINTS") { - $this->open = null; - return null; - } - - /* fame */ - if($name == "__VAL__" && $this->open == "FAME") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - if($name == "_FAME") { - $this->open = null; - return null; - } - - /* last log stats */ - if($name == "_LASTLOGSTATS") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - /* mission */ - if($name == "__VAL__" && $this->open == "_MISSIONHISTORIES") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->mission->missions[] = $this->entity; - $this->entity = null; - return null; - } - - if($name == "_MISSIONHISTORIES") { - $this->open = null; - return null; - } - - /* permanent mod */ - if($name == "SCOREPERMANENTMODIFIERS") { - $this->open = null; - return null; - } - - /* pet */ - if($name == "__VAL__" && $this->open == "_PLAYERPETS") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - #echo "dispatched"; - $this->entity = null; - return null; - } - - if($name == "_PLAYERPETS") { - $this->open = null; - return null; - } - - /* physical characteristics */ - if($name == "_PHYSICALCHARACTERISTICS") { - $this->open = null; - return null; - } - - /* physical scores */ - if($name == "__VAL__" && $this->open == "PHYSICALSCORES") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - if($name == "PHYSICALSCORES") { - $this->open = null; - return null; - } - - /* skill points */ - if($name == "SKILLPOINTS") { - $this->open = null; - return null; - } - - /* spent skill points */ - if($name == "SPENTSKILLPOINTS") { - $this->open = null; - return null; - } - - /* skills */ - if($name == "__VAL__" && $this->open == "SKILLS") { - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->skills->skills[] = $this->entity; - $this->entity = null; - return null; - } - - if($name == "SKILLS") { - $this->open = null; - return null; - } - - /* position */ - if($name == "POSSTATE") { - $this->entity->loadPlace(); - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - return null; - } - - /* items */ - if($name == "_ITEMS" || $name == "_ITEM") { - #echo "c
"; - if($this->open == "_ITEM") { - #echo var_export($this->entity,true); - $_DISPATCHER->dispatchEntity($this->entity->getName(),$this->entity); - $this->entity = null; - } - $this->open = null; - return null; - } - - if($name == "INVENTORY") { - $this->iblock = false; - return null; - } - - if($name == "_CRAFTPARAMETERS") { - $this->icraft = false; - return null; - } - - /*if($name == "_ITEM" || $name == "_ITEMS") { - $this->open = null; - return null; - }*/ - - - } - - - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FactionPoints_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FactionPoints_entity.php deleted file mode 100644 index fa18a0fc6..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FactionPoints_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("faction_points"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Fame_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Fame_entity.php deleted file mode 100644 index 0cfc5f15b..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Fame_entity.php +++ /dev/null @@ -1,12 +0,0 @@ -setName("fame"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FriendOf_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FriendOf_entity.php deleted file mode 100644 index 27978963f..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/FriendOf_entity.php +++ /dev/null @@ -1,15 +0,0 @@ -setName("friendof"); - } - - function getRealID() { - $tmp = explode(":",$this->id); - - return $tmp[0]; - } -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friend_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friend_entity.php deleted file mode 100644 index 72a9d1ee1..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friend_entity.php +++ /dev/null @@ -1,15 +0,0 @@ -setName("friend"); - } - - function getRealID() { - $tmp = explode(":",$this->id); - - return $tmp[0]; - } -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friendlist_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friendlist_entity.php deleted file mode 100644 index 471190de1..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Friendlist_entity.php +++ /dev/null @@ -1,29 +0,0 @@ -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; - } -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Gear_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Gear_entity.php deleted file mode 100644 index b84008061..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Gear_entity.php +++ /dev/null @@ -1,9 +0,0 @@ -setName("gear"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Item_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Item_entity.php deleted file mode 100644 index 2ffb89316..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Item_entity.php +++ /dev/null @@ -1,28 +0,0 @@ -setName("item"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/LastLogStats_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/LastLogStats_entity.php deleted file mode 100644 index 30878f04a..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/LastLogStats_entity.php +++ /dev/null @@ -1,11 +0,0 @@ -setName("lastlogstats"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/MissionList_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/MissionList_entity.php deleted file mode 100644 index ab4a7bea9..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/MissionList_entity.php +++ /dev/null @@ -1,9 +0,0 @@ -setName("missionlist"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Mission_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Mission_entity.php deleted file mode 100644 index 7a95ac744..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Mission_entity.php +++ /dev/null @@ -1,11 +0,0 @@ -setName("mission"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PermanentMod_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PermanentMod_entity.php deleted file mode 100644 index 008a74895..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PermanentMod_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("permanentmodifiers"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Pet_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Pet_entity.php deleted file mode 100644 index e92499d93..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Pet_entity.php +++ /dev/null @@ -1,24 +0,0 @@ -setName("pet"); - #echo "created"; - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysCharacs_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysCharacs_entity.php deleted file mode 100644 index c71109d02..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysCharacs_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("phys_characs"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysScores_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysScores_entity.php deleted file mode 100644 index d7deca5bb..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/PhysScores_entity.php +++ /dev/null @@ -1,15 +0,0 @@ -setName("phys_scores"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Position_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Position_entity.php deleted file mode 100644 index c96cb35dc..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Position_entity.php +++ /dev/null @@ -1,74 +0,0 @@ -setName("position"); - $this->placeid = "place_unknown"; - } - - function loadPlace() { - global $_DISPATCHER; - - @include_once("script/include_InPoly_class.php"); - $region = array(); - $subregion = false; - - include("script/places/global.php"); - - $point = floor($this->x/1000)." ".floor($this->y/1000); - - $pointLocation = new pointLocation(); - - $res = $pointLocation->pointInPolygon($point, $region['place_silan'], false); - - if($res != "outside") { - include("script/places/silan.php"); - } - else { - include("script/places/continents.php"); - $region2 = $region; - foreach($region2 as $key=>$r) { - $res = $pointLocation->pointInPolygon($point, $r, false); - if($res != "outside") { - include("script/places/".$key.".php"); - if($subregion == true) { - foreach($region as $key2=>$r2) { - $res2 = $pointLocation->pointInPolygon($point, $r2, false); - if($res2 != "outside") { - include("script/places/".$key."/".$key2.".php"); - break; - } - } - } - break; - } - } - } - - foreach($region as $key=>$r) { - $res = $pointLocation->pointInPolygon($point, $r, false); - if($res != "outside") { - if($this->placeid == "place_unknown") { - $this->placeid = $key; - } - else { - $tmp = new Position(); - $tmp->x = $this->x; - $tmp->y = $this->y; - $tmp->z = $this->z; - $tmp->heading = $this->heading; - $tmp->placeid = $key; - - $_DISPATCHER->dispatchEntity($tmp->getName(),$tmp); - } - #break; - } - } - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/RespawnPoints_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/RespawnPoints_entity.php deleted file mode 100644 index f1973a134..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/RespawnPoints_entity.php +++ /dev/null @@ -1,80 +0,0 @@ -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; - } -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillList_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillList_entity.php deleted file mode 100644 index 6dc2202b3..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillList_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("skilllist"); - $this->skills = array(); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillPoints_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillPoints_entity.php deleted file mode 100644 index 81582b703..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SkillPoints_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("skillpoints"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Skill_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Skill_entity.php deleted file mode 100644 index f06132ac8..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Skill_entity.php +++ /dev/null @@ -1,14 +0,0 @@ -setName("skill"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SpentSkillPoints_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SpentSkillPoints_entity.php deleted file mode 100644 index 5bacb0e52..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/SpentSkillPoints_entity.php +++ /dev/null @@ -1,10 +0,0 @@ -setName("spentskillpoints"); - } - } -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Title_entity.php b/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Title_entity.php deleted file mode 100644 index 0186b37a7..000000000 --- a/code/web/app/app_achievements/_AchWebParser/source/PDRtoXMLdriver/entity/Title_entity.php +++ /dev/null @@ -1,20 +0,0 @@ -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']; - } -} -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/debug.php b/code/web/app/app_achievements/_AchWebParser/xmldef/debug.php deleted file mode 100644 index 0f009cf5f..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/debug.php +++ /dev/null @@ -1,84 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/faction.php b/code/web/app/app_achievements/_AchWebParser/xmldef/faction.php deleted file mode 100644 index f4ca5ddad..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/faction.php +++ /dev/null @@ -1,12 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/fame.php b/code/web/app/app_achievements/_AchWebParser/xmldef/fame.php deleted file mode 100644 index 568d18362..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/fame.php +++ /dev/null @@ -1,10 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/inventory.php b/code/web/app/app_achievements/_AchWebParser/xmldef/inventory.php deleted file mode 100644 index fbbb74b08..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/inventory.php +++ /dev/null @@ -1,131 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/knowledge.php b/code/web/app/app_achievements/_AchWebParser/xmldef/knowledge.php deleted file mode 100644 index 5ba75d2cc..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/knowledge.php +++ /dev/null @@ -1,11 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/logs.php b/code/web/app/app_achievements/_AchWebParser/xmldef/logs.php deleted file mode 100644 index acfd7b726..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/logs.php +++ /dev/null @@ -1,11 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/missions.php b/code/web/app/app_achievements/_AchWebParser/xmldef/missions.php deleted file mode 100644 index ea3a198ec..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/missions.php +++ /dev/null @@ -1,3 +0,0 @@ -addWildcard("XML/_MISSIONS","missions"); -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/public.php b/code/web/app/app_achievements/_AchWebParser/xmldef/public.php deleted file mode 100644 index 5b510db0c..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/public.php +++ /dev/null @@ -1,40 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/shop.php b/code/web/app/app_achievements/_AchWebParser/xmldef/shop.php deleted file mode 100644 index 5d842a17a..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/shop.php +++ /dev/null @@ -1,66 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/skills.php b/code/web/app/app_achievements/_AchWebParser/xmldef/skills.php deleted file mode 100644 index f0f8e2113..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/skills.php +++ /dev/null @@ -1,21 +0,0 @@ -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"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/social.php b/code/web/app/app_achievements/_AchWebParser/xmldef/social.php deleted file mode 100644 index 92c015fd8..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/social.php +++ /dev/null @@ -1,7 +0,0 @@ -def['XML/_FRIENDSLIST'] = array("social"); -$this->def['XML/_ISFRIENDOF'] = array("social"); -$this->def['XML/FRIENDVISIBILITy'] = array("social"); - -?> \ No newline at end of file diff --git a/code/web/app/app_achievements/_AchWebParser/xmldef/stats.php b/code/web/app/app_achievements/_AchWebParser/xmldef/stats.php deleted file mode 100644 index 014202f1b..000000000 --- a/code/web/app/app_achievements/_AchWebParser/xmldef/stats.php +++ /dev/null @@ -1,27 +0,0 @@ -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"); - -?> \ No newline at end of file