TWLan Forum

Full Version: bot - verlassene dörfer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Bei mir kommt dauernt die Fehlermeldung :

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 220

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 225

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 231

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 232

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 237

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 220

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 225

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 231

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 232

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 237

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 220

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 225

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 231

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 232

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 237

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 220

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 225

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 231

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 232

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 237

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 220

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 225

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 231

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 232

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Dokumente und Einstellungen\Tobias\Desktop\dslan_v1.13\htdocs\new_bot\bot.php on line 237

Woran liegt das bitte schreibenSad
du hast die tabellen nicht erstellt
Welche tabbeln?
Steht alles in der Installationsanleitung:

Code:
1.1 Den Ordner bot nach htdocs kopieren (htdocs befindet sich im DSLan Verzeichnis)
1.2 Im Browser http://localhost/phpmyadmin aufrufen
1.3 Im Popdownmenü entweder lan oder dslan auswählen (es gibt nur eine Möglichkeit)
1.4 Oben auf SQL gehen
1.5 Den Code aus sql.txt in das Textfeld eingeben und abschicken, es sollte eine Bestätigung kommen, dass alles geklappt hat

2. Einrichten
2.1 Im Ordner bot (der sollte inzwischen schon in htdocs sein) gibt es die config.php. Öffne diese
2.2 Erstelle über die Startseite der DSLan (http://localhost) einen Benutzer, der später der Bot sein soll
2.3 Such in der Config folgenden Eintrag
    $bot->add_bot('');
Gib zwischen den '' den Namen des Botes an

3. Betrieb
Einfach ein Tab im Browser öffnen und http://localhost/bot eingeben

Wenn du das alles so machst wie angegeben sollte es keine Probleme mehr geben.
Ja es steht aber da das der bot verlassene dörfer ausbauen soll !
wo finde ich dieses sql.txt?
http://pheyken.ph.funpic.de/dslan/browser_bot.zip

Edit: SQL code führst du da aus: localhost/new_bot/bot.php?action=make_tables
wen ich es mache pipt das die ganze zeit und wen ich auf die diese seite gehe steht dort fehler in der tabelle
Dann hast du die den Tabelle SQL code schon einmal ausgeführt
ja ok aber wieso pipst das den dan wenn ich auf die andere seite gehe
kA ich glaube das kann man net ausschalten Sad
wenn ich es pipen lass bauen die dörfer sich aber auch nich hoch achso kann ich dich in meine icq liste eintragen ?
so. hab nun auch ein problem,wenn ich in browser eingebe:http://localhost/new_bot/bot.php kommt nach ner zeit folgende meldung:Fatal error: Maximum execution time of 60 seconds exceeded in D:\Games\diestaemme\dslan_v1.3\dslan_v1.3\htdocs\new_bot\bot.php on line 709

wie kann ich das beheben, da ab dem zeitpunkt verhindert wird das sich die dörfer weiter ausbaun
Wieviele verlassene dörfer hast du?
pi mal daumen hundert. vllt auch mehr.
hab die alle durch den ink bot erstellen lassen, indem ich zu begin die richtungswahl angelassen hatte
wie mit dem ink bot erstellt? der ink bot erstellt keine leere dörfer, der ink bot ist ein bot, der wie ein spieler spielt. du musst im adminbereich für diesen verlassene dörferbot leere dörfer erstllen.
100 dörfer sind auch übertrieben, versuchs mal mit 10 oder so
hmmm. nun ja bin n lesemuffel kann mir ma jemand hier alles zusammenfassen.
Wie ich das auf dem ersten blick gelesen hab soll hier ein bot sein dass wie bei dem richtigen st
ämme sich die babarendörfer selbst ausbauen oder?????
Richtig. Big Grin
achso danke. :-D
Pages: 1 2 3 4 5 6 7 8 9 10 11 12