Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

TravianZ - yi12345

Status
Not open for further replies.
Junior Spellweaver
Joined
Feb 25, 2012
Messages
172
Reaction score
21
In the map files you use s1_ as table prefix.
But if I use an other one, i cannot see the map.

I have change it to ".TB_PREFIX." instead of s1_

Also the profile has a bug.
You cannot change the village name or put text in it.

I am searching for the problem :D

Greets


ps: thanks for sharing it.
 
Last edited:
Newbie Spellweaver
Joined
Feb 19, 2012
Messages
90
Reaction score
4
its the Version: v4.8.5 from Dzoki

i dont find any differents with Dzoki's version and this one
same bugs
 
Working in iZariam v0.1.0
Loyal Member
Joined
Feb 3, 2011
Messages
772
Reaction score
74
Is v6.0.0 Improved by yi12345
 
Elite Diviner
Joined
Aug 26, 2011
Messages
495
Reaction score
109
What about whole working ability of this version?

I didn't understand your question (sorry, my english is not very perfect)

In the map files you use s1_ as table prefix.
But if I use an other one, i cannot see the map.

I have change it to ".TB_PREFIX." instead of s1_

Also the profile has a bug.
You cannot change the village name or put text in it.

I am searching for the problem :D

Greets


ps: thanks for sharing it.

You can upload them?
And I will upload the fix to the profile later.
 
Newbie Spellweaver
Joined
Feb 19, 2012
Messages
90
Reaction score
4
When i install i get this :
TravianX

Version: v4.8.5
Major Changes: New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!
Minor Changes: Admin panel updated a bit, config updated, installation system updated
Script Price: FREE!

Released by: Dzoki
Visit: RageZone.com

Is v6.0.0 Improved by yi12345
 
Working in iZariam v0.1.0
Loyal Member
Joined
Feb 3, 2011
Messages
772
Reaction score
74
Here appear the same
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
yi12345, im mean how good your version works?
troops duplicate, 4kkk units trainings, oases & heroes, reports, attacks and how high loads it makes on the server etc. etc. etc.
 
Elite Diviner
Joined
Aug 26, 2011
Messages
495
Reaction score
109
yi12345, im mean how good your version works?
troops duplicate, 4kkk units trainings, oases & heroes, reports, attacks and how high loads it makes on the server etc. etc. etc.

is almost like t6, but with more fixes:
Fix double troops (not by me) ,Songeruix's troops fix, some fixes for hero, and more minor bugs (ban system almost done, player without scouts now can't see incoming spy...)
I think that troops training work 100%, but try it, because maybe you find bugs that I didn't found.
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
Sounds good .
Is it good idea to import files from your version to ZZJHONS version?
they gonna work ccorrectly or theres some differences ?
 
Elite Diviner
Joined
Aug 26, 2011
Messages
495
Reaction score
109
Sounds good .
Is it good idea to import files from your version to ZZJHONS version?
they gonna work ccorrectly or theres some differences ?

Which ZZJHONS version?
But I think that is better to download my version, it have all fix from Zravianx (except grapich and T4 system), TravianZ of ZZJHONS (is almost the same, is just some little fix) and Travianx V6.0.0.
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
Which ZZJHONS version?
But I think that is better to download my version, it have all fix from Zravianx (except grapich and T4 system), TravianZ of ZZJHONS (is almost the same, is just some little fix) and Travianx V6.0.0.

Lulz , may you upload full files somewhere ..
Its unreal to download all 5k+ files one by one :D
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
Haha .. thanks ... ill test it!
Will post any bugs i find there .
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
First bug which i noticed : can't create alliance .... :(

