yi12345 / travianz Goto Github PK
View Code? Open in Web Editor NEWtravian t3.6 project (based on travianx v6.0.0)
travian t3.6 project (based on travianx v6.0.0)
TravianZ is based on TravianX v6.0.0 with some grapich changes from ZravianX. 1. Modified Plus System with packages.</br> 2. Modified in Plus System and added Account Statement.</br> 3. Enabled Report Player in Profile. Send message to Multihunter. </br> 4. Enabled Graphic Pack in Profile (NOT CODED YET).</br> 5. Enabled in Profile : Auto Completation , Large Map , Report Filter and Time Preferences (NOT CODED YET).</br> 6. Integrate Support Section in game.</br> 7. Modified footer and menu and added version and bugs (I mean detailed version.php and bugs.php).</br> 8. Modified all admin page , now all pictures appers correctly.</br> 9. Added night / day pictures. (thanks to advocaite).</br> 10. Activate inactive player in Admin Panel.</br> 11. Added Server Maintenence in Admin Panel (Not working 100% , i mean mode ban all players).</br> 12. Activate Player Report in Admin Panel (NOT CODED YET).</br> 13. Many bug fixed in Admin Panel.</br> 14. Negative crop fixed , now units die (starvation). WORKS LIKE REAL TRAVIAN !!!</br> 15. Medal fixed.</br> 16. Added new quests (alliance , main building 5 , granary level 3 , warehouse level 5 , palace or residence , 3 settlers , new village , wall).</br> 17. Winner decoded end time fixed , 403 , 404 , 500 errors are now decoded.</br> 18. Populate and regenerate oasis automation function added and fixed.</br> 19. Fixed palace , now cannot be build more than one palace / accout.</br> 20. Now you need a warehouse and granary level 20 to build great granary and great warehouse.</br> 21. Cannot send attacks and send resource to banned players.</br> 22. Now banned palyer cannot recive resource from marketplace.</br> 23. Fix message replay , now can be viwed from who came message.</br> 24. Added in instalation Nature Regeneration Time.</br> 25. Fix oasis.tpl in instalation files.</br> 26. Fix ranking search from everyware.</br> 27. Fix "Finish all constructions for 2 gold." now you dont lose gold when you simply click.</br> 28. Fix bonus on artefacts , now show what bonus gives you.(thanks to brainiacX)</br> 29. Fix settler bug , now you cannot train settlers if you dont have resource. And also modifyResource function updated. (thanks to brainiacX)</br> 30. Fix brewerey now can be build only on capital.</br> 31. Fix treasurey and palace , now cannot be build on WW village.</br> 32. Fix greatbarraks.</br> 33. Fix eraseble hero , now you can delete your hero.</br> 34. Fix desapear hero when you send as reinforcement.</br> 35. Fix message problem with '</br> 36. Fix train hero for unit pretorian</br> 37. Fix merchant quantity</br> 38. Fix battle system for catapults</br> 39. Fix delete player in admin panel</br> 40. Added automated system for give medals and also added in instalation file</br> 41. Fix special characters when send troops</br> 45. Fix bug 10 from NarcisRO list : If you have plus account activated you cannot see the attck/deff/scout images when you attack a village (i mean img on villages : red swords etc..)</br> 43. Fix forum surveys - NOT DONE</br> 44. Fix wall image when spy someone for every tribe</br> 45. Fix the top romans/teutons/gauls icon must show you the first rank of each race,not the whole page</br> 46. Fix destroy village bug</br> 47. Fix conquer oasis.</br> 48. Fix movements.tpl (now show purple sword if your oasis is attacked or if you found new village)</br> 49. Fixed movements on rally point if your oasis is under attack</br> 50. Fixed vulnerability attack on message.</br> 51. Fixed scouting all player when create natars.</br> 52. Fixed catapult if have artefact for random target. Now can target WW even have that artefact like says.</br> 53. Fix special characters on message (script alert not work now).</br> 54. Fix mightiest bug of travian , double troops , now you won`t have any problems with double troops. Works for own units and for enforcement units.</br> 55. Fix catapult target on brewerey , now you can target brewerey.</br> 56. Added loss protection if you have beginner protection and want to attack a player you loss protection.</br> 57. Fix artefacts, will not win more artifacts from the same village.</br> 58. Fix UTF8 in database and sql.sql file.</br> 59. Fixed Username HACK on register.</br> 60. Fixed Village hack in profile . </br> 61. Fixed a Bug where Founder or a user in alliance can kick himself.</br> 62. Fixed new village must build a rally point. </br> 63. Fix sorting distance artefact village . </br> 64. Fix to conquer oasis: can conquer 1 attack if nature troop die. </br> 65. Fix report scout by Natars. Now report player can see.. </br> 66. Fix area and location like real travian. </br> 67. Fix field natar village set to type=3. </br> 68. Fix natar village area 400/400 or WORLD_MAX not the random area. </br> 69. Fix create_account : cannot create natar if already exist. </br> 70. Fix counter timer if timer < 0 = display 0:00:00 and not display like your time pc. </br> 71. Fix quest_core , now is like real travian. </br> 72. Fix update oasis unit. </br> 73. Fixed Registration hack. </br> 74. Fixed Village hack hidden village and <name> ! </br> 75. Fixed hidden Alliance name and fixed the bug of kicking your self if you are founder or anything else. </br> 76. Fix conquer artefact. </br> 77. Fix ranking and Quest 4. </br> 78. Fix finishAll building/demolition/tecknology. </br> 79. Fix conquer Occupied Oasis. </br> 80. Fix NPC trade on settler in village or palace. </br> 81. Fix bug when paste address to update building or resource , now not possible to upgrade. </br> 82. Fix spy : When defender has no spy's in his village, an incomming spy attack should be unnoticed, and the defender shouldn't get a report and also there shouldn't appear red swords in dorf.1 when there are no own spy's in village.</br> 83. Fix village to destroy and less query. </br> 84. Fix settler to raid (1 unit of settler can carry 3000 resource...wow!!)</br> 85. Fix dorf3 , now timer works corectly. </br> 86. Added timezone in instalation file , and can be edited after installation on config. </br> 87. The damage must be calculate for all troops as a defender. </br> 88. Battle system is fixed and it`s work like real travian. </br> 89. War Simulator system is fixed and it`s work like real travian. </br> 90. Fix calculation culturepoint according to the speed server.</br> 91. Fix to delete hero table when delete user from admin.</br> 92. Fix link to coor village from admin.</br> 93. Fix return troops if village destroy.</br> 94. Fix link list multivillage.</br> 95. Fix rally point to list troops own/other village/oasis.</br> 96. Fix recive report when other player send me reinforcement to my oasis</br> 97. Fix calculate defender hero</br> 98. Fix enforcement oasis</br> 99. Fix hero XP calculation by crop consumed and share point hero xp</br> 100. Fix chiefting village only normal attack can reduce loyalty</br> 101. Fix conquered oasis. Hero must use normal attack if oasis is conquered by other player</br> 102. Fix destroy village.</br> 103. Fix returntroop in oasis when destroy village</br> 104. Fix total point hero and statistics calculation by crop consumption</br> 105. Fix hero reinfocement sometimes mising in action</br> 106. Fix total of trapper bug is full trapp if 1 troop only you send.</br> 107. Fix invalid argument supplied if using masterbuilder</br>
if the hero dies in battle, can not be revived...
Warning: filemtime() [function.filemtime]: stat failed for GameEngine/Prevention/returnunits.txt in /home/playin/domains/playinedit.ro/public_html/GameEngine/Automation.php on line 199
Hi,
in install/data/sql.sql is a bug in create table for hero. For example:
heroid
smallint(2) unsigned NOT NULL AUTO_INCREMENT,
or
uid
smallint(2) unsigned NOT NULL,
Wrong mysql datatype
i like your script very much and appreciate your work:)
when we install it are the quest working?
thank you
hi
how are i want to knew The requirements to run script
Because i can't install the script like Before
you can Try to install For you
http://welduae.net/hh/install
Hi,
i have fix:
in GameEngine/Technology.php
if(isset($horsedrinking)){
if(($i==4 && $buildarray['f'.$horsedrinking] >= 10)
|| ($i==5 && $buildarray['f'.$horsedrinking] >= 15)
|| ($i==6 && $buildarray['f'.$horsedrinking] == 20)) {
$upkeep += ($dataarray['pop']-1) * $array[$unit];
} else {
$upkeep += $dataarray['pop'] * $array[$unit];
}}else{
$upkeep += $dataarray['pop'] * $array[$unit];
}
hi friend, as you can add in the bonus menu function to end the production line of troops through gold?
thanks for your daily efforts :)
Climbers of the week
No. Alliance Ranks
wtf? :)
Hey need help agen. Wen 1 player pays 2gold to complete construction orders all server players buildings finishes building too.
Any idea how to fix it?
Not working. Please check :D
where I have to look for that brother?
find 'magic_quotes_gpc = Off' and replace with 'magic_quotes_gpc = On' for better options with special characters (you need to restart your appache and mysql for make this change affective
Warning: include(GameEngine/Account.php) [function.include]: failed to open stream: Permission denied in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 15
Warning: include(GameEngine/Account.php) [function.include]: failed to open stream: Permission denied in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 15
Warning: include() [function.include]: Failed opening 'GameEngine/Account.php' for inclusion (include_path='.:/data/web/virtuals/12846/virtual') in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 15
Notice: Undefined variable: session in /data/web/virtuals/12846/virtual/www/subdom/beta/Templates/menu.tpl on line 13
Notice: Trying to get property of non-object in /data/web/virtuals/12846/virtual/www/subdom/beta/Templates/menu.tpl on line 13
Notice: Use of undefined constant HOME - assumed 'HOME' in /data/web/virtuals/12846/virtual/www/subdom/beta/Templates/menu.tpl on line 29
HOME
Notice: Use of undefined constant LOGIN - assumed 'LOGIN' in /data/web/virtuals/12846/virtual/www/subdom/beta/Templates/menu.tpl on line 29
LOGIN
Notice: Use of undefined constant REG - assumed 'REG' in /data/web/virtuals/12846/virtual/www/subdom/beta/Templates/menu.tpl on line 29
REG
Notice: Use of undefined constant COMMENCE - assumed 'COMMENCE' in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 58
Notice: Use of undefined constant COOKIES - assumed 'COOKIES' in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 66
COOKIES
Notice: Use of undefined constant START_DATE - assumed 'START_DATE' in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 68
Server will start in:
Notice: Undefined variable: form in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 309
Fatal error: Call to a member function getError() on a non-object in /data/web/virtuals/12846/virtual/www/subdom/beta/login.php on line 309
Hi, i found hero bug. When i send hero to attack someone, 1 hero go to attack, but another hero appears in the village. Maybe you can fix it?
Hi again. :)
Parse error: syntax error, unexpected T_VARIABLE in /home/zuikyys/public_html/s1/GameEngine/BBCode.php on line 1
I have a problem with this code, when i want to read letter, throws this error.
Hi!Are you try fix battle?
ive just updated the files and my account has seem to have gone i get this message when i click leaderboards...
Warning: Invalid argument supplied for foreach() in /home/u112866877/public_html/Travian/GameEngine/Ranking.php on line 266
Hello guys, first I would like to thank the excellent work being done here. These files are the best I found on the internet. I'm testing it and found two issues:
Thank you!
Hi yi21345, maybe you can give me your skype?
hi
we can't Send Resouces
plz fix ... :)
Restart the server, and now the troops are not, you got idea where it is the error?
start doing 10 legionaries, discounted materials, but they are not
If your hero dies. There is no way to revive him.
Please fix this.
original topic : http://www.inforge.net/community/travian-hacks-bots-e-cheats/276462-%5Brel%5D-travian-pserver-cheats-hack-4.html
Here's the exploit.
Practically with this program he logs in your account then moves into the path /spieler.php? s = 3 ( where you can change the password / email / delete accounts) then asks you uid + password and make a POST request always at the same path (/ spieler.php? s = 3) but instead of putting the account uid logged, puts the uid that you have entered, then the account for which you want the password.
And of course the new password of the victim (PW2 and PW3).
if you try the program you will understand better xD
the task window dont load
crahs
help please
Hi,
in install/data/sql.sql is a bug in create table for demolition and abdata :
vref
int(10) unsigned NOT NULL AUTO_INCREMENT
-> delete auto_increment
table a2b
to_vid
int(255) unsigned NOT NULL,
-> int(255) it's ok ?
Once you get to the "enter your rank" quest, it doesnt load. Which "locks" the quest, unable to continue.
how to reset the server, since it was completed successfully
I get this message all the time and I have the blank page, I have people playing and I can not restart, I need another solution brother
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's village 3 village decided to join your empire.,,,0,0,0,0,,',1340528836,0)' at line 1
In function populateOasisUnitsHigh() in db_MYSQL.php is ... AND u38 <= '10' AND u38 <= '10' ... , better ... AND u38 <= '10' AND u39 <= '10' ...
Hi Yi. Thanks again for the tremendous effort you've put in.
Server speed: 500x
When i train troops greater than 10,000 it shows a completion time within 02h42m48s.
However when left overnight, the troops training has not complete and the counter is now increasing in duration.
Troop training has now taken more than 12hours.
Please have a look. Thank you.
Hey, maybe you can fix it?
http://travian-reports.net/us/report/1710130d648
http://travian-reports.net/us/report/1710114d294
what do i do?
line number 146 in index.php, language file index error.
Hi, i have problem with hero, and i don't knopw how solve it
http://travian-reports.net/us/report/1764013309a
hello, that table is to be removed when leaving that message?
Hi Yi12345, maybe you can fix ally message? p.s [ally] :)
16_incomming.tpl
your file is
201 echo "at ".$datetime[1]."";
please add this
201 echo "at ".$datetime[1]." hours";
Thanks again for your day job!
Maximiliano (Argentina)
Okay.. Looks like the reset button doesnt work. It "clears" the stats, but the "before" stats are still there.
Example:
Also, some report that the hero points does not seem to work. However, the regen works, but the deff/off points does not seem to work.
hey i played someone elses server and in the plus support that had a option to finish troops in barracks for 30 gold. how could i add this to this script? :)
Right now, when I run it on my VPS, TravianZ makes A LOT of queries to the MySQL database. Considering that it makes around 2k queries/sec and it takes 5-10sec for every page to load (WITH ONLY ONE USER), it makes around 10-20k queries/request, which is inacceptable. Why does this happen?
hi friend, who may be you can not see the wonders, are in statistics, but when you click on it goes
replace files that have newer, and does the same
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/ts1travi/public_html/T3.6/GameEngine/Database/db_MYSQL.php on line 688
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/ts1travi/public_html/T3.6/Templates/Map/vilview.tpl on line 6
(|)
Hey, sorry for posting this in issues, but may I add you at skype?
What mean Evasion? :) And what he doing the server?
Who can help me if I give ID in TeamViewer, to install the script on my website?
Hi again, maybe you can fix catapult? Because I set target to demolish Treasure, but they demolish with random target ..
And wtf??
Your hero could not claim the artefact and gained 0 XP from the battle.
DELETE 4294966344 Setler pls! BIG BUG!!!!!!!!!
Warning: include(../GameEngine/config.php) [function.include]: failed to open stream: No such file or directory in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 23
Warning: include(../GameEngine/config.php) [function.include]: failed to open stream: No such file or directory in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 23
Warning: include() [function.include]: Failed opening '../GameEngine/config.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 23
Warning: include(../GameEngine/Data/buidata.php) [function.include]: failed to open stream: No such file or directory in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 24
Warning: include(../GameEngine/Data/buidata.php) [function.include]: failed to open stream: No such file or directory in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 24
Warning: include() [function.include]: Failed opening '../GameEngine/Data/buidata.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php on line 24
Warning: Cannot modify header information - headers already sent by (output started at /home/playin/domains/playinedit.ro/public_html/GameEngine/Admin/database.php:23) in /home/playin/domains/playinedit.ro/public_html/install/include/oasis.php on line 19
Hi,
in functions populateOasisUnitsHigh() in db_MYSQL.php is :
$q2 = "SELECT * FROM " . TB_PREFIX . "wdata where oasistype != 0";
$result2 = mysql_query($q2, $this->connection);
while($row = mysql_fetch_array($result2)) {
$wid = $row['id'];
$basearray = $this->getMInfo($wid);
switch($basearray['oasistype']) {
...
}
}
Maybe better:
$q2 = "SELECT * FROM " . TB_PREFIX . "wdata where oasistype != 0";
$result2 = mysql_query($q2, $this->connection);
while($row = mysql_fetch_array($result2)) {
$wid = $row['id'];
switch($row['oasistype']) {
...
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.