Welcome to the Road to World Wonder Mod based on tomilo's Troop Tool for Travian, a small PHP/MySQL platform for all travian gaming associations that need a tool for alliance and battle management.
... have support or translation questions, contact Brunoais
... want to be a RtWW developer, have feature suggestions, bugs, or any other questions, contact Woden
Hi!
eXcellent work!
can You, please, add to villages 'global population' and 'global crop production' :) ??
just sum them up so one could see the population/army rate and if a player is on '-' with crop production ;)
thank You for your work ;)
KUDOS!
During the installation always comes back this error as soon as I click on Install.
Where is the truth?
Unknown system variable 'NAMES'
Hello!
I need some help with the installtion and dose it suppose look like this? http://img55.imageshack.us/img55/1965/12390486op5.jpg
Do you plan to expand the project for using Accademy?
It would be really important for big alliances.
tnx
There is a bug in the POST data processing (in send.php) after sending the entered troops form to the server.
Coordinates x2 and y2 with values of 0 shold be treated as regular. In place of these, undefined values x2 and y2 should be ignored and replaced by the values x1 and y1. I.e. if the troops position coordinates are not entered they should get the troops origin coordinates. The solution is to fix the following send.php code segment
if (empty($_POST["sta"])) {
$_POST["sta"]=$_POST["her"];
if ($_POST['x2']=="0") {
$_POST['x2']=$_POST['x1'];
}
if ($_POST['y2']=="0") {
$_POST['y2']=$_POST['y1'];
}
}
to this code
if (empty($_POST["sta"])) {
$_POST["sta"]=$_POST["her"];
if ($_POST['x2']=="") {
$_POST['x2']=$_POST['x1'];
}
if ($_POST['y2']=="") {
$_POST['y2']=$_POST['y1'];
}
}
Regarding to the same context, there's no need to enter the troops position coordinates in the form if the troops origin is the same as the position. For this reason, the user.php can be improved by the change of the code segment
$x1 = 0; $x2 = 0;
$y1 = 0; $y2 = 0;
to the following code (make the troops position form input fields empty by default):
$x1 = 0; $x2 = "";
$y1 = 0; $y2 = "";
-----
With regards,
Borut
Hello.
You have deactivate de profile, why was that?
Is there a problem if i activate it?
Any security issue?
Thanks
Is there a way to make it so that it gets its own info automatic after registering
I get this when adding a hero:
Column count doesn't match value count at row 1
I set all rights to Rw-rw-rw, DB is made and configured, what am i doing wrong???
Warning: fopen(../inc_config.php) [function.fopen]: failed to open stream: Permission denied in /home/vision/domains/alteredvision.nl/public_html/troep/install/install.php on line 86
Error: Can't create ../inc_config.php, check file system permissions!
Lefordítottam magyarra az egészet, letölthető innen: http://s3nexus.extra.hu/Magyar.zip
Telepítés:
"lang_hu.php"-t és "function.php"-t másold fel, utóbbit az ékezetes betűk kezelése miatt!
Ezután töltsd le a tárhelyedről az "inc_config.php" fájlt és írd át benne a "define('LANGUAGE','en')" részt "define('LANGUAGE','hu')"-ra. Ha kész, mentsd el és másold vissza (felülírva) a tárhelyedre!
Azonban az adatbális nem engedélyezi az ékezetes karaktereket, így minden Nevet, Falunevet, Hősnevet, stb. ÉKEZET NÉLKÜL KELL ÍRNI!
Sok Sikert!
Remélem tettszik, és nincs benne túl sok hiba :)
when i clik install it says:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'frema_frema'@'absolut' (using password: YES) in /home/frema/public_html/Trooptool/install/install.php on line 81
Access denied for user 'frema_frema'@'absolut' (using password: YES)
but i have done anything right so why does it say that?
from. Wuss15
I have lang_pt.php. I send to where?
I have send the stable release to my site and overwrite the files. But i only have my members, i dont see the troops, and i receive this message on the top of the site : Unknown column 'active' in 'where clause'
How to update without losing any information from database.
Best regards
Im trying to install the tool but I get the following error:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)
Any help/tips?
Thanks
I just have one little question: The current version I downloaded by clicking a link on a forum of the original truppentool. But at this website I can't find any download link. Where can I find those links?
I noticed with this version there is no longer the ability for a user to change their own password or change their email address after registration. Both would be useful as people may need to change their password if the account has been compromised or transferred. Same goes for the email.
All in all this is a nice upgrade from the trooptool 3.1.x thanks for keeping it going.
Hello.
Firstly, VERY nice upgrade to original TT and thanks for continuing the development.
One thing I would like to see was the ability to set striketeams and striketeam leaders under the permissions. It is very common in this game that huge alliances have striketeams. And I would like the leaders of each striketeam to ONLY see the troops assigned to this team. This could be done easily by adding a new sql row to each user specifying their team ( admin set ) under eg. permissions and a ST leader which would be able to view the tropps of his team.
Maybe a quick minor update could implent this?
Thanks in advance.
Frederik
Hi guys,
I have a truppentool 3.12 working and i want to upgrade to your version. it's possible without losing any data?
Can you help me?
Thanks and best regards
enginf
Is everything on track for a release around the beginning of the month as laid out in the roadmap on your TRAC page?
sorry for my english .
i have this error in teh instalation
Fatal error: Call to undefined function: mb_substr() in c:\appserv\www\rt\install\install.php on line 165
i delete this line for test, then i have a new error in the instalation , the error is " the variable NAMES not found
thanks
Hi
I have adapted the source to run on php 5.5 and uppdated the automatic troopinsertion, are you interested in that?. Only problem is that I cant seem to get the statistics to work. It says that there is an error in the picture.
using the version from here
on php 5.1.5 mysql 5
after uploading all the files all i get is a blank page when i browse to install.php
i looked at install.php and had a play. i can get the install to display if i comment out the md5 references
is there sn incompatibility with the version oof php im running perhaps ?
unfortunately this does not fix my problems
i can complete the install (well it says it is) but i only have the :ADMIN: markers in my db and the index.php only shows blank
admittedly this might be to do with my playing with the md5 commands
any ideas what to try ? is it a php version thing ?
thank you for any help supplied
cab
Hi,
There is a bug in admin.php when showing the total number of Heroes. It can be fixed with this:
(Old)
function num_hero($spielerid)
{
$sql = "SELECT
COUNT(id) AS anzahl
FROM
".PREFIX."hero
WHERE
sid LIKE '".$spielerid."'";
$result = mysql_query($sql) OR die(mysql_error());
$row = mysql_fetch_assoc($result);
return zero($row['anzahl']);
}
(new)
function num_hero($spielerid)
{
$sql = "SELECT
COUNT(id) AS anzahl
FROM
".PREFIX."hero
WHERE
sid LIKE '".$spielerid."' AND
active=1";
$result = mysql_query($sql) OR die(mysql_error());
$row = mysql_fetch_assoc($result);
return zero($row['anzahl']);
}
In user.php the Hero show up in more than 1 town. This can be fixed with this:
Line 197:
(old)
if (is_array($hero) && count($hero) && ($hero['x']==$row['x2']) && ($hero['y']==$row['y2'])) {
(new)
if (is_array($hero) && count($hero) && ($hero['x']==$row['x1']) && ($hero['y']==$row['y1']) && ($hero['x']==$row['x2']) && ($hero['y']==$row['y2'])) {
Hope this can help somebody else also!
/Moonie
Hi,
The images for the stat section are not generating - could anyone assist by listing potential causes and/or listing required file permission settings?
Thank you in advance.