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

If lower then 50 then

kosomomar

New Member
Joined
May 19, 2010
Messages
8
Reaction score
0
hello can anybody help me with a script.

If player lower then lvl 50 then you can walk thru him like

GM'S /ghost mode
 
I need it to so :)

Lua:
	accountManager = "true"
	namelockManager = "true"
	newPlayerChooseVoc = "true"
	newPlayerSpawnPosX = 1000
	newPlayerSpawnPosY = 999
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 1
	newPlayerLevel = 8
	newPlayerMagicLevel = 1
	generateAccountNumber = "false"


	redSkullLength = 3 * 24 * 60 * 60
	blackSkullLength = 7 * 24 * 60 * 60
	dailyFragsToRedSkull = 20
	weeklyFragsToRedSkull = 60
	monthlyFragsToRedSkull = 100
	dailyFragsToBlackSkull =dailyFragsToRedSkull
	weeklyFragsToBlackSkull =weeklyFragsToRedSkull
	monthlyFragsToBlackSkull =monthlyFragsToRedSkull
	dailyFragsToBanishment =dailyFragsToRedSkull
	weeklyFragsToBanishment =weeklyFragsToRedSkull
	monthlyFragsToBanishment =monthlyFragsToRedSkull
	blackSkulledDeathHealth = 100
	blackSkulledDeathMana = 10
	useBlackSkull = "true"
	advancedFragList = "false"


	notationsToBan = 3
	warningsToFinalBan = 5
	warningsToDeletion = 10
	banLength = 5 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 5 * 24 * 60 * 60
	broadcastBanishments = "true"
	maxViolationCommentSize = 200
	violationNameReportActionType = 2
	autoBanishUnknownBytes = "true"


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


	worldId = 0
	ip = "************"
	bindOnlyConfiguredIpAddress = "no"
	loginPort = 6767
	gamePort = 7172
	adminPort = 6767
	statusPort = 6767
	loginTries = 10
	retryTimeout = 1 * 1000
	loginTimeout = 1 * 1000
	maxPlayers = 300
	motd = "Welcome to Futurna"
	displayOnOrOffAtCharlist = "false"
	onePlayerOnlinePerAccount = "false"
	allowClones = "false"
	serverName = "Futurna"
	loginMessage = "Welcome to Futurna!"
	statusTimeout = 0 * 0010
	replaceKickOnLogin = "true"
	forceSlowConnectionsToDisconnect = "false"
	loginOnlyWithLoginServer = "false"
	premiumPlayerSkipWaitList = "true"


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

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

	ingameGuildManagement = "no"
	levelToFormGuild = 100
	premiumDaysToFormGuild = 0
	guildNameMinLength = 4
	guildNameMaxLength = 20

	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 1

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


	timeBetweenActions = 200
	timeBetweenExActions = 1000
	checkCorpseOwner = "true"
	hotkeyAimbotEnabled = "true"
	maximumDoorLevel = 500


	mapName = "theend"
	mapAuthor = "Futurna Project // Main Developer: Djivar"
	randomizeTiles = "true"
	useHouseDataStorage = "false"
	storeTrash = "true"
	cleanProtectedZones = "true"
	mailboxDisabledTowns = "-1"


	defaultPriority = "high"
	niceLevel = 5
	coresUsed = "-1"
	optimizeDatabaseAtStartup = "true"
	removePremiumOnInit = "true"
	confirmOutdatedVersion = "false"

	maxMessageBuffer = 4
	bufferMutedOnSpellFailure = "false"

	dataDirectory = "data/"
	allowChangeOutfit = "true"
	allowChangeColors = "true"
	allowChangeAddons = "true"
	disableOutfitsForPrivilegedPlayers = "false"
	bankSystem = "true"
	saveGlobalStorage = "true"
	displaySkillLevelOnAdvance = "false"
	spellNameInsteadOfWords = "false"
	emoteSpells = "true"
	promptExceptionTracerErrorBox = "true"
	storePlayerDirection = "false"
	monsterLootMessage = 3
	monsterLootMessageType = 25


	ghostModeInvisibleEffect = "true"
	ghostModeSpellEffects = "true"

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


	freePremium = "true"
	premiumForPromotion = "true"

	blessingOnlyPremium = false
	blessingReductionBase = 30
	blessingReductionDecreament = 5
	eachBlessReduction = 19

	experienceStages = "true"
	rateExperience = 5.0
	rateExperienceFromPlayers = 0
	rateSkill = 70.0
	rateMagic = 70.0
	rateLoot = 4.0
	rateSpawn = 2


	minLevelThresholdForKilledPlayer = 0.9
	maxLevelThresholdForKilledPlayer = 1.1


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


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


	globalSaveEnabled = "false"
	globalSaveHour = 8
	shutdownAtGlobalSave = "true"
	cleanMapAtGlobalSave = "true"


	deSpawnRange = 2
	deSpawnRadius = 50


	maxPlayerSummons = 2
	teleportAllSummons = "true"
	teleportPlayerSummons = "true"


	ownerName = "Djivar"
	ownerEmail = "[email protected]"
	url = ""
	location = "Sweden"
	displayGamemastersWithOnlineCommand = "false"


	adminLogsEnabled = "false"
	displayPlayersLogging = "true"
	prefixChannelLogs = ""
	runFile = ""
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = "false"
 
Code:
       accountManager = "true"
        namelockManager = "true"
        newPlayerChooseVoc = "true"
        newPlayerSpawnPosX = 1000
        newPlayerSpawnPosY = 999
        newPlayerSpawnPosZ = 7
        newPlayerTownId = 1
        newPlayerLevel = 8
        newPlayerMagicLevel = 1
        generateAccountNumber = "false"


        redSkullLength = 3 * 24 * 60 * 60
        blackSkullLength = 7 * 24 * 60 * 60
        dailyFragsToRedSkull = 20
        weeklyFragsToRedSkull = 60
        monthlyFragsToRedSkull = 100
        dailyFragsToBlackSkull =dailyFragsToRedSkull
        weeklyFragsToBlackSkull =weeklyFragsToRedSkull
        monthlyFragsToBlackSkull =monthlyFragsToRedSkull
        dailyFragsToBanishment =dailyFragsToRedSkull
        weeklyFragsToBanishment =weeklyFragsToRedSkull
        monthlyFragsToBanishment =monthlyFragsToRedSkull
        blackSkulledDeathHealth = 100
        blackSkulledDeathMana = 10
        useBlackSkull = "true"
        advancedFragList = "false"


        notationsToBan = 3
        warningsToFinalBan = 5
        warningsToDeletion = 10
        banLength = 5 * 24 * 60 * 60
        finalBanLength = 30 * 24 * 60 * 60
        ipBanishmentLength = 5 * 24 * 60 * 60
        broadcastBanishments = "true"
        maxViolationCommentSize = 200
        violationNameReportActionType = 2
        autoBanishUnknownBytes = "true"


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


        worldId = 0
        ip = "************"
        bindOnlyConfiguredIpAddress = "no"
        loginPort = 6767
        gamePort = 7172
        adminPort = 6767
        statusPort = 6767
        loginTries = 10
        retryTimeout = 1 * 1000
        loginTimeout = 1 * 1000
        maxPlayers = 300
        motd = "Welcome to Futurna"
        displayOnOrOffAtCharlist = "false"
        onePlayerOnlinePerAccount = "false"
        allowClones = "false"
        serverName = "Futurna"
        loginMessage = "Welcome to Futurna!"
        statusTimeout = 0 * 0010
        replaceKickOnLogin = "true"
        forceSlowConnectionsToDisconnect = "false"
        loginOnlyWithLoginServer = "false"
        premiumPlayerSkipWaitList = "true"


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

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

        ingameGuildManagement = "no"
        levelToFormGuild = 100
        premiumDaysToFormGuild = 0
        guildNameMinLength = 4
        guildNameMaxLength = 20

        highscoreDisplayPlayers = 15
        updateHighscoresAfterMinutes = 1

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


        timeBetweenActions = 200
        timeBetweenExActions = 1000
        checkCorpseOwner = "true"
        hotkeyAimbotEnabled = "true"
        maximumDoorLevel = 500


        mapName = "theend"
        mapAuthor = "Futurna Project // Main Developer: Djivar"
        randomizeTiles = "true"
        useHouseDataStorage = "false"
        storeTrash = "true"
        cleanProtectedZones = "true"
        mailboxDisabledTowns = "-1"


        defaultPriority = "high"
        niceLevel = 5
        coresUsed = "-1"
        optimizeDatabaseAtStartup = "true"
        removePremiumOnInit = "true"
        confirmOutdatedVersion = "false"

        maxMessageBuffer = 4
        bufferMutedOnSpellFailure = "false"

        dataDirectory = "data/"
        allowChangeOutfit = "true"
        allowChangeColors = "true"
        allowChangeAddons = "true"
        disableOutfitsForPrivilegedPlayers = "false"
        bankSystem = "true"
        saveGlobalStorage = "true"
        displaySkillLevelOnAdvance = "false"
        spellNameInsteadOfWords = "false"
        emoteSpells = "true"
        promptExceptionTracerErrorBox = "true"
        storePlayerDirection = "false"
        monsterLootMessage = 3
        monsterLootMessageType = 25


        ghostModeInvisibleEffect = "true"
        ghostModeSpellEffects = "true"

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


        freePremium = "true"
        premiumForPromotion = "true"

        blessingOnlyPremium = false
        blessingReductionBase = 30
        blessingReductionDecreament = 5
        eachBlessReduction = 19

        experienceStages = "true"
        rateExperience = 5.0
        rateExperienceFromPlayers = 0
        rateSkill = 70.0
        rateMagic = 70.0
        rateLoot = 4.0
        rateSpawn = 2


        minLevelThresholdForKilledPlayer = 0.9
        maxLevelThresholdForKilledPlayer = 1.1


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


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


        globalSaveEnabled = "false"
        globalSaveHour = 8
        shutdownAtGlobalSave = "true"
        cleanMapAtGlobalSave = "true"


        deSpawnRange = 2
        deSpawnRadius = 50


        maxPlayerSummons = 2
        teleportAllSummons = "true"
        teleportPlayerSummons = "true"


        ownerName = "Djivar"
        ownerEmail = "[email protected]"
        url = ""
        location = "Sweden"
        displayGamemastersWithOnlineCommand = "false"


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

I think that it should be this.
 
Yes, pro.level enables that players under the protection level, are like ghosts.
Else recompile your server with the parameter
Code:
 -D__WAR_SYSTEM__
 
Back
Top