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

Compiling Pleace help On drop items ,bug kick server!!

narko

vertrauenswürdig ~
Joined
Oct 19, 2008
Messages
1,317
Solutions
2
Reaction score
131
Location
Unknown
I need this system to outside the zones of protection, since this system only works within the zones of protection.
hows.jpg

thanks for your help
Compilation but this is not where where you have to modify

Rep++

this is code only works on protectionzone
void ProtocolGame::sendCreatureTurn(const Creature* creature, int16_t stackpos)
{
if(stackpos >= 10 || !canSee(creature))
return;
 
Last edited:
this is my config.lua

PHP:
useFragHandler = true
	redSkullLength = 1 * 24 * 60 * 60
	blackSkullLength = 3 * 24 * 60 * 60
	dailyFragsToRedSkull = 14
	weeklyFragsToRedSkull = 98
	monthlyFragsToRedSkull = 700
	dailyFragsToBlackSkull = 8
	weeklyFragsToBlackSkull = 75
	monthlyFragsToBlackSkull = 706
	dailyFragsToBanishment = 10
	weeklyFragsToBanishment = 100
	monthlyFragsToBanishment = 760
	blackSkulledDeathHealth = 40
	blackSkulledDeathMana = 0
	useBlackSkull = true
	advancedFragList = false


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


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

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



	deathListEnabled = true
	deathListRequiredTime = 1 * 60 * 1000
	deathAssistCount = 1
	maxDeathRecords = 5


	ingameGuildManagement = true
	levelToFormGuild = 10
	premiumDaysToFormGuild = 0
	guildNameMinLength = 4
	guildNameMaxLength = 20


	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60


	buyableAndSellableHouses = true
	houseNeedPremium = false
	bedsRequirePremium = false
	levelToBuyHouse = 120
	housesPerAccount = 3
	houseRentAsPrice = false
	housePriceAsRent = false
	housePriceEachSquare = 3000
	houseRentPeriod = "never"
	houseCleanOld = 0
	guildHalls = false


	timeBetweenActions = 200
	timeBetweenExActions = 1000
	hotkeyAimbotEnabled = true


	mapName = ""
	mapAuthor = ""
	randomizeTiles = true
	storeTrash = true
	cleanProtectedZones = true
	mailboxDisabledTowns = ""


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

	startupDatabaseOptimization = true
	updatePremiumStateAtStartup = 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 = false
	maximumDoorLevel = 500
	maxMessageBuffer = 20

	-- VIP list
	separateVipListPerCharacter = true
	vipListDefaultLimit = 20
	vipListDefaultPremiumLimit = 100


	saveGlobalStorage = false
	useHouseDataStorage = true
	storePlayerDirection = false


	checkCorpseOwner = true
	monsterLootMessage = 3
	monsterLootMessageType = 4

	-- Ghost mode
	ghostModeInvisibleEffect = true
	ghostModeSpellEffects = true

	-- Limits
	idleWarningTime = 14 * 60 * 1000
	idleKickTime = 15 * 60 * 1000
	reportsExpirationAfterReads = 1
	playerQueryDeepness = 2
	maxItemsPerPZTile = 10
	maxItemsPerHouseTile = 15

	-- Premium-related
	freePremium = true
	premiumForPromotion = true


	blessings = true
	blessingOnlyPremium = false
	blessingReductionBase = 30
	blessingReductionDecrement = 5
	eachBlessReduction = 10


	experienceStages = true
	rateExperience = 0
	rateExperienceFromPlayers = 2
	rateSkill = 35
	rateMagic = 23
	rateLoot = 7
	rateSpawn = 2

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


	minLevelThresholdForKilledPlayer = 0.0
	maxLevelThresholdForKilledPlayer = 0.0


	rateStaminaLoss = 1
	rateStaminaGain = 1
	rateStaminaThresholdGain = 12
	staminaRatingLimitTop = 40 * 60
	staminaRatingLimitBottom = 14 * 60
	staminaLootLimit = 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
	globalSaveMinute = 0
	shutdownAtGlobalSave = true
	cleanMapAtGlobalSave = false

don't work outside protectionzone
reportsExpirationAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 10
maxItemsPerHouseTile = 15
 
do not know where or in what I have to edit file?
or occupy the help of a person who knows about programming?
 
Back
Top