okay, after
session_start();
add
error_reporting(E_ALL);
and try again.
if you see any problems/errors, post them here
Printable View
okay, after
session_start();
add
error_reporting(E_ALL);
and try again.
if you see any problems/errors, post them here
Nothing
in the error log :
[03-Aug-2011 00:19:57] PHP Fatal error: Call to a member function CheckLogin() on a non-object in /home/minecra6/public_html/travian/Admin/admin.php on line 51
ever [03-Aug-2011 00:19:57] PHP Fatal error: Call to a member function CheckLogin() on a non-object in /home/minecra6/public_html/travian/Admin/admin.php on line 51
thnak you Dzoki
i have a problem with instalation of this pack
Warning: fopen(include/constant.php) [function.fopen]: failed to open stream: Permission denied in /home/noxxcrew/public_html/travi/install/process.php on line 36
Can't open file: install\include\constant.php
When you reply to the list of bugs being fixed do you mean solutions are patches on the forums currently one by one or that the main download of 4.8.5 is updated. If you have a more recent revision can you give us a new version number please dzoki so we are stuck with less noob questions :).
Our new release is not ready yet.
Are there any parts that you could use assistance with? I would be happy to contribute. I am not excellent with the code but I can help some, I wrote this to train troops instantly as a test, when I was exploring the troop looping issues.
$countTraining = $this->countTraining($vid);
if($countTraining != 0){
$each = $each + $each;
}
$queryTest = mysql_query('SELECT * FROM `' . TB_PREFIX . 'training` WHERE `unit` = ' . $unit);
$dataTest = mysql_fetch_assoc($queryTest);
if($dataTest['vref'] != $vid){
$q = "INSERT INTO ".TB_PREFIX."training values (0,$vid,$unit,$amt,$pop,$time,$each,0)";
} else {
$q = "UPDATE ".TB_PREFIX."training SET amt = amt + $amt WHERE unit = $unit AND vref = $vid";
}
} else {
$q = "DELETe FROM ".TB_PREFIX."training where id = $vid";
}
return mysql_query($q,$this->connection);
}
What is the cause of the disappearance of the soldiers?
And how do I fix this problem?
There is another problem which the soldiers are not coming out of the barracks after the training
Disappearance has been addressed and will probably be fixed in the update due to a table issue from what I gather, Don't worry about it and wait for the update.
As for looping training it is an issue in 4.8.5 dealing with the time the unit should take to complete and the actual time it takes to complete due to upgrades and reductions of time. I'm sure this issue is also fixed in the update. But until then you are free to use my previous post to make instant building of troops until the update.
Is there a new version of Travian Clone?
Not yet when it is out the main topic will probably update. Or a new one will be formed, either way it will be obvious.
---------- Post added at 11:27 PM ---------- Previous post was at 10:51 PM ----------
Double upgrading. Not sure if it has been mentioned but while plus is on for the allowed building of 2 objects at once. You are able to upgrade one building 2 times. It will display as the same upgrade until the first is finished then it will update the next one to display the correct level it will go to. The issue is that it will cost the previous upgrades resources to upgrade the 2nd time as it thinks when you are doing it that you are upgrading once. Here is the example summary.
Building something level 0 to 1 Cost = 1k
Building something level 0 to 1 Cost = 1k
Result when loop finishes, it cost a total of 2k, rather than upgrade cost being levels 0 to 1, then 1 to 2. The cost is 0 to 1, two times. Costing much less than 0to1 + 1to2. The end result is the same in both cases the building is upgraded 1 rank at a time or 2 ranks at a time resulting in 0 to 2, though the cost of the upgrade to do it 2 times at 0 to 1 is much less than the cost of one upgrade at a time.
somebody can't help me with this problem ..admin panel don't work's :|
Parse error: syntax error, unexpected T_STRING in /home/noxxcrew/public_html/travi/Admin/admin.php on line 2
WOW! I last played Travian a couple of years ago but couldn't put enough time into it. This project gives me a chance to play with a couple of friends in a nice friendly(ish) environment without the old fashion hassles.
I've installed it on my home server (LAMP - although I did have to install MySQL to run in parallel with my PostgreSQL server) and have had no installation problems. I've made a couple of tweaks to various PHP files as I've found issues/discrepancies and will no doubt continue to do so. Is there somewhere (non-broadcast) that these changes can be sent for review/incorporation?
In any case, congratulations to all involve! Remember, a project like this is just a hobby, so don't let the detractors get you down.
Regards,
Donnchadh.
Originally Posted by Dzoki http://forum.ragezone.com/images/zoo...s/viewpost.gif Bugged map, you did something wrong while deleting users/changing something. Reinstall.
If you install the server and generate the config with say a map size of 50, then you go into the config and edit the map size, you will desync the map. Always make sure to maintain the same config file map size as the map size you originally installed the server in.
I have reason to believe you did not wipe the database fully before reinstalling and that the first time you installed it you had a different map size setting.
Make sure to drop the database and recreate the schema if you have problems.
Also to those saying how to make admin....
After installing the server, simply create an account. After the account is made go into the database and set the password field of support and multihunter to the same string data you have on the account you just created. This will lock your support and multihunter to your own password and those accounts are the designed enforcement accounts. Another option is setting your accounts access to 9. this is all in S?_users. ? = your installed database prefix. it is probably 1.
How the natar works?
Version: v4.8.5
Well folks, no reply to this but then I'm impatient :scared:
We're very early in the piece on our server but the lads have been bugging me about the barracks building/completion times.
So, a quick fix:
Change Templates/Build/19.tpl (after making a back-up, of course)
Line 36:
i.e. replace 1 with $train['eachtime']Code:$time = $generator->procMTime($train['commence']+($train['eachtime']*$train['amt']));
Line 41 - replace segment:
with:Code:<span id="timer">
Hope that helps someone!Code:<span id="timer<?php echo $timer ?>">
Keep up the great work everyone.
Regards,
Donnchadh.
solved