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

[REQUEST] Few war scripts + server bug (war server) + custom spells

thief

Member
Joined
Sep 23, 2008
Messages
342
Reaction score
16
Location
Canada
Hello! :) I would like to have some support with my server. I'm using the TFS 8.42 and I'm trying to run my server but I have a few problems...

Server Problems
  • I have world type to PVP and when I kill someone, it's show that I have did an unjustified kill but theres no FRAG gain...
  • Players may login over others character (1/1 160 characters)I have in config lua Clones = 0 SOLVE

Request Scripts

  1. MC SCRIPT : May not gain any experience or frags from same IP
  2. FRAG SYSTEM (Might be C++) When I kill anyone with yellow,white,red skulls I will gain a FRAG
  3. SKULL SYSTEM (might be C++) : When I kill 10 players, I get yellow skull, when I kill 25 players I gain red skull
  4. FRAG SYSTEM#2 (might be C++) When you kill someone and press look on a player, it's show how many frags he/she has
  5. Reward System : When we kill someone, we gain a BANANA.
  6. NPC : This NPC will be making private account for players that can pass thru the frag door
  7. NPC#2 : The ACC NPC must create the account with the correct set of EQ that I can configurate for their vocations

Custom Spells

  • A spells that increase the speed attack from 2x for 30 seconds and will cost 2 banana's
  • A spells for that summon 2 fire element's at once but cost 3 banana's
  • A spells with the same exevo gran mas flam but exept after it will do 100dmg per 1 sec for 10 seconds but cost 4 banan's
  • A spell that will increase Knight DMG temporaly for 30 seconds but decrease shielding by 30 but cost 2 banan's
  • A spell that will regen the mana of druid by 600 instantly but will cost 5 banana's from their inventory

This sounds a lot but are really useful!
 
Last edited:
I doubt anyone will do this for you :thumbup:

I know, but I'm not asking that it has to be done all in once but you know script by script and others member can helped others for helping me to get those scripts done.. What will be the easiest I think is the spells after that server bug and at last the scripts..
 
Players may login over others character (1/1 160 characters)I have in config lua Clones = 0

Change it to 1, and you are done.
 
Players may login over others character (1/1 160 characters)I have in config lua Clones = 0

Change it to 1, and you are done.

allowClones = 0 <-- this will make that I cannot have 2 same character online, the problem is that I can login over characters

Exemple:

MC 1 : Login On Druid 1
MC 2 : Login On Druid 1

MC 1: Character Logoff
MC 2 : Character Login

I want that, If druid 1 is online, no one can login on Druid 1