also plus account links bugged ( was /banned.php instead of correct /plus.php?id=8


also can't answer on messages ( i think its again redirecting to /banned.php)

need solution for messages .. i think that probl is in read.tpl

nope its not in it -_- can't find the problem source


Fixed "plus account" (replace 3.tpl by this)
<?php

$MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'") or die(mysql_error());
$golds = mysql_fetch_array($MyGold);

if($golds['13'] <= time()) {
mysql_query("UPDATE ".TB_PREFIX."users set b1 = '0' where `username`='".$session->username."'") or die(mysql_error());
}

if($golds['14'] <= time()) {
mysql_query("UPDATE ".TB_PREFIX."users set b2 = '0' where `username`='".$session->username."'") or die(mysql_error());
}
if($golds['15'] <= time()) {
mysql_query("UPDATE ".TB_PREFIX."users set b3 = '0' where `username`='".$session->username."'") or die(mysql_error());
}

if($golds['16'] <= time()) {
mysql_query("UPDATE ".TB_PREFIX."users set b4 = '0' where `username`='".$session->username."'") or die(mysql_error());
}






include("Templates/Plus/pmenu.tpl");


$MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'") or die(mysql_error());
$golds = mysql_fetch_array($MyGold);

$today = date("mdHi");

if (mysql_num_rows($MyGold)) {
if($session->gold == 0) {
echo "<p>You currently don't own gold.</p>";
} else {
echo "<p>You currently have <b> $session->gold </b> gold</p>";
}
}
?>



<table class="plusFunctions" cellpadding="1" cellspacing="1">
<thead>
<tr>
<th colspan="5">Plus function</th>
</tr>
<tr>
<td></td>

<td>Description</td>
<td>Duration</td>
<td>Gold</td>
<td>Action</td>
</tr>
</thead>
<tbody>

<tr>
<td class="man"></td>
<td class="desc">
<b><font color="#71D000">P</font><font color="#FF6F0F">l</font><font color="#71D000">u</font><font color="#FF6F0F">s</font></b> Account<br />
<span class="run">
<?php
$datetimep=$golds['plus'];
$datetime1=$golds['b1'];
$datetime2=$golds['b2'];
$datetime3=$golds['b3'];
$datetime4=$golds['b4'];
$datetimeap=$golds['ap'];
$datetimedp=$golds['dp'];
//Retrieve the current date/time
$date2=strtotime("NOW");


if ($datetimep == 0) {
print "get PLUS<br>";
}else
if ($datetimep <= $date2) {
print "Your PLUS advantage has ended.<br>";
mysql_query("UPDATE ".TB_PREFIX."users set plus = '0' where `username`='".$session->username."'") or die(mysql_error());
} else {

$holdtotmin=(($datetimep-$date2)/60);
$holdtothr=(($datetimep-$date2)/3600);
$holdtotday=intval(($datetimep-$date2)/86400);
echo "<font color='#B3B3B3' size='1'>Remaining: <b>".$holdtotday. "</b> days";

$holdhr=intval($holdtothr-($holdtotday*24));
echo " <b>".($holdhr). "</b> hours ";

$holdmr=intval($holdtotmin-(($holdhr*60)+($holdtotday*1440)));
echo "<b> ".($holdmr). "</b> mins</font>";
}
?>
</span>
</td>
<td class="dur"><?php if(PLUS_TIME >= 86400){
echo ''.(PLUS_TIME/86400).' Days';
} else if(PLUS_TIME < 86400){
echo ''.(PLUS_TIME/3600).' Hours';
} ?>
</td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" alt="Gold" title="Gold" />10</td>
<td class="act">

<?php
$MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'") or die(mysql_error());
$golds = mysql_fetch_array($MyGold);
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 9 && $datetimep < $date2) {
echo '
<a href="plus.php?id=8"><span>Activate';
}elseif
($golds['gold'] > 9 && $datetimep > $date2) {
echo '
<a href="plus.php?id=8"><span>Extend';




} else {
echo '<a href="plus.php?id=8"><span class="none">too little gold';}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 9 && $datetimep < $date2) {
echo '
<a href="plus.php?id=8"><span>Activate';
}elseif
($golds['gold'] > 9 && $datetimep > $date2) {
echo '
<a href="plus.php?id=8"><span>Extend';




} else {
echo '<a href="banned.php"><span class="none">too little gold';}
}
}
?>
</span></a></td>
</tr>

<tr>
<td colspan="5" class="empty"></td>

</tr>
<tr>
<td class="man"></a></td>
<td class="desc">
+<b>25</b>% <img class="r1" src="img/x.gif" alt="Lumber" title="Lumber" /> Production: Lumber<br />
<span class="run">
<?php

$tl_b1=$golds['b1'];
if ($tl_b1 < $date2) {
print " ";
} else {
$holdtotmin1=(($tl_b1-$date2)/60);
$holdtothr1=(($tl_b1-$date2)/3600);
$holdtotday1=intval(($tl_b1-$date2)/86400);
$holdhr1=intval($holdtothr1-($holdtotday1*24));
$holdmr1=intval($holdtotmin1-(($holdhr1*60)+($holdtotday1*1440)));
}

if ($tl_b1 < $date2) {
print " ";
} else {

echo "<font color='#B3B3B3' size='1'>Remaining <b> ".$holdtotday1. "</b> days ";
echo "<b> ".($holdhr1). "</b> hours ";
echo "<b> ".($holdmr1). "</b> mins</font> ";

}
?>
  </span>

