gpack update
Now you can implement T4 graphic in T3.6 version
@@ -3,15 +3,15 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Project: TravianZ ##
|
||||
## Version: 01.09.2013 ##
|
||||
## Project: TravianZ ##
|
||||
## Version: 01.09.2013 ##
|
||||
## Filename Automation.php ##
|
||||
## Developed by: Mr.php , Advocaite , brainiacX , yi12345 , Shadow , ronix ##
|
||||
## Fixed by: Shadow - Doubleing Troops , STARVATION , HERO FIXED COMPL. ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
||||
## URLs: http://travian.shadowss.ro ##
|
||||
## Source code: http://github.com/Shadowss/TravianZ-by-Shadow/ ##
|
||||
## URLs: http://travian.shadowss.ro ##
|
||||
## Source code: http://github.com/Shadowss/TravianZ-by-Shadow/ ##
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
@@ -2347,7 +2347,7 @@ class Automation {
|
||||
$cp_mode = $GLOBALS['cp'.$mode];
|
||||
$need_cps = $cp_mode[$varray1+1];
|
||||
$user_cps = $database->getUserField($from['owner'],"cp",0);
|
||||
//kijken of laatste dorp is, of hoofddorp
|
||||
//see if last village, or village head
|
||||
if($user_cps >= $need_cps){
|
||||
if(count($varray)!='1' AND $to['capital']!='1' AND $villexp < $canconquer){
|
||||
if($to['owner']!=3 OR $to['name']!='WW Buildingplan'){
|
||||
@@ -2592,11 +2592,7 @@ $wallimg = "<img src=\"".GP_LOCATE."img/g/g3".$targettribe."Icon.gif\" height=\"
|
||||
}
|
||||
$data2 = ''.$from['owner'].','.$from['wref'].','.$owntribe.','.$unitssend_att.','.$unitsdead_att.','.$steal[0].','.$steal[1].','.$steal[2].','.$steal[3].','.$battlepart['bounty'].','.$to['owner'].','.$to['wref'].','.addslashes($to['name']).','.$targettribe.',,,'.$rom.','.$unitssend_def[1].','.$unitsdead_def[1].','.$ger.','.$unitssend_def[2].','.$unitsdead_def[2].','.$gal.','.$unitssend_def[3].','.$unitsdead_def[3].','.$nat.','.$unitssend_def[4].','.$unitsdead_def[4].','.$natar.','.$unitssend_def[5].','.$unitsdead_def[5].','.$info_ram.','.$info_cat.','.$info_chief.','.$info_spy.',,'.$data['t11'].','.$dead11.','.$herosend_def.','.$deadhero.','.$unitstraped_att;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// When all troops die, sends no info...send info
|
||||
$info_troop= "None of your soldiers have returned";
|
||||
$data_fail = ''.$from['owner'].','.$from['wref'].','.$owntribe.','.$unitssend_att.','.$unitsdead_att.','.$steal[0].','.$steal[1].','.$steal[2].','.$steal[3].','.$battlepart['bounty'].','.$to['owner'].','.$to['wref'].','.addslashes($to['name']).','.$targettribe.',,,'.$rom.','.$unitssend_deff[1].','.$unitsdead_deff[1].','.$ger.','.$unitssend_deff[2].','.$unitsdead_deff[2].','.$gal.','.$unitssend_deff[3].','.$unitsdead_deff[3].','.$nat.','.$unitssend_deff[4].','.$unitsdead_deff[4].','.$natar.','.$unitssend_deff[5].','.$unitsdead_deff[5].',,,'.$data['t11'].','.$dead11.','.$unitstraped_att.',,'.$info_ram.','.$info_cat.','.$info_chief.','.$info_troop.','.$info_hero;
|
||||
|
||||
@@ -3642,7 +3642,7 @@ References:
|
||||
$q1 = "SELECT owner FROM " . TB_PREFIX . "vdata where wref = ".$dbarray['id']."";
|
||||
$result1 = mysql_query($q1, $this->connection);
|
||||
$dbarray1 = mysql_fetch_array($result1);
|
||||
if($dbarray1['owner'] != 0){
|
||||
if($dbarray1['owner'] != 0){
|
||||
$q2 = "SELECT vac_mode,vac_time FROM " . TB_PREFIX . "users where id = ".$dbarray1['owner']."";
|
||||
$result2 = mysql_query($q2, $this->connection);
|
||||
$dbarray2 = mysql_fetch_array($result2);
|
||||
|
||||
@@ -149,10 +149,11 @@ class Units {
|
||||
if (!$database->getVillageState($id)){
|
||||
$form->addError("error","Coordinates do not exist");
|
||||
//check vaction mode- by advocaite
|
||||
if($database->getvacmodexy($id)){
|
||||
if($database->getUserField($_POST['user'],"vac_mode",1) == 1){
|
||||
//if($database->getvacmodexy($id)){
|
||||
$form->addError("error","User is on vacation mode");
|
||||
}
|
||||
//END Vaction mode check
|
||||
//END Vaction mode check
|
||||
}
|
||||
}
|
||||
if (!empty($coor)) {
|
||||
|
||||
|
After Width: | Height: | Size: 183 KiB |
|
After Width: | Height: | Size: 93 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 100 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 821 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 750 B |
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
?>
|
||||
<div style="margin-top: 50px;">
|
||||
<center>
|
||||
<h1>404 - File not found</h1>
|
||||
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br />
|
||||
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
|
||||
<p>This system is not complete yet. So the page probably does not exist.</p><br>
|
||||
</center>
|
||||
</div>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 122 B |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 609 B |
|
After Width: | Height: | Size: 162 B |
|
After Width: | Height: | Size: 569 B |
|
After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 131 B |
|
After Width: | Height: | Size: 63 B |
|
After Width: | Height: | Size: 5.6 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 841 B |
|
After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 976 B |
|
After Width: | Height: | Size: 1009 B |
|
After Width: | Height: | Size: 651 B |
|
After Width: | Height: | Size: 473 B |
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 181 B |
|
After Width: | Height: | Size: 136 B |
|
After Width: | Height: | Size: 155 B |
|
After Width: | Height: | Size: 300 B |
|
After Width: | Height: | Size: 204 B |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 675 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 190 B |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
?>
|
||||
<div style="margin-top: 50px;">
|
||||
<center>
|
||||
<h1>404 - File not found</h1>
|
||||
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br />
|
||||
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
|
||||
<p>This system is not complete yet. So the page probably does not exist.</p><br>
|
||||
</center>
|
||||
</div>
|
||||
|
After Width: | Height: | Size: 454 B |
|
After Width: | Height: | Size: 112 B |
|
After Width: | Height: | Size: 115 B |
|
After Width: | Height: | Size: 113 B |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 161 B |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 232 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 234 B |
|
After Width: | Height: | Size: 77 B |
|
After Width: | Height: | Size: 462 B |
|
After Width: | Height: | Size: 935 B |
|
After Width: | Height: | Size: 470 B |
|
After Width: | Height: | Size: 125 B |
|
After Width: | Height: | Size: 379 B |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 964 B |
|
After Width: | Height: | Size: 50 B |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 939 B |
|
After Width: | Height: | Size: 49 B |
|
After Width: | Height: | Size: 49 B |
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
#################################################################################
|
||||
?>
|
||||
<div style="margin-top: 50px;">
|
||||
<center>
|
||||
<h1>404 - File not found</h1>
|
||||
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br />
|
||||
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
|
||||
<p>This system is not complete yet. So the page probably does not exist.</p><br>
|
||||
</center>
|
||||
</div>
|
||||
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 32 KiB |