Ir para conteúdo
  • Cadastre-se

(Resolvido)Errro Xammp


Ir para solução Resolvido por Senky,

Posts Recomendados

Boa Noite, Pessoal Estou Com esse Poblema e Nao estou consequindo resolver 

 

Parse error: syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM in C:\xampp\htdocs\config\config.php on line 31Parse error: syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM in C:\xampp\htdocs\config\config.php on line 31

 

AE TIPO COLOCO LA O SERVIDOR TA AE O CONFIG DO XAMMP

 

 

<?PHP
# Account Maker Config
$config['site']['serverPath'] = "C:/Users/Ricardo/Desktop/BaiakSapeko/";
$config['site']['useServerConfigCache'] = false;
$config['site']['worlds'] = array(0 => 'Nome Do Seu Servidor');
$towns_list[0] = array(1 => 'Alpha City', 2 => 'Darashia', 3 => 'Venore', 4 => 'Carlin', 5 => 'Morgum');

$config['site']['outfit_images_url'] = '/outfit.php';
$config['site']['item_images_url'] = 'http://item-images.ots.me/960/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';
$config['site']['players_group_id_block'] = 3;
$config['site']['limitDeath'] = 5;
$config['site']['levelVideo'] = 150;

# Create Account Options
$config['site']['one_email'] = false;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = true;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 0;
$config['site']['send_register_email'] = true;

# Create Character Options
$config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['max_players_per_account'] = 5;

# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "Gmail Do Servidor"; -- Obrigatório ser Gmail. Apagar os traços --
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com";
$config['site']['smtp_port'] = 587;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "Gmail Do Servidor"; -- Obrigatório ser Gmail. Apagar os traços --
$config['site']['smtp_pass'] = "Senha Do Gmail"; -- Obrigatório ser Gmail. Apagar os traços --

# PAGE: whoisonline.php
$config['site']['private-servlist.com_server_id'] = 1;
/*
Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature.
To use this feature you must register on 'private-servlist.com' and add your server.
Format: number, 0 [disable] or higher
*/

# PAGE: characters.php
$config['site']['quests'] = array('Annihilator' => 5000,'Demon Helmet' => 2645,'Pits of Inferno' => 5550);
$config['site']['show_skills_info'] = true;
$config['site']['show_vip_storage'] = 0;

# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = true;
$config['site']['send_mail_when_generate_reckey'] = true;
$config['site']['generate_new_reckey'] = true;
$config['site']['generate_new_reckey_price'] = 5;

# PAGE: guilds.php
$config['site']['guild_need_level'] = 200;
$config['site']['guild_need_pacc'] = false;
$config['site']['guild_image_size_kb'] = 50;
$config['site']['guild_description_chars_limit'] = 2000;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 250;

# PAGE: adminpanel.php
$config['site']['access_admin_panel'] = 6;
$config['site']['access_tickers'] = 6;
$config['site']['access_admin_painel'] = 6;
$config['site']['access_staff_painel'] = 6;
$config['site']['access_news'] = 6;

# PAGE: latestnews.php
$config['site']['news_limit'] = 6;

# PAGE: killstatistics.php
$config['site']['last_deaths_limit'] = 20;

# PAGE: team.php
$config['site']['groups_support'] = array(2, 3, 4, 5, 6);

# PAGE: highscores.php
$config['site']['groups_hidden'] = array(4, 5, 6);
$config['site']['accounts_hidden'] = array(1);

# PAGE: shopsystem.php
$config['site']['shop_system'] = true;
$config['site']['shopguild_system'] = false;

# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;

# Layout Config
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#D4C0A1';
$config['site']['lightborder'] = '#F1E0C6';
$config['site']['download_page'] = false;
$config['site']['serverinfo_page'] = true;
$config['site']['layout'] = 'tibiarl';

// Seu email cadastrado no PagSeguro
$config['pagseguro']['email'] = 'E-mail Do Pagseguro';
// Nome do produto
$config['pagseguro']['produtoNome'] = 'Premium Points';

