"; $a = 0; while($row = mysql_fetch_object($result)){ $a++; mysql_connect($db_server2,$db_user2,$db_passwd2); mysql_select_db($db_name2); /*mysql_query("INSERT INTO `character` (`guid`,`account`,`data`,`name`,`race`,`class`,`position_x`,`position_y`,`position_z`,`map`,`orientation`,`taximask`,`online`,`cinematic`,`totaltime`,`leveltime`,`logout_time`,`is_logout_resting`,`rest_bonus`,`resettalents_time`,`trans_x`,`trans_y`,`trans_z`,`trans_o`,`transguid`,`gmstate`,`stable_slots`,`rename`) VALUES ('".$row->guid."','".$row->account."','".$row->data."','".$row->name."','".$row->race."','".$row->class."','".$row->position_x."','".$row->position_y."','".$row->position_z."','".$row->map."','".$row->orientation."','".$row->taximask."','".$row->online."','".$row->cinematic."','".$row->totaltime."','".$row->leveltime."','".$row->logout_time."','".$row->is_logout_resting."','".$row->rest_bonus."','".$row->resettalents_time."','".$row->trans_x."','".$row->trans_y."','".$row->trans_z."','".$row->trans_o."','".$row->transguid."','".$row->gmstate."','".$row->stable_slots."','".$row->rename."')");*/ /*mysql_query("INSERT INTO `character_action` (`guid`,`button`,`action`,`type`,`misc`) VALUES ('".$row->guid."','".$row->button."','".$row->action."','".$row->type."','".$row->misc."')");*/ /*mysql_query("INSERT INTO `character_aura` (`guid`,`spell`,`effect_index`,`remaintime`) VALUES ('".$row->guid."','".$row->spell."','".$row->effect_index."','".$row->remaintime."')");*/ /*mysql_query("INSERT INTO `character_homebind` (`guid`,`map`,`zone`,`position_x`,`position_y`,`position_z`) VALUES ('".$row->guid."','".$row->map."','".$row->zone."','".$row->position_x."','".$row->position_y."','".$row->position_z."')");*/ /*mysql_query("INSERT INTO `character_inventory` (`guid`,`bag`,`slot`,`item`,`item_template`) VALUES ('".$row->guid."','".$row->bag."','".$row->slot."','".$row->item."','".$row->item_template."')");*/ /*mysql_query("INSERT INTO `character_reputation` (`guid`,`faction`,`reputation`,`standing`,`flags`) VALUES ('".$row->guid."','".$row->faction."','".$row->reputation."','".$row->standing."','".$row->flags."')");*/ /*mysql_query("INSERT INTO `character_spell` (`guid`,`spell`,`slot`,`active`) VALUES ('".$row->guid."','".$row->spell."','".$row->slot."','".$row->active."')");*/ /*mysql_query("insert into `item_template`(`entry`,`class`,`subclass`,`unk0`,`name`,`displayid`,`Quality`,`Flags`,`BuyCount`,`BuyPrice`,`SellPrice`,`InventoryType`,`AllowableClass`,`AllowableRace`,`ItemLevel`,`RequiredLevel`,`RequiredSkill`,`RequiredSkillRank`,`requiredspell`,`requiredhonorrank`,`RequiredCityRank`,`RequiredReputationFaction`,`RequiredReputationRank`,`maxcount`,`stackable`,`ContainerSlots`,`stat_type1`,`stat_value1`,`stat_type2`,`stat_value2`,`stat_type3`,`stat_value3`,`stat_type4`,`stat_value4`,`stat_type5`,`stat_value5`,`stat_type6`,`stat_value6`,`stat_type7`,`stat_value7`,`stat_type8`,`stat_value8`,`stat_type9`,`stat_value9`,`stat_type10`,`stat_value10`,`dmg_min1`,`dmg_max1`,`dmg_type1`,`dmg_min2`,`dmg_max2`,`dmg_type2`,`dmg_min3`,`dmg_max3`,`dmg_type3`,`dmg_min4`,`dmg_max4`,`dmg_type4`,`dmg_min5`,`dmg_max5`,`dmg_type5`,`armor`,`holy_res`,`fire_res`,`nature_res`,`frost_res`,`shadow_res`,`arcane_res`,`delay`,`ammo_type`,`RangedModRange`,`spellid_1`,`spelltrigger_1`,`spellcharges_1`,`spellcooldown_1`,`spellcategory_1`,`spellcategorycooldown_1`,`spellid_2`,`spelltrigger_2`,`spellcharges_2`,`spellcooldown_2`,`spellcategory_2`,`spellcategorycooldown_2`,`spellid_3`,`spelltrigger_3`,`spellcharges_3`,`spellcooldown_3`,`spellcategory_3`,`spellcategorycooldown_3`,`spellid_4`,`spelltrigger_4`,`spellcharges_4`,`spellcooldown_4`,`spellcategory_4`,`spellcategorycooldown_4`,`spellid_5`,`spelltrigger_5`,`spellcharges_5`,`spellcooldown_5`,`spellcategory_5`,`spellcategorycooldown_5`,`bonding`,`description`,`PageText`,`LanguageID`,`PageMaterial`,`startquest`,`lockid`,`Material`,`sheath`,`RandomProperty`,`RandomSuffix`,`block`,`itemset`,`MaxDurability`,`area`,`Map`,`BagFamily`,`TotemCategory`,`socketColor_1`,`socketContent_1`,`socketColor_2`,`socketContent_2`,`socketColor_3`,`socketContent_3`,`socketBonus`,`GemProperties`,`ExtendedCost`,`RequiredDisenchantSkill`,`ArmorDamageModifier`,`ScriptName`,`DisenchantID`) values ('".$row->entry."','".$row->class."','".$row->subclass."','".$row->unk0."','".$row->name."','".$row->displayid."','".$row->Quality."','".$row->Flags."','".$row->BuyCount."','".$row->BuyPrice."','".$row->SellPrice."','".$row->InventoryType."','".$row->AllowableClass."','".$row->AllowableRace."','".$row->ItemLevel."','".$row->RequiredLevel."','".$row->RequiredSkill."','".$row->RequiredSkillRank."','".$row->requiredspell."','".$row->requiredhonorrank."','".$row->RequiredCityRank."','".$row->RequiredReputationFaction."','".$row->RequiredReputationRank."','".$row->maxcount."','".$row->stackable."','".$row->ContainerSlots."','".$row->stat_type1."','".$row->stat_value1."','".$row->stat_type2."','".$row->stat_value2."','".$row->stat_type3."','".$row->stat_value3."','".$row->stat_type4."','".$row->stat_value4."','".$row->stat_type5."','".$row->stat_value5."','".$row->stat_type6."','".$row->stat_value6."','".$row->stat_type7."','".$row->stat_value7."','".$row->stat_type8."','".$row->stat_value8."','".$row->stat_type9."','".$row->stat_value9."','".$row->stat_type10."','".$row->stat_value10."','".$row->dmg_min1."','".$row->dmg_max1."','".$row->dmg_type1."','".$row->dmg_min2."','".$row->dmg_max2."','".$row->dmg_type2."','".$row->dmg_min3."','".$row->dmg_max3."','".$row->dmg_type3."','".$row->dmg_min4."','".$row->dmg_max4."','".$row->dmg_type4."','".$row->dmg_min5."','".$row->dmg_max5."','".$row->dmg_type5."','".$row->armor."','".$row->holy_res."','".$row->fire_res."','".$row->nature_res."','".$row->frost_res."','".$row->shadow_res."','".$row->arcane_res."','".$row->delay."','".$row->ammo_type."','".$row->RangedModRange."','".$row->spellid_1."','".$row->spelltrigger_1."','".$row->spellcharges_1."','".$row->spellcooldown_1."','".$row->spellcategory_1."','".$row->spellcategorycooldown_1."','".$row->spellid_2."','".$row->spelltrigger_2."','".$row->spellcharges_2."','".$row->spellcooldown_2."','".$row->spellcategory_2."','".$row->spellcategorycooldown_2."','".$row->spellid_3."','".$row->spelltrigger_3."','".$row->spellcharges_3."','".$row->spellcooldown_3."','".$row->spellcategory_3."','".$row->spellcategorycooldown_3."','".$row->spellid_4."','".$row->spelltrigger_4."','".$row->spellcharges_4."','".$row->spellcooldown_4."','".$row->spellcategory_4."','".$row->spellcategorycooldown_4."','".$row->spellid_5."','".$row->spelltrigger_5."','".$row->spellcharges_5."','".$row->spellcooldown_5."','".$row->spellcategory_5."','".$row->spellcategorycooldown_5."','".$row->bonding."','".$row->description."','".$row->PageText."','".$row->LanguageID."','".$row->PageMaterial."','".$row->startquest."','".$row->lockid."','".$row->Material."','".$row->sheath."','".$row->RandomProperty."','".$row->RandomSuffix."','".$row->block."','".$row->itemset."','".$row->MaxDurability."','".$row->area."','".$row->Map."','".$row->BagFamily."','".$row->TotemCategory."','".$row->socketColor_1."','".$row->socketContent_1."','".$row->socketColor_2."','".$row->socketContent_2."','".$row->socketColor_3."','".$row->socketContent_3."','".$row->socketBonus."','".$row->GemProperties."','".$row->ExtendedCost."','".$row->RequiredDisenchantSkill."','".$row->ArmorDamageModifier."','".$row->ScriptName."','".$row->DisenchantID."')");*/ echo "Account $row->guid geupdatet
"; } ?>