Here is my config lua
Code:
-- The Forgotten Server Config

	-- Account manager
	accountManager = "no"
	namelockManager = "no"
	newPlayerChooseVoc = "no"
	newPlayerSpawnPosX = 95
	newPlayerSpawnPosY = 117
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 1
	newPlayerLevel = 1
	newPlayerMagicLevel = 0
	generateAccountNumber = "no"

	-- Banishments
	notationsToBan = 3
	warningsToFinalBan = 4
	warningsToDeletion = 5
	banLength = 7 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 1 * 24 * 60 * 60
	broadcastBanishments = "yes"
	killsToBan = 13
	maxViolationCommentSize = 200
	autoBanishUnknownBytes = "no"

	-- Battle
	-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
	-- deathLostPercent set to nil enables manual mode.
	-- showHealingDamageForMonsters inheritates from showHealingDamage.
	worldType = "pvp-enforced"
	protectionLevel = 1
	pvpTileIgnoreLevelAndVocationProtection = "yes"
	killsToRedSkull = 25
	pzLocked = 20 * 1000
	criticalHitChance = 7
	criticalHitMultiplier = 1
	displayCriticalHitNotify = "no"
	removeWeaponAmmunition = "no"
	removeWeaponCharges = "no"
	removeRuneCharges = "no"
	timeToDecreaseFrags = 0
	whiteSkullTime = 15 * 60 * 1000
	noDamageToSameLookfeet = "no"
	experienceByKillingPlayers = "yes"
	noDamageToPartyMembers = 1
	showHealingDamage = "yes"
	showHealingDamageForMonsters = "no"
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = "no"
	oldConditionAccuracy = "no"
	loginProtectionPeriod = 10 * 1000
	deathLostPercent = 10
	stairhopDelay = 0
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215

	-- Connection config
	worldId = 0
	ip = "127.0.0.1"
	loginPort = 7171
	gamePort = 7172
	adminPort = 7171
	statusPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = 1000
	motd = "Welcome to the Low-levelwar beta test!!"
	displayOnOrOffAtCharlist = "yes"
	onePlayerOnlinePerAccount = "no"
	allowClones = 0
	serverName = "Low-levelwar"
	loginMessage = "Welcome to the beta-test of low-levelwar! No accounts can be made during beta-test!"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = "yes"
	forceSlowConnectionsToDisconnect = "no"
	loginOnlyWithLoginServer = "no"
	premiumPlayerSkipWaitList = "no"

	-- Database
	-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
	-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "root"
	sqlPass = "w9haer47"
	sqlDatabase = "Low-levelwar"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTImeout = 10
	passwordType = "plain"

	-- Deathlist
	deathListEnabled = "yes"
	maxDeathRecords = 5

	-- Guilds
	ingameGuildManagement = "yes"
	levelToFormGuild = 8
	premiumDaysToFormGuild = 0
	guildNameMinLength = 4
	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"

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

	-- Map
	-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
	-- useHouseDataStorage usage may be found at README.
	mapName = "SasirsRook"
	mapAuthor = "Komic"
	randomizeTiles = "yes"
	useHouseDataStorage = "no"
	storeTrash = "yes"
	cleanProtectedZones = "yes"

	-- Startup
	-- NOTE: defaultPriority works only on Windows and niceLevel on *nix
	-- coresUsed are seperated by comma cores ids used by server process,
	-- default is -1, so it stays untouched (automaticaly assigned by OS).
	defaultPriority = "high"
	niceLevel = 5
	coresUsed = "-1"
	optimizeDatabaseAtStartup = "yes"
	removePremiumOnInit = "yes"
	confirmOutdatedVersion = "yes"

	-- Muted buffer
	maxMessageBuffer = 4
	bufferMutedOnSpellFailure = "no"

	-- Miscellaneous
	-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
	-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
	dataDirectory = "data/"
	kickIdlePlayerAfterMinutes = 15
	allowChangeOutfit = "yes"
	allowChangeColors = "yes"
	allowChangeAddons = "yes"
	disableOutfitsForPrivilegedPlayers = "no"
	bankSystem = "yes"
	saveGlobalStorage = "no"
	ghostModeInvisibleEffect = "no"
	displaySkillLevelOnAdvance = "no"
	spellNameInsteadOfWords = "no"
	emoteSpells = "yes"
	expireReportsAfterReads = 1
	promptExceptionTracerErrorBox = "yes"
	storePlayerDirection = "no"
	playerQueryDeepness = 2

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

	-- Blessings
	-- NOTE: blessingReduction* regards items/containers loss.
	-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
	blessingsOnlyPremium = "yes"
	blessingReductionBase = 30
	blessingReductionDecreament = 5
	eachBlessReduction = 8

	-- Rates
	-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
	experienceStages = "yes"
	rateExperience = 5.0
	rateSkill = 3.0
	rateMagic = 3.0
	rateLoot = 2.0
	rateSpawn = 1

	-- Stamina
	-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
	-- rateStaminaHits multiplies every hit done a creature, which are later
	-- multiplied by player attack speed.
	-- rateStaminaGain is multiplying every second of logged out time, eg:
	-- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off.
	-- rateStaminaThresholdGain is dividing in case the normal gain (that is
	-- multiplied by rateStaminaGain, btw.) passed above threshold, eg:
	-- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute).
	-- staminaRatingLimit* is in minutes.
	rateStaminaLoss = 1
	rateStaminaGain = 1000 / 3
	rateStaminaThresholdGain = 4
	staminaRatingLimitTop = 41 * 60
	staminaRatingLimitBottom = 14 * 60
	rateStaminaAboveNormal = 1.5
	rateStaminaUnderNormal = 0.5
	staminaThresholdOnlyPremium = "yes"

	-- Party
	-- NOTE: experienceShareLevelDifference is float number.
	-- experienceShareLevelDifference is highestLevel * value
	experienceShareRadiusX = 30
	experienceShareRadiusY = 30
	experienceShareRadiusZ = 1
	experienceShareLevelDifference = 2 / 3
	extraPartyExperienceLimit = 20
	extraPartyExperiencePercent = 5

	-- Global save
	-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
	-- if you want such a system please check out data/globalevents/globalevents.xml.
	globalSaveEnabled = "no"
	globalSaveHour = 8
	shutdownAtGlobalSave = "yes"
	cleanMapAtGlobalSave = "no"

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

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

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

	-- Logs
	-- NOTE: This kind of logging does not work in GUI version.
	-- For such, please compile the software with __GUI_LOGS__ flag.
	adminLogsEnabled = "no"
	displayPlayersLogging = "yes"
	prefixChannelLogs = ""
	runeFile = ""
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = "no"

Last time when I was runing my server in 8.40 I didn't have the problem.. let me just take a look at the old config.lua and see what did I do...

I found... replaceKickOnLogin = "no"

Let me try to add this in my server :)

Edit: Not working.. Someone knows how to make it work? :) TFS 8.40 that was working in

EDIT : WORKS ;) I didn't seen but I already had that option in config.lua gosh.. I'm blind sometimes! Time to see the other problems!!!
 
Last edited:
Back
Top