// Valor de cada ponto
// Exemplo de valores:
// 100 = R$ 1,00
// 250 = R$ 2,50
$config['pagseguro']['produtoValor'] = '100';

 

 

 

 

 

NA HORA DE DA LOCALHOST DA ESSE ERRO AE ALQUEM PODERIA MIM AJUDAR E OUTRA O SERVIDOR ABRO ELE PRA MIM TENTAR ENTRA COM ADM OT ON MAIS NAO CONSIGO ENTRA USO TODOS IPS QUE APARECE PRA MIM NO CMD DO PC MEU IP E NADA DE ENTRA SO QUE O OT SERVER TA ON MAIS N CONSIGO ENTRA VOU DEIXA O CONFIG.LUA AQUI DELE 

 

 

 

 

ownerName = "Nome Do Servidor"
    ownerEmail = "E-mail Do Servidor"
    url = "Site Do Servidor"
    location = "Brazil"

    motd = "Seja Bem Vindo Ao Nome Do Servidor!!"
    serverName = "Nome Do Servidor"
    loginMessage = "Seja Bem Vindo Ao Nome Do Servidor!!"
    displayGamemastersWithOnlineCommand = false

    sqlType = "mysql"
    sqlHost = "127.0.0.1"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "88153896"
    sqlDatabase = "baiaksapeko"
    sqlFile = "baiak.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 1000
    mysqlWriteTimeout = 1000
    mysqlReconnectionAttempts = 5
    encryptionType = "sha1"

    worldId = 0
    ip = "192.168.0.103"
    worldType = "open"
    bindOnlyGlobalAddress = false
    loginPort = 7171
    gamePort = "7172"
    statusPort = 7171
    loginOnlyWithLoginServer = false

    accountManager = true
    namelockManager = false
    newPlayerChooseVoc = true
    newPlayerSpawnPosX = 2860
    newPlayerSpawnPosY = 1001
    newPlayerSpawnPosZ = 6
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 0
    generateAccountNumber = false
    generateAccountSalt = false
    
    fragsLimit = 24 * 60 * 60
    fragsSecondLimit = 1 * 24 * 60 * 60
    fragsThirdLimit = 1 * 24 * 60 * 60

    fragsToRedSkull = 80
    fragsSecondToRedSkull = 160
    fragsThirdToRedSkull = 320
    redSkullLength = 3 * 24 * 60 * 60

    fragsToBlackSkull = 130
    fragsSecondToBlackSkull = 310
    fragsThirdToBlackSkull = 520
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    blackSkullLength = 2 * 24 * 60 * 60
    useBlackSkull = true

    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 7 * 24 * 60 * 60
    killsBanLength = 7 * 24 * 60 * 60
    finalBanLength = 30 * 24 * 60 * 60
    ipBanLength = 2 * 24 * 60 * 60
    fragsToBanishment = 7
    fragsSecondToBanishment = 21
    fragsThirdToBanishment = 41
    tibiaClassicSlots = false      

    protectionLevel = 100
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 1 * 30 * 1000
    huntingDuration = 1 * 60 * 1000
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 2 * 60 * 1000
    advancedFragList = false
    useFragHandler = true
    noDamageToSameLookfeet = false
    showHealthChange = true
    showManaChange = true
    showHealthChangeForMonsters = false
    showManaChangeForMonsters = false
    fieldOwnershipDuration = 3 * 1000
    stopAttackingAtExit = true
    loginProtectionPeriod = 1 * 750
    deathLostPercent = 6
    stairhopDelay = 0 * 400
    pushCreatureDelay = 1.0 * 400
    gainExperienceColor = 215
    addManaSpentInPvPZone = true
    recoverManaAfterDeathInPvPZone = true
    squareColor = 0
    enableCast = true
    broadcastBanishments = false
    maxViolationCommentSize = 60
    violationNameReportActionType = 2

    useAntiPush = true
    antiPushDelay = 445
    antiPushItems = "2148,2152,2160,3976"

    rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"
    rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"
    rsaPublic = "65537"
    rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
    rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"

    optionalWarAttackableAlly = true
    fistBaseAttack = 7
    criticalHitChance = 7
    noDamageToGuildMates = false
    noDamageToPartyMembers = false

    rookLevelTo = 5
    rookLevelToLeaveRook = 8
    rookTownId = 1
    useRookSystem = true

    paralyzeDelay = 1500

    useCapacity = true
    defaultDepotSize = 500
    defaultDepotSizePremium = 1000
    enableProtectionQuestForGM = true
    cleanItemsInMap = true
    playerFollowExhaust = 1000

    monsterSpawnWalkback = true
    allowBlockSpawn = true

    NoShareExpSummonMonster = false

    enableLootBagDisplay = false
    highscoreDisplayPlayers = 10
    updateHighscoresAfterMinutes = 10
    attackImmediatelyAfterLoggingIn = false
    exhaustionNPC = false
    exhaustionInSecondsNPC = 0.5

    manualVersionConfig = false
    versionMin = 860
    versionMax = 860
    versionMsg = "Você não esta na versão atual, por favor atualize!"

    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 30 * 1000
    maxPlayers = 1000
    displayOnOrOffAtCharlist = true
    onePlayerOnlinePerAccount = true
    allowClones = 0
    statusTimeout = 10
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    premiumPlayerSkipWaitList = true
    packetsPerSecond = 200

    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    deathAssistCount = 20
    maxDeathRecords = 5
    multipleNames = false

    externalGuildWarsManagement = false
    ingameGuildManagement = false
    levelToFormGuild = 200
    premiumDaysToFormGuild = 0
    guildNameMinLength = 4
    guildNameMaxLength = 20

    buyableAndSellableHouses = true
    houseNeedPremium = false
    bedsRequirePremium = false
    levelToBuyHouse = 250
    housesPerAccount = 1
    houseRentAsPrice = false
    housePriceAsRent = 20000
    housePriceEachSquare = 1000
    houseRentPeriod = "weekly"
    houseCleanOld = 8 * 24 * 60 * 60
    guildHalls = false
    houseSkipInitialRent = true
    houseProtection = true

    timeBetweenActions = 500
    timeBetweenExActions = 1000
    timeBetweenCustomActions = 0
    checkCorpseOwner = true
    hotkeyAimbotEnabled = true
    maximumDoorLevel = 999
    tradeLimit = 100
    canOnlyRopePlayers = false

    mapAuthor = "Discord: Phineasz #0606"
    randomizeTiles = true
    houseDataStorage = "binary-tilebased"
    storeTrash = true
    cleanProtectedZones = true
    mapName = "Baiak Barao.otbm"
    
    mailMaxAttempts = 5
    mailBlockPeriod = 30 * 60 * 1000
    mailAttemptsFadeTime = 5 * 60 * 1000
    mailboxDisabledTowns = ""
    
    daemonize = false
    defaultPriority = "higher"
    niceLevel = 5
    serviceThreads = 1
    coresUsed = "-1"
    startupDatabaseOptimization = true
    removePremiumOnInit = true
    confirmOutdatedVersion = false
    skipItemsVersionCheck = true

    maxMessageBuffer = 8

    dataDirectory = "data/"
    logsDirectory = "data/logs/"
    disableOutfitsForPrivilegedPlayers = false
    bankSystem = true
    spellNameInsteadOfWords = false
    emoteSpells = true
    unifiedSpells = false
    promptExceptionTracerErrorBox = true
    storePlayerDirection = false
    savePlayerData = true
    monsterLootMessage = 3
    monsterLootMessageType = 25
    separateViplistPerCharacter = false
    vipListDefaultLimit = 50
    vipListDefaultPremiumLimit = 150

    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    addonsOnlyPremium = false

    ghostModeInvisibleEffect = true
    ghostModeSpellEffects = true

    idleWarningTime = 10 * 60 * 1000
    idleKickTime = 15 * 60 * 1000
    expireReportsAfterReads = 1
    playerQueryDeepness = -1
    protectionTileLimit = 20
    houseTileLimit = 4
    tileLimit = 10

    freePremium = false
    premiumForPromotion = false
    updatePremiumStateAtStartup = true

    blessings = true
    blessingOnlyPremium = false
    blessingReductionBase = 30
    blessingReductionDecrement = 5
    eachBlessReduction = 8
    useFairfightReduction = true
    pvpBlessingThreshold = 40
    fairFightTimeRange = 60

    experienceStages = true
    rateExperience = 50
    rateExperienceFromPlayers = 0
    levelToOfflineTraining = 8
    rateSkill = 20.0
    rateSkillOffline = 12
    rateMagic = 7.0
    rateMagicOffline = 4
    rateLoot = 5.0
    rateSpawnMin = 1
    rateSpawnMax = 2
    formulaLevel = 5.0
    formulaMagic = 1.0

    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 = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 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
    globalSaveMinute = 0
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false
    closeInstanceOnShutdown = true

    minRateSpawn = 1
    maxRateSpawn = 3
    deSpawnRange = 2
    deSpawnRadius = 50

    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    disableLuaErrors = false
    adminLogs = true
    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = "server/run.log"
    outputLog = "server/out.log"
    truncateLogOnStartup = false
    logPlayersStatements = false

    managerPort = 7171
    managerLogs = true
    managerPassword = ""
    managerLocalhostOnly = true
    managerConnectionsLimit = 1

    adminPort = 7171
    adminPassword = ""
    adminLocalhostOnly = true
    adminConnectionsLimit = 1
    adminRequireLogin = true
    adminEncryption = ""
    adminEncryptionData = ""

    saveGlobalStorage = true
    bufferMutedOnSpellFailure = false

 

 

 

 

 

 

