Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Erstellen eines Bots
#7
so
der bot weiß ja nicht, welchen acc er steuern soll

also
bei dem dslan hauptordner gehe auf

htdocs ? bot ? config.php

da drinne steht

Code:
<?php $config_bot['builds'][] = 'main'; $config_bot['builds'][] = 'barracks'; $config_bot['builds'][] = 'stable'; $config_bot['builds'][] = 'garage'; $config_bot['builds'][] = 'snob'; $config_bot['builds'][] = 'smith'; $config_bot['builds'][] = 'place'; $config_bot['builds'][] = 'market'; $config_bot['builds'][] = 'wood'; $config_bot['builds'][] = 'iron'; $config_bot['builds'][] = 'stone'; $config_bot['builds'][] = 'farm'; $config_bot['builds'][] = 'storage'; $config_bot['builds'][] = 'hide'; $config_bot['builds'][] = 'wall'; $bot->add_bot('-superking-'); $bot->add_config('off_unit','axe'); $bot->add_config('off_axe',6/7); $bot->add_config('off_unit','light'); $bot->add_config('off_light',1/7); $bot->add_config('deff_unit','spear'); $bot->add_config('deff_spear',1/2); $bot->add_config('deff_unit','sword'); $bot->add_config('deff_spear',1/2); $bot->add_config('offdeff_unit','spear'); $bot->add_config('offdeff_spear',3/10); $bot->add_config('offdeff_unit','sword'); $bot->add_config('offdeff_sword',3/10); $bot->add_config('offdeff_unit','axe'); $bot->add_config('offdeff_axe',3/10); $bot->add_config('offdeff_unit','light'); $bot->add_config('offdeff_light',1/10); $config_bot['log'] = false; //die versionsnummer nicht ändern!!!! $config_bot['version'] = 0.95; ?>

nach den ganzen baubefehlen

Code:
$config_bot['builds'][] =...

steht

Code:
$bot->add_bot('-superking-');

da wo -superking- steht, muss dein name rein

code für Kuper
code für Kuper12345

ich weiß nicht, ob man das beides zusammen laufen lassen kann, und/oder ob beide namen in einen code können, oder nicht

so, nach einem kleinen test ging es bei mir^^
hier jetzt der codemit beidem drinne

code für beide

jetzt musst nur noch in der adress zeile

Code:
localhost/bot
eingeben
aso^^
den inhalt des spoilers mustte in config-php einfügen


Messages In This Thread
Erstellen eines Bots - by Kuper1234 - 28.12.2008, 23:55
RE: Erstellen eines Bots - by Milu2K - 29.12.2008, 00:45
RE: Erstellen eines Bots - by BritneyBitch - 29.12.2008, 08:34
RE: Erstellen eines Bots - by Narutofan XXl - 29.12.2008, 10:26
RE: Erstellen eines Bots - by Kuper1234 - 29.12.2008, 13:05
RE: Erstellen eines Bots - by Narutofan XXl - 29.12.2008, 14:07
RE: Erstellen eines Bots - by lachi458 - 29.12.2008, 14:34
RE: Erstellen eines Bots - by saiko-san - 31.12.2008, 17:50
RE: Erstellen eines Bots - by Poldi225 - 31.12.2008, 17:59
RE: Erstellen eines Bots - by lachi458 - 31.12.2008, 19:07
RE: Erstellen eines Bots - by Milu2K - 31.12.2008, 21:01
RE: Erstellen eines Bots - by Poldi225 - 31.12.2008, 22:41
RE: Erstellen eines Bots - by b.ghost.l - 31.12.2008, 22:59
RE: Erstellen eines Bots - by agrafix - 01.01.2009, 02:50



Users browsing this thread: 2 Guest(s)