Me sigue dando error 500 la pagina web y si intento entrar directo por el cliente con la cuenta @god con el cliente 12.64 me dice
error en transferring http://127.0.0.1/login.php - server replied: Not Found
Asi esta la configuracion del config.php del a pagina web
Código:
<?PHP
if (!function_exists('is_https')) {
function is_https()
{
if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) !== 'off') {
return true;
} elseif (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) === 'https') {
return true;
} elseif (!empty($_SERVER['HTTP_FRONT_END_HTTPS']) && strtolower($_SERVER['HTTP_FRONT_END_HTTPS']) !== 'off') {
return true;
}
return false;
}
}
$is_https = is_https();
if ($is_https) {
$base_url = "https://" . $_SERVER['HTTP_HOST'];
$base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
} else {
$base_url = "http://" . $_SERVER['HTTP_HOST'];
$base_url .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']);
}
/** SERVER URLS */
/** @var array $config */
$config['base_url'] = $base_url;
$config['site']['base_url'] = $base_url;
$config['site']['realurl'] = "https:///"; // Put the real url for your website without www DO NOT FORGET FROM / AT THE END
$config['site']['realurlwww'] = "https:///"; // Put the real url for your website with www IF IT IS A SUBDOMINUM PUT THE MSM URL OF THE REAL URL
$config['site']['testurl'] = "http://localhost/"; // Put the url you use to test your site (LOCALHOST)
/** END SERVER URLS */
/** SERVER PATHS */
if ($config['base_url'] == $config['site']['realurl'] || $config['base_url'] == $config['site']['realurlwww']) {
$config['site']['serverPath'] = "L:/Servidor_Tibia/Server/otservbr/"; // SERVER PATH IN PRODUCTION
} else {
$config['site']['serverPath'] = "L:/Servidor_Tibia/Server/otservbr/"; // SERVERPATH LOCALHOST
}
/** END SERVER PATHS */
/** ENABLE SHOP */
$config['site']['shopEnabled'] = false;
$config['site']['start'] = 'Apr 07, 2020 18:00:00';
/** GOOGLE RECAPTCHA VALUES */
$config['site']['gRecaptchaSecret'] = "6LePp3cdAAAAAGTsMHRoq4M8T4FDWEBqPYmMFN2N";
$config['site']['gRecaptchaSiteKey'] = "6LePp3cdAAAAACPGPuLkDdDg7sxKd_ExhOeRkNVp";
/** WIDGETS CONFIG */
$config['site']['widget_rank'] = true;
$config['site']['widget_supportButton'] = true;
$config['site']['widget_buycharButton'] = false;
$config['site']['widget_PremiumBox'] = true;
$config['site']['widget_Serverinfobox'] = false;
$config['site']['widget_Serverinfoboxfloat'] = true;
$config['site']['widget_NetworksBox'] = false;
$config['site']['widget_CurrentPollBox'] = false;
$config['site']['widget_CastleWarBox'] = false;
$config['site']['twoAuthentication2'] = true;
/** WIDGETS 'widget_rank' TOP LVL CONFIGS */
$config['site']['top_lvl_qtd'] = 5; // 1 -- 5
$config['site']['top_lvl_goku_isActive'] = true; // true - false
$config['site']['top_lvl_out_anim'] = true; // true - false
# Social Networks
$config['social']['status'] = true;
$config['social']['facebook'] = ""; // Link to your facebook page
$config['social']['discord'] = ""; // Link to your discord invite
$config['social']['fbapiversion'] = "";
$config['social']['fbapilink'] = "";
$config['social']['fbpageid'] = "";
$config['social']['accessToken'] = "";
$config['social']['twitter'] = "";
$config['social']['twittercreator'] = "";
$config['social']['fbappid'] = "";
# Using Ajax Field Validation, this is important if you want to use ajax check in your create account.
$config['site']['sqlHost'] = "localhost";
$config['site']['sqlUser'] = "spectrum08ve";
$config['site']['sqlPass'] = "12345";
$config['site']['sqlBD'] = "verylin";
# Characters animatedOutfits php
$config['site']['animatedOutfits_url'] = 'http://127.0.0.1/AnimatedOutfits/animoutfit.php?';
$config['site']['outfit_images_url'] = 'http://127.0.0.1/AnimatedOutfits/outfit.php?';
$config['site']['icons_images_url'] = '/images/icons_damage/';
$config['site']['item_images_extension'] = '.png';
$config['site']['flag_images_url'] = '/images/flags/';
$config['site']['flag_images_extension'] = '.png';
# Config Shop
$outfits_list = array();
$loyalty_title = array(
50 => 'Scout',
100 => 'Sentinel',
200 => 'Steward',
400 => 'Warden',
1000 => 'Squire',
2000 => 'Warrior',
3000 => 'Keeper',
4000 => 'Guardian',
5000 => 'Sage
'
);
$config['shop']['newitemdays'] = 1;
# Character Former name, time in days to show the former names
$config['site']['formerNames'] = 10;
$config['site']['formerNames_amount'] = 10;
# PAGE: characters.php
$config['site']['quests'] = array(
"Demon Helmet" => 2213,
"The Dream Courts" => 23000,
"Pits Of Inferno" => 10544,
"The Secret Library" => 22399,
"The Annihilator" => 2215,
"The First Dragon" => 14018,
"Wrath Of The Emperor" => 12374
);
# PAGE: whoisonline.php
$config['site']['private-servlist.com_server_id'] = 0;
# Account Maker Config
$config['site']['encryptionType'] = 'sha1';
$config['site']['useServerConfigCache'] = false;
$towns_list = array(
1 => 'Dawnport Tutorial',
2 => 'Dawnport',
3 => 'Rookgaard',
4 => 'Island of Destiny',
5 => 'Ab\'Dendriel',
6 => 'Carlin',
7 => 'Kazordoon',
8 => 'Thais',
9 => 'Venore',
10 => 'Ankrahmun',
11 => 'Edron',
12 => 'Farmine',
13 => 'Darashia',
14 => 'Liberty Bay',
15 => 'Port Hope',
16 => 'Svargrond',
17 => 'Yalahar',
18 => 'Gray Beach',
19 => 'Krailos',
20 => 'Rathleton',
21 => 'Roshamuul',
22 => 'Issavi',
);
$vocations_list = [
0 => "No Vocation",
1 => "Sorcerer",
2 => "Druid",
3 => "Paladin",
4 => "Knight",
5 => "Master Sorcerer",
6 => "Elder Druid",
7 => "Royal Paladin",
8 => "Elite Knight",
10 => "ALL"
];
$highscores_list = [
// 1 => "Achievements",
2 => "Axe Fighting",
3 => "Club Fighting",
4 => "Distance Fighting",
5 => "Experience Points",
6 => "Fishing",
7 => "First Fighting",
// 8 => "Loyalty Points",
9 => "Magic Level",
10 => "Shielding",
11 => "Sword Fighting"
];
# Create Account Options
$config['site']['one_email'] = true;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = true;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 10000;
$config['site']['send_register_email'] = true;
$config['site']['flash_client_enabled'] = false;
# Create Character Options
$config['site']['newchar_vocations'] = array(0 => 'Rook Sample');
$config['site']['newchar_towns'] = array(1);
$config['site']['max_players_per_account'] = 7;
# Emails Config
$config['site']['send_emails'] = false;
$config['site']['mail_address'] = "spectrum08ve@gmail.com";
$config['site']['mail_senderName'] = "";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com";
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "";
$config['site']['smtp_pass'] = "";
$config['site']['smtp_secure'] = true;
# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = true;
$config['site']['send_mail_when_generate_reckey'] = true;
$config['site']['email_time_change'] = 7;
$config['site']['daystodelete'] = 7;
# PAGE: guilds.php
$config['site']['guild_need_level'] = 1;
$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'] = 3;
$config['site']['ticket_reply_access'] = 5;
# PAGE: latestnews.php
$config['site']['news_limit'] = 6;
# PAGE: killstatistics.php
$config['site']['last_deaths_limit'] = 40;
# PAGE: team.php
$config['site']['groups_support'] = array(2, 3, 4, 5, 6);
# PAGE: highscores.php INACTIVE
$config['site']['groups_hidden'] = array(3, 4, 5, 6);
$config['site']['accounts_hidden'] = array(1);
# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;
/** LANDPAGE CONFIG */
$config['site']['landpage_isactive'] = true;
$config['site']['landpage_title'] = "";
$config['site']['landpage_timeout'] = 60 * 10080; // Time in seconds 1 * 60 = 1 minute
$config['site']['landpage_description'] = ""; // Type text here to appear on the landpage
$config['site']['landpage_max_notices'] = 3; // Maximum number of news items displayed on the landpage.
$config['site']['landpage_youtube'] = ""; // youtube video id
/** OUIBOUNCE - DISPLAY A MODAL WHEN REMOVING THE MOUSE FROM THE SCREEN */
$config['site']['ouibounce_isActive'] = true;
/** HIGH SCORES CONFIG */
$config['site']['h_limit'] = 25; // Limit players per page
$config['site']['h_limitOffset'] = 200; // Limits the maximum number of players in the rank
$config['site']['h_group_acc_show'] = "1,2,3,6"; // Select the class groups that will appear in the rank
/** INFO_BAR TIBIA NEW LIKE */
$config['site']['info_bar_active'] = true;
$config['site']['info_bar_cast'] = true;
$config['site']['info_bar_twitch'] = true;
$config['site']['info_bar_youtube'] = true;
$config['site']['info_bar_forum'] = true;
$config['site']['info_bar_online'] = true;
/**
* DONATE CONFIG LIKE PAYABLE OLD_CONFIG
* (50 * 10) = R $ 5.00 // 50 = TIBIA COINS COUNT 1 to 1 ratio
*/
$config['donate']['offers'] = [
/** id =>[PRICE=>COINS]*/
0 => [(5 * 100) => 75],
1 => [(10 * 100) => 150],
2 => [(25 * 100) => 375],
3 => [(50 * 90) => 750], //10% discount
4 => [(100 * 90) => 1500], //10% discount
5 => [(200 * 80) => 3000], //20% discount
6 => [(300 * 80) => 4500], //20% discount
8 => [(400 * 70) => 6000], //30% discount
// 9 => [24500 => 5000]
];
$proporcao_preco = (array_keys($config['donate']['offers'][intval(0)])[0] / 100);
$proporcao_qnt = array_values($config['donate']['offers'][intval(0)])[0];
$config['donate']['proporcao'] = $proporcao_preco / $proporcao_qnt;
$config['donate']['show_proporcao'] = false;
/**
* configure your active payment method with this
* true = ACTIVE
* false = INACTIVE
*/
$config['paymentsMethods'] = [
'pagseguro' => true,
'paypal' => true,
'mercadoPago' => false,
'transfer' => false,
'picpay' => true
];
/** PICPAY CONFIGS */
$config['picpay']['user'] = ''; //User no having @
/** Bank transfer data */
$config['banktransfer'] = [
// EXAMPLE TO ADD MORE
// 0 => [
// 'bank' => '',
// 'agency' => '',
// 'account' => '',
// 'name' => '',
// 'operation' => '',
// 'email' => '',
// 'acctype' => ''
// ],
// 1 => [
// 'bank' => '',
// 'agency' => '',
// 'account' => '',
// 'name' => '',
// 'operation' => '',
// 'email' => '',
// 'acctype' => ''
// ]
];
/** PAGSEGURO FIXED */
$config['pagseguro']['testing'] = false;
$config['pagseguro']['lightbox'] = true;
$config['pagseguro']['tokentest'] = "";
/** PAGSEGURO CONFIGS */
$config['pagseguro']['email'] = "@gmail.com";
$config['pagseguro']['token'] = "";
$config['pagseguro']['produtoNome'] = 'Tibia Coins';
$config['pagseguro']['urlRedirect'] = $config['base_url'];
$config['pagseguro']['urlNotification'] = 'https:///retpagseguro.php';
$config['pagseguro']['offers'] = [
500 => 75,
800 => 125,
1500 => 250,
2800 => 500,
4900 => 1000
];
// /** PayPal configs */
$config['paypal']['email'] = "@gmail.com";
$config['paypal']['sandboxemail'] = "sb-lmf4f1383105@business.example.com";
$config['paypal']['itemName'] = "Tibia Coins";
$config['paypal']['notify_url'] = $config['base_url'] . "paypal_ipn.php";
$config['paypal']['currency'] = "BRL";
// /** SETUP LIVE OR TESTING YOUR IMPLEMENT */
$config['paypal']['env'] = "production"; // sandbox | production
// /** PRODUCTION IDS */
$config['paypal']['clientID'] = "";
$config['paypal']['clientSecretID'] = "";
// /** SANDBOX IDS */
$config['paypal']['sandboxClientID'] = "";
$config['paypal']['sandboxClientSecretID'] = "";
// /** ##PayPal configs */
/** PayPal configs *
$config['paypal']['email'] = "spectrum08ve@gmail.com";
$config['paypal']['sandboxemail'] = "sb-vuwmo1072234@business.example.com";
$config['paypal']['itemName'] = "Tibia Coins";
$config['paypal']['notify_url'] = $config['base_url'] . "paypal_ipn.php";
$config['paypal']['currency'] = "BRL";
/** SETUP LIVE OR TESTING YOUR IMPLEMENT */
$config['paypal']['env'] = "production"; // sandbox | production
/** PRODUCTION IDS *
$config['paypal']['clientID'] = "";
$config['paypal']['clientSecretID'] = "";
/** SANDBOX IDS *
$config['paypal']['sandboxClientID'] = "";
$config['paypal']['sandboxClientSecretID'] = "";
/** ##PayPal configs*/
/** MERCADO PAGO CONFIGS */
$config['mp']['CLIENT_ID'] = "";
$config['mp']['CLIENT_SECRET'] = "";
$config['mp']['SANDBOX_CLIENT_ID'] = "";
$config['mp']['SANDBOX_CLIENT_SECRET'] = "";
$config['mp']['sandboxMode'] = false; // true | false
$config['sale']['productName'] = "Tibia Coins";
$config['sale']['subProductName'] = "Coins";
/** ##MERCADO PAGO CONFIGS */
/** LAYOUT CONFIGS */
//$config['site']['layout'] = 'med'; //Layout Name
$config['site']['layout'] = 'tibiacom'; //Layout Name
//$config['site']['layout'] = 'materialize_template'; //Layout Name
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#D4C0A1';
$config['site']['lightborder'] = '#F1E0C6';
$config['site']['download_page'] = false;
$config['site']['serverinfo_page'] = true;
$config['site']['cssVersion'] = "?vs=3.0.6";
/** MULTIPLE REQ CONFIGS */
$config['site']['max_req_tries'] = 3;
$config['site']['timeout_time'] = 1; //TIME IN MINUTES
/** SELL CHARACTERS ACCOUNT CONFIGURE */
$config['sell']['account_seller_id'] = 2;
$config['site']['max_price_coin'] = 10000;
$config['site']['max_price_gold'] = 100000000;
$config['site']['sell_by_gold'] = false;
$config['site']['min_lvl_to_sell'] = 1;
/** SALE TAXES PERCENT 0-100 */
$config['site']['percent_sellchar_sale'] = 5;
/** Promoção configuration */
$config['site']['promo_isactive'] = false;
$config['site']['promo_imagename'] = 'promo.png';
/** SELL CHARACTERS VARIABLES LOAD */
$config['site']['Outfits_path'] = $config['site']['serverPath'] . "data/XML/outfits.xml";
$config['site']['Mounts_path'] = $config['site']['serverPath'] . "data/XML/mounts.xml";
$config['site']['Itens_path'] = $config['site']['serverPath'] . "data/items/items.xml";
$config['site']['enablelogs'] = false;
$config['site']['logsdir'] = '/home/logs/';
Y ASI ESTA LA CONFIGURACION DEL CONFIG.LUA
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 7
pzLocked = 60 * 1000
removeChargesFromRunes = true
removeChargesFromPotions = true
removeWeaponAmmunition = true
removeWeaponCharges = true
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
stairJumpExhaustion = 2 * 1000
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
dayKillsToRedSkull = 3
weekKillsToRedSkull = 5
monthKillsToRedSkull = 10
redSkullDuration = 1
blackSkullDuration = 3
orangeSkullDuration = 7
onlyInvitedCanMoveHouseItems = true
cleanProtectionZones = false
-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
-- NOTE: MaxPacketsPerSeconds if you change you will be subject to bugs by WPE, keep the default value of 25
ip = "127.0.0.1"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Bem vindo ao OTServBR-Global!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "OTServBR-Global"
statusTimeout = 5 * 1000
replaceKickOnLogin = true
maxPacketsPerSecond = 25
maxItem = 2000
maxContainer = 100
-- Version
clientVersion = 1264
clientVersionStr = "12.64"
-- Depot Limit
freeDepotLimit = 2000
premiumDepotLimit = 10000
depotBoxes = 18
-- GameStore
gamestoreByModules = true
-- NOTE: Access only for Premium Account
onlyPremiumAccount = false
-- Customs
weatherRain = false
thunderEffect = false
freeQuests = false
allConsoleLog = false
-- NOTE: saveIntervalTime in hours
saveInterval = false
saveIntervalCleanMap = false
saveIntervalTime = 1
-- Stamina in Trainers
staminaTrainer = false
staminaTrainerDelay = 5
staminaTrainerGain = 1
-- Stamina in PZ
staminaPz = false
staminaOrangeDelay = 1
staminaGreenDelay = 5
staminaPzGain = 1
-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = -1
-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
-- Periods: daily/weekly/monthly/yearly/never
housePriceEachSQM = 1000
houseRentPeriod = "never"
houseOwnedByAccount = false
-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000
-- Push Delay
pushDelay = 1000
pushDistanceDelay = 1500
-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
-- NOTE: unzip the map world.rar
mapName = "otservbr"
mapAuthor = "OTServBR"
-- Party List limitations
-- max distance in which players in party list are visible
-- NOTE partyListMaxDistance set to 0 means no limit
partyListMaxDistance = 30
-- Custom Map
-- NOTE: mapCustomEnabled: true = activate the map, false = disable the map
mapCustomName = "otservbr-custom"
mapCustomFile = "data/world/custom/otservbr-custom.otbm"
mapCustomSpawn = "data/world/custom/otservbr-custom-spawn.xml"
mapCustomAuthor = "OTServBR"
mapCustomEnabled = true
-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100
-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "spectrum08ve"
mysqlPass = "12345"
mysqlDatabase = "verylin"
mysqlPort = 3306
mysqlSock = ""
passwordtype= 'sha1'
-- Misc.
allowChangeOutfit = true
freePremium = false
kickIdlePlayerAfterMinutes = 15
maxMessageBuffer = 4
emoteSpells = false
classicEquipmentSlots = false
allowWalkthrough = true
coinPacketSize = 25
coinImagesURL = "
http://127.0.0.1/images/store/"
classicAttackSpeed = false
showScriptsLogInConsole = false
-- Server Save
-- NOTE: serverSaveNotifyDuration in minutes
serverSaveNotifyMessage = true
serverSaveNotifyDuration = 5
serverSaveCleanMap = false
serverSaveClose = false
serverSaveShutdown = true
-- Rates
-- NOTE: rateExp, rateSkill and rateMagic is used as a fallback only
-- To configure rates see file data/stages.lua
rateExp = 1
rateSkill = 50
rateLoot = 3
rateMagic = 25
rateSpawn = 1
-- Monster rates
rateMonsterHealth = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0
-- Monsters
deSpawnRange = 2
deSpawnRadius = 50
-- Stamina
staminaSystem = true
-- Scripts
warnUnsafeScripts = true
convertUnsafeScripts = true
-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = true
-- Status server information
ownerName = "OTServBR-Global"
ownerEmail = ""
url = "
https://github.com/opentibiabr/otservbr-global"
location = "South America"
-- Sends Discord webhook notifications on startup, raids and shutdown.
-- The URL layout is
https://discord.com/api/webhooks/:id/:token
-- Leave empty if you wish to disable.
discordWebhookURL = ""