• logo_cipsoft
    Nowe serwery zostały otwarte 19 Lut 2025:
    Noctalia (Open PvP) Ignitera (Open PvP) us_logo Xybra (Open PvP)

B?ad W Instalacji Acc Makera

Status
Zamknięty.

Michal 22

Active User
Dołączył
Luty 6, 2010
Posty
87
Liczba reakcji
2
Witam Wszystkich!!

Gdy pr?buje zainstalowac acc maker wyskakuje mi taki blad w 3-ej cz??ci:

bladqx.png


Prosze o szybka pomoc!!

Dam repucik++++


@EDIT:
To m?j plik C:\xampp 1.7.3\xampp\htdocs\pot\OTS_DB_SQLite.php:

Kod:
<?php

/**#@+
 * @version 0.0.1
 */

/**
 * @package POT
 * @version 0.1.3
 * @author Wrzasq <wrzasq@gmail.com>
 * @copyright 2007 (C) by Wrzasq
 * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3
 */

/**
 * SQLite connection interface.
 * 
 * <p>
 * At all everything that you really need to read from this class documentation is list of parameters for driver's constructor.
 * </p>
 * 
 * @package POT
 * @version 0.1.3
 */
class OTS_DB_SQLite extends OTS_Base_DB
{
/**
 * Creates database connection.
 * 
 * <p>
 * Connects to SQLite database on given arguments.
 * <p>
 * 
 * <p>
 * List of parameters for this drivers:
 * </p>
 * 
 * <ul>
 * <li><var>database</var> - database name.</li>
 * </ul>
 * 
 * @version 0.0.7
 * @param array $params Connection parameters.
 * @throws PDOException On PDO operation error.
 */
    public function __construct($params)
    {
        if( isset($params['prefix']) )
        {
            $this->prefix = $params['prefix'];
        }

        // PDO constructor
	try
	{
		parent::__construct('sqlite:' . $params['database']);
	}
	catch(PDOException $error)
	{
		echo 'Can\'t connect to SQLite database.</font>';
			exit;
	}

}

/**#@-*/

?>
 
Odp: B?ad W Instalacji Acc Makera

Moja propozycja prze?uci si? na MySql, poniewa? nikt nie wydaje aac na baz? typu SqLite.
 
Odp: B?ad W Instalacji Acc Makera

Jak Zmienie Na MySql to Pisze Tak:

mysql.png


PROSZE O SZYBKO POMOC!!
 
Odp: B?ad W Instalacji Acc Makera

w config.lua nie ustawiles polaczenia do bazy danych..

Musisz podac : login: (najprawdopodobniej root) i twoje haslo.. oraz nazwe bazy np. theforgottenserver
 
Odp: B?ad W Instalacji Acc Makera

To Dalej Nic Nie Pomaga, a wszystjko robie dobrze!!!

?ciagne innego Acc Makera I Ziobacze Czy Dalej Bedzie Taki B??d.
 
Odp: B?ad W Instalacji Acc Makera

A stworzy?e? najpierw bez? danych? Pokaz tw?j config.lua.
 
Odp: B?ad W Instalacji Acc Makera

Lap:

Kod:
-- The Forgotten Server Config

	-- Account manager
	accountManager = "yes"
	namelockManager = "yes"
	newPlayerChooseVoc = "yes"
	newPlayerSpawnPosX = 1000
	newPlayerSpawnPosY = 1000
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 2
	newPlayerLevel = 100
	newPlayerMagicLevel = 0
	generateAccountNumber = "no"

-- Unjustified kills
	redSkullLength = 10 * 24 * 60 * 60
	blackSkullLength = 20 * 24 * 60 * 60
	dailyFragsToRedSkull = 8
	weeklyFragsToRedSkull = 10
	monthlyFragsToRedSkull = 15
	dailyFragsToBlackSkull = 20
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull
	dailyFragsToBanishment = dailyFragsToRedSkull
	weeklyFragsToBanishment = weeklyFragsToRedSkull
	monthlyFragsToBanishment = monthlyFragsToRedSkull
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = "yes"
	advancedFragList = "no"