agradeco desde ja :)

Link para o post
Compartilhar em outros sites

Este tópico foi movido para a área correta. Esta é uma mensagem automática!
Pedimos que leia as regras do fórum!

Spoiler

This topic has been moved to the correct area. This is an automated message!
Please read the forum rules.

 

Compre seus Scripts Agora totalmente seguro e de forma rápida, aceitamos também encomendas.

discord.gg/phJZeHa2k4

 

Projeto ATS (Naruto)

Informações Abaixo

Facebook

Youtube
Discord

 

Tutoriais / Conteúdos

Clique Aqui

Link para o post
Compartilhar em outros sites
  • Solução

@Ricardo Tibia

 

Para o erro do xampp

 

Spoiler

Remova todos os comentários que tem -- comentario -- 

Pra fazer um comentário em php é // comentário ou /* comentário */

Ta dando erro de sintaxe por conta disso.

 

Ajudei? REP ++

Editado por Senky (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
Em 13/06/2019 em 17:30, Senky disse:

@Ricardo Tibia

 

Para o erro do xampp

 

  Mostrar conteúdo oculto

Remova todos os comentários que tem -- comentario -- 

Pra fazer um comentário em php é // comentário ou /* comentário */

Ta dando erro de sintaxe por conta disso.

 

Ajudei? REP ++

 

Obg deu certo valeu 

Link para o post
Compartilhar em outros sites
  • 1 year later...
Em 13/06/2019 em 17:30, Senky disse:

@Ricardo Tibia

 

Para o erro do xampp

 

  Ocultar conteúdo

Remova todos os comentários que tem -- comentario -- 

Pra fazer um comentário em php é // comentário ou /* comentário */

Ta dando erro de sintaxe por conta disso.

 

Ajudei? REP ++

voce pode me ajudar? , player cria acc no site porem eles loga sem set e sem vocaçao e lvl 1 , tem cmo mudar isso?

 

Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo