Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[v1.4] Bot
#1
Hallo ich habe ein Problem mit dem Bot in der Dslan Version 1.4, vielleicht kann mir bitte einer von euch weiterhelfen.

Fehlermeldung unter "http://localhost/bot/bot.php":

Parse error: parse error, unexpected '{' in C:\Users\Arne\Documents\dslan_v1.4\dslan_v1.4\htdocs\bot\config\classes.php on line 282

Codezeile (Zeile 282 = 3. von Oben!):

Code:
//KI-Überprüfung Wenn die Punkte des Dorfes größer sind als der noch freie Bauernhof if($villagedata['points'] > $arr_farm[$villagedata['farm']] - $villagedata['r_bh']){ if((random_generator($botconfig['ki']['create_units_villagepoints'] + 1)){ $units = $cl_units->get_attType($type); foreach($units as $value){ $cl_action->recruit($value,$villagedata,$cl_units->recruit_in[$value]); } } } else { $units = $cl_units->get_attType($type); foreach($units as $value){ $cl_action->recruit($value,$villagedata,$cl_units->recruit_in[$value]); } } usleep(100); } } }

Kann mir einer weiterhelfen? Danke schonmal Smile
Reply


Messages In This Thread
Bot - by Daim666 - 04.06.2012, 20:50
RE: Bot - by Molt - 04.06.2012, 22:26
RE: Bot - by Daim666 - 04.06.2012, 22:29
RE: Bot - by SlimShady95 - 04.06.2012, 23:05
RE: Bot - by Daim666 - 04.06.2012, 23:32
RE: Bot - by SlimShady95 - 05.06.2012, 01:03
RE: Bot - by Milu2K - 05.06.2012, 20:25



Users browsing this thread: 1 Guest(s)