	-- Banishments
	notationsToBan = 3
	warningsToFinalBan = 4
	warningsToDeletion = 5
	banLength = 7 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 1 * 24 * 60 * 60
	broadcastBanishments = "yes"
	maxViolationCommentSize = 200
	violationNameReportActionType = 2
	autoBanishUnknownBytes = "no"

	-- Battle
	-- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
	-- loginProtectionPeriod is the famous Tibia anti-magebomb system.
	-- deathLostPercent set to nil enables manual mode.
	worldType = "pvp"
	protectionLevel = 500
	pvpTileIgnoreLevelAndVocationProtection = "yes"
	pzLocked = 5000
	huntingDuration = 60 * 1000
	criticalHitChance = 7
	criticalHitMultiplier = 1
	displayCriticalHitNotify = "yes"
	removeWeaponAmmunition = "no"
	removeWeaponCharges = "no"
	removeRuneCharges = "no"
	whiteSkullTime = 2 * 60 * 1000
	noDamageToSameLookfeet = "no"
	showHealingDamage = "yes"
	showHealingDamageForMonsters = "yes"
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = "no"
	oldConditionAccuracy = "no"
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 7
	stairhopDelay = 2 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 70
	addManaSpentInPvPZone = "yes"
	squareColor = 0
	allowFightback = "yes"

	-- Connection config
	worldId = 0
	ip = "77.254.216.80"
	bindOnlyConfiguredIpAddress = "no"
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
	motd = "Witam Na Evo-Ot"
	displayOnOrOffAtCharlist = "no"
	onePlayerOnlinePerAccount = "yes"
	allowClones = "no"
	serverName = "Evo-Ot"
	loginMessage = "Witam Na Evo-Ot"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = "yes"
	forceSlowConnectionsToDisconnect = "yes"
	loginOnlyWithLoginServer = "no"
	premiumPlayerSkipWaitList = "yes"

	-- Database
	-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
	-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = "3306"
	sqlUser = "root"
	sqlPass = "michal"
	sqlDatabase = "forgottenserver"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	passwordType = "plain"

	-- Deathlist
	deathListEnabled = "yes"
	deathListRequiredTime = 1 * 60 * 1000
	deathAssistCount = 19
	maxDeathRecords = 10

	-- Guilds
	ingameGuildManagement = "yes"
	levelToFormGuild = 8
	premiumDaysToFormGuild = 0
	guildNameMinLength = 4
	guildNameMaxLength = 20

	-- Highscores
	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60

	-- Houses
	buyableAndSellableHouses = "yes"
	houseNeedPremium = "yes"
	bedsRequirePremium = "yes"
	levelToBuyHouse = 1000
	housesPerAccount = 0
	houseRentAsPrice = "no"
	housePriceAsRent = "no"
	housePriceEachSquare = 1000
	houseRentPeriod = "never"
	houseCleanOld = 0
	guildHalls = "no"

	-- Item usage
	timeBetweenActions = 200
	timeBetweenExActions = 1000
	checkCorpseOwner = "yes"
	hotkeyAimbotEnabled = "yes"
	maximumDoorLevel = 500

	-- Map
	-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
	-- useHouseDataStorage usage may be found at README.
	mapName = "Evolutions"
	mapAuthor = "Oskar"
	randomizeTiles = "yes"
	useHouseDataStorage = "no"
	storeTrash = "yes"
	cleanProtectedZones = "yes"
	mailboxDisabledTowns = "-1"

	-- Startup
	defaultPriority = "high"
	niceLevel = 5
	coresUsed = "-1"
	optimizeDatabaseAtStartup = "yes"
	removePremiumOnInit = "yes"
	confirmOutdatedVersion = "no"

	-- Muted buffer
	maxMessageBuffer = 4
	bufferMutedOnSpellFailure = "no"

	-- Miscellaneous
	dataDirectory = "data/"
	allowChangeOutfit = "yes"
	allowChangeColors = "yes"
	allowChangeAddons = "yes"
	disableOutfitsForPrivilegedPlayers = "no"
	bankSystem = "yes"
	saveGlobalStorage = "yes"
	displaySkillLevelOnAdvance = "yes"
	spellNameInsteadOfWords = "no"
	emoteSpells = "yes"
	promptExceptionTracerErrorBox = "yes"
	storePlayerDirection = "no"
	monsterLootMessage = 3
	monsterLootMessageType = 25

