anpera.net https://anpera.dyndns.org/phpbb3/ |
|
Problem mit dem Bot Script https://anpera.dyndns.org/phpbb3/viewtopic.php?f=34&t=2605 |
Seite 1 von 1 |
Autor: | Montekar [ Mo 05 Jun, 2006 16:04 ] |
Betreff des Beitrags: | Problem mit dem Bot Script |
Hallo erstmal! Ich hab ein kleines Problem mit dem Chatbot-Script, bei mir kommt da immer das hier wenn ich den Dorfplatz betrete (da "wohnt" mein Bot) $this->bbcode_second_pass_code('', 'UPDATE accounts SET laston = '1970-01-01 01:00:00', alive = '1', loggedin = '1', lasthit = '1970-01-01 01:00:00', commons = '2' WHERE login = 'Seth' Unknown column 'commons' in 'field list'') Ich hab nix an dem Script geändert und alle richtig gemacht hab schon überprüft... Kann mir jemand helfen? |
Autor: | Harthas [ Mo 05 Jun, 2006 16:08 ] |
Betreff des Beitrags: | |
also es würde mich sehr wundern wenn es das feld commons in der datenbank geben würde O_o.. jedenfalls sagt er dir, dass es das feld nicht gibht..und es kommt mir auch nicht wirklich bekannt vor.. vielleicht hast du beim einbau was falsch gemacht ![]() |
Autor: | Montekar [ Mo 05 Jun, 2006 16:15 ] |
Betreff des Beitrags: | |
Eigentlich nicht... Warte ich schau nochmal Hast du das Bot-Script auch? |
Autor: | Montekar [ Mo 05 Jun, 2006 16:34 ] |
Betreff des Beitrags: | |
Ich habs! Der Fehler ist hier: [php]$sql2="UPDATE accounts SET laston = '".date("Y-m-d H:i:s",strtotime("+ 300 seconds"))."', alive = '1', loggedin = '1', lasthit = '".date("Y-m-d H:i:s",strtotime("+ 300 seconds"))."', commons = '".$row[npccommons]."' WHERE login = '".$row[login]."'";[/php] Da muss statt commons npccommons hin! |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |