*
*/
require_once("Uplink/Uplink.class.php");
+require_once("ModCMD/ModCMD.class.php");
+require_once("BotLoader/BotLoader.class.php");
//basicly here is nothing, yet :D
$uplink = new Uplink();
-$uplink->setUplinkHost("localhost", 4402);
-$uplink->setUplinkServer(5, "php.local.TestNet", "very_weak_password");
+$uplink->setUplinkHost("192.168.2.103", 4401);
+$uplink->setUplinkServer(5, "PHP.TestNet", "very_weak_password", "Test Server");
+$uplink->setValidateServer("test.localhost", "very_weak_password");
+
+$uplink->setEventHandler(ModCMD::getEventHandler());
+
+$uplink->initialize();
+
+$botloader = new BotLoader($uplink);
+$botloader->loadBots();
while(true) {
$uplink->loop();