Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Division by Zero?
#21
Bevor ich resete werd ich das zweite machen ist besser ;-) [obwohl ich genausogut auch die sql speichern könnt aber das wäre ja mehr Arbeit.Wenn du es so hinkriegen würdest , würde es am schnellsten gehen]

builds.php:
PHP Code:
<?php /*This encoded file was generated using PHPCoder (http://phpcoder.sourceforge.net/) and eAccelerator (http://eaccelerator.sourceforge.net/)*/ if (!is_callable("eaccelerator_load") && !@dl("eAccelerator.so")) { die("This PHP script has been encoded using the excellent eAccelerator Optimizer, to run it you must install <a href=\"http://eaccelerator.sourceforge.net/\">eAccelerator or the eLoader</a>"); }eaccelerator_load('eJyNW2toXEeWrrrdttvjeBLHySTObuJ3+yF7Yyl2Vl5b7ahjOdZgeVq+rYyXEShtdctqolaL7tbYwwTGGCIEEYKIXZz9E1gxgyEyAwmxfxh2ZggYZmG9eQwLyv6wBJn9ETaEkIWBYEz21jl16t3JCGTfW3XqnO9836m6datbfb0vvth3pu9cb/En51iaMcajdcm/F6arE+Umi9bq6+Tn8eQ3lfxWy8Iw+RWmo/XJsepF2fBQ8jtRarZGyhcmS7UKWw+t4mdN8us0idFBu0v1etloEiCarfqka1Zt1CeNJoHswrjRsB4aRlr1VmkiaTTDTtWrk62mYfuD5LdWujzSbJUumnE2CNiVSlmSoDsetzpGLvzCT1mQUa40RxvVqVbVgrrZ7vGHPky8jzTHS42pymTTILhWqk6OjJVGW/WGbN2ozCuNRr3RZRgbzbJV0NKcqoxWSxPkdZekhWSni5QiTPzETyf/RIyn1mrZoY1ZbXzP0+g2ip+RA0RhtcarTT70DJhHpn0WrDhL89xWiQf1KJXLIwAk8aGv09D/NGHaLuOLZkEiPyFbzE4RDDmm7ij5LewAO6s73uFB3kGQRS0YxZ3dQbgLO6UjNejcToysceVFy3GAdXynxCeGrAEepidb8U4v8k6KLNBWy9mdKqAQLGUjhzZuMhHvMrhBj7swdW1URJsoncruUt53u+PO7YZ4jJCAhc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z0GUJ0YPI3XCZqw00azEhwPcHSbu9j+fXD3R+TzwxQt/79vmRJv9tVnzL7ajQAtjxjcSjrmz5dyxNtMsd0xF2uRH6vJDdbmxTnixTrSbmbkTKtiTZjD6KyJctc2YTg+OPUAz86ShXWl6rJW8LPMTJ/W8pH4x4WvVyeSxQFYvnFSzk2eo4gun2tp3vATIMy+/FAj55EtywYFz0d7T3Pl0+bTH0GliyP9LqjwMx49bT3M6YbU+YI5PGxUDf2OT7GxOq2dVP9cjCOLmflzkcTp09IPjzbkfI3AB8kxo1BkaJVB0nMFqzw3AKPF96UJBjjKQDBbkZJdfvsgX1LpWKATYk/2QcMFIWH48qsZ4IWDzLC46UwV6hPWCM/mYL/DQY5786YUL7MSZ+hPtixJgpBzoEeBVx77irieC46TRgrMiUCeckVGaUbIBVdBz1EqFyaiOxU8uBtLp9v8Bh/+95w=='); ?>

Allerdings kam ein ähnlicher fehler in der Schmiede, ich denke es hatte mit der techs.php zu tun
Reply
#22
buildings.php nicht build.php

Reply
#23
buildings.php :
PHP Code:
<?php

$cl_builds 
= new builds();



//////////// Zeitfaktor vom Bau der Gebäude ////////////



$cl_builds->set_mainfactor("1.00","0.952381");



////////////////// BAUSCHLEIF KOSTEN ///////////////////



$cl_builds->set_buildsharpens("1.25","20");



///////////////////// Alle Gebäude /////////////////////



$cl_builds->add_build("Hauptgebäude","main");

$cl_builds->set_woodprice("90","1.26");

$cl_builds->set_stoneprice("80","1.275");

$cl_builds->set_ironprice("70","1.26");

$cl_builds->set_bhprice("5","1.17");

$cl_builds->set_time("1080","1.2");

