• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

player dont recieve frag

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
so the thing is that player dont recieve frags no idea why.... how can i fix it ?

there is me config:
PHP:
	accountManager = true
	namelockManager = true
	newPlayerChooseVoc = true
	newPlayerSpawnPosX = 997
	newPlayerSpawnPosY = 997
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 1
	newPlayerLevel = 8
	newPlayerMagicLevel = 0
	generateAccountNumber = false

redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 30
weeklyFragsToRedSkull = 200
monthlyFragsToRedSkull = 1200
dailyFragsToBlackSkull = 60
weeklyFragsToBlackSkull = 400
monthlyFragsToBlackSkull = 2400
dailyFragsToBanishment = 120
weeklyFragsToBanishment = 800
monthlyFragsToBanishment = 4800
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
	useBlackSkull = true
	useFragHandler = true
	advancedFragList = false

	notationsToBan = 3
	warningsToFinalBan = 4
	warningsToDeletion = 5
	banLength = 7 * 24 * 60 * 60
	killsBanLength = 7 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 1 * 24 * 60 * 60
	broadcastBanishments = true
	maxViolationCommentSize = 200
	violationNameReportActionType = 2
	autoBanishUnknownBytes = false

	worldType = "pvp"
	protectionLevel = 150
	pvpTileIgnoreLevelAndVocationProtection = true
	pzLocked = 60 * 1000
	huntingDuration = 60 * 1000
	criticalHitChance = 7
	criticalHitMultiplier = 1
	displayCriticalHitNotify = false
	removeWeaponAmmunition = false
	removeWeaponCharges = true
	removeRuneCharges = true
	whiteSkullTime = 60 * 1000
	noDamageToSameLookfeet = false
	showHealingDamage = true
	showHealingDamageForMonsters = true
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = false
	oldConditionAccuracy = false
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 10
	stairhopDelay = 1 * 1000
	pushCreatureDelay = 1 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215
	addManaSpentInPvPZone = true
	squareColor = 0
	allowFightback = true

	worldId = 1
	ip = "a"
	bindOnlyConfiguredIpAddress = false
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
	motd = "a !"
	displayOnOrOffAtCharlist = false
	onePlayerOnlinePerAccount = true
	allowClones = false
	serverName = "a"
	loginMessage = "a"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = true
	forceSlowConnectionsToDisconnect = false
	loginOnlyWithLoginServer = false
	premiumPlayerSkipWaitList = false

	sqlType = "sqlite"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "1"
	sqlDatabase = ""
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTimeout = 10
	passwordType = "plain"

	deathListEnabled = false
	deathListRequiredTime = 1 * 60 * 1000
	deathAssistCount = 19
	maxDeathRecords = 5

	ingameGuildManagement = false
	levelToFormGuild = 8
	premiumDaysToFormGuild = 0
	guildNameMinLength = 4
	guildNameMaxLength = 20

	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60

	buyableAndSellableHouses = true
	houseNeedPremium = true
	bedsRequirePremium = true
	levelToBuyHouse = 100
	housesPerAccount = 0
	houseRentAsPrice = false
	housePriceAsRent = false
	housePriceEachSquare = 10000
	houseRentPeriod = "never"
	houseCleanOld = 0
	guildHalls = false

	timeBetweenActions = 200
	timeBetweenExActions = 1000
	hotkeyAimbotEnabled = true

	mapName = "a"
	mapAuthor = "a"
	randomizeTiles = true
	storeTrash = true
	cleanProtectedZones = true
	mailboxDisabledTowns = "-1"

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

	optimizeDatabaseAtStartup = true
	removePremiumOnInit = true
	confirmOutdatedVersion = false

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

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

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

	saveGlobalStorage = true
	useHouseDataStorage = false
	storePlayerDirection = false

	checkCorpseOwner = true
	monsterLootMessage = 3
	monsterLootMessageType = 25

	ghostModeInvisibleEffect = false
	ghostModeSpellEffects = true

	idleWarningTime = 14 * 60 * 1000
	idleKickTime = 1000000 * 60 * 1000
	expireReportsAfterReads = 1
	playerQueryDeepness = 2
	maxItemsPerPZTile = 0
	maxItemsPerHouseTile = 0

	
	freePremium = true
	premiumForPromotion = true

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

	experienceStages = true
	rateExperience = 5.0
	rateExperienceFromPlayers = 4.0
	rateSkill = 55.0
	rateMagic = 20.0
	rateLoot = 2.0
	rateSpawn = 2


	rateMonsterHealth = 1.0
	rateMonsterMana = 1.0
	rateMonsterAttack = 1.0
	rateMonsterDefense = 1.0


	minLevelThresholdForKilledPlayer = 0.8
	maxLevelThresholdForKilledPlayer = 1.2

	rateStaminaLoss = 1
	rateStaminaGain = 3
	rateStaminaThresholdGain = 12
	staminaRatingLimitTop = 41 * 60
	staminaRatingLimitBottom = 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
	shutdownAtGlobalSave = true
	cleanMapAtGlobalSave = false

	deSpawnRange = 2
	deSpawnRadius = 50

	maxPlayerSummons = 2
	teleportAllSummons = false
	teleportPlayerSummons = false

	ownerName = "a"
	ownerEmail = "a"
	url = ""
	location = "a"
	displayGamemastersWithOnlineCommand = false

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

/lbtg
 
another error for this one ;(
HTML:
[17/05/2012 14:37:02] (luaSetCombatCondition) Combat not found
[17/05/2012 14:37:02] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/fragkill.lua:1: syntax error near '=='
[17/05/2012 14:37:02] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/fragkill.lua)
[17/05/2012 14:37:02] data/creaturescripts/scripts/fragkill.lua:1: syntax error near '=='
 
HTML:
[17/05/2012 14:43:41] Description: 
[17/05/2012 14:43:41] (luaSetCombatCondition) Combat not found
[17/05/2012 14:43:42] [Error - LuaScriptInterface::loadFile] data/creaturescripts/scripts/fragkill.lua:1: syntax error near 'getPlayerFrags'
[17/05/2012 14:43:42] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/fragkill.lua)
[17/05/2012 14:43:42] data/creaturescripts/scripts/fragkill.lua:1: syntax error near 'getPlayerFrags'

this error now lol ^^
 
lol srsly dno but last one

LUA:
local getPlayerFrags(cid)getPlayerFrags(cid) + 1
function onKill(cid, target, lastHit)
if(isPlayer(cid).target) then
getPlayerFrags(cid)
end
return true
end

or this :

LUA:
local getPlayerFrags(cid) + 1
function onKill(cid, target, lastHit)
if(isPlayer(cid).target) then
getPlayerFrags(cid)
end
return true
end
 
Having your config.lua isn't as helpful as knowing what the hell server you're using and where you got it from, believe it or not.

Do tell, please. ^_^
 
its me own server i made it from 0. evrything was working fine i was left me project for 4 month i back 1 week ago and saw this problem....
i was editing something at sources before i exited me project but cant remember what so meybe i fucked up something .
well i use 0.3.6 8.54 client
 
fixed it meself , remade config.lua and fixed the problem . thanks for evryone who tryed to help me like
Rox666 and Evil Mark
 
Back
Top