Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plötzlich Fehler in buildings.php
#1
Hallo Com!!

Ich hab schon wieder ein Problem:

Ich hab mein DSLan nach dem letzten zocken ordnungsgemäß beendet und da hat noch alles gut funktioniert.
Jetzt beim erneuten starten hab ich aba iwie nen Fehler drin...

Fatal error: Call to a member function on a non-object in C:\dslan_v1.4\htdocs\include\configs\buildings.php on line 12

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($lang->grab("configs_buildings""main"), "main"); //line 12
$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($lang->grab("configs_buildings""main_des"), "main");
$cl_builds->set_graphicCoords("250,120,215,140,222,200,280,230,340,195,337,130");

$cl_builds->add_build($lang->grab("configs_buildings""barracks"), "barracks");
$cl_builds->set_woodprice("200","1.27");
$cl_builds->set_stoneprice("170","1.28");
$cl_builds->set_ironprice("90","1.29");
$cl_builds->set_bhprice("7","1.17");
$cl_builds->set_time("1800","1.2");
$cl_builds->set_points("16","1.15");
$cl_builds->set_needbuilds(array("main"=>"3"));
$cl_builds->set_maxstage("30");
$cl_builds->set_specials(array());
$cl_builds->set_description($lang->grab("configs_buildings""barracks_des"));
$cl_builds->set_graphicCoords("476,103,419,155,450,200,505,216,546,175");

//und so weiter.... 

Ich habe folgende Tools in letzter Zeit installiert:
- Bonusdoerfer_v1.2
- superbot
Nichts ist so schlimm, wie wir fürchten,
nichts so gut, wie wir hoffen.
I Confusednob: YOU
Reply


Messages In This Thread
Plötzlich Fehler in buildings.php - by Nonilol - 25.12.2010, 14:05



Users browsing this thread: 2 Guest(s)