$cl_builds->set_points("10","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("Im Hauptgebäude können neue Gebäude errichtet werden oder vorhandene Gebäude verbessert werden. Je höher die Stufe, desto schneller können neue Gebäude errichtet werden.");



$cl_builds->add_build("Kaserne","barracks");

$cl_builds->set_woodprice("200","1.26");

$cl_builds->set_stoneprice("170","1.28");

$cl_builds->set_ironprice("90","1.26");

$cl_builds->set_bhprice("7","1.17");

$cl_builds->set_time("1800","1.2");

$cl_builds->set_points("16","1.2");

$cl_builds->set_needbuilds(array("main"=>"3"));

$cl_builds->set_maxstage("25");

$cl_builds->set_specials(array());

$cl_builds->set_description("In der Kaserne kannst du Infanterie rekrutieren. Je höher die Ausbaustufe der Kaserne, desto schneller kannst du deine Truppen ausbilden.");



$cl_builds->add_build("Stall","stable");

$cl_builds->set_woodprice("270","1.26");

$cl_builds->set_stoneprice("240","1.28");

$cl_builds->set_ironprice("260","1.26");

$cl_builds->set_bhprice("8","1.17");

$cl_builds->set_time("6000","1.2");

$cl_builds->set_points("20","1.2");

$cl_builds->set_needbuilds(array("main"=>"10","barracks"=>"5","smith"=>"5"));

$cl_builds->set_maxstage("20");

$cl_builds->set_specials(array());

$cl_builds->set_description("Im Stall kannst du Reiter ausbilden. ;)");



$cl_builds->add_build("Werkstatt","garage");

$cl_builds->set_woodprice("300","1.26");

$cl_builds->set_stoneprice("240","1.28");

$cl_builds->set_ironprice("260","1.26");

$cl_builds->set_bhprice("8","1.16");

$cl_builds->set_time("6000","1.2");

$cl_builds->set_points("24","1.2");

$cl_builds->set_needbuilds(array("main"=>"10","smith"=>"10"));

$cl_builds->set_maxstage("15");

$cl_builds->set_specials(array());

$cl_builds->set_description("In der Werkstatt kannst du Belagerungswaffen herstellen. Je höher die Ausbaustufe der Werkstatt, desto schneller kannst du deine Truppen ausbilden.");



$cl_builds->add_build("Adelshof","snob");

$cl_builds->set_woodprice("15000","2");

$cl_builds->set_stoneprice("25000","2");

$cl_builds->set_ironprice("10000","2");

$cl_builds->set_bhprice("80","1.17");

$cl_builds->set_time("64800","1.2");

$cl_builds->set_points("512","1.2");

$cl_builds->set_needbuilds(array("main"=>"20","smith"=>"20","market"=>"10"));

$cl_builds->set_maxstage("3");

$cl_builds->set_specials(array());

$cl_builds->set_description("Im Adelshof kannst du Adelsgeschlechter erzeugen, mit denen du andere Dörfer erobern kannst.");



$cl_builds->add_build("Schmiede","smith");

$cl_builds->set_woodprice("220","1.26");

$cl_builds->set_stoneprice("180","1.275");

$cl_builds->set_ironprice("240","1.26");

$cl_builds->set_bhprice("40","1.17");

$cl_builds->set_time("6000","1.2");

$cl_builds->set_points("19","1.2");

$cl_builds->set_needbuilds(array("main"=>"5","barracks"=>"1"));

$cl_builds->set_maxstage("20");

$cl_builds->set_specials(array());

$cl_builds->set_description("In der Schmiede werden Waffen erforscht und verbessert. Je höher die Ausbaustufe der Schmiede, desto bessere Waffen kannst du erforschen. Außerdem wird die Forschzeit verringert.");



$cl_builds->add_build("Versammlungsplatz","place");

$cl_builds->set_woodprice("10","1.2");

$cl_builds->set_stoneprice("40","1.2");

$cl_builds->set_ironprice("30","1.2");

$cl_builds->set_bhprice("0","1.17");

$cl_builds->set_time("2000","1.2");

$cl_builds->set_points("0","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("1");

$cl_builds->set_specials(array());

$cl_builds->set_description("Auf dem Versammlungsplatz treffen sich deine Krieger. Hier kannst du Angriffsbefehle erteilen und Truppen verlagern.");



$cl_builds->add_build("Marktplatz","market");

$cl_builds->set_woodprice("100","1.26");

$cl_builds->set_stoneprice("240","1.275");

$cl_builds->set_ironprice("260","1.26");

$cl_builds->set_bhprice("8","1.17");

$cl_builds->set_time("6000","1.2");

$cl_builds->set_points("0","1.2");

$cl_builds->set_needbuilds(array("main"=>"1"));

$cl_builds->set_maxstage("1");

$cl_builds->set_specials(array());

$cl_builds->set_description("Diese Statue wurde deiner Stadt gewidmet!");


$cl_builds->add_build("Statue","statue");

$cl_builds->set_woodprice("300","1.26");

$cl_builds->set_stoneprice("80","1.275");

$cl_builds->set_ironprice("70","1.26");

$cl_builds->set_bhprice("5","1.17");

$cl_builds->set_time("1080","1.2");

$cl_builds->set_points("10","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("3");

$cl_builds->set_specials(array());

$cl_builds->set_description("Im Hauptgebäude können neue Gebäude errichtet werden oder vorhandene Gebäude verbessert werden. Je höher die Stufe, desto schneller können neue Gebäude errichtet werden.");


$cl_builds->add_build("Holzfäller","wood");

$cl_builds->set_woodprice("50","1.25");

$cl_builds->set_stoneprice("60","1.275");

$cl_builds->set_ironprice("40","1.245");

$cl_builds->set_bhprice("5","1.15");

$cl_builds->set_time("900","1.2");

$cl_builds->set_points("6","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("Deine Holzfäller schlagen in den dichten Wäldern außerhalb deines Dorfes das massive Holz, das sowohl für den Aufbau deiner Siedlung als auch für die Bewaffnung deines Heeres benötigt wird. Je höher die Ausbaustufe des Holzfällers, desto mehr Nutzholz kann produziert werden.");



$cl_builds->add_build("Lehmgrube","stone");

$cl_builds->set_woodprice("65","1.27");

$cl_builds->set_stoneprice("50","1.265");

$cl_builds->set_ironprice("40","1.24");

$cl_builds->set_bhprice("10","1.14");

$cl_builds->set_time("900","1.2");

$cl_builds->set_points("6","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("In der Lehmgrube fördern deine Arbeiter den für den Aufbau deines Dorfes wichtigen Lehm. Je höher die Ausbaustufe, desto mehr Lehm wird gefördert.");



$cl_builds->add_build("Eisenmine","iron");

$cl_builds->set_woodprice("75","1.25");

$cl_builds->set_stoneprice("65","1.275");

$cl_builds->set_ironprice("70","1.24");

$cl_builds->set_bhprice("10","1.17");

$cl_builds->set_time("1080","1.2");

$cl_builds->set_points("6","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("In der Eisenmine schürfen deine Arbeiter das kriegsentscheidende Eisen. Je höher die Ausbaustufe der Eisenmine, desto mehr Eisen wird produziert.");



$cl_builds->add_build("Bauernhof","farm");

$cl_builds->set_woodprice("45","1.3");

$cl_builds->set_stoneprice("40","1.32");

$cl_builds->set_ironprice("30","1.29");

$cl_builds->set_bhprice("0","1");

$cl_builds->set_time("1440","1.2");

$cl_builds->set_points("5","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("Der Bauernhof versorgt deine Arbeiter und Truppen mit Nahrung. Ohne Ausbau des Bauernhofs kann dein Dorf nicht wachsen. Je höher die Ausbaustufe des Bauernhofs, desto mehr Bewohner können versorgt werden.");



$cl_builds->add_build("Speicher","storage");

$cl_builds->set_woodprice("60","1.265");

$cl_builds->set_stoneprice("50","1.27");

$cl_builds->set_ironprice("40","1.245");

$cl_builds->set_bhprice("0","1");

$cl_builds->set_time("1224","1.2");

$cl_builds->set_points("6","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("30");

$cl_builds->set_specials(array());

$cl_builds->set_description("Im Speicher können die von deinem Dorf produzierten Rohstoffe gelagert werden. Je höher die Ausbaustufe des Speichers, desto mehr Rohstoffe können eingelagert werden.");



$cl_builds->add_build("Versteck","hide");

$cl_builds->set_woodprice("50","1.25");

$cl_builds->set_stoneprice("60","1.25");

$cl_builds->set_ironprice("50","1.25");

$cl_builds->set_bhprice("2","1.20");

$cl_builds->set_time("2160","1.2");

$cl_builds->set_points("5","1.2");

$cl_builds->set_needbuilds(array());

$cl_builds->set_maxstage("10");

$cl_builds->set_specials(array("catapult_protection"));

$cl_builds->set_description("Im Versteck werden Rohstoffe versteckt, so dass der Gegner diese nicht plündern kann.");



$cl_builds->add_build("Wall","wall");

$cl_builds->set_woodprice("50","1.26");

$cl_builds->set_stoneprice("100","1.275");

$cl_builds->set_ironprice("20","1.26");

$cl_builds->set_bhprice("5","1.18");

$cl_builds->set_time("3600","1.2");

$cl_builds->set_points("8","1.2");

$cl_builds->set_needbuilds(array("barracks"=>"1"));

$cl_builds->set_maxstage("20");

$cl_builds->set_specials(array());

$cl_builds->set_description("Der Wall schützt dein Dorf vor feindlichen Truppen. Durch den Wall wird sowohl die Grundverteidigung als auch der Verteidigungswert deiner Truppen erhöht.");



?>
Reply
#24
lösch mal die dslan und lad sie dir dann neu runter, dann könnte es klappen.

Reply
#25
Werde ich machen sobald ich wieder on komme - bin erstmal offline - bis bald.
Reply
#26
es geht wieder! nach der neuinstallation kam der fehler wieder da hab ich bauernhöfe neu berechnet , truppen auch , hab gebäude auf maximal gestellt und dann eines abgerissen . dann hab ich bh-plätze von 1/24000 auf 2000/24000 geschaltet und der fehler war weg.
Reply




Users browsing this thread: 2 Guest(s)