[War Games Dev.]Rankig's v1
Import Tables MYSQL
/install/pw_wargamesdev.sql
Set
/Connections/wargames.php
/install/rank.sh (Only lines 5,8,11,14,18)
Commands to Run
./rank.sh (within the Folder /install/)
the install folder is not the one who presisa Being folder /www/
Download 4Shared
http://wargamesdev.com/imagens/War%2...erritorios.jpg
http://wargamesdev.com/imagens/War%2...anking%201.jpg
http://wargamesdev.com/imagens/War%2...anking%202.jpg
http://wargamesdev.com/imagens/War%2...anking%203.jpg
Quote:
en_us.php create a file in the folder (
/linguagem/)
had been
/linguagem/en_us.php
PHP Code:
<?php
// War Games Dev. Rankings
// http://forum.wargamesdev.com/
$numero = 1;
$ULTIMA_ATT = "Last Update";
$NUMERO = "N°";
$NOME = "Nick";
$NIVEL = "Nv.";
$CULTIVO = "Cultivation";
$CLASSE = "Class";
$GENERO = "Gender";
$CLAN = "Faction";
$MATOU = "Kill";
$CARGO = "Berth";
$DONO = "Owner";
$TOTAL_MEMB = "Total Members";
$TERRITORIO = "Territory";
$TERRITORIOS = "Territories";
$PONTOS = "Point(s)";
$GOVERN = "Ruler";
$INVASOR = "Invader";
//Classes
$classe[0] = "<img height=20 width=20 src=classes/guerreiro.png title=Blademaster>";
$classe[1] = "<img height=20 width=20 src=classes/mago.png title=Wizard>";
$classe[2] = "<img height=20 width=20 src=classes/espiritualista.png title=Psychic>";
$classe[3] = "<img height=20 width=20 src=classes/feiticeira.png title=Venomancer>";
$classe[4] = "<img height=20 width=20 src=classes/barbaro.png title=Barbarian>";
$classe[5] = "<img height=20 width=20 src=classes/mercenario.png title=Assassin>";
$classe[6] = "<img height=20 width=20 src=classes/arqueiro.png title=Archer>";
$classe[7] = "<img height=20 width=20 src=classes/sacerdote.png title=Cleric>";
$classe[8] = "<img height=20 width=20 src=classes/arcano.png title=Seeker>";
$classe[9] = "<img height=20 width=20 src=classes/mistico.png title=Mystic>";
//Genero
$sex[0] = "Man";
$sex[1] = "Woman";
//Cultivo
$cult[0] = "Initial";
$cult[1] = "Adept";
$cult[2] = "Principle";
$cult[3] = "Harmony";
$cult[4] = "Discord";
$cult[5] = "Coalescence";
$cult[6] = "Transcendant";
$cult[7] = "Enlightened One";
$cult[8] = "<font color=#0000CC>Vacuity";
$cult[20] = "<font color=#0066FF>Sage 1";
$cult[21] = "<font color=#0066FF>Sage 2";
$cult[22] = "<font color=#0066FF>Sage 3";
$cult[30] = "<font color=#C10000>Demon 1";
$cult[31] = "<font color=#C10000>Demon 2";
$cult[32] = "<font color=#C10000>Demon 3";
//Cargos Clan
$cargo[2] = "<font color=#DD0000>Leader";
$cargo[3] = "<font color=#F90000>General";
$cargo[4] = "<font color=#FF4646>Major";
$cargo[5] = "<font color=#FF7171>Captain";
$cargo[6] = "Soldier";
//Clan Nivel
$clan_lv[0] = "1";
$clan_lv[1] = "2";
$clan_lv[2] = "3";
$VOLTAR = "Back";
$LEGENDA = "Legend";
$SOB_GOVERN = "About Territory Ruler";
$SOB_INVASOR = "About Territory Invader";
$SOB_LANCE = "About Lance Territory";
$N_GOVERN = "There Ruler";
$N_INVASOR = "There Invader";
//MAPAS
$MAPA_N[0] = "";
$MAPA_N[1] = "01. The Harshlands";
$MAPA_N[2] = "02. The Frozen Path";
$MAPA_N[3] = "03. Avalanche Canyon";
$MAPA_N[4] = "04. Thousand Wood Ridge";
$MAPA_N[5] = "05. Haunted Path";
$MAPA_N[6] = "06. Missfortune";
$MAPA_N[7] = "<font color=#F90>07. Thousand Streams";
$MAPA_N[8] = "08. Ancient Wall";
$MAPA_N[9] = "09. Broken Plain";
$MAPA_N[10] = "<font color=#F90>10. Etherblade";
$MAPA_N[11] = "11. Walled Stronghold";
$MAPA_N[12] = "12. Ancient Peak";
$MAPA_N[13] = "13. Immolation Camp";
$MAPA_N[14] = "14. Plain of Farewells";
$MAPA_N[15] = "15. Windswept Grassland";
$MAPA_N[16] = "16. Tragewind Village";
$MAPA_N[17] = "17. Shining Tide Woods";
$MAPA_N[18] = "18. Mount Lantern";
$MAPA_N[19] = "19. Dragon Wilderness";
$MAPA_N[20] = "20. Sundown Highlands";
$MAPA_N[21] = "21. Dribbeling Spring";
$MAPA_N[22] = "<font color=#F90>22. City of the Lost";
$MAPA_N[23] = "23. Dragon´s End";
$MAPA_N[24] = "24. Silke Ridge";
$MAPA_N[25] = "25. Wallspring Village";
$MAPA_N[26] = "26. The Great Lake";
$MAPA_N[27] = "<font color=#F90>27. Archosaur";
$MAPA_N[28] = "28. Hidden Orchid";
$MAPA_N[29] = "29. Fragrant Hills";
$MAPA_N[30] = "30. Sanctuary";
$MAPA_N[31] = "31. Desetrted Sea";
$MAPA_N[32] = "32. Vibrant Cliffs";
$MAPA_N[33] = "33. Courage Path";
$MAPA_N[34] = "<font color=#F90>34. City Of The Plum";
$MAPA_N[35] = "35. Stairway to Heaven";
$MAPA_N[36] = "36. Kings Feast";
$MAPA_N[37] = "37. Swamp of the Wraith";
$MAPA_N[38] = "38. Forest of Haze";
$MAPA_N[39] = "39. Buried Bones";
$MAPA_N[40] = "40. Southern Stronghold";
$MAPA_N[41] = "41. The White Ridge";
$MAPA_N[42] = "42. Black Mountain";
$MAPA_N[43] = "43. Dreaming Cloud";
$MAPA_N[44] = "<font color=#F90>44. Dreamweaver Port";
$MAPA_N[45] = "45. Shattered Cloud Island";
$MAPA_N[46] = "46. Island of the Broken Dreams";
$MAPA_N[47] = "<font color=#F90>47. City of Raging Tides";
$MAPA_N[48] = "48. The Fissure";
$MAPA_N[49] = "49. Starry Wilds";
$MAPA_N[50] = "<font color=#F90>50. Tellus City";
$MAPA_N[51] = "51. Snowdragon Heights";
// War Games Dev. Rankings
// http://forum.wargamesdev.com/
?>
Save
after that open the linguagem.php
change
PHP Code:
<? php include ('pt_br.php');?>
to
PHP Code:
<? php include ('en_us.php');?>
Save
Quote:
example to fix positioning of some sites that may be wrong
this is an example for the map 25 which is out of place
open (/territorios/ids.php)
look for ($id[22] = "22";) change to ($id[22] = "25";)
look for ($id[25] = "25";) change to ($id[25] = "22";)
it served to all maps
after thinking about it I did ids.php
OBS : The Page ids.php is to set the ids of maps u will have to change according to the right, not the other one just sobstituir
Re: [War Games Dev.]Rankig's v1
edit:
works perfect ...
multilanguage service > perfect ...
but it´ll be nice to translate the script to english ... world lang is english ... translate pt/br is very difficult ...
Re: [War Games Dev.]Rankig's v1
same like my Up post..:thumbup:
Re: [War Games Dev.]Rankig's v1
Quote:
Originally Posted by
fgru
edit:
works perfect ...
multilanguage service > perfect ...
but it´ll be nice to translate the script to english ... world lang is english ... translate pt/br is very difficult ...
en.php create a file in the folder (linguagem)
had been /linguagem/en.php
PHP Code:
<?php
// War Games Dev. Rankings
// http://forum.wargamesdev.com/
$numero = 1;
$ULTIMA_ATT = "Last Update";
$NUMERO = "N°";
$NOME = "Nick";
$NIVEL = "Nv.";
$CULTIVO = "Cultivation";
$CLASSE = "Class";
$GENERO = "Gender";
$CLAN = "Faction";
$MATOU = "Kill";
$CARGO = "Berth";
$DONO = "Owner";
$TOTAL_MEMB = "Total Members";
$TERRITORIO = "Territory";
$TERRITORIOS = "Territories";
$PONTOS = "Point(s)";
$GOVERN = "Ruler";
$INVASOR = "Invader";
//Classes
$classe[0] = "<img height=20 width=20 src=classes/guerreiro.png title=Blademaster>";
$classe[1] = "<img height=20 width=20 src=classes/mago.png title=Wizard>";
$classe[2] = "<img height=20 width=20 src=classes/espiritualista.png title=Psychic>";
$classe[3] = "<img height=20 width=20 src=classes/feiticeira.png title=Venomancer>";
$classe[4] = "<img height=20 width=20 src=classes/barbaro.png title=Barbarian>";
$classe[5] = "<img height=20 width=20 src=classes/mercenario.png title=Assassin>";
$classe[6] = "<img height=20 width=20 src=classes/arqueiro.png title=Archer>";
$classe[7] = "<img height=20 width=20 src=classes/sacerdote.png title=Cleric>";
$classe[8] = "<img height=20 width=20 src=classes/arcano.png title=Seeker>";
$classe[9] = "<img height=20 width=20 src=classes/mistico.png title=Mystic>";
//Genero
$sex[0] = "Man";
$sex[1] = "Woman";
//Cultivo
$cult[0] = "Initial";
$cult[1] = "Adept";
$cult[2] = "Principle";
$cult[3] = "Harmony";
$cult[4] = "Discord";
$cult[5] = "Coalescence";
$cult[6] = "Transcendant";
$cult[7] = "Enlightened One";
$cult[8] = "<font color=#0000CC>Vacuity";
$cult[20] = "<font color=#0066FF>Sage 1";
$cult[21] = "<font color=#0066FF>Sage 2";
$cult[22] = "<font color=#0066FF>Sage 3";
$cult[30] = "<font color=#C10000>Demon 1";
$cult[31] = "<font color=#C10000>Demon 2";
$cult[32] = "<font color=#C10000>Demon 3";
//Cargos Clan
$cargo[2] = "<font color=#DD0000>Leader";
$cargo[3] = "<font color=#F90000>General";
$cargo[4] = "<font color=#FF4646>Major";
$cargo[5] = "<font color=#FF7171>Captain";
$cargo[6] = "Soldier";
//Clan Nivel
$clan_lv[0] = "1";
$clan_lv[1] = "2";
$clan_lv[2] = "3";
$VOLTAR = "Back";
$LEGENDA = "Legend";
$SOB_GOVERN = "About Territory Ruler";
$SOB_INVASOR = "About Territory Invader";
$SOB_LANCE = "About Lance Territory";
$N_GOVERN = "There Ruler";
$N_INVASOR = "There Invader";
//MAPAS
$MAPA_N[0] = "";
$MAPA_N[1] = "01. Terra Congelada";
$MAPA_N[2] = "02. Terra Gelada";
$MAPA_N[3] = "03. Garganta da Avalanche";
$MAPA_N[4] = "04. Montanha das Árvores";
$MAPA_N[5] = "05. Terra de Hades";
$MAPA_N[6] = "06. Cidade da Perdição";
$MAPA_N[7] = "<font color=#F90>07. CIDADE UNIVERSAL";
$MAPA_N[8] = "08. Grande Muralha Ancestral";
$MAPA_N[9] = "09. Planicie da Vitória";
$MAPA_N[10] = "<font color=#F90>10. CIDADE DAS ESPADAS";
$MAPA_N[11] = "11. Cidade Quadrada";
$MAPA_N[12] = "12. Montanha Desolada";
$MAPA_N[13] = "13. Vila do Fogo";
$MAPA_N[14] = "14. Campo dos Lirios";
$MAPA_N[15] = "15. Campos dos Ventos";
$MAPA_N[16] = "16. Cidade do Vento Alicio";
$MAPA_N[17] = "17. Tumba Verdejante";
$MAPA_N[18] = "18. Montanha do Farol";
$MAPA_N[19] = "19. Terra dos Dragões";
$MAPA_N[20] = "20. Planalto do Por-do-Sol";
$MAPA_N[21] = "21. Nascente Fraca";
$MAPA_N[22] = "<font color=#F90>22. CIDADE DAS FERAS";
$MAPA_N[23] = "23. Declive do Dragão";
$MAPA_N[24] = "24. Montanha da Seda";
$MAPA_N[25] = "25. Cidade do Rio";
$MAPA_N[26] = "26. Lado Celeste";
$MAPA_N[27] = "<font color=#F90>27. CIDADE DO DRAGÃO";
$MAPA_N[28] = "28. Vale das Orquideas";
$MAPA_N[29] = "29. Monte Perfumado";
$MAPA_N[30] = "30. Castelo Flor de Pessegueiro";
$MAPA_N[31] = "31. Mar de Areia";
$MAPA_N[32] = "32. Montanha dos Cisnes";
$MAPA_N[33] = "33. Caminho da Alegria";
$MAPA_N[34] = "<font color=#F90>34. CIDADE DAS PLUMAS";
$MAPA_N[35] = "35. Rochedo Celeste";
$MAPA_N[36] = "36. Reino Yu";
$MAPA_N[37] = "37. Pântano Desalmado";
$MAPA_N[38] = "38. Selva Obscura";
$MAPA_N[39] = "39. Cemitério";
$MAPA_N[40] = "40. Monte Nanping";
$MAPA_N[41] = "41. Montanha Branca";
$MAPA_N[42] = "42. Montanha Negra";
$MAPA_N[43] = "43. Montanha dos Sonhos";
$MAPA_N[44] = "<font color=#F90>44. PORTO DOS SONHOS";
$MAPA_N[45] = "45. Ilha Cimus";
$MAPA_N[46] = "46. Ilha do Pesadelo";
$MAPA_N[47] = "<font color=#F90>47. CIDADE DA TORMENTA";
$MAPA_N[48] = "48. A Fenda";
$MAPA_N[49] = "49. Selva Estrelada";
$MAPA_N[50] = "<font color=#F90>50. CIDADE DE TELLUS";
$MAPA_N[51] = "51. Montanha do Dragão de Gelo";
// War Games Dev. Rankings
// http://forum.wargamesdev.com/
?>
Save
after that open the linguagem.php
change
PHP Code:
<? php include ('pt_br.php');?>
to
PHP Code:
<? php include ('en.php');?>
Save
Name of the maps are not translated because not found the names
Re: [War Games Dev.]Rankig's v1
Quote:
Originally Posted by
igorscheffer
Name of the maps are not translated because not found the names
PHP Code:
$MAPA_N[0] = "";
$MAPA_N[1] = "01. The Harshlands";
$MAPA_N[2] = "02. The Frozen Path";
$MAPA_N[3] = "03. Avalanche Canyon";
$MAPA_N[4] = "04. Thousand Wood Ridge";
$MAPA_N[5] = "05. Haunted Path";
$MAPA_N[6] = "06. Missfortune";
$MAPA_N[7] = "<font color=#F90>07. Thousand Streams";
$MAPA_N[8] = "08. Ancient Wall";
$MAPA_N[9] = "09. Broken Plain";
$MAPA_N[10] = "<font color=#F90>10. Etherblade";
$MAPA_N[11] = "11. Walled Stronghold";
$MAPA_N[12] = "12. Ancient Peak";
$MAPA_N[13] = "13. Immolation Camp";
$MAPA_N[14] = "14. Plain of Farewells";
$MAPA_N[15] = "15. Windswept Grassland";
$MAPA_N[16] = "16. Tragewind Village";
$MAPA_N[17] = "17. Shining Tide Woods";
$MAPA_N[18] = "18. Mount Lantern";
$MAPA_N[19] = "19. Dragon Wilderness";
$MAPA_N[20] = "20. Sundown Highlands";
$MAPA_N[21] = "21. Dribbeling Spring";
$MAPA_N[22] = "<font color=#F90>22. City of the Lost";
$MAPA_N[23] = "23. Dragon´s End";
$MAPA_N[24] = "24. Silke Ridge";
$MAPA_N[25] = "25. Wallspring Village";
$MAPA_N[26] = "26. The Great Lake";
$MAPA_N[27] = "<font color=#F90>27. Archosaur";
$MAPA_N[28] = "28. Hidden Orchid";
$MAPA_N[29] = "29. Fragrant Hills";
$MAPA_N[30] = "30. Sanctuary";
$MAPA_N[31] = "31. Desetrted Sea";
$MAPA_N[32] = "32. Vibrant Cliffs";
$MAPA_N[33] = "33. Courage Path";
$MAPA_N[34] = "<font color=#F90>34. City Of The Plum";
$MAPA_N[35] = "35. Stairway to Heaven";
$MAPA_N[36] = "36. Kings Feast";
$MAPA_N[37] = "37. Swamp of the Wraith";
$MAPA_N[38] = "38. Forest of Haze";
$MAPA_N[39] = "39. Buried Bones";
$MAPA_N[40] = "40. Southern Stronghold";
$MAPA_N[41] = "41. The White Ridge";
$MAPA_N[42] = "42. Black Mountain";
$MAPA_N[43] = "43. Dreaming Cloud";
$MAPA_N[44] = "<font color=#F90>44. Dreamweaver Port";
$MAPA_N[45] = "45. Shattered Cloud Island";
$MAPA_N[46] = "46. Island of the Broken Dreams";
$MAPA_N[47] = "<font color=#F90>47. City of Raging Tides";
$MAPA_N[48] = "48. The Fissure";
$MAPA_N[49] = "49. Starry Wilds";
$MAPA_N[50] = "<font color=#F90>50. Tellus City";
$MAPA_N[51] = "51. Snowdragon Heights";
I hope it's all right ...
territorios.php?mapa_id=13 <> territorios.php?mapa_id=14 ... 13 and 14 are wrong place ...
change
PHP Code:
.mapa_13 { position: absolute; left: 6px; top: 149px; left: 6px;}
.mapa_14 { position: absolute; left: 73px; top: 147px;}
to
PHP Code:
.mapa_13 { position: absolute; left: 73px; top: 147px;}
.mapa_14 { position: absolute; left: 6px; top: 149px; left: 6px;}
Re: [War Games Dev.]Rankig's v1
Quote:
Originally Posted by
fgru
[PHP]
I hope it's all right ...
territorios.php?mapa_id=13 <> territorios.php?mapa_id=14 ... 13 and 14 are wrong place ...
change
PHP Code:
.mapa_13 { position: absolute; left: 6px; top: 149px; left: 6px;}
.mapa_14 { position: absolute; left: 73px; top: 147px;}
to
PHP Code:
.mapa_13 { position: absolute; left: 73px; top: 147px;}
.mapa_14 { position: absolute; left: 6px; top: 149px; left: 6px;}
actually to change the location map in case if it is the wrong id is changing in so ids.php folder (/territorios/ ids.php)
is easier doq keep changing styles
Re: [War Games Dev.]Rankig's v1
yes i see the problem ...
Quote:
$id[13]="14";
$id[14]="13";
style change back to the root ... and change the ids in /territorios/ ids.php
thats my version
http://img827.imageshack.us/img827/8601/5848.png
Re: [War Games Dev.]Rankig's v1
Quote:
Originally Posted by
fgru
liked the online edition
Re: [War Games Dev.]Rankig's v1
idk the online edition . but ty :)
edit:
id system of terretories is wrong ... change it if u can ...
Re: [War Games Dev.]Rankig's v1
the complete system is wrong ... id.php / slyle ids / ... plz fix ...
Re: [War Games Dev.]Rankig's v1
you want a Territory war rank on website because? is the one in-game broken or something i don't get it..
Re: [War Games Dev.]Rankig's v1
lol ... fail ... no words ... idk in english but in german says " weil man es kann " ...
Re: [War Games Dev.]Rankig's v1
because you can... intresting
Re: [War Games Dev.]Rankig's v1
i think u dont understand how it meant but its ok xD
Re: [War Games Dev.]Rankig's v1
Quote:
Originally Posted by
fgru
the complete system is wrong ... id.php / slyle ids / ... plz fix ...
could send me the sql of your ranking?
Quote:
Originally Posted by
LegalSin
you want a Territory war rank on website because? is the one in-game broken or something i don't get it..
how? not understand