</td>
<td class="dur"><?php if(PLUS_PRODUCTION >= 86400){
echo ''.(PLUS_PRODUCTION/86400).' Days';
} else if(PLUS_PRODUCTION < 86400){
echo ''.(PLUS_PRODUCTION/3600).' Hours';
} ?></td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>
<td class="act"><span class="none">

<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b1 < $date2) {
echo '<a href="plus.php?id=9"><span>Activate';
}elseif
($golds['gold'] > 4 && $datetime1 > $date2) {
echo ' <a href="plus.php?id=9"><span>Extend';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b1 < $date2) {
echo '<a href="banned.php"><span>Activate';
}elseif
($golds['gold'] > 4 && $datetime1 > $date2) {
echo ' <a href="banned.php"><span>Extend';
} else {
echo '<a href="banned.php"><span class="none">too little gold';}
}
}
?>
</span></a></td>
</tr>

<tr>
<td class="man"></td>

<td class="desc">
+<b>25</b>% <img class="r2" src="img/x.gif" alt="Clay" title="Clay" /> Production: Clay<br />
<span class="run">
<?php

$tl_b2=$golds['b2'];
if ($tl_b2 < $date2) {
print " ";
} else {
$holdtotmin2=(($tl_b2-$date2)/60);
$holdtothr2=(($tl_b2-$date2)/3600);
$holdtotday2=intval(($tl_b2-$date2)/86400);
$holdhr2=intval($holdtothr2-($holdtotday2*24));
$holdmr2=intval($holdtotmin2-(($holdhr2*60)+($holdtotday2*1440)));
}

if ($tl_b2 < $date2) {
print " ";
} else {

echo "<font color='#B3B3B3' size='1'>Remaining: <b> ".$holdtotday2. "</b> days ";
echo "<b> ".($holdhr2). "</b> hours ";
echo "<b> ".($holdmr2). "</b> mins<font>";

}
?>
  </span>
</td>
<td class="dur"><?php if(PLUS_PRODUCTION >= 86400){
echo ''.(PLUS_PRODUCTION/86400).' Days';
} else if(PLUS_PRODUCTION < 86400){
echo ''.(PLUS_PRODUCTION/3600).' Hours';
} ?></td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>

<td class="act"><span class="none">

<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b2 < $date2) {
echo '<a href="plus.php?id=10"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b2 > $date2) {
echo ' <a href="plus.php?id=10"><span>Extend';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold</span></a></td>';}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b2 < $date2) {
echo '<a href="banned.php"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b2 > $date2) {
echo ' <a href="banned.php"><span>Extend';
} else {
echo '<a href="banned.php"><span class="none">too little gold</span></a></td>';}
}
}
?>

</tr>

<tr>
<td class="man"></td>
<td class="desc">
+<b>25</b>% <img class="r3" src="img/x.gif" alt="Iron" title="Iron" /> Production: Iron<br />
<span class="run">
<?php

$tl_b3=$golds['b3'];
if ($tl_b3 < $date2) {
print " ";
} else {
$holdtotmin3=(($tl_b3-$date2)/60);
$holdtothr3=(($tl_b3-$date2)/3600);
$holdtotday3=intval(($tl_b3-$date2)/86400);
$holdhr3=intval($holdtothr3-($holdtotday3*24));
$holdmr3=intval($holdtotmin3-(($holdhr3*60)+($holdtotday3*1440)));
}

if ($tl_b3 < $date2) {
print " ";
} else {

echo "<font color='#B3B3B3' size='1'>Remaining: <b> ".$holdtotday3. "</b> days ";
echo "<b> ".($holdhr3). "</b> hours ";
echo "<b> ".($holdmr3). "</b> mins</font>";

}
?>
  </span>
</td>
<td class="dur"><?php if(PLUS_PRODUCTION >= 86400){
echo ''.(PLUS_PRODUCTION/86400).' Days';
} else if(PLUS_PRODUCTION < 86400){
echo ''.(PLUS_PRODUCTION/3600).' Hours';
} ?></td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>
<td class="act"><span class="none">

<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b3 < $date2) {
echo '<a href="plus.php?id=11"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b3 > $date2) {
echo ' <a href="plus.php?id=11"><span>Extend';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b3 < $date2) {
echo '<a href="banned.php"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b3 > $date2) {
echo ' <a href="banned.php"><span>Extend';
} else {
echo '<a href="banned.php"><span class="none">too little gold';}
}
}
?>
  </span></a></td>
