Czas TRWANIA FRAGA Lub SKULA

Ogarniam Ots

User
Zarejestrowany
Dołączył
Luty 11, 2010
Posty
40
Liczba reakcji
1
Witam, mam problm bo rs umnie zadlugo trwa mam tfs 0.3.5. i chcia?em si? zapyta? czy mo?na, gdzie? zmieni? czas trwania FRAGA i rs?
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Tak to sie zmienia w pliku konfig lua

broadcastBanishments = "yes" ;-- informowa? publicznie o banicji gracza? [yes/no]
banDays = 7 ;-- ilo?? dni bana
finalBanDays = 30 ;-- ilo?? dni ostatecznego bana
killsToBan = 13 ;-- ilo?? frag?w [zabi? gracza] do bana
killsToRedSkull = 10 ;-- ilo?? frag?w do red skulla
pzLocked = 60000 ;-- czas pz lock, ile milisekund po walce nie mo?na si? wylogowa?? [60 sekund]
timeToDecreaseFrags = 24 * 60 * 60 * 1000 ;-- czas do anulowania jednego fraga [24h]
whiteSkullTime = 5 * 60 * 1000 ;-- czas do anulowania white skulla [15 minut]

Jesli pomoglem daj reputa xd
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Co do tematu to jak zrobic by tu :


timeToDecreaseFrags = 24 * 60 * 60 * 1000 ;-- czas do anulowania jednego fraga [24h]


zmienic by frag trwal 1h? moze ktos to przerobic ;D?
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Co do tematu to jak zrobic by tu :
timeToDecreaseFrags = 24 * 60 * 60 * 1000 ;-- czas do anulowania jednego fraga [24h]
zmienic by frag trwal 1h? moze ktos to przerobic ;D?

1 * 60 * 60 * 1000

xd
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Tylko ja mam takie cos niemam wogole takich liniek jak napisali??ie
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"
 
Odp: Czas TRWANIA FRAGA Lub SKULA

W 0.3.5 nie da sie ustawi? czasu frag?w w config.lua...
 
Odp: Czas TRWANIA FRAGA Lub SKULA

^^^^^^^^REFRESH^^^^^^^^
jak zmienic czas trwania fraga red skula w tfs 0.3.5?
 
Odp: Czas TRWANIA FRAGA Lub SKULA

w confingu masz red skull time. Ew wklej tu ca?y confing pr?cz hase? itp.
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Kod:
-- The Forgotten Server Config

	-- Account manager
	accountManager = "no"
	namelockManager = "yes"
	newPlayerChooseVoc = "no"
	newPlayerSpawnPosX = 426
	newPlayerSpawnPosY = 501
	newPlayerSpawnPosZ = 8
	newPlayerTownId = 1
	newPlayerLevel = 1
	newPlayerMagicLevel = 0
	generateAccountNumber = "no"

	-- Unjustified kills
	
	-- *RedSkull equivalents.
	-- Auto banishing works only if useBlackSkull set to negative.
	redSkullLength = 30 * 24 * 60 * 60
	blackSkullLength = 45 * 24 * 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 = "yes"
	advancedFragList = "no"
	killsToBan = 5

	-- 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

	-- loginProtectionPeriod is the famous Tibia anti-magebomb system.
	worldType = "pvp"
	protectionLevel = 50
	pvpTileIgnoreLevelAndVocationProtection = "yes"
	pzLocked = 60 * 1000
	huntingDuration = 60 * 1000
	criticalHitChance = 2
	criticalHitMultiplier = 1
	displayCriticalHitNotify = "yes"
	removeWeaponAmmunition = "yes"
	removeWeaponCharges = "yes"
	removeRuneCharges = "yes"
	whiteSkullTime = 15 * 60 * 1000
	noDamageToSameLookfeet = "no"
	showHealingDamage = "no"
	showHealingDamageForMonsters = "no"
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = "no"
	oldConditionAccuracy = "no"
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 20
	stairhopDelay = 2 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215
	addManaSpentInPvPZone = "yes"
	squareColor = 0
	allowFightback = "yes"

	-- Connection config
	worldId = 0
	ip = "83.21.146.9"
	bindOnlyConfiguredIpAddress = "no"
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 300
	motd = "Witamy na flaconia.com!"
	displayOnOrOffAtCharlist = "no"
	onePlayerOnlinePerAccount = "yes"
	allowClones = "no"
	serverName = "asd"
	loginMessage = "asdasdl"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = "no"
	forceSlowConnectionsToDisconnect = "no"
	loginOnlyWithLoginServer = "no"
	premiumPlayerSkipWaitList = "no"

	-- Database

	-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "*******"
	sqlDatabase = "otserv"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	passwordType = "plain"

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

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

	-- Highscores
	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60

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

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

	-- Map

	-- useHouseDataStorage usage may be found at README.
	mapName = "SadTeam"
	mapAuthor = "pOlU"
	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 = "no"
	spellNameInsteadOfWords = "no"
	emoteSpells = "no"
	promptExceptionTracerErrorBox = "yes"
	storePlayerDirection = "no"
	monsterLootMessage = 3
	monsterLootMessageType = 25

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

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

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

	-- Blessings


	blessingsOnlyPremium = "yes"
	blessingReductionBase = 10
	blessingReductionDecreament = 10
	eachBlessReduction = 10



	-- rateExperienceFromPlayers 0 to disable.
	experienceStages = "yes"
	rateExperience = 8
	rateExperienceFromPlayers = 0
	rateSkill = 3.0
	rateMagic = 15
	rateLoot = 2.0
	rateSpawn = 1



	-- player will gain experience from every lower leveled player.

	-- player will gain experience from every higher leveled player.
	minLevelThresholdForKilledPlayer = 5.9
	maxLevelThresholdForKilledPlayer = 3.1


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

	-- Party

	-- experienceShareLevelDifference is highestLevel * value
	experienceShareRadiusX = 30
	experienceShareRadiusY = 30
	experienceShareRadiusZ = 1
	experienceShareLevelDifference = 2 / 3
	extraPartyExperienceLimit = 20
	extraPartyExperiencePercent = 5
	experienceShareActivity = 2 * 60 * 1000

	-- Global save
	

	globalSaveEnabled = "no"
	globalSaveHour = 8
	shutdownAtGlobalSave = "yes"
	cleanMapAtGlobalSave = "no"

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

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

	-- Status
	ownerName = ""
	ownerEmail = "@otland.net"
	url = "http://localhost/"
	location = "Europe"
	displayGamemastersWithOnlineCommand = "yes"

	-- Logs


	adminLogsEnabled = "no"
	displayPlayersLogging = "yes"
	prefixChannelLogs = ""
	runFile = ""
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = "no"
 
Odp: Czas TRWANIA FRAGA Lub SKULA

Dok?adnie tutaj:
Kod:
whiteSkullTime = 15 * 60 * 1000
gdzie 15 to warto?? w minutach.
 
Odp: Czas TRWANIA FRAGA Lub SKULA

ale on chcia? redskulla
zmieniasz warto?ci w tej linijce
redSkullLength = 30 * 24 * 60 * 60
 
Back
Do góry