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

Help how to remove this

Crip Killa

♪Chasm Dev♪
Joined
Oct 19, 2008
Messages
515
Reaction score
44
Does anyone know how I can remove or change this I am using TFS 0.3.6

Jezeli jestes nowym graczem zapoznaj sie z komendami [/commands] i czarami [!spells].
 
English plz.

Go to data/talkactions/talkactions.xml find this :

<talkaction words="!commands;/commands" event="script" value="commands.lua"/>

and change to this:

<talkaction words="!commands;/commands" access="5" event="script" value="commands.lua"/>

now only god's will be able to use this command.


If you are taking about some message that appers when the players loggin will be a creatureevent.
 
Last edited:
Yes it is a message every player gets when they login any idea where I could find it I want to remove or change it to English thanks
 
Here is my login.lua I don't see it there but maybe I missed it anyone else see it?

Code:
local config = {
	loginMessage = getConfigValue('loginMessage'),
	useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}

function onLogin(cid)
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10)
	end

	
        local accountManager = getPlayerAccountManager(cid)
	if(accountManager == MANAGER_NONE) then
		local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
		if(lastLogin > 0) then
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
			str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "."
		else
			str = str .. " Please choose your outfit."
			doPlayerSendOutfitWindow(cid)
		end

		doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
	elseif(accountManager == MANAGER_NAMELOCK) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?")
	elseif(accountManager == MANAGER_ACCOUNT) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.")
	else
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.")
	end
        local vocs = {14} -- INVINCIBLE VOCATIONS!
	if(isInArray(vocs, getPlayerVocation(cid))) then
		doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 0)
	end
	if(not isPlayerGhost(cid)) then
		doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
	end

	registerCreatureEvent(cid, "Mail")
	registerCreatureEvent(cid, "GuildMotd")

	registerCreatureEvent(cid, "Idle")
	if(config.useFragHandler) then
		registerCreatureEvent(cid, "SkullCheck")
	end
        registerCreatureEvent(cid, "Bounty")
        registerCreatureEvent(cid, "DeathList")
        registerCreatureEvent(cid, "ReportBug")
	registerCreatureEvent(cid, "AdvanceSave")
	registerCreatureEvent(cid, "Events")
	registerCreatureEvent(cid, "Criredric")
	registerCreatureEvent(cid, "Vampire Bride")
	registerCreatureEvent(cid, "Nifra")
	registerCreatureEvent(cid, "Addons")
    	registerCreatureEvent(cid, "Licznik")
	registerCreatureEvent(cid, "duszek")
	registerCreatureEvent(cid, "PlayerAdvance")
	registerCreatureEvent(cid, "Advance")
	registerCreatureEvent(cid, "DeathBroadcast")
	registerCreatureEvent(cid, "questLook")
	registerCreatureEvent(cid, "pvpArena")
        registerCreatureEvent(cid, "PlayerDeath")
        registerCreatureEvent(cid, "PlayerKill") 
    	registerCreatureEvent(cid, "Kamulec")
    	registerCreatureEvent(cid, "metin_death")  
	registerCreatureEvent(cid, "KillingInTheNameOf")
        registerCreatureEvent(cid, "Strongest")
        return true
end
 
check your creature scripts, or mods and you will found it, just search
Code:
ezeli jestes nowym graczem zapoznaj sie z komendami [/commands] i czarami [!spells].
in one of your files and delete the file or put another thing
 
Try this:

Download notepad c++, install, go to menu search, find in files, in find what put "ezeli jestes nowym graczem zapoznaj" without "", in the directory option put the pacth to your data folder ex: C:\trunk.r5672\data, press find all.
 
Try this:

Download notepad c++, install, go to menu search, find in files, in find what put "ezeli jestes nowym graczem zapoznaj" without "", in the directory option put the pacth to your data folder ex: C:\trunk.r5672\data, press find all.

Thanks it worked just like you said REP+++ for you and thanks for others who tried and gave there ideas
 
Back
Top Bottom