</tr>

<tr>

<td class="man"></a></td>
<td class="desc">
+<b>25</b>% <img class="r4" src="img/x.gif" alt="Crop" title="Crop" /> Production: Crop<br />
<span class="run">
<?php

$tl_b4=$golds['b4'];
if ($tl_b4 < $date2) {
print " ";
} else {
$holdtotmin4=(($tl_b4-$date2)/60);
$holdtothr4=(($tl_b4-$date2)/3600);
$holdtotday4=intval(($tl_b4-$date2)/86400);
$holdhr4=intval($holdtothr4-($holdtotday4*24));
$holdmr4=intval($holdtotmin4-(($holdhr4*60)+($holdtotday4*1440)));
}

if ($tl_b4 < $date2) {
print " ";
} else {

echo "<font color='#B3B3B3' size='1'>Remaining: <b> ".$holdtotday4. "</b> days ";
echo "<b> ".($holdhr4). "</b> hours ";
echo "<b> ".($holdmr4). "</b> mins</font>";
}
?>
  </span> </td>
<td class="dur"><?php if(PLUS_PRODUCTION >= 86400){
echo ''.(PLUS_PRODUCTION/86400).' Days';
} else if(PLUS_PRODUCTION < 86400){
echo ''.(PLUS_PRODUCTION/3600).' Hours';
} ?></td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>
<td <span class="none">
<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b4 < $date2) {
echo '<a href="plus.php?id=12"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b4 > $date2) {
echo ' <a href="plus.php?id=12"><span>Extend';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 4 && $tl_b4 < $date2) {
echo '<a href="banned.php"><span>Activate';
}elseif
($golds['gold'] > 4 && $tl_b4 > $date2) {
echo ' <a href="banned.php"><span>Extend';
} else {
echo '<a href="banned.php"><span class="none">too little gold';}
}
}
?>
</span></a></td>
</tr>

<tr>
<td colspan="5" class="empty"></td>
</tr>
<tr>

<td class="man"></td>
<td class="desc">Complete construction orders and researches in this village now (does not work for Palace and Residence).</td>
<td class="dur">now</td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />2</td>
<td class="act"><span class="none">

<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 1) {
echo '
<a href="plus.php?id=7"><span>On';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';
}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 1) {
echo '
<a href="banned.php"><span>On';
} else {
echo '<a href="banned.php"><span class="none">too little gold';
}
}
}
?>
</span></a></td>
</tr>

<tr>
<td class="man"></td>
<td class="desc">1:1 Trade with the NPC merchant</td>
<td class="dur">now</td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />3</td>

<td class="act"><span class="none">

<?php
if ($session->access != BANNED){
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 2) {
echo ' <a href="build.php?gid=17&t=3"><span>NPC';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';
}
}
} else {
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 2) {
echo ' <a href="banned.php"><span>NPC';
} else {
echo '<a href="banned.php"><span class="none">too little gold';
}
}
}
?>
</span></a>
<tr><td colspan=5></td></tr>

<tr>
<td class="man"><a href="#"><img class="help" src="img/x.gif" alt="" title="" /></a></td>
<td class="desc">Buy 100k warehouse and granary space + 30 pop for<u>any</u> Village</td>
<td class="dur">now</td>
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />50</td>
<td class="act"><span class="none">
<?php
if (mysql_num_rows($MyGold)) {
if($golds['gold'] > 49) {
echo '
<a href="buy100k.php"><span>Go';
} else {
echo '<a href="plus.php?s=1"><span class="none">too little gold';
}
}
?>
</span></a>
</td>
</tr>
</td>
</tr>

</tbody>
</table>
</div>

Also annoying bug is left - 4294966429 units
 
Last edited:
Junior Spellweaver
Joined
Feb 25, 2012
Messages
172
Reaction score
21
here is the 3.tpl file with the good part for gold.

Put the file in /templates/plus


Greets
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Feb 19, 2012
Messages
90
Reaction score
4
i dont see the map :(
it is a grey map and dont see anything on it

is there a way to solve this ?
 
Newbie Spellweaver
Joined
Mar 29, 2011
Messages
62
Reaction score
1
i dont see the map :(
it is a grey map and dont see anything on it

is there a way to solve this ?

reinstall whole script
or just replace yours /templates/map/ folder with templates/map/ folder from travianX
 
Status
Not open for further replies.
Back
Top