	-- Ghost mode
	ghostModeInvisibleEffect = "yes"
	ghostModeSpellEffects = "yes"

	-- Limits
	idleWarningTime = 14 * 60 * 1000
	idleKickTime = 15 * 60 * 1000
	expireReportsAfterReads = 1
	playerQueryDeepness = 2
	maxItemsPerPZTile = 0
	maxItemsPerHouseTile = 0

	-- Premium-related
	freePremium = "yes"
	premiumForPromotion = "yes"

	-- Blessings
	-- NOTE: blessingReduction* regards items/containers loss.
	-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
	blessingsOnlyPremium = "yes"
	blessingReductionBase = 30
	blessingReductionDecreament = 5
	eachBlessReduction = 8

	-- Rates
	-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
	-- rateExperienceFromPlayers 0 to disable.
	experienceStages = "no"
	rateExperience = 99999
	rateExperienceFromPlayers = 0
	rateSkill = 1000
	rateMagic = 750
	rateLoot = 8
	rateSpawn = 10

	-- Monster rates
	rateMonsterHealth = 10.0
	rateMonsterMana = 10.0
	rateMonsterAttack = 5.0
	rateMonsterDefense = 10.0

	-- Experience from players
	minLevelThresholdForKilledPlayer = 0
	maxLevelThresholdForKilledPlayer = 0

	-- Stamina
	rateStaminaLoss = 1
	rateStaminaGain = 1000 / 3
	rateStaminaThresholdGain = 4
	staminaRatingLimitTop = 41 * 60
	staminaRatingLimitBottom = 14 * 60
	rateStaminaAboveNormal = 1.5
	rateStaminaUnderNormal = 0.5
	staminaThresholdOnlyPremium = "yes"

	-- Party
	-- NOTE: experienceShareLevelDifference is float number.
	-- experienceShareLevelDifference is highestLevel * value
	experienceShareRadiusX = 30
	experienceShareRadiusY = 30
	experienceShareRadiusZ = 1
	experienceShareLevelDifference = 2 / 3
	extraPartyExperienceLimit = 20
	extraPartyExperiencePercent = 5
	experienceShareActivity = 2 * 60 * 1000

	-- Global save
	-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
	-- if you want such a system please check out data/globalevents/globalevents.xml.
	globalSaveEnabled = "no"
	globalSaveHour = 1
	shutdownAtGlobalSave = "no"
	cleanMapAtGlobalSave = "yes"

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

	-- Summons
	maxPlayerSummons = 2
	teleportAllSummons = "no"
	teleportPlayerSummons = "no"

	-- Status
	ownerName = "Michalekk"
	ownerEmail = "bocian22-1987@tlen.pl"
	url = "evo-ot.no-ip.org"
	location = "Poland"
	displayGamemastersWithOnlineCommand = "yes"

	-- Logs
	-- NOTE: This kind of logging does not work in GUI version.
	-- For such, please compile the software with __GUI_LOGS__ flag.
	adminLogsEnabled = "no"
	displayPlayersLogging = "yes"
	prefixChannelLogs = ""
	runFile = ""
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = "no"
 
Odp: B?ad W Instalacji Acc Makera

Nie zbyt orientuje si? w Acc makerach.
Ale mo?e zmie? t? linijke
sqlPort = "3306"
na sqlPort = "7171"
A jak to nie pomo?e to zainstaluj jeszcze raz xamppa i wtedy wklej ten acc maker.
A je?li to ju? nie zadzia?a to znajd? inny acc maker.
Wi?cej raczej nie umiem pom?c
 
Odp: B?ad W Instalacji Acc Makera

Je?li niewiadomo jak pomuc to temat chyba do zamkniecia!!

Dzieki chociarz za posty!!

Rep dla Hadol Fric S3baso i Xart Irok.

TEMAT CLOSED
 
Odp: B?ad W Instalacji Acc Makera

Micha? skoro chcesz ju? zamkn?? temat napisz w moim temacie. Na pewno Ci pomog?, bo jest to stale robiony b??d.
 
Status
Zamknięty.
Do góry