What's new

RS od 3 frag?w

kosmos2

Advanced User
Joined
Jul 23, 2009
Messages
339
Reaction score
48
Age
31
Witam wszystkich!
Jest pewien problem z fragami, ot?? rs jest ustawiony od 10 frag?w a w grze po 3 fragach dostaje si? RS.


Code:
worldType = "pvp"
protectionLevel = 25
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 10
pzLocked = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "yes"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "no"
showHealingDamageForMonsters = "no"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215


Za wszelak? pomoc dzi?kuje i daje reputa
 

okup93

Advanced User
Joined
Aug 15, 2010
Messages
215
Reaction score
9
Odp: RS od 3 frag?w

ale on che ?eby by?o 10 frag?w do rs a nie 3
czyta? ze zrozumieniem:p
Mam taki sam problem przy??czam si? do pro?by
 

okup93

Advanced User
Joined
Aug 15, 2010
Messages
215
Reaction score
9
Odp: RS od 3 frag?w

w?asnie taki mam ale ja naprawd? ale z tego co czyta?em wychodzi na to ze mam ten nowszy co tylko w silniku to mo?na jako? ustawi? ale nie wiem jak:(
i nikt nie chce za bardzo pom?c :p
 

kosmos2

Advanced User
Joined
Jul 23, 2009
Messages
339
Reaction score
48
Age
31
Odp: RS od 3 frag?w

Od?wie?am i r?wnocze?nie prosz? o pomoc
 

kosmos2

Advanced User
Joined
Jul 23, 2009
Messages
339
Reaction score
48
Age
31
Odp: RS od 3 frag?w

~~~~~~~~Refresh~~~~~~
 

Marlus

Advanced User
Joined
Aug 26, 2010
Messages
168
Reaction score
7
Odp: RS od 3 frag?w

W TFS powinno by? co? takiego:
PHP:
	-- Unjustified kills
	redSkullLength = 2 * 24 * 60 * 60 -- Dlugosc RS
	blackSkullLength = 5 * 24 * 60 * 60 -- Dlugosc BS
	dailyFragsToRedSkull = 11 -- Ile fragow na dzien do RS
	weeklyFragsToRedSkull = 68 -- Ile fragow na tydzien do RS
	monthlyFragsToRedSkull = 360 -- Ile fragow na miesiac do RS
	dailyFragsToBlackSkull = dailyFragsToRedSkull
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull
	dailyFragsToBanishment = dailyFragsToRedSkull
	weeklyFragsToBanishment = weeklyFragsToRedSkull
	monthlyFragsToBanishment = monthlyFragsToRedSkull
	blackSkulledDeathHealth = 40 -- Ilosc HP gdy ma sie BS
	blackSkulledDeathMana = 0 -- Ilosc HP gdy ma sie BS
	useBlackSkull = false -- Czy ma byc wlaczone BS  True (tak)/ False (nie)
	useFragHandler = true
	advancedFragList = false

Je?eli tego nie masz to moim zdaniem nic nie zrobisz...

P.S. Masz tutaj ca?y m?j config.lua : P
PHP:
-- The Forgotten Server Config

	-- Account manager
	accountManager = true -- Czy Account Manager ma byc w grze  True (tak)/ False (nie)
	namelockManager = true
	newPlayerChooseVoc = false
	newPlayerSpawnPosX = 1000 -- Pozycja startowa gracza (pozycja x)
	newPlayerSpawnPosY = 1000 -- Pozycja startowa gracza (pozycja y)
	newPlayerSpawnPosZ = 7 -- Pozycja startowa gracza (pozycja z)
	newPlayerTownId = 1 -- Nie ruszac
	newPlayerLevel = 8 -- Lvl poczatkujacego gracza
	newPlayerMagicLevel = 0 -- MLvl poczatkujacego gracza
	generateAccountNumber = false

	-- Unjustified kills
	redSkullLength = 2 * 24 * 60 * 60 -- Dlugosc RS
	blackSkullLength = 5 * 24 * 60 * 60 -- Dlugosc BS
	dailyFragsToRedSkull = 11 -- Ile fragow na dzien do RS
	weeklyFragsToRedSkull = 68 -- Ile fragow na tydzien do RS
	monthlyFragsToRedSkull = 360 -- Ile fragow na miesiac do RS
	dailyFragsToBlackSkull = dailyFragsToRedSkull
	weeklyFragsToBlackSkull = weeklyFragsToRedSkull
	monthlyFragsToBlackSkull = monthlyFragsToRedSkull
	dailyFragsToBanishment = dailyFragsToRedSkull
	weeklyFragsToBanishment = weeklyFragsToRedSkull
	monthlyFragsToBanishment = monthlyFragsToRedSkull
	blackSkulledDeathHealth = 40 -- Ilosc HP gdy ma sie BS
	blackSkulledDeathMana = 0 -- Ilosc HP gdy ma sie BS
	useBlackSkull = false -- Czy ma byc wlaczone BS  True (tak)/ False (nie)
	useFragHandler = true
	advancedFragList = false

	-- Banishments
	notationsToBan = 3 -- notatki do bana
	warningsToFinalBan = 4 -- warny do bana
	warningsToDeletion = 5 -- warny do skasowania hara
	banLength = 2 * 24 * 60 * 60 -- dlugosc bana
	killsBanLength = 1 * 12 * 60 * 60 -- dlugosc bana za fragi
	finalBanLength = 30 * 24 * 60 * 60 -- dlugosc final ban
	ipBanishmentLength = 1 * 24 * 60 * 60 -- dlugosc bana na IP
	broadcastBanishments = true -- czy ma pisac ze ktos zostal zbanowany  True (tak)/ False (nie)
	maxViolationCommentSize = 200
	violationNameReportActionType = 2
	autoBanishUnknownBytes = false

	-- Battle
	worldType = "pvp" -- Jaki rodzaj serwa pvp, non-pvp czy pvp-enforced
	protectionLevel = 100 -- lvl do jakiego ma byc ochrona gracza
	pvpTileIgnoreLevelAndVocationProtection = true
	pzLocked = 60 * 1000
	huntingDuration = 60 * 1000
	criticalHitChance = 7
	criticalHitMultiplier = 1
	displayCriticalHitNotify = false
	removeWeaponAmmunition = true
	removeWeaponCharges = true
	removeRuneCharges = true
	whiteSkullTime = 7 * 60 * 1000 -- Dlugosc White Skull (bialej czaszki)
	noDamageToSameLookfeet = false
	showHealingDamage = false
	showHealingDamageForMonsters = false
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = false
	oldConditionAccuracy = false
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 10
	stairhopDelay = 2 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215
	addManaSpentInPvPZone = true
	squareColor = 0
	allowFightback = true

	-- Connection config
	worldId = 0 -- zostawiamy
	ip = "xxx" -- nasze IP (tylko liczbowe)
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171 -- zostawiamy
	gamePort = 7172 -- zostawiamy
	adminPort = 7171 -- zostawiamy
	statusPort = 7171 -- zostawiamy
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 300 -- Max graczy na serwie
	motd = "xxx" -- motto serwera (wyswietlane czasem przed zalogowaniem)
	displayOnOrOffAtCharlist = false
	onePlayerOnlinePerAccount = true
	allowClones = false
	serverName = "xxx" -- nazwa serwa
	loginMessage = "xxx" -- wiadomosc po zalogowaniu sie
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = true
	forceSlowConnectionsToDisconnect = false
	loginOnlyWithLoginServer = false
	premiumPlayerSkipWaitList = false

	-- Database
	sqlType = "mysql" -- ZOSTAWIAMY JEZELI TWORZYMY BAZE DANYCH!!!
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "xxx" -- haslo do bazy danych
	sqlDatabase = "serwer" -- nazwa bazy danych
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	encryptionType = "plain"

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

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

	-- Highscores
	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60

	-- Houses
	buyableAndSellableHouses = true -- Wlaczyc kupno domkow  True (tak)/ False (nie)
	houseNeedPremium = true -- Czy zeby kupic domek potrzebne premium  True (tak)/ False (nie)
	bedsRequirePremium = true -- Czy potrzebne premium zeby polozyc sie w luzku w domku  True (tak)/ False (nie)
	levelToBuyHouse = 100 -- od kturego domki
	housesPerAccount = 1 -- ile domkow na konto
	houseRentAsPrice = false
	housePriceAsRent = false
	housePriceEachSquare = 1000
	houseRentPeriod = "never"
	houseCleanOld = 0
	guildHalls = false

	-- Item usage
	timeBetweenActions = 200
	timeBetweenExActions = 1000
	hotkeyAimbotEnabled = true

	-- Map
	mapName = "Evolutions" -- nazwa mapki w data/world
	mapAuthor = "Maniucza" -- autor mapki
	randomizeTiles = true
	storeTrash = true
	cleanProtectedZones = true
	mailboxDisabledTowns = "-1"

	-- Process
	defaultPriority = "high"
	niceLevel = 5
	coresUsed = "-1"

	-- Startup
	optimizeDatabaseAtStartup = true
	removePremiumOnInit = true
	confirmOutdatedVersion = false

	-- Spells
	formulaLevel = 5.0
	formulaMagic = 1.0
	bufferMutedOnSpellFailure = false
	spellNameInsteadOfWords = false
	emoteSpells = false

	-- Outfits
	allowChangeOutfit = true
	allowChangeColors = true
	allowChangeAddons = true
	disableOutfitsForPrivilegedPlayers = false
	addonsOnlyPremium = true

	-- Miscellaneous
	dataDirectory = "data/"
	bankSystem = true
	displaySkillLevelOnAdvance = false
	promptExceptionTracerErrorBox = true
	separateViplistPerCharacter = false
	maximumDoorLevel = 500
	maxMessageBuffer = 4

	-- Saving-related
	saveGlobalStorage = true
	useHouseDataStorage = false
	storePlayerDirection = false

	-- Loot
	checkCorpseOwner = true
	monsterLootMessage = 3
	monsterLootMessageType = 25

	-- Ghost mode
	ghostModeInvisibleEffect = false
	ghostModeSpellEffects = true

	-- Limits
	idleWarningTime = 14 * 60 * 1000
	idleKickTime = 15 * 60 * 1000 -- po ilu minutach kicka (jezeli nic nie robimy)
	expireReportsAfterReads = 1
	playerQueryDeepness = 2
	maxItemsPerPZTile = 0
	maxItemsPerHouseTile = 0

	-- Premium-related
	freePremium = false
	premiumForPromotion = true

	-- Blessings
	blessingOnlyPremium = true
	blessingReductionBase = 30
	blessingReductionDecreament = 5
	eachBlessReduction = 8

	-- Rates
	experienceStages = true -- czy wlaczyc exp stage (data/XML/stage.xml)
	rateExperience = 666666.0 -- ile x exp
	rateExperienceFromPlayers = 0 -- ile expa za graczy
	rateSkill = 500.0 -- ile skila
	rateMagic = 400.0 -- ile m lvl
	rateLoot = 8.0 -- jaki lot
	rateSpawn = 5 -- jaki spawn

	-- Monster rates
	rateMonsterHealth = 1.0
	rateMonsterMana = 1.0
	rateMonsterAttack = 1.0
	rateMonsterDefense = 1.0

	-- Experience from players
	minLevelThresholdForKilledPlayer = 0.9
	maxLevelThresholdForKilledPlayer = 1.1

	-- Stamina
	rateStaminaLoss = 1
	rateStaminaGain = 3
	rateStaminaThresholdGain = 12
	staminaRatingLimitTop = 41 * 60
	staminaRatingLimitBottom = 14 * 60
	rateStaminaAboveNormal = 1.5
	rateStaminaUnderNormal = 0.5
	staminaThresholdOnlyPremium = true

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

	-- Global save
	globalSaveEnabled = true -- Czy mamy wlaczyc global sawe  True (tak)/ False (nie)
	globalSaveHour = 8 -- co ile godzin ma byc global save
	shutdownAtGlobalSave = true -- wylaczyc, zresetowac serwer przy globalu  True (tak)/ False (nie)
	cleanMapAtGlobalSave = false -- zostawiamy ... Niepotrzebne : P

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

	-- Summons
	maxPlayerSummons = 2
	teleportAllSummons = false
	teleportPlayerSummons = false

	-- Status
	ownerName = "xxx" -- Nick GOD'a (oczywiscie chodzi o wlasciciela :))
	ownerEmail = "xxx" -- e-mail wlasciciela
	url = "xxx" -- strona serwa / acc makera
	location = "Europe" -- Jaki kontynent :)
	displayGamemastersWithOnlineCommand = false

	-- Logs
	adminLogsEnabled = false
	displayPlayersLogging = true
	prefixChannelLogs = ""
	runFile = ""
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = false

Pozdrawiam,
Marlus
 

okup93

Advanced User
Joined
Aug 15, 2010
Messages
215
Reaction score
9
Odp: RS od 3 frag?w

ale ty masz tego new tfs czy tego starszego bo czytalem na forum ze ten nowszy gdy nie mam tych opcji to tylko mo?na czas fraga w source zrobi?
czy jako? tak
 

kosmos2

Advanced User
Joined
Jul 23, 2009
Messages
339
Reaction score
48
Age
31
Odp: RS od 3 frag?w

To jeszcze nie to.
Ja mam nowy TFS kt?ry jest inaczej skonfigurowany

Ale za dobre ch?ci reput si? nale?y

Czekam dalej na odpowied?
 

okup93

Advanced User
Joined
Aug 15, 2010
Messages
215
Reaction score
9
Odp: RS od 3 frag?w

w new mozna tylko czas fraga z tego co sie orietuje i to wyglada tak
otwierasz players.cpp szukasz

PHP:
time_t now = time(NULL), today = (now - 84600), week = (now - (24 * 84600))
;
i zmieniasz 84600 na czas fraga w sekundach. Nastepnie zapisujesz i kompilujesz. Potem wchodzisz w data/talkactions/scripts/frags.lua i tram szukasz

PHP:
local times = {today = (time - 84600), week = (time - (7 * 846000))}
i znowu 84600 - zmieniasz na czas fraga taki sam jaki w player.cpp

players.pcc znajduje si? w source
 
Last edited:

Marlus

Advanced User
Joined
Aug 26, 2010
Messages
168
Reaction score
7
Odp: RS od 3 frag?w

Ten co ja poda?em, to jest TFS 0.3.6 wi?c powinno ci chodzi? ;)

Pozdrawiam,
Marlus
 
Top