Example #1
0
function Grifter_run()
{
    global $Grifter_settings;
    Grifter_loadSettings();
    Grifter_autofill();
    AddLog2('Grifter v' . Grifter_version);
    $farm = null;
    $farm = Grifter_Grift($farm);
    save_array($Grifter_settings, Grifter_settings);
}
Example #2
0
<?php

require_once '../../fB_PluginAPI.php';
include_once 'main.php';
global $Grifter_settings;
Grifter_loadSettings();
$show = '';
if (isset($_GET['send'])) {
    if ($_GET['send'] == 'GRIFT') {
        $show = 'GRIFT';
        if ($_GET['reset']) {
            $Grifter_settings['auto'] = false;
            $Grifter_settings['reset'] = false;
            $Grifter_settings['mansion'] = 0;
            $Grifter_settings['villa'] = 0;
            $Grifter_settings['logcabin'] = 0;
            $Grifter_settings['postoffice'] = 0;
            $Grifter_settings['fruitstand'] = 0;
            $Grifter_settings['schoolhouse'] = 0;
            $Grifter_settings['resttent'] = 0;
            $Grifter_settings['woodpile'] = 0;
            $Grifter_settings['haybale'] = 0;
            $Grifter_settings['engineer'] = 0;
            $Grifter_settings['pheasant'] = 0;
            $Grifter_settings['beltedcow'] = 0;
            $Grifter_settings['goat'] = 0;
            $Grifter_settings['saddleback'] = 0;
            $Grifter_settings['windmill'] = 0;
            $Grifter_settings['cowsilo'] = 0;
        } else {
            $Grifter_settings['auto'] = $_GET['auto'];