• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Gesior AAC Instalation problem

Jarhead

New Member
Joined
Feb 2, 2012
Messages
81
Reaction score
2
Location
Poland
I'm trying to install AAC for TFS 0.2.13+ and after set server path, I got this error:
HTML:
Parse error: syntax error, unexpected '--' (T_DEC), expecting ';' in /home/ot**/www/public_html/classes/configlua.php(56) : eval()'d code on line 1
First three lines of configlua.php
PHP:
<?php
if(!defined('INITIALIZED'))
    exit;

How can I resolve this?
 
Last edited:
I just change config.lua for this and it works:

PHP:
[LIST=1]
[*]accountManager = false
[*]namelockManager = true
[*]newPlayerChooseVoc = true
[*]newPlayerSpawnPosX = 100
[*]newPlayerSpawnPosY = 40
[*]newPlayerSpawnPosZ = 7
[*]newPlayerTownId = 1
[*]newPlayerLevel = 10
[*]newPlayerMagicLevel = 2
[*]generateAccountNumber = false
[*]redSkullLength = 24 * 60 * 60
[*]blackSkullLength = 42 * 60 * 60
[*]dailyFragsToRedSkull = 3
[*]weeklyFragsToRedSkull = 5
[*]monthlyFragsToRedSkull = 10
[*]dailyFragsToBlackSkull = dailyFragsToRedSkull
[*]weeklyFragsToBlackSkull = weeklyFragsToRedSkull
[*]monthlyFragsToBlackSkull = monthlyFragsToRedSkull
[*]dailyFragsToBanishment = dailyFragsToRedSkull
[*]weeklyFragsToBanishment = weeklyFragsToRedSkull
[*]monthlyFragsToBanishment = monthlyFragsToRedSkull
[*]blackSkulledDeathHealth = 40
[*]blackSkulledDeathMana = 0
[*]useBlackSkull = true
[*]useFragHandler = true
[*]advancedFragList = true
[*]notationsToBan = 3
[*]warningsToFinalBan = 4
[*]warningsToDeletion = 5
[*]banLength = 7 * 24 * 60 * 60
[*]killsBanLength = 7 * 24 * 60 * 60
[*]finalBanLength = 30 * 24 * 60 * 60
[*]ipBanishmentLength = 1 * 24 * 60 * 60
[*]broadcastBanishments = true
[*]maxViolationCommentSize = 200
[*]violationNameReportActionType = 2
[*]autoBanishUnknownBytes = false
[*]worldType = "pvp"
[*]protectionLevel = 75
[*]pvpTileIgnoreLevelAndVocationProtection = true
[*]pzLocked = 60 * 1000
[*]huntingDuration = 60 * 1000
[*]criticalHitChance = 40
[*]criticalHitMultiplier = 1
[*]displayCriticalHitNotify = true
[*]removeWeaponAmmunition = true
[*]removeWeaponCharges = true
[*]removeRuneCharges = true
[*]whiteSkullTime = 15 * 60 * 1000
[*]noDamageToSameLookfeet = false
[*]showHealingDamage = true
[*]showHealingDamageForMonsters = true
[*]fieldOwnershipDuration = 5 * 1000
[*]stopAttackingAtExit = false
[*]oldConditionAccuracy = false
[*]loginProtectionPeriod = 10 * 1000
[*]deathLostPercent = 5
[*]stairhopDelay = 2 * 1000
[*]pushCreatureDelay = 2 * 1000
[*]deathContainerId = 1987
[*]gainExperienceColor = 215
[*]addManaSpentInPvPZone = true
[*]squareColor = 0
[*]allowFightback = true
[*]worldId = 0
[*]ip = "127.0.0.1"
[*]bindOnlyConfiguredIpAddress = false
[*]loginPort = 7171
[*]gamePort = 7172
[*]adminPort = 7171
[*]statusPort = 7171
[*]loginTries = 10
[*]retryTimeout = 5 * 1000
[*]loginTimeout = 60 * 1000
[*]maxPlayers = 1000
[*]motd = "Bem vindo ao Alissow OTs 4.1! Enjoy"
[*]displayOnOrOffAtCharlist = false
[*]onePlayerOnlinePerAccount = true
[*]allowClones = false
[*]serverName = "Alissow OTs"
[*]loginMessage = "Bem vindo ao Alissow OTs 4.1! Enjoy"
[*]statusTimeout = 5 * 60 * 1000
[*]replaceKickOnLogin = true
[*]forceSlowConnectionsToDisconnect = false
[*]loginOnlyWithLoginServer = false
[*]premiumPlayerSkipWaitList = false
[*]sqlType = "mysql"
[*]sqlHost = "localhost"
[*]sqlPort = 3306
[*]sqlUser = "root"
[*]sqlPass = ""
[*]sqlDatabase = "Alissowsever"
[*]sqlFile = "schemas+Database/Alissow.s3db"
[*]sqlKeepAlive = 0
[*]mysqlReadTimeout = 10
[*]mysqlWriteTimeout = 10
[*]encryptionType = "plain"
[*]deathListEnabled = true
[*]deathListRequiredTime = 1 * 60 * 1000
[*]deathAssistCount = 19
[*]maxDeathRecords = 5
[*]ingameGuildManagement = true
[*]levelToFormGuild = 75
[*]premiumDaysToFormGuild = 0
[*]guildNameMinLength = 4
[*]guildNameMaxLength = 30
[*]highscoreDisplayPlayers = 15
[*]updateHighscoresAfterMinutes = 60
[*]buyableAndSellableHouses = true
[*]houseNeedPremium = true
[*]bedsRequirePremium = true
[*]levelToBuyHouse = 75
[*]housesPerAccount = 0
[*]houseRentAsPrice = false
[*]housePriceAsRent = false
[*]housePriceEachSquare = 1000
[*]houseRentPeriod = "never"
[*]houseCleanOld = 0
[*]guildHalls = true
[*]timeBetweenActions = 200
[*]timeBetweenExActions = 1000
[*]checkCorpseOwner = true
[*]hotkeyAimbotEnabled = true
[*]maximumDoorLevel = 500
[*]mapName = "Xedegux"
[*]mapAuthor = "Alissow - Xedegux"
[*]randomizeTiles = true
[*]useHouseDataStorage = false
[*]storeTrash = true
[*]cleanProtectedZones = true
[*]mailboxDisabledTowns = "-1"
[*]defaultPriority = "high"
[*]niceLevel = 5
[*]coresUsed = "-1"
[*]optimizeDatabaseAtStartup = true
[*]removePremiumOnInit = true
[*]confirmOutdatedVersion = false
[*]maxMessageBuffer = 4
[*]bufferMutedOnSpellFailure = false
[*]dataDirectory = "data/"
[*]allowChangeOutfit = true
[*]allowChangeColors = true
[*]allowChangeAddons = true
[*]disableOutfitsForPrivilegedPlayers = false
[*]bankSystem = true
[*]saveGlobalStorage = true
[*]displaySkillLevelOnAdvance = true
[*]spellNameInsteadOfWords = false
[*]emoteSpells = true
[*]promptExceptionTracerErrorBox = true
[*]storePlayerDirection = false
[*]monsterLootMessage = 3
[*]monsterLootMessageType = 25
[*]separateViplistPerCharacter = false
[*]ghostModeInvisibleEffect = false
[*]ghostModeSpellEffects = true
[*]idleWarningTime = 14 * 60 * 1000
[*]idleKickTime = 15 * 60 * 1000
[*]expireReportsAfterReads = 1
[*]playerQueryDeepness = 2
[*]maxItemsPerPZTile = 0
[*]maxItemsPerHouseTile = 0
[*]freePremium = false
[*]premiumForPromotion = true
[*]blessingOnlyPremium = true
[*]blessingReductionBase = 30
[*]blessingReductionDecreament = 5
[*]eachBlessReduction = 8
[*]experienceStages = false
[*]rateExperience = 350
[*]rateExperienceFromPlayers = 0
[*]rateSkill = 200
[*]rateMagic = 100
[*]rateLoot = 5
[*]rateSpawn = 1
[*]rateMonsterHealth = 1.0
[*]rateMonsterMana = 1.0
[*]rateMonsterAttack = 1.0
[*]rateMonsterDefense = 1.0
[*]minLevelThresholdForKilledPlayer = 0.9
[*]maxLevelThresholdForKilledPlayer = 1.1
[*]rateStaminaLoss = 1
[*]rateStaminaGain = 3
[*]rateStaminaThresholdGain = 12
[*]staminaRatingLimitTop = 41 * 60
[*]staminaRatingLimitBottom = 14 * 60
[*]rateStaminaAboveNormal = 1.5
[*]rateStaminaUnderNormal = 0.5
[*]staminaThresholdOnlyPremium = true
[*]experienceShareRadiusX = 30
[*]experienceShareRadiusY = 30
[*]experienceShareRadiusZ = 1
[*]experienceShareLevelDifference = 2 / 3
[*]extraPartyExperienceLimit = 20
[*]extraPartyExperiencePercent = 5
[*]experienceShareActivity = 2 * 60 * 1000
[*]globalSaveEnabled = false
[*]globalSaveHour = 8
[*]shutdownAtGlobalSave = true
[*]cleanMapAtGlobalSave = false
[*]deSpawnRange = 2
[*]deSpawnRadius = 50
[*]maxPlayerSummons = 2
[*]teleportAllSummons = false
[*]teleportPlayerSummons = false
[*]ownerName = "Alissow"
[*]ownerEmail = "[email protected]"
[*]url = ""
[*]location = "Vitoria da conquista, Bahia - Brasil"
[*]displayGamemastersWithOnlineCommand = true
[*]adminLogsEnabled = false
[*]displayPlayersLogging = true
[*]prefixChannelLogs = ""
[*]runFile = ""
[*]outLogName = ""
[*]errorLogName = ""
[*]truncateLogsOnStartup = false
[/LIST]

But know I have this problem:

HTML:
Parse error: syntax error, unexpected '}' in /home/ot***/www/public_html/classes/database.php on line 215

PHP:
    public function query($statement)
    {
        $this->queriesCount++;
        // BETA TESTS - uncomment line below to print all queries on website before execution
        //echo'<br />' . $statement . '<br />';
        if($this->isConnected() || $this->connect())
        {
            $ret = parent::query($statement);
            if($this->printQueries)
            {
                $_errorInfo = $this->errorInfo();
                echo '<table>';
                echo '<tr><td>Query: </td><td>' . $statement . '</td></tr>';
                echo '<tr><td>SQLSTATE: </td><td>' . $_errorInfo[0] . '</td></tr>';
                echo '<tr><td>Driver code: </td><td>' . $_errorInfo[1] . '</td></tr>';
                echo '<tr><td>Error message: </td><td>' . $_errorInfo[2] . '</td></tr>';
                echo '</table>';
            }
            return $ret;
        }
        else
     
    } //- 215 line
 
Back